1 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6 (__ieee754_exp2l): Do not multiply small fractional parts by
8 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13 * math/auto-libm-test-in: Add more tests of exp2.
14 * math/auto-libm-test-out: Regenerated.
16 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26 2015-02-12 Andreas Schwab <schwab@suse.de>
29 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
30 Filter out elision flags from value returned in kind.
31 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32 * nptl/tst-pthread-mutexattr.c: New file.
34 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
36 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38 into gnu-gnu, and update comment to refer to abi-tags.
40 2015-02-11 Joseph Myers <joseph@codesourcery.com>
43 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
44 (__sincos): Set errno to EDOM for infinite argument.
45 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
46 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
47 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
48 (__sincosl): Set errno to EDOM for infinite argument.
49 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
50 (__sincosl): Set errno to EDOM for infinite argument.
51 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
52 (__sincosl): Set errno to EDOM for infinite argument.
53 * math/libm-test.inc (sincos_test_data): Test errno setting.
55 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
57 * string/strxfrm_l.c: Remove #define STRCMP.
58 * string/strcoll_l.c: Remove #define STRLEN.
59 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
60 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
62 2015-02-10 Joseph Myers <joseph@codesourcery.com>
64 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
65 * sysdeps/mips/mips32/sfp-machine.h: ... here.
66 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
67 * sysdeps/mips/mips64/Makefile: ... here.
68 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
69 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
70 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
71 * sysdeps/mips/mips64/sfp-machine.h: ... here.
72 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
73 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
74 * sysdeps/mips/mips64/n64/Implies: Likewise.
76 2015-02-10 Roland McGrath <roland@hack.frob.com>
78 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
79 <sys/time.h>, <string.h>, and <errno.h>.
80 (dest_offset, dest_address, value, zero): Remove unused variables.
81 (ldouble): Remove typedef.
82 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
83 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
85 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
86 (check): Function removed.
88 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
89 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
90 Don't call set_sigaction_FP and remove_sigaction_FP here.
91 (ldouble_test): Just use 'long double' as macro argument, no need for
92 the 'ldouble' typedef.
93 (do_test): Set up SIGFPE handler at start, using plain signal rather
94 than sigaction. Fix code style.
96 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
99 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
102 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
104 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
105 * sysdeps/powerpc/powerpc32/configure: Regenerated.
107 * sysdeps/powerpc/configure.ac: Remove file.
108 * sysdeps/powerpc/configure: Likewise.
110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
111 [sysdep_routines]: Remove wordcopy-power6 object.
112 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
113 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
115 (__memmove_ppc32): Likewise.
116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
119 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
123 [sysdep_routines]: Remove wide chars objects.
124 [wcsmbs]: New rule for wide char objects.
126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
127 Remove wordcopy-power6 obejct.
128 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
129 Use local call for wordcopy and memcpy symbols.
130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
131 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
132 implementation for loader.
133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
135 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
136 Remove wordcopy-power7 object.
137 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
138 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
139 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
140 (_wordcopy_fwd_dest_aligned): Likewise.
141 (_wordcopy_bwd_aligned): Likewise.
142 (_wordcopy_bwd_dest_aligned): Likewise.
144 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
145 Rewrite to call __memmove_ppc instead of include default
148 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
149 Remove wide chars objects.
150 [wcsmbs]: New rule for wide char objects.
152 2015-02-09 Andreas Schwab <schwab@suse.de>
155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
156 in terms of __O_DIRECTORY.
158 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
160 * time/getdate.c: Include <stdbool.h>.
161 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
163 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
166 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
168 Add ersatz _Static_assert on older C hosts
169 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
170 pre-C11 C platform that is not known to support _Static_assert.
172 2015-02-07 Richard Braun <rbraun@sceen.net>
174 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
176 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
178 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
180 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
181 priority against unexistent AIO_PRIO_DELTA_MAX.
182 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
184 * misc/fchflags.c (fchflags): Likewise.
185 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
186 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
187 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
188 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
189 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
191 [__USE_MISC] (chflags, fchflags): Declare functions.
192 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
193 EINVAL when nfds is greater than FD_SETSIZE.
194 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
195 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
197 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
198 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
199 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
201 * hurd/hurd/signal.h (_hurd_self_sigstate,
202 _hurd_critical_section_lock, _hurd_critical_section_unlock):
203 Explicit casts from void *.
204 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
205 * abi-tags: Rename gnu-gnu os into gnu.
208 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
209 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
210 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
211 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
212 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
213 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
216 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
217 duplicates ADDR->sun_path with sockaddr LEN limitation.
218 * sysdeps/mach/hurd/connect.c: Include <string.h>
219 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
220 * sysdeps/mach/hurd/sendmsg.c: Likewise.
221 * sysdeps/mach/hurd/sendto.c: Likewise.
222 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
223 implementing it by hand.
225 2015-02-06 Roland McGrath <roland@hack.frob.com>
227 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
229 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
232 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
234 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
235 Test SIGSETXID only if it's defined.
237 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
239 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
240 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
242 * nptl/tst-align2.c: Moved ...
243 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
244 * nptl/Makefile (tests): Remove tst-align2.
245 * sysdeps/unix/sysv/linux/Makefile
246 [$(subdir) = nptl] (tests): Add tst-align-clone.
247 * nptl/tst-getpid1.c: Moved ...
248 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
249 * nptl/tst-getpid2.c: Moved ...
250 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
251 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
252 * sysdeps/unix/sysv/linux/Makefile
253 [$(subdir) = nptl] (tests): ... here.
254 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
255 * sysdeps/unix/sysv/linux/Makefile
256 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
258 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
259 Drop trailing \n from perror argument. Use return rather than exit.
261 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
263 * nptl/tst-cancel21.c (do_test): Likewise.
264 * debug/tst-backtrace6.c: Include <signal.h> first thing.
265 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
266 [!SA_SIGINFO]: Make it a stub test.
268 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
269 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
271 * posix/tst-getlogin.c: Move to ...
272 * login/tst-getlogin.c: ... here.
273 * posix/Makefile (tests): Move tst-getlogin to ...
274 * login/Makefile (tests): ... here.
276 * libio/tst-atime.c (do_test): Move local variables SV and E
277 inside [ST_NOATIME] conditional.
279 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
281 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
283 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
284 (wait_code): New function replaces macro.
285 Call nanosleep rather than syscall.
287 * nptl/pt-system.c: Rewritten. Put everything under
288 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
289 Use IFUNC to redirect when possible.
291 * nptl/pt-longjmp.c: Rewritten. Put everything under
292 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
293 Use IFUNC to redirect when possible.
295 * nptl/pt-fork.c: Rewritten. Put everything under
296 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
297 Use IFUNC to redirect when possible.
298 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
300 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
301 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
302 unconditionally nowadays. This included the only reference to
303 __vdso_clock_gettime that appears outside libc proper.
304 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
305 Remove version set (containing only __vdso_clock_gettime).
306 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
307 Add attribute_hidden.
308 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
309 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
310 libc_hidden_data_def.
311 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
314 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
315 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
316 setrpcent, and getrpcport to ...
317 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
318 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
319 getrpcbynumber_r, and getrpcent_r to ...
320 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
321 * inet/getrpcbyname.c: Moved ...
322 * sunrpc/getrpcbyname.c: ... here.
323 * inet/getrpcbyname_r.c: Moved ...
324 * sunrpc/getrpcbyname_r.c: ... here.
325 * inet/getrpcbynumber.c: Moved ...
326 * sunrpc/getrpcbynumber.c: ... here.
327 * inet/getrpcbynumber_r.c: Moved ...
328 * sunrpc/getrpcbynumber_r.c: ... here.
329 * inet/getrpcent.c: Moved ...
330 * sunrpc/getrpcent.c: ... here.
331 * inet/getrpcent_r.c: Moved ...
332 * sunrpc/getrpcent_r.c: ... here.
333 * inet/Makefile (routines): Move those to ...
334 * sunrpc/Makefile (routines): ... here.
335 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
337 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
338 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
339 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
340 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
342 * elf/Makefile (routines): Include $(all-dl-routines), not just
344 (rtld-routines): Likewise. Use = rather than :=.
345 * sysdeps/aarch64/Makefile [$(subdir) = elf]
346 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
347 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
348 * sysdeps/arm/Makefile: Likewise.
349 * sysdeps/i386/Makefile: Likewise.
350 * sysdeps/x86_64/Makefile: Likewise.
351 * sysdeps/hppa/Makefile [$(subdir) = elf]
352 (sysdep_routines, sysdep-rtld-routines): Don't add
353 $(sysdep-dl-routines) to these.
354 * sysdeps/ia64/Makefile: Likewise.
355 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
356 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
357 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
358 Don't add dl-static to these; sysdep-dl-routines alone is enough.
359 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
360 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
361 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
362 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
363 * sysdeps/powerpc/Makefile [$(subdir) = elf]
364 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
365 these; sysdep-dl-routines alone is enough.
367 2015-02-06 Joseph Myers <joseph@codesourcery.com>
370 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
371 where multiplication results in zero and third argument is finite
373 * math/auto-libm-test-in: Add more tests of fma.
374 * math/auto-libm-test-out: Regenerated.
376 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
377 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
378 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
379 (_FP_CMP_EQ): Likewise.
380 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
382 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
383 extra argument CHECK_NAN. Redefine as wrapper around
386 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
388 * version.h (RELEASE): Set to "stable".
389 (VERSION): Set to "2.21"
390 * include/features.h (__GLIBC_MINOR__): Set to 21.
392 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
394 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
395 Paul Eggert <eggert@cs.ucla.edu>
398 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
399 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
400 size in bytes. Store needed elements in wpmax. Use needed size
401 in bytes for extend_alloca.
403 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
405 * manual/install.texi: Latest tested versions are GCC 4.9.2,
406 binutls 2.25, and texinfo 5.2.
407 * INSTALL: Regenerate.
408 * sysdeps/nios2/configure: Regenerate.
409 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
410 * manual/contrib.texi: Update.
434 * po/pt_BR.po: Update.
443 * po/zh_CN.po: Update.
444 * po/zh_TW.po: Update.
446 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
447 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
448 * sysdeps/hppa/dl-irel.h: Remove #warning.
449 * sysdeps/hppa/entry.h: Provide prototype for
450 __canonicalize_funcptr_for_compare and cast argument.
451 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
452 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
453 * sysdeps/hppa/sotruss-lib.c: New file.
454 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
455 (atomic_compare_and_exchange_val_acq): Use __typeof__.
456 (atomic_compare_and_exchange_bool_acq): Likewise.
457 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
458 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
460 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
461 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
462 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
464 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
466 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
467 called function in non-PIC case.
469 2015-01-31 David S. Miller <davem@davemloft.net>
471 * sysdeps/sparc/sparc32/bits/atomic.h
472 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
474 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
475 volatile register usage warnings from the compiler.
477 * sysdeps/sparc/nptl/sem_init.c: Delete.
478 * sysdeps/sparc/nptl/sem_post.c: Delete.
479 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
480 * sysdeps/sparc/nptl/sem_wait.c: Delete.
481 * sysdeps/sparc/sparc32/sem_init.c: New file.
482 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
483 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
484 padding explicitly initialized.
485 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
486 padding for in-semaphore spinlock.
487 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
488 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
489 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
490 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
491 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
492 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
493 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
494 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
496 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
497 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
499 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
503 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
504 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
506 (index_AVX_Fast_Unaligned_Load): Likewise.
507 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
508 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
509 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
510 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
511 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
512 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
513 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
514 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
515 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
517 2015-01-29 Andreas Schwab <schwab@suse.de>
519 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
521 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
524 * nscd/nscd_stat.c (send_stats): Initialize DATA.
526 2015-01-28 Martin Sebor <msebor@redhat.com>
528 * math/README.libm-test: Clarify. Add "How to read the test output."
530 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
532 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
535 2015-01-28 Joseph Myers <joseph@codesourcery.com>
537 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
538 (__HAVE_64B_ATOMICS): Define to 0.
540 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
543 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
544 value to set as new flag.
547 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
548 and use _ARCH_PPCSQ instead.
549 (__ieee754_sqrt): Likewise.
550 (__ieee754_sqrtf): Likewise.
551 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
552 _ARCH_PPCSQ is defined.
553 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
555 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
556 _ARCH_PPCSQ is defined.
557 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
561 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
563 * iconv/loop.c: Suppress array out of bound warning caused by GCC
566 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
568 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
569 Mark _retval as used.
570 (lll_futex_wake_unlock): Likewise.
571 (lll_futex_timed_wait_requeue_pi): Likewise.
573 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
574 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
577 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
580 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
581 (__bswap_64): Mark as __always_inline.
583 2015-01-25 Bram <bug_rh@spam.wizbit.be>
586 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
587 when none of the search directories exist.
589 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
592 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
593 power8 in .machine directive.
596 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
597 set dependency from opd value.
599 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
602 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
605 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
608 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
610 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
612 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
613 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
614 Replace 1UL with (uint64_t) 1.
615 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
618 2015-01-23 Roland McGrath <roland@hack.frob.com>
620 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
621 (if_freenameindex): Likewise.
623 * resource/getrlimit64.c: Add missing libc_hidden_def.
625 2015-01-22 Joseph Myers <joseph@codesourcery.com>
627 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
630 (_FP_TO_INT_ROUND): Likewise.
631 (_FP_FROM_INT): Likewise.
633 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
636 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
637 Make code racy and cancel safe.
639 2015-01-21 Carlos O'Donell <carlos@redhat.com>
641 * sysdeps/arm/unwind-resume.h: Fix copyright year.
642 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
645 * pwd/tst-getpw.c: Rewrite.
648 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
649 (modules-names): Add moddummy1 and moddummy2.
650 ($(objpfx)tst-rec-dlopen): Define.
651 * dlfcn/moddummy1.c: New file.
652 * dlfcn/moddummy2.c: New file.
653 * dlfcn/tst-rec-dlopen.c: New file.
654 * elf/dl-cache.c (_dl_load_cache_lookup):
655 Return char*. Copy result with alloca/strcpy/strdup.
656 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
657 returns char*. Free cached. If not saving realname
659 * elf/dl-open.c (dl_open_worker): Do not assert that
660 _r_debug->r_state is RT_CONSISTENT.
661 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
664 2015-01-21 Torvald Riegel <triegel@redhat.com>
665 Carlos O'Donell <carlos@redhat.com>
668 * nptl/sem_waitcommon.c: New file.
669 * nptl/sem_wait.c: Include sem_waitcommon.c.
670 (__sem_wait_cleanup, do_futex_wait): Remove.
671 (__new_sem_wait): Adapt.
672 (__new_sem_trywait): New function.
673 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
674 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
675 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
676 (sem_timedwait): Adapt.
677 * nptl/sem_post.c (__new_sem_post): Adapt.
678 (futex_wake): New function.
679 (__old_sem_post): Add release MO fence.
680 * nptl/sem_open.c (sem_open): Adapt.
681 * nptl/sem_init.c (__new_sem_init): Adapt.
682 (futex_private_if_supported): New function.
683 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
684 (__old_sem_getvalue): Add using previous code.
685 * sysdeps/nptl/internaltypes.h: Adapt.
686 * nptl/tst-sem13.c (do_test): Adapt.
687 * nptl/tst-sem11.c (main): Adapt.
688 * nptl/sem_trywait.c: Remove.
689 * nptl/DESIGN-sem.txt: Remove.
690 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
691 (gen-as-const-headers): Remove structsem.sym.
692 * nptl/structsem.sym: Remove.
693 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
694 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
695 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
696 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
697 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
698 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
699 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
700 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
701 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
702 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
703 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
704 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
705 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
706 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
707 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
708 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
709 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
710 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
711 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
712 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
713 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
714 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
716 2015-01-20 Carlos O'Donell <carlos@redhat.com>
718 * INSTALL: Regenerated.
720 * po/libc.pot: Regenerated.
722 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
723 Sandra Loosemore <sandra@codesourcery.com>
724 Andrew Jenner <andrew@codesourcery.com>
725 Joseph Myers <joseph@codesourcery.com>
726 Nathan Sidwell <nathan@codesourcery.com>
728 * NEWS: Mention new Nios II port.
729 * sysdeps/nios2/Implies: New file.
730 * sysdeps/nios2/Makefile: New file.
731 * sysdeps/nios2/Subdirs: New file.
732 * sysdeps/nios2/Versions: New file.
733 * sysdeps/nios2/__longjmp.S: New file.
734 * sysdeps/nios2/abort-instr.h: New file.
735 * sysdeps/nios2/backtrace.c: New file.
736 * sysdeps/nios2/bits/endian.h: New file.
737 * sysdeps/nios2/bits/fenv.h: New file.
738 * sysdeps/nios2/bits/link.h: New file.
739 * sysdeps/nios2/bits/setjmp.h: New file.
740 * sysdeps/nios2/bsd-_setjmp.S: New file.
741 * sysdeps/nios2/bsd-setjmp.S: New file.
742 * sysdeps/nios2/configure: New generated file.
743 * sysdeps/nios2/configure.ac: New file.
744 * sysdeps/nios2/crti.S: New file.
745 * sysdeps/nios2/crtn.S: New file.
746 * sysdeps/nios2/dl-init.c: New file.
747 * sysdeps/nios2/dl-machine.h: New file.
748 * sysdeps/nios2/dl-sysdep.h: New file.
749 * sysdeps/nios2/dl-tls.h: New file.
750 * sysdeps/nios2/dl-trampoline.S: New file.
751 * sysdeps/nios2/gccframe.h: New file.
752 * sysdeps/nios2/gmp-mparam.h: New file.
753 * sysdeps/nios2/jmpbuf-offsets.h: New file.
754 * sysdeps/nios2/jmpbuf-unwind.h: New file.
755 * sysdeps/nios2/ldsodefs.h: New file.
756 * sysdeps/nios2/libc-tls.c: New file.
757 * sysdeps/nios2/libm-test-ulps: New file.
758 * sysdeps/nios2/machine-gmon.h: New file.
759 * sysdeps/nios2/math-tests.h: New file.
760 * sysdeps/nios2/math_private.h: New file.
761 * sysdeps/nios2/memusage.h: New file.
762 * sysdeps/nios2/nptl/Makefile: New file.
763 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
764 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
765 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
766 * sysdeps/nios2/nptl/pthreaddef.h: New file.
767 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
768 * sysdeps/nios2/nptl/tls.h: New file.
769 * sysdeps/nios2/preconfigure: New file.
770 * sysdeps/nios2/s_fma.c: New file.
771 * sysdeps/nios2/s_fmaf.c: New file.
772 * sysdeps/nios2/setjmp.S: New file.
773 * sysdeps/nios2/sfp-machine.h: New file.
774 * sysdeps/nios2/sotruss-lib.c: New file.
775 * sysdeps/nios2/stackguard-macros.h: New file.
776 * sysdeps/nios2/stackinfo.h: New file.
777 * sysdeps/nios2/start.S: New file.
778 * sysdeps/nios2/sysdep.h: New file.
779 * sysdeps/nios2/tls-macros.h: New file.
780 * sysdeps/nios2/tst-audit.h: New file.
781 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
782 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
783 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
784 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
785 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
786 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
787 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
788 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
789 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
790 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
791 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
792 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
793 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
794 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
795 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
796 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
797 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
798 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
799 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
800 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
801 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
802 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
803 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
804 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
805 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
806 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
807 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
808 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
809 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
810 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
811 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
812 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
813 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
814 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
815 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
816 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
817 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
818 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
819 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
820 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
821 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
822 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
823 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
824 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
826 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
829 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
830 (getutent): Use weak_alias in non SHARED case
831 and default_symbol_version in SHARED case.
832 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
833 (getutent_r, pututline): Likewise.
834 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
836 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
837 (getutid_r): Likewise.
838 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
839 (getutline): Likewise.
840 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
841 (getutline_r): Likewise.
842 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
845 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
848 * sysdeps/s390/s390-32/memcmp.S
849 (memcmp_g5): Rename to __memcmp_g5.
850 * sysdeps/s390/s390-32/memcpy.S
851 (memcpy_g5): Rename to __memcpy_g5.
852 Jump to __memcpy_mvcle instead of memcpy_mvcle.
853 (memcpy_mvcle) Rename to __memcpy_mvcle.
854 * sysdeps/s390/s390-32/memset.S
855 (memset_g5): Rename to __memset_g5.
856 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
857 (IFUNC_RESOLVE): Prefix ifunc-resolve function
858 and use prefixed functions.
859 * sysdeps/s390/s390-32/multiarch/memcmp.S
860 (memcmp_z196): Rename to __memcmp_z196.
861 (memcmp_z10): Rename to __memcmp_z10.
862 (memcmp): Set alias to __memcmp_g5.
863 (bcmp): Set alias to __memcmp_g5.
864 * sysdeps/s390/s390-32/multiarch/memcpy.S
865 (memcpy_z196): Rename to __memcpy_z196.
866 Jump to __memcpy_mvcle instead of memcpy_mvcle.
867 (memcpy_z10): Rename to __memcpy_z10.
868 Jump to __memcpy_mvcle instead of memcpy_mvcle.
869 (memcpy): Set alias to __memcpy_g5.
870 * sysdeps/s390/s390-32/multiarch/memset.S
871 (memset_z196): Rename to __memset_z196.
872 Jump to __memset_mvcle instead of memset_mvcle.
873 (memset_z10): Rename to __memset_z10.
874 Jump to __memset_mvcle instead of memset_mvcle.
875 (memset_mvcle) Rename to __memset_mvcle.
876 (memset): Set alias to __memset_g5.
877 * sysdeps/s390/s390-64/memcmp.S
878 (memcmp_z900): Rename to __memcmp_z900.
879 * sysdeps/s390/s390-64/memcpy.S
880 (memcpy_z900): Rename to __memcpy_z900.
881 Jump to __memcpy_mvcle instead of memcpy_mvcle.
882 (memcpy_mvcle) Rename to __memcpy_mvcle.
883 * sysdeps/s390/s390-64/memset.S
884 (memset_z900): Rename to __memset_z900.
885 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
886 (IFUNC_RESOLVE): Prefix ifunc-resolve function
887 and use prefixed functions.
888 * sysdeps/s390/s390-64/multiarch/memcmp.S
889 (memcmp_z196): Rename to __memcmp_z196.
890 (memcmp_z10): Rename to __memcmp_z10.
891 (memcmp): Set alias to __memcmp_z900.
892 (bcmp): Set alias to __memcmp_z900.
893 * sysdeps/s390/s390-64/multiarch/memcpy.S
894 (memcpy_z196): Rename to __memcpy_z196.
895 Jump to __memcpy_mvcle instead of memcpy_mvcle.
896 (memcpy_z10): Rename to __memcpy_z10.
897 Jump to __memcpy_mvcle instead of memcpy_mvcle.
898 (memcpy): Set alias to __memcpy_z900.
899 * sysdeps/s390/s390-64/multiarch/memset.S
900 (memset_z196): Rename to __memset_z196.
901 Jump to __memset_mvcle instead of memset_mvcle.
902 (memset_z10): Rename to __memset_z10.
903 Jump to __memset_mvcle instead of memset_mvcle.
904 (memset_mvcle) Rename to __memset_mvcle.
905 (memset): Set alias to __memset_z900.
907 2015-01-14 Joseph Myers <joseph@codesourcery.com>
910 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
911 __fesetenv instead of fesetenv.
913 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
915 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
918 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
923 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
924 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
926 strncmp-power8 object.
927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
928 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
929 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
932 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
933 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
938 2015-01-13 David S. Miller <davem@davemloft.net>
940 * include/signal.h (__sigreturn): Guard with __USE_MISC.
942 2015-01-13 Roland McGrath <roland@hack.frob.com>
944 * login/logout.c (logout): Use memset rather than bzero.
945 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
946 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
947 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
948 (_gethtbyaddr): Likewise.
949 * locale/programs/simple-hash.c (bcopy): Macro removed.
951 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
954 Add strcmp-power8 object.
955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
956 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
957 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
958 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
959 __strcmp_power8 implementation.
960 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
963 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
964 Add strncpy-power8 and stpncpy-power8 objects.
965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
966 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
968 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
969 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
970 __stpncpy_power8 implementation.
971 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
972 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
973 __strncpy_power8 implementation.
974 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
975 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
978 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
979 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
980 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
982 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
983 strncat-power8 object.
984 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
985 __strcat_power8 implementation.
986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
987 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
988 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
989 optimized strcat for power8.
991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
992 strcpy-power8 and stpcpy-power8 objects.
993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
997 multiarch stpcpy implementation for POWER8.
998 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
999 multiarch strcpy implementation for POWER8.
1000 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1001 __strcpy_power8 function.
1002 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1004 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1008 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1011 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1012 weights and rules. Use do_xfrm_cached if data fits in cache,
1013 do_xfrm otherwise. Moved former main loop to...
1014 * (do_xfrm_cached): New function.
1015 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1016 find_idx, find_position and stack_push.
1017 * (find_idx): New function.
1018 * (find_position): Likewise.
1019 * localedata/sort-test.sh: Added test run for do_xfrm.
1020 * localedata/xfrm-test.c (main): Added command line option
1021 -nocache to run the test with strings that are too large for
1024 2015-01-13 Torvald Riegel <triegel@redhat.com>
1026 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1027 variable to lll_futex_wake call, not the value itself.
1029 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1032 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1033 twom64. Adjust value to 0x1p-64L.
1034 (__scalblnl): Only return standard underflowing result for K <=
1035 -64 not K <= -63; adjust exponent for underflowing result by 64
1037 * math/libm-test.inc (scalbn_test_data): Add more tests.
1038 (scalbln_test_data): Likewise.
1041 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1043 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1045 * math/libm-test.inc (scalbn_test_data): Add more tests.
1046 (scalbln_test_data): Likewise.
1048 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049 Stefani Seibold <stefani@seibold.net>
1051 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1052 (sysdep_routines): Add dl-vdso here, ...
1053 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1054 (sysdep_routines): ... not here.
1055 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1056 fallback when vDSO is not presented.
1057 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1058 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1059 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1060 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1061 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1062 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1063 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1064 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1065 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1067 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1068 fallback configurable symbol when vDSO is not available.
1069 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1070 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1071 be able to redefine fallback symbol when vDSO is not available.
1072 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1073 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1075 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1078 (TLS_INIT_TP): Add tm_capable initialization.
1079 (TLS_DEFINE_INIT_TP): Likewise.
1080 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1082 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1083 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1085 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1086 transactoion is lock elision is built and TCB tm_capable is set.
1087 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1089 (INTERNAL_SYSCALL_NCS): Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1091 (INTERNAL_SYSCALL_NCS): Likewise.
1092 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1094 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1096 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1097 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1098 and remove it for 32 bits case.
1099 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1102 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1103 Disable lock elision with rdlocks if elision is not available.
1105 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1106 (sysdep_routines): Add lock elision objects.
1107 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1108 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1109 [pthread_mutex_t] (__elision): Add field.
1110 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1111 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1112 elision definitions for powerpc.
1113 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1114 implementation of lock elision for powerpc.
1115 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1116 implementation of timed lock elision for powerpc.
1117 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1118 implementation of trylock with lock elision for powerpc.
1119 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1120 implementaion of unlock for lock elision for powerpc.
1121 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1122 automatic enable lock elision for mutexes.
1123 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1124 transaction execution definitions for powerpc.
1125 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1127 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1128 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1133 2015-01-09 Roland McGrath <roland@hack.frob.com>
1135 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1136 for #include of <shm-directory.h>.
1138 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1140 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1141 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1143 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1146 * NEWS: Mention bug fix.
1147 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1148 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1149 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1151 2015-01-09 Torvald Riegel <triegel@redhat.com>
1153 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1155 2015-01-09 Torvald Riegel <triegel@redhat.com>
1157 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1159 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1161 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1162 pointer and cast to uintptr_t.
1164 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1166 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1168 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1170 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1172 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1175 2015-01-08 Roland McGrath <roland@hack.frob.com>
1177 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1178 <nptl/pthreadP.h> instead.
1179 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1181 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1183 [__SIGRTMIN] (init): Function removed.
1184 [__SIGRTMIN] (initialized): Variable removed.
1185 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1186 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1187 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1188 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1189 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1190 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1191 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1192 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1193 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1194 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1195 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1196 * sysdeps/nptl/allocrtsig.c: New file.
1197 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1198 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1199 * sysdeps/generic/testrtsig.h: File removed.
1201 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1202 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1204 * nptl/nptl-init.c (pthread_functions): Conditionalize
1205 .ptr__nptl_setxid initialization on [SIGSETXID].
1207 * sysdeps/nptl/sys/procfs.h: New file.
1208 * nptl_db/Makefile (headers): Add it.
1209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1211 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1212 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1213 * nptl/pthread_attr_setaffinity.c: Include it.
1214 * nptl/pthread_setattr_default_np.c: Likewise.
1215 * nptl/check-cpuset.h: New file.
1217 2015-01-08 Richard Henderson <rth@redhat.com>
1219 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1220 (CFLAGS-tst-execstack-prog.c): Likewise.
1221 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1223 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1224 Sandra Loosemore <sandra@codesourcery.com>
1225 Andrew Jenner <andrew@codesourcery.com>
1226 Joseph Myers <joseph@codesourcery.com>
1227 Nathan Sidwell <nathan@codesourcery.com>
1229 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1230 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1231 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1232 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1233 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1234 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1235 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1236 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1237 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1238 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1239 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1240 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1241 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1242 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1243 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1244 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1245 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1247 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1250 timespec struct member in syscall macro.
1251 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1252 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1253 first timeval struct member in syscall macro.
1254 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1256 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1259 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1260 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1261 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1262 __feupdateenv and define as weak alias of __feupdateenv. Use
1264 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1266 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1267 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1268 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1269 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1271 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1272 __feupdateenv and define as weak alias of __feupdateenv. Use
1274 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1276 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1277 __feupdateenv and define as weak alias of __feupdateenv. Use
1279 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1281 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1282 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1283 (__feupdateenv): Likewise.
1284 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1285 __feupdateenv and define as weak alias of __feupdateenv. Use
1287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1288 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1290 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1292 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1294 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1295 __feupdateenv instead of feupdateenv.
1296 (default_libc_feupdateenv_test): Likewise.
1297 (libc_feresetround_ctx): Likewise.
1299 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1304 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1306 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1307 COLL_SYM in a couple of places to avoid uninitialized variable
1308 wanings on tilegx gcc 4.8.2.
1310 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1312 * sysdeps/aarch64/strcpy.S: New file.
1313 * sysdeps/aarch64/stpcpy.S: New file.
1316 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1318 * sysdeps/aarch64/strrchr.S: New file.
1321 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1324 * stdlib/setenv.c: Fix memory leak when setting large,
1327 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1330 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1331 and tabs from buffer before parsing fstab entry.
1332 * misc/tst-mntent.c (main): Add test for mount entry with
1333 trailing spaces and tabs.
1335 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1338 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1339 * math/fesetround.c (fesetround): Rename to __fesetround and
1340 define as weak alias of __fesetround. Use libm_hidden_weak.
1341 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1342 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1343 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1344 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1345 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1346 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1347 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1348 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1349 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1350 __fesetround_inline.
1351 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1352 __fesetround_inline instead of __fesetround.
1353 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1354 __fesetround and define as weak alias of __fesetround. Use
1355 libm_hidden_weak. Call __fesetround_inline instead of
1357 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1358 __fesetround and define as weak alias of __fesetround. Use
1360 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1362 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1364 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1365 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1366 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1367 __fesetround and define as weak alias of __fesetround. Use
1369 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1370 __fesetround instead of fesetround.
1371 (default_libc_feholdexcept_setround): Likewise.
1372 (libc_feholdsetround_ctx): Likewise.
1373 (libc_feholdsetround_noex_ctx): Likewise.
1376 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1377 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1378 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1379 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1380 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1381 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1382 define as weak alias of __fesetenv. Use libm_hidden_weak.
1383 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1384 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1385 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1386 define as weak alias of __fesetenv. Use libm_hidden_weak.
1387 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1388 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1389 define as weak alias of __fesetenv. Use libm_hidden_weak.
1390 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1392 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1393 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1395 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1396 define as weak alias of __fesetenv. Use libm_hidden_weak.
1397 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1398 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1399 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1400 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1401 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1402 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1403 __fesetenv instead of fesetenv.
1404 (libc_feresetround_noex_ctx): Likewise.
1405 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1406 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1407 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1408 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1409 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1410 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1411 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1412 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1413 (__feupdateenv): Likewise.
1414 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1415 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1416 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1417 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1419 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1422 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1423 addresses have been freed.
1425 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1427 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1430 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1432 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1433 Clean up check_pf allocation pattern. addresses
1435 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1437 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1438 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1439 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1440 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1441 * nptl/pthread_join.c (pthread_join): Likewise.
1442 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1443 * sysdeps/posix/waitid.c (__waitid): Likewise.
1444 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1445 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1446 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1447 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1451 (__libc_pread64): Likewise.
1452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1453 (__libc_pwrite): Likewise.
1454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1455 (__libc_pwrite64): Likewsie.
1456 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1457 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1458 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1459 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1460 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1461 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1462 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1466 (__libc_pread64): Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1470 (__libc_pwrite64): Likewise.
1471 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1472 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1473 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1474 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1475 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1476 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1477 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1478 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1479 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1480 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1481 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1482 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1483 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1484 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1485 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1486 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1489 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1491 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1492 (CFLAGS-test-double.c): Likewise.
1493 (CFLAGS-test-ldouble.c): Likewise.
1494 (CPPFLAGS-test-ifloat.c): Likewise.
1495 (CPPFLAGS-test-idouble.c): Likewise.
1496 (CPPFLAGS-test-ildoubl.c): Likewise.
1497 (CFLAGS-test-test-fenv.c): Remove variable.
1498 (CFLAGS-test-misc.c): Likewise.
1500 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1503 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1504 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1505 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1506 CLOCKS_PER_SEC == 1000000.
1507 * time/clocktest.c (main): Replace %ld with %jd and cast to
1510 2015-01-05 Roland McGrath <roland@hack.frob.com>
1512 * sysdeps/generic/unwind-resume.h: New file.
1513 * sysdeps/gnu/unwind-resume.c: Include it.
1514 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1515 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1517 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1518 global rather than static.
1519 (_Unwind_Resume): Update user.
1520 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1521 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1522 rather than static. Add __attribute__ ((cold)).
1523 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1524 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1525 * sysdeps/arm/arm-unwind-resume.S: New file.
1526 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1527 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1528 * sysdeps/arm/Makefile [$(subdir) = csu]
1529 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1530 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1531 Add rt-arm-unwind-resume.
1533 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1534 Add pt-arm-unwind-resume.
1535 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1536 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1538 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1541 * include/fenv.h (__feholdexcept): Declare. Use
1543 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1544 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1545 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1546 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1547 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1548 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1549 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1550 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1551 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1552 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1553 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1554 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1555 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1556 (feholdexcept): Likewise.
1557 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1558 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1559 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1560 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1561 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1562 __feholdexcept instead of feholdexcept.
1563 (default_libc_feholdexcept_setround): Likewise.
1565 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1567 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1568 to avoid using stl/str to align destination.
1570 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1572 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1574 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1577 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1578 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1579 Define as weak alias not strong alias.
1581 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1583 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1584 bltzal with addiupc.
1585 (RTLD_START): Ditto.
1587 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1589 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1590 for __vdso_* functions in declarations.
1591 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1593 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1594 INTERNAL_VSYSCALL): Use struct return types to check for error.
1596 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1597 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1598 function with cast from llround().
1599 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1600 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1603 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1606 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1607 Define as weak alias not strong alias.
1610 * ctype/ctype-c99.c: New file. isblank implementation moved from
1612 * ctype/ctype-extn.c: ... here.
1613 (__isblank_l): Move to ...
1614 * ctype/ctype-c99_l.c: ... here. New file.
1615 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1616 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1618 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1619 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1620 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1621 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1622 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1625 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1626 (posix_fadvise64): Define as weak alias not strong alias.
1627 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1628 (posix_fallocate64): Likewise.
1629 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1631 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1632 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1633 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1634 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1635 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1637 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1640 * NEWS: Mention bug fix.
1641 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1642 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1643 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1644 (HOST_STACK_END_ADDR): Likewise.
1646 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1649 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1650 * math/fegetround.c (fegetround): Rename to __fegetround and
1651 define as weak alias of __fegetround. Use libm_hidden_weak.
1652 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1653 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1654 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1655 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1656 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1657 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1658 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1659 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1660 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1661 Undefine after rather than before function definition; use
1662 parentheses around function name in definition.
1663 (__fegetround): Also undefine macro after function definition.
1664 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1665 __fegetround and define as weak alias of __fegetround. Use
1666 libm_hidden_weak. Do not undefine as macro.
1667 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1669 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1670 __fegetround and define as weak alias of __fegetround. Use
1672 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1673 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1674 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1675 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1676 __fegetround and define as weak alias of __fegetround. Use
1678 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1679 __fegetround instead of fegetround.
1682 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1683 Condition macro definition on [__USE_MISC].
1686 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1687 (struct sigaction): Change type of sa_flags field to int.
1690 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1691 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1694 * nptl/version.c (banner): Use single year in copyright notice.
1696 * NEWS: Update copyright dates.
1697 * catgets/gencat.c (print_version): Likewise.
1698 * csu/version.c (banner): Likewise.
1699 * debug/catchsegv.sh: Likewise.
1700 * debug/pcprofiledump.c (print_version): Likewise.
1701 * debug/xtrace.sh (do_version): Likewise.
1702 * elf/ldconfig.c (print_version): Likewise.
1703 * elf/ldd.bash.in: Likewise.
1704 * elf/pldd.c (print_version): Likewise.
1705 * elf/sotruss.sh: Likewise.
1706 * elf/sprof.c (print_version): Likewise.
1707 * iconv/iconv_prog.c (print_version): Likewise.
1708 * iconv/iconvconfig.c (print_version): Likewise.
1709 * locale/programs/locale.c (print_version): Likewise.
1710 * locale/programs/localedef.c (print_version): Likewise.
1711 * login/programs/pt_chown.c (print_version): Likewise.
1712 * malloc/memusage.sh (do_version): Likewise.
1713 * malloc/memusagestat.c (print_version): Likewise.
1714 * malloc/mtrace.pl: Likewise.
1715 * manual/libc.texinfo: Likewise.
1716 * nptl/version.c (banner): Likewise.
1717 * nscd/nscd.c (print_version): Likewise.
1718 * nss/getent.c (print_version): Likewise.
1719 * nss/makedb.c (print_version): Likewise.
1720 * posix/getconf.c (main): Likewise.
1721 * scripts/test-installation.pl: Likewise.
1722 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1724 2015-01-02 Will Newton <will.newton@linaro.org>
1726 * sysdeps/arm/armv7/configure: Removed.
1727 * sysdeps/arm/armv7/configure.ac: Likewise.
1729 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1731 * All files with FSF copyright notices: Update copyright dates
1732 using scripts/update-copyrights.
1733 * intl/plural.c: Regenerated.
1734 * locale/programs/charmap-kw.h: Likewise.
1735 * locale/programs/locfile-kw.h: Likewise.
1737 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1739 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1741 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1744 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1745 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1746 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1747 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1748 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1749 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1750 define as weak alias of __fegetenv. Use libm_hidden_weak.
1751 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1752 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1753 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1754 define as weak alias of __fegetenv. Use libm_hidden_weak.
1755 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1756 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1757 define as weak alias of __fegetenv. Use libm_hidden_weak.
1758 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1760 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1763 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1764 define as weak alias of __fegetenv. Use libm_hidden_weak.
1765 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1766 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1767 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1768 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1769 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1770 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1771 __fegetenv instead of fegetenv.
1772 (libc_feholdsetround_noex_ctx): Likewise.
1774 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1776 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1777 (Elf_MIPS_ABIFlags_v0): New structure.
1778 (EF_MIPS_FP64): Define.
1779 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1780 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1781 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1782 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1783 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1784 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1785 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1786 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1787 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1788 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1789 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1790 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1791 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1792 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1793 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1794 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1795 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1796 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1797 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1798 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1799 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1800 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1802 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1804 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1805 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1806 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1807 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1808 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1809 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1810 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1811 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1812 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1813 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1814 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1815 record the current FP ABI extension.
1816 (mips-mode-switch): Define to show if kernel headers support mode
1818 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1819 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1820 supported SYSV ABI version to 3.
1821 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1824 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1825 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1827 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1829 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1831 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1834 __fegetround and redefine to call __fegetround. Remove condition
1835 on [!__NO_MATH_INLINES].
1836 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1838 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1839 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1841 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1842 instead of <fenv_libc.h>.
1843 (__llrintl): Call fegetround instead of __fegetround.
1844 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1845 instead of <fenv_libc.h>.
1846 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1847 (__lrintl): Call fegetround instead of __fegetround.
1848 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1849 instead of <fenv_libc.h>.
1850 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1851 (__rintl): Call fegetround instead of __fegetround.
1853 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1855 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1858 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1862 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1863 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1865 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1867 * sysdeps/i386/tls-macros.h: Include <features.h>.
1868 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1872 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1873 define for GCC >= 5.0.
1875 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1877 * math/test-fenv.c (test_single_exception, set_single_exc,
1878 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1879 feexcp_mask_test, feenable_test, fe_single_test): Add
1880 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1881 case where they are not used.
1882 * math/libm-test.inc: Likewise.
1883 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1884 unused in the absence of FP rounding/exception support.
1885 * stdio-common/tst-printf-round.c: Likewise.
1886 * stdlib/tst-strtod-round.c: Likewise.
1887 * stdlib/tst-strtod-underflow.c: Likewise.
1889 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1892 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1893 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1894 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1895 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1897 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1898 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1899 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1901 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1902 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1904 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1906 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1907 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1908 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1910 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1912 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1913 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1914 (__feraiseexcept): Likewise.
1915 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1916 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1918 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1919 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1921 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1922 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1923 Use libm_hidden_def.
1924 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1926 (feraiseexcept): Define as weak not strong alias. Use
1928 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1929 New inline function. Factored out of ...
1930 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1931 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1932 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1934 * math/w_acos.c (__acos): Likewise.
1935 * math/w_asin.c (__asin): Likewise.
1936 * math/w_ilogb.c (__ilogb): Likewise.
1937 * math/w_j0.c (y0): Likewise.
1938 * math/w_j1.c (y1): Likewise.
1939 * math/w_jn.c (yn): Likewise.
1940 * math/w_log.c (__log): Likewise.
1941 * math/w_log10.c (__log10): Likewise.
1942 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1943 * sysdeps/aarch64/fpu/math_private.h
1944 (libc_feupdateenv_test_aarch64): Likewise.
1945 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1946 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1947 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1948 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1949 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1950 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1951 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1952 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1953 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1954 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1956 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1959 * io/test-utime.c (main): Replace %ld with %jd and cast to
1961 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1962 * nptl/tst-mutex5.c: Include <stdint.h>.
1963 (do_test): Replace %ld with %jd and cast to intmax_t.
1964 * posix/tst-regex.c (run_test): Likewise.
1965 (run_test_backwards): Likewise.
1966 * rt/tst-clock.c: Include <stdint.h>.
1967 (clock_test): Replace %ld with %jd and cast to intmax_t.
1968 * rt/tst-cpuclock1.c: Include <stdint.h>.
1969 (do_test): Replace %lu with %ju and cast to uintmax_t.
1970 * rt/tst-cpuclock2.c: Include <stdint.h>.
1971 (do_test): Replace %lu with %ju and cast to uintmax_t.
1972 * rt/tst-mqueue1.c: Include <stdint.h>.
1973 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1974 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1976 * rt/tst-mqueue4.c (do_test): Likewise.
1977 * rt/tst-timer4.c: Include <stdint.h>.
1978 (check_ts): Replace %ld with %jd and cast to intmax_t.
1979 (do_test): Likewise.
1980 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1981 and cast to intmax_t.
1982 * sysdeps/pthread/tst-timer.c (main): Likewise.
1983 * time/clocktest.c (main): Likewise.
1984 * time/tst-posixtz.c (do_test): Likewise.
1985 * timezone/tst-timezone.c (main): Likewise.
1987 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1988 H.J. Lu <hongjiu.lu@intel.com>
1990 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1991 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1992 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1993 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1994 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1995 version if bit_Fast_Unaligned_Load is set.
1996 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1997 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1998 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1999 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2000 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2001 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2003 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2004 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2005 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2007 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2008 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2009 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2010 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2012 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2014 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2015 instead of #if to avoid a Wundef warning.
2016 * stdlib/tst-limits.c (do_test): Likewise.
2018 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2019 parallel other exception macros.
2020 (fegetenv): Convert from macro to extern inline so that it applies
2021 retroactively to inline functions already seen by the compiler.
2022 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2024 * posix/Makefile (before-compile): Use $(objpfx) for
2025 posix-conf-vars-def.h.
2027 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2029 * posix/getconf.c (main): Use size_t for type of I.
2030 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2033 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2034 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2035 * posix/posix-envs.def: Likewise.
2036 * sysdeps/posix/sysconf.c: Likewise.
2037 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2038 (specs): Remove array.
2039 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2042 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2043 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2044 (__sysconf): Use CONF_IS_* macros.
2046 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2047 ($(objpfx)posix-conf-vars-def.h): New target.
2048 * posix/posix-conf-vars.list: New file.
2049 * posix/posix-conf-vars.h: New file.
2050 * posix/confstr.c: Include posix-conf-vars.h.
2051 (confstr): Use CONF_IS_* macros.
2052 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2054 * scripts/gen-posix-conf-vars.awk: New file.
2056 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2058 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2059 fegetround): Add no-op macros to avoid linknamespace issues.
2061 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2062 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2064 * sysdeps/unix/sysv/linux/tile/sysdep.h
2065 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2066 assembly-specific section to avoid a redefinition warning.
2068 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2069 long before casting to pointer to avoid a cast warning.
2071 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2073 * sysdeps/tile/tilegx/Implies: New file.
2075 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2077 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2079 2014-12-23 Florian Weimer <fweimer@redhat.com>
2081 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2083 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2087 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2088 <kernel-features.h>.
2089 (__utimes) [__NR_utimes]: Make code unconditional.
2090 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2092 (__ASSUME_UTIMES): Do not undefine.
2093 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2094 (__ASSUME_UTIMES): Likewise.
2095 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2096 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2097 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2098 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2100 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2102 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2104 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2107 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2108 alias to weak alias for j0l, y0l.
2109 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2110 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2113 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2116 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2118 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2119 to zero if not already defined.
2121 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2124 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2125 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2126 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2127 (char *) casts added.
2128 * sysdeps/ieee754/k_standardf.c: New file.
2129 * sysdeps/ieee754/k_standardl.c: Likewise.
2130 * math/Makefile (libm-support): Remove k_standard.
2131 (libm-calls): Add k_standard.
2133 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2135 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2136 Optimize to avoid an unnecessary FPCR read.
2138 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2140 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2141 Optimize to reduce FPCR/FPSR accesses.
2143 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2145 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2146 Call libc_fetestexcept_aarch64.
2148 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2150 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2151 Call libc_fesetround_aarch64.
2153 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2156 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2157 (__bind): Do not define as weak alias.
2158 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2160 (__getsockname): Do not define as weak alias.
2162 2014-12-22 Will Newton <will.newton@linaro.org>
2164 * manual/install.texi: Document that we require bison 2.7
2166 * INSTALL: Regenerate.
2167 * configure.ac: Use AC_CHECK_PROG_VER instead of
2168 AC_PATH_PROG when checking for bison and check for
2169 version 2.7 or above.
2170 * configure: Regenerate.
2172 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2175 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2176 * sysdeps/tile/ffsll.c (ffsll): To here.
2178 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2180 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2182 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2184 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2186 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2187 hidden ___tls_get_addr.
2188 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2189 hidden __tls_get_addr.
2190 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2191 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2194 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2196 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2199 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2201 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2202 from "call _dl_init@PLT".
2203 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2205 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2207 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2210 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2212 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2214 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2217 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2220 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2222 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2224 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2225 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2226 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2227 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2228 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2230 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2232 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2233 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2234 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2235 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2236 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2238 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2240 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2242 * string/strncat.c (STRNCAT): Simplify implementation.
2244 2014-12-19 David S. Miller <davem@davemloft.net>
2246 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2247 access the quad as both a long double and as a series of 4 words.
2249 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2250 link_map->l_info array access.
2252 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2254 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2256 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2257 * math/atest-exp2.c (TIMEOUT): Likewise.
2258 * math/atest-sincos.c (TIMEOUT): Likewise.
2260 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2262 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2263 -Wno-error with -fno-builtin-lround.
2265 2014-12-19 Torvald Riegel <triegel@redhat.com>
2267 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2268 Contains futex constants and functions moved over from ...
2269 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2270 <lowlevellock-futex.h>.
2271 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2272 (lll_timedwait_tid): Add comments and parentheses around macro
2275 2014-12-19 Torvald Riegel <triegel@redhat.com>
2277 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2278 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2279 (__lll_private_flag): Remove.
2280 (lll_futex_wait): Likewise.
2281 (lll_futex_timed_wait): Likewise.
2282 (lll_futex_wake): Likewise.
2283 (lll_futex_requeue): Likewise.
2284 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2285 (__lll_timedwait_tid): Spell out argument names.
2286 (lll_timedwait_tid): Add comments and parentheses around macro
2288 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2289 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2291 2014-12-19 Torvald Riegel <triegel@redhat.com>
2293 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2294 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2295 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2296 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2297 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2298 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2299 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2300 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2301 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2303 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2307 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2308 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2309 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2310 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2311 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2313 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2315 * sysdeps/x86_64/x32/Makefile: New file.
2317 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2319 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2320 1L with (mp_limb_t) 1.
2322 2014-12-17 Roland McGrath <roland@hack.frob.com>
2324 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2325 * nptl/libc_pthread_init.c: ... here.
2326 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2327 * nptl/register-atfork.c: ... here.
2329 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2330 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2331 Use assert_perror to check its return value.
2332 (__gai_create_helper_thread): Likewise.
2334 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2336 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2338 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2341 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2343 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2345 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2347 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2349 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2350 (profil_counter): Likewise.
2351 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2352 (profil_counter): Likewise.
2353 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2355 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2357 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2358 (profil_counter): Likewise.
2359 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2361 [!__profil_counter] (profil_counter): Define as weak alias of
2363 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2364 (profil_counter): Rename to __profil_counter.
2365 [!__profil_counter] (profil_counter): Define as weak alias of
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2368 (profil_counter): Rename to __profil_counter.
2369 [!__profil_counter] (profil_counter): Define as weak alias of
2371 * sysdeps/posix/profil.c: Update comment referring to
2373 (__profil): Use __profil_counter instead of profil_counter.
2374 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2375 __profil_counter. Use __profil_counter_ushort and
2376 __profil_counter_uint in definitions.
2377 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2378 instead of profil_counter_uint and profil_counter_ushort.
2381 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2382 define as weak alias of __inet_makeaddr.
2383 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2384 as weak alias of __inet_addr.
2385 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2386 as weak alias of __inet_pton. Use libc_hidden_weak.
2387 * include/arpa/inet.h (__inet_pton): Declare. Use
2389 (inet_makeaddr): Don't use libc_hidden_proto.
2390 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2391 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2392 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2393 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2395 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2396 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2398 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2400 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2402 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2404 * stdio-common/bug-vfprintf-nargs.c (do_test):
2405 Cast value to intptr_t to avoid format warning
2406 for usage with PRIdPTR printing macro.
2408 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2410 * libio/tst-widetext.c (do_test):
2411 Use format type %td instead of %Zd for ptrdiff_t
2412 in order to avoid format warning.
2414 2014-12-17 Andreas Schwab <schwab@suse.de>
2416 * nscd/mem.c (gc): Add size_t cast to match printf format.
2418 2014-12-16 Roland McGrath <roland@hack.frob.com>
2420 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2421 (init): Apply PTR_MANGLE to pointers before storing them.
2422 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2425 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2428 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2429 define as weak alias of __memrchr.
2430 (__memrchr): Do not define as strong alias of memrchr.
2431 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2433 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2434 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2435 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2438 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2439 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2440 (if_indextoname): Rename to __if_indextoname and define as weak
2441 alias of __if_indextoname. Use libc_hidden_weak.
2442 (if_freenameindex): Rename to __if_freenameindex and define as
2443 weak alias of __if_freenameindex.
2444 (if_nameindex): Rename to __if_nameindex and define as weak alias
2446 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2447 __if_nametoindex and define as weak alias of __if_nametoindex.
2448 Use libc_hidden_weak.
2449 (if_freenameindex): Rename to __if_freenameindex and define as
2450 weak alias of __if_freenameindex.
2451 (if_nameindex): Rename to __if_nameindex and define as weak alias
2453 (if_indextoname): Rename to __if_indextoname and define as weak
2454 alias of __if_indextoname. Use libc_hidden_weak.
2455 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2456 __if_nametoindex and define as weak alias of __if_nametoindex.
2457 Use libc_hidden_weak.
2458 (if_freenameindex): Rename to __if_freenameindex and define as
2459 weak alias of __if_freenameindex. Use libc_hidden_weak.
2460 (if_nameindex_netlink): Use __if_freenameindex instead of
2462 (if_nameindex): Rename to __if_nameindex and define as weak alias
2463 of __if_nameindex. Use libc_hidden_weak.
2464 (if_indextoname): Rename to __if_indextoname and define as weak
2465 alias of __if_indextoname. Use libc_hidden_weak.
2466 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2468 [!_ISOMAC] (__if_freenameindex): Likewise.
2469 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2471 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2473 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2474 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2475 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2476 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2477 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2478 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2479 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2481 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2483 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2484 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2486 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2488 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2489 subscript above bounds'
2491 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2494 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2496 * libio/tst-fopenloc.c: Use test-skeleton.c.
2498 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2499 (entry): Rename to ITEM.
2500 (do_test, comp): Adjust.
2502 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2504 2014-12-16 Torvald Riegel <triegel@redhat.com>
2506 * string/tester.c: Include <libc-internal.h>.
2507 (test_memset): Ignore -Wmemset-transposed-args.
2509 2014-12-16 Torvald Riegel <triegel@redhat.com>
2511 * misc/tst-mntent2.c (do_test): Fix warning.
2513 2014-12-16 Torvald Riegel <triegel@redhat.com>
2515 * elf/tst-unique4lib.cc(a): Mark as used.
2517 2014-12-16 Florian Weimer <fweimer@redhat.com>
2520 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2523 2014-12-16 Allan McRae <allan@archlinux.org>
2525 * stdio-common/Makefile (tests): Re-add bug26.
2527 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2530 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2533 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2535 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2536 (__lll_lock_wait): Likewise.
2537 (__lll_timedlock_wait): Likewise.
2538 (__lll_timedwait_tid): Likewise.
2539 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2540 (__lll_robust_timedlock_wait): Likewise.
2541 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2542 (lll_cond_trylock): Likewise.
2543 (__lll_lock): Likewise.
2544 (__lll_robust_lock): Likewise.
2545 (__lll_cond_lock): Likewise.
2546 (lll_robust_cond_lock): Likewise.
2547 (__lll_timedlock): Likewise.
2548 (__lll_robust_timedlock): Likewise.
2549 (__lll_unlock): Likewise.
2550 (__lll_robust_unlock): Likewise.
2551 (lll_wait_tid): Likewise.
2552 (lll_timedwait_tid): Likewise.
2554 2014-12-15 Torvald Riegel <triegel@redhat.com>
2556 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2558 2014-12-15 Torvald Riegel <triegel@redhat.com>
2560 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2562 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2564 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2565 * stdio-common/tst-sprintf.c: Likewise.
2567 2014-12-15 Torvald Riegel <triegel@redhat.com>
2569 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2571 2014-12-15 Jeff Law <law@redhat.com>
2574 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2575 on the heap. (CVE-2012-3406)
2576 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2577 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2578 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2580 2014-12-15 Will Newton <will.newton@linaro.org>
2582 * manual/install.texi: Bump required version of texinfo
2584 * INSTALL: Regenerated.
2585 * configure.ac: Check for makeinfo version 4.7 and above.
2586 * configure: Regenerated.
2588 2014-12-12 Roland McGrath <roland@hack.frob.com>
2590 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2591 PREFIX, string constant to insert between directory and name.
2592 * sysdeps/posix/shm_open.c: Update caller.
2593 * sysdeps/posix/shm_unlink.c: Likewise.
2594 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2595 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2596 (SEM_SHM_PREFIX): New macro.
2597 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2598 [$(have-thread-library) = no].
2599 * nptl/Makefile (libpthread-routines): Add shm-directory.
2600 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2601 * sysdeps/nptl/shm-directory.h: New file.
2602 * sysdeps/posix/shm-directory.c
2603 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2604 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2605 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2607 (__where_is_shmfs): Function removed.
2608 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2610 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2612 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2614 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2615 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2616 unconditional for use inside libpthread.
2617 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2619 2014-12-12 Roland McGrath <roland@hack.frob.com>
2621 * nptl/pthread_getaffinity.c: New file.
2622 * nptl/pthread_setaffinity.c: New file.
2623 * nptl/pthread_getname.c: New file.
2624 * nptl/pthread_setname.c: New file.
2626 * nptl/pthread_create.c (START_THREAD_DEFN)
2627 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2629 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2630 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2632 * resolv/res_send.c (send_vc): Disable warning resplen may
2633 be used uninitialized.
2635 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2638 (ATTR_NULL): New define checks ATTR against NULL.
2639 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2640 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2642 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2646 (mem2mem_check): Revert my previous change.
2647 (malloc_check_get_size): Revert my previous change.
2648 (mem2chunk_check): Revert my previous change.
2650 2014-12-11 Roland McGrath <roland@hack.frob.com>
2652 * sysdeps/posix/shm-directory.c: New file.
2653 * sysdeps/posix/shm-directory.h: New file.
2654 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2655 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2656 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2657 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2658 Transmute EPERM to EACCES.
2659 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2661 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2662 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2664 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2666 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2667 pointer and cast to uintptr_t.
2668 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2669 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2670 Add cast to avoid warning.
2671 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2673 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2675 * nptl/semaphore.h: Move to ...
2676 * sysdeps/pthread/semaphore.h: ... here.
2677 * Makefile (installed-headers): Change nptl/semaphore.h to
2678 sysdeps/pthread/semaphore.h.
2680 2014-12-11 Roland McGrath <roland@hack.frob.com>
2682 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2683 generated error format strings.
2685 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2686 -Wformat-extra-args warnings for scanf formats.
2687 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2688 test of zero-length format (duh).
2689 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2690 corner-case scanf format test.
2691 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2692 generated fprintf format string.
2693 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2694 corner-case sprintf format tests.
2695 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2696 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2697 -Wformat-extra-args warnings throughout.
2698 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2699 (CFLAGS-scanf4.c): Likewise.
2700 (CFLAGS-scanf7.c): Likewise.
2701 (CFLAGS-tst-sprintf.c): Likewise.
2702 (CFLAGS-tst-printf.c): Likewise.
2703 (CFLAGS-tst-printfsz.c): Likewise.
2705 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2707 * include/cpio.h: New file.
2708 * include/fmtmsg.h: Likewise.
2710 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2711 corresponding format argument to size_t.
2712 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2714 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2715 corresponding format argument to size_t.
2716 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2718 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2719 corresponding format argument to size_t.
2720 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2721 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2722 (CFLAGS-tst-mbswcs2.c): Likewise.
2723 (CFLAGS-tst-mbswcs3.c): Likewise.
2724 (CFLAGS-tst-mbswcs4.c): Likewise.
2725 (CFLAGS-tst-mbswcs5.c): Likewise.
2726 (CFLAGS-tst-trans.c): Likewise
2728 2014-12-11 Roland McGrath <roland@hack.frob.com>
2730 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2731 rather than assuming they won't contain any '%'s.
2733 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2735 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2736 inhibit_loop_to_libcall to avoid recursive calls.
2737 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2738 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2740 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2742 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2745 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2747 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2748 integer value instead of boolean.
2750 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2752 * malloc/malloc.c: Fix powerof2 check.
2754 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2756 * locale/programs/locfile.h (maybe_swap_uint32):
2757 Remove inline and add unused attribute.
2759 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2761 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2762 Truncating assembler expression to a .long expression.
2764 2014-12-11 Andreas Schwab <schwab@suse.de>
2766 * elf/rtld.c (struct map_args): Constify str member.
2767 (do_preload): Constify fname argument.
2769 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2771 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2772 constants definition.
2774 2014-12-11 Andreas Schwab <schwab@suse.de>
2777 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2778 FORCE_ELISION instead of DO_ELISION.
2779 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2781 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2784 * iconvdata/gconv-modules: Remove duplicate entry.
2786 2014-12-11 Will Newton <will.newton@linaro.org>
2788 Merge gettext 0.19.3 into intl/.
2790 This involves a number of cosmetic changes to comments
2791 and ANSI function definitions and prototypes throughout
2792 all the files. The gettext copyright header is used but
2793 with the date ranges taken from the glibc copy.
2795 * NEWS: Add gettext merge to 2.21.
2796 * intl/bindtextdom.c: Switch to gettext copyright.
2797 Use ANSI definitions and prototypes.
2798 Use gl_* locking primitives rather than __libc_* ones.
2799 Use __builtin_expect rather than __glibc_likely/unlikely.
2800 * intl/dcgettext.c: Switch to gettext copyright.
2801 Use ANSI definitions and prototypes.
2802 * intl/dcigettext.c: Switch to gettext copyright.
2803 Use ANSI definitions and prototypes.
2804 (INTDIV0_RAISES_SIGFPE): New define.
2805 Use gl_* locking primitives rather than __libc_* ones.
2806 Include eval-plural.h instead of plural-eval.c.
2807 Use __builtin_expect rather than __glibc_likely/unlikely.
2808 * intl/dcngettext.c: Switch to gettext copyright.
2809 Use ANSI definitions and prototypes.
2810 * intl/dgettext.c: Likewise.
2811 * intl/dngettext.c: Likewise.
2812 * intl/plural-eval.c: Renamed to...
2813 * intl/eval-plural.h: ...this.
2814 * intl/explodename.c: Switch to gettext copyright.
2815 Use ANSI definitions and prototypes.
2816 (_nl_explode_name): Use strchr instead of __rawmemchr.
2817 * intl/finddomain.c: Switch to gettext copyright.
2818 Use ANSI definitions and prototypes.
2819 Use gl_* locking primitives rather than __libc_* ones.
2820 (_nl_find_domain): Use malloc rather than alloca for
2821 allocation of temporary locale name.
2822 * intl/gettext.c: Switch to gettext copyright.
2823 Use ANSI definitions and prototypes.
2824 * intl/gettextP.h: Switch to gettext copyright.
2825 Use ANSI definitions and prototypes.
2826 Use gl_* locking primitives rather than __libc_* ones.
2827 * intl/gmo.h: Switch to gettext copyright.
2828 (struct sysdep_string): Move struct segment_pair outside of
2830 * intl/hash-string.c: Use ANSI definitions and prototypes.
2831 * intl/hash-string.h: Switch to gettext copyright.
2832 Use ANSI definitions and prototypes.
2833 * intl/l10nflist.c: Switch to gettext copyright.
2834 Use ANSI definitions and prototypes.
2835 (_nl_normalize_codeset): Avoid integer overflow.
2836 * intl/loadinfo.h: Switch to gettext copyright.
2837 Use ANSI definitions and prototypes.
2838 (LIBINTL_DLL_EXPORTED): New define.
2839 (PATH_SEPARATOR): New define.
2840 * intl/loadmsgcat.c: Switch to gettext copyright.
2841 * intl/localealias.c: Switch to gettext copyright.
2842 Use ANSI definitions and prototypes.
2843 (_nl_expand_alias): Use PATH_SEPARATOR.
2844 * intl/ngettext.c: Switch to gettext copyright.
2845 Use ANSI definitions and prototypes.
2846 * intl/plural-exp.c: Likewise.
2847 * intl/plural-exp.h: Switch to gettext copyright.
2848 Use ANSI definitions and prototypes.
2849 (struct expression): Move definition of enum operator outside
2850 of struct definition.
2851 * intl/plural.c: Regenerate.
2852 * intl/plural.y: Switch to gettext copyright.
2853 Use ANSI definitions and prototypes.
2855 * intl/textdomain.c: Switch to gettext copyright.
2856 Use ANSI definitions and prototypes.
2857 Use gl_* locking primitives rather than __libc_* ones.
2859 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2861 * debug/warning-nop.c: Add used atrribute.
2863 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2865 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2867 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2868 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2869 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2871 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2872 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2875 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2876 Undefine after defining function. Define as weak alias of
2877 __wcschr. Use libc_hidden_weak.
2878 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2879 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2880 (libc_hidden_def): Also define __GI___wcschr alias.
2881 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2882 __wcschr and define as weak alias of __wcschr.
2883 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2885 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2886 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2887 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2888 libc_hidden_weak. Do not use libc_hidden_def.
2889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2890 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2891 __GI___wcschr alias.
2892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2893 [IS_IN (libc)] (wcschr): Define as macro expanding to
2895 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2896 [IS_IN (libc)] (__wcschr_power6): Likewise.
2897 [IS_IN (libc)] (__wcschr_power7): Likewise.
2898 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2900 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2902 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2903 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2904 __wcschr and define as weak alias of __wcschr. Use
2905 libc_hidden_builtin_def.
2906 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2907 as weak alias of __wcschr. Use libc_hidden_weak.
2908 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2910 * time/era.c (_nl_init_era_entries): Likewise.
2911 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2913 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2914 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2916 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2918 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2919 format for long int variable.
2921 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2924 * manual/search.texi: (Array Sort Function): Remove claim how to make
2927 2014-12-10 Andreas Schwab <schwab@suse.de>
2930 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2931 user-controlled locks.
2933 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2935 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2938 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2940 * configure.ac (--disable-werror): New configure option.
2941 (enable_werror): New AC_SUBST.
2942 * configure: Regenerated.
2943 * config.make.in (enable-werror): New variable.
2944 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2946 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2947 * manual/install.texi (Configuring and compiling): Document
2949 * INSTALL: Regenerated.
2950 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2951 (CFLAGS-tst-chk2.c): Likewise.
2952 (CFLAGS-tst-chk3.c): Likewise.
2953 (CFLAGS-tst-chk4.cc): Likewise.
2954 (CFLAGS-tst-chk5.cc): Likewise.
2955 (CFLAGS-tst-chk6.cc): Likewise.
2956 (CFLAGS-tst-lfschk1.c): Likewise.
2957 (CFLAGS-tst-lfschk2.c): Likewise.
2958 (CFLAGS-tst-lfschk3.c): Likewise.
2959 (CFLAGS-tst-lfschk4.cc): Likewise.
2960 (CFLAGS-tst-lfschk5.cc): Likewise.
2961 (CFLAGS-tst-lfschk6.cc): Likewise.
2963 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2964 (main): Disable -Wdeprecated-declarations around calls to
2965 register_printf_function.
2967 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2968 (do_test): Disable -Wdiv-by-zero around some calls to
2969 fwrite_unlocked and fread_unlocked.
2971 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2972 (DIAG_POP_NEEDS_COMMENT): Likewise.
2973 (_DIAG_STR1): Likewise.
2974 (_DIAG_STR): Likewise.
2975 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2976 * stdio-common/bug21.c: Include <libc-internal.h>.
2977 (do_test): Disable -Wformat around call to sscanf.
2978 * stdio-common/scanf14.c: Include <libc-internal.h>.
2979 (main): Disable -Wformat around some calls to scanf functions.
2981 2014-12-09 Torvald Riegel <triegel@redhat.com>
2983 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2985 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2987 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2988 stack variable alignment.
2990 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2993 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2994 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2995 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2996 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2997 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2998 __getrlimit instead of getrlimit.
2999 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3000 __gettimeofday instead of gettimeofday.
3001 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3003 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3005 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3006 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3008 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3009 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3011 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3013 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3014 for wide-character tests.
3016 2014-12-04 Roland McGrath <roland@hack.frob.com>
3018 * io/openat64.c: #include <libc-internal.h>
3019 (__openat64): Prototypify. Use ignore_value on MODE.
3020 * io/openat.c: Likewise.
3021 * misc/reboot.c: #include <libc-internal.h>
3022 (reboot): Prototypify. Use ignore_value on HOWTO.
3023 * misc/ptrace.c: #include <libc-internal.h>
3024 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3026 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3028 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3029 XPG4, UNIX98 and XOPEN2K.
3030 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3032 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3034 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * libio/fileops.c: Use ISO C style for function definitions.
3037 * libio/iofopen.c: Likewise.
3038 * libio/wfileops.c: Likewise.
3041 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3043 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3044 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3045 (fgets_func): Function pointer to fgets and fgetws.
3046 (do_ftell_test): Add test to verify ftell value after read
3048 (do_test): Set fgets_func.
3050 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3051 O_TRUNC flag for w and w+ modes.
3052 (do_rewind_test): Likewise.
3053 (do_ftell_test): Likewise.
3054 (do_write_test): Likewise.
3057 * libio/fileops.c (do_ftell): Seek only when there are
3059 * libio/wfileops.c (do_ftell_wide): Likewise.
3060 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3062 (do_one_test): Call it.
3064 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3066 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3067 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3068 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3070 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3071 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3072 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3074 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3076 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3078 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3081 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3082 as weak alias of __getifaddrs. Use libc_hidden_weak.
3083 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3084 __freeifaddrs. Use libc_hidden_weak.
3085 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3086 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3087 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3088 __freeifaddrs. Use libc_hidden_weak.
3089 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3090 __getifaddrs and define as weak alias of __getifaddrs. Use
3092 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3093 __freeifaddrs. Use libc_hidden_weak.
3094 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3096 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3097 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3099 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3102 * sysdeps/mips/start.S (__start): Use indirect jump to call
3105 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3107 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3109 * nptl/tst-mutex1.c: Include <stdbool.h>.
3110 [!ATTR] (ATTR_NULL): New macro.
3111 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3112 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3113 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3115 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3119 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3120 Change conditional to [__USE_MISC].
3123 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3125 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3127 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3129 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3131 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3132 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3133 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3134 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3135 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3136 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3137 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3138 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3139 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3141 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3143 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3145 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3146 Remove strpbrk objects.
3147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3148 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3149 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3150 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3151 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3152 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3154 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3155 Remove strcspn objects.
3156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3157 (__libc_ifunc_impl_list): Remove strcspn implementation.
3158 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3159 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3160 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3161 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3163 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3164 Remove strspn objetcs.
3165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3166 (__libc_ifunc_impl_list): Remove strspn implementation.
3167 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3168 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3169 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3170 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3172 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3176 (mem2mem_check): Add a terminator to the chain of checking blocks.
3177 (malloc_check_get_size): Use it here.
3178 (mem2chunk_check): Ditto.
3180 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3182 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3183 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3185 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3187 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3189 * nptl/nptl-init.c: Include libc-internal.h.
3190 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3192 * elf/ldconfig.c (search_dir): Expand comment.
3194 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3196 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3198 (linknamespace-symlist-stdlibs-tests): Likewise.
3199 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3200 instead of $(objpfx)symlist-stdlibs.
3201 (linknamespace-libs-isoc): New variable.
3202 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3203 (linknamespace-libs-ISO): New variable.
3204 (linknamespace-libs-ISO99): Likewise.
3205 (linknamespace-libs-ISO11): Likewise.
3206 (linknamespace-libs-XPG3): Likewise.
3207 (linknamespace-libs-XPG4): Likewise.
3208 (linknamespace-libs-POSIX): Likewise.
3209 (linknamespace-libs-UNIX98): Likewise.
3210 (linknamespace-libs-XOPEN2K): Likewise.
3211 (linknamespace-libs-POSIX2008): Likewise.
3212 (linknamespace-libs-XOPEN2K8): Likewise.
3213 ($(objpfx)symlist-stdlibs): Replace by
3214 $(linknamespace-symlist-stdlibs-tests). Use
3215 $(linknamespace-libs-$*) as set of libraries.
3216 ($(linknamespace-header-tests)): Update dependencies. Use
3217 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3218 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3219 * conform/linknamespace.pl: Remove comment about considering
3220 definitions of symbols from irrelevant libraries.
3222 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3225 * elf/dl-tls.c: Include <atomic.h>.
3226 (oom): Remove #ifdef SHARED/#endif.
3227 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3228 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3229 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3231 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3232 * nptl/Makefile (tests): Add tst-stack4.
3233 (modules-names): Add tst-stack4mod.
3234 ($(objpfx)tst-stack4): New.
3235 (tst-stack4mod.sos): Likewise.
3236 ($(objpfx)tst-stack4.out): Likewise.
3237 ($(tst-stack4mod.sos)): Likewise.
3239 * nptl/tst-stack4.c: New file.
3240 * nptl/tst-stack4mod.c: Likewise.
3242 2014-11-27 J. Brown <jb999@gmx.de>
3244 * sysdeps/x86/bits/string.h: Add recent CPUs.
3246 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3248 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3251 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3254 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3257 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3259 * nscd/connections.c: Include libc-internal.h because of macro
3262 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3264 * string/bits/string3.h (__warn_memset_zero_len): Don't
3265 declare for gcc newer than 5.0.
3266 (memset): Don't test for zero-length __LEN for gcc newer than
3269 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3271 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3272 size_t for %zu format.
3274 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3275 difference, not %ju.
3277 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3279 * include/libc-internal.h (ignore_value): New macro.
3280 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3283 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3286 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3287 pthread_cleanup_push to void *.
3289 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3294 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3295 instead of 1L << 52.
3297 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3298 * libio/bug-rewind2.c (do_test): Likewise.
3300 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3301 * debug/test-strcpy_chk-ifunc.c: Likewise.
3302 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3303 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3304 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3305 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3306 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3307 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3308 * Rules [$(multi-arch) = no] (tests): Do not filter out
3310 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3311 * debug/Makefile (tests-ifunc): Remove variable.
3312 (tests): Do not add $(tests-ifunc).
3313 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3314 (tests): Do not add $(tests-ifunc).
3315 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3316 [TEST_IFUNC]: Remove conditionals.
3317 * string/test-string.h (TEST_IFUNC): Remove macro.
3318 [TEST_IFUNC]: Remove conditionals.
3320 * string/test-strchr.c [!WIDE] (L): New macro.
3321 [WIDE] (L): Likewise.
3322 (check1): Use CHAR instead of char. Use L on string and character
3325 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3327 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3329 * sysdeps/powerpc/bits/atomic.h
3330 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3331 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3332 (atomic_exchange_and_add_acq): Likewise.
3333 (atomic_exchange_and_add_rel): Likewise.
3334 * sysdeps/powerpc/powerpc32/bits/atomic.h
3335 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3336 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3337 * sysdeps/powerpc/powerpc64/bits/atomic.h
3338 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3339 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3341 2014-11-26 Torvald Riegel <triegel@redhat.com>
3343 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3344 Change synchronization of __sched_fifo_min_prio and
3345 __sched_fifo_max_prio.
3346 * nptl/pthread_mutexattr_getprioceiling.c
3347 (pthread_mutexattr_getprioceiling): Likewise.
3348 * nptl/pthread_mutexattr_setprioceiling.c
3349 (pthread_mutexattr_setprioceiling): Likewise.
3350 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3351 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3354 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3356 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3359 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3361 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3362 third argument const.
3364 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3366 fnmatch: work around GCC compiler warning bug with uninit var
3367 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3368 This works around a bug with x86-64 GCC 4.9.2 and earlier
3369 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3370 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3371 used uninitialized in this function [-Wmaybe-uninitialized]".
3373 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3375 * posix/bug-regex31.c (main): Return RES not 0.
3377 2014-11-25 Anton Blanchard <anton@samba.org>
3379 * sysdeps/powerpc/bits/atomic.h
3380 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3382 2014-11-24 Sterling Augustine <saugustine@google.com>
3384 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3386 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3389 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3391 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3394 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3395 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3397 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3398 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3400 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3402 * string/strncpy.c (strncpy): Improve performance by using memset.
3404 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3406 * string/strcpy.c (strcpy):
3407 Improve performance by using strlen and memcpy.
3409 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3411 * string/strcoll_l.c (get_next_seq): __always_inline.
3412 * string/strcoll_l.c (do_compare): __always_inline.
3414 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3416 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3418 * include/mqueue.h: Likewise.
3419 * include/stdlib.h: Likewise.
3421 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3422 (get_null_defines): Adjust.
3423 * sunrpc/Makefile: Adjust comment.
3424 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3425 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3426 (CFLAGS-interp.c): Likewise.
3427 (CFLAGS-ldconfig.c): Likewise.
3428 (CPPFLAGS-.os): Likewise.
3429 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3430 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3431 * extra-modules.mk (extra-modules.mk): Likewise.
3432 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3433 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3434 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3435 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3436 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3437 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3438 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3439 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3440 * iconvdata/Makefile (CPPFLAGS): Likewise.
3441 (cpp-srcs-left): Add libof for all iconvdata routines.
3442 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3443 * include/assert.h: Likewise.
3444 * include/ctype.h: Likewise.
3445 * include/errno.h: Likewise.
3446 * include/libc-symbols.h: Likewise.
3447 * include/math.h: Likewise.
3448 * include/netdb.h: Likewise.
3449 * include/resolv.h: Likewise.
3450 * include/stdio.h: Likewise.
3451 * include/stdlib.h: Likewise.
3452 * include/string.h: Likewise.
3453 * include/sys/stat.h: Likewise.
3454 * include/wctype.h: Likewise.
3455 * intl/l10nflist.c: Likewise.
3456 * libidn/idn-stub.c: Likewise.
3457 * libio/libioP.h: Likewise.
3458 * nptl/libc_multiple_threads.c: Likewise.
3459 * nptl/pthreadP.h: Likewise.
3460 * posix/regex_internal.h: Likewise.
3461 * resolv/res_hconf.c: Likewise.
3462 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3463 * sysdeps/arm/memmove.S: Likewise.
3464 * sysdeps/arm/sysdep.h: Likewise.
3465 * sysdeps/generic/_itoa.h: Likewise.
3466 * sysdeps/generic/symbol-hacks.h: Likewise.
3467 * sysdeps/gnu/errlist.awk: Likewise.
3468 * sysdeps/gnu/errlist.c: Likewise.
3469 * sysdeps/i386/i586/memcpy.S: Likewise.
3470 * sysdeps/i386/i586/memset.S: Likewise.
3471 * sysdeps/i386/i686/memcpy.S: Likewise.
3472 * sysdeps/i386/i686/memmove.S: Likewise.
3473 * sysdeps/i386/i686/mempcpy.S: Likewise.
3474 * sysdeps/i386/i686/memset.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3481 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3482 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3483 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3485 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3486 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3487 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3488 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3489 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3490 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3491 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3492 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3493 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3494 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3495 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3496 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3497 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3498 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3499 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3500 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3501 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3502 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3503 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3504 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3511 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3512 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3513 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3515 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3517 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3522 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3530 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3533 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3536 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3537 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3538 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3539 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3540 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3541 * sysdeps/posix/closedir.c: Likewise.
3542 * sysdeps/posix/opendir.c: Likewise.
3543 * sysdeps/posix/readdir.c: Likewise.
3544 * sysdeps/posix/rewinddir.c: Likewise.
3545 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3546 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3547 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3548 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3551 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3556 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3557 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3558 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3560 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3562 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3564 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3566 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3569 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3570 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3573 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3580 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3581 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3582 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3583 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3584 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3585 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3586 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3587 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3588 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3589 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3590 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3591 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3592 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3593 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3594 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3595 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3596 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3597 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3598 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3602 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3603 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3604 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3605 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3606 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3607 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3608 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3609 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3610 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3611 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3612 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3613 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3614 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3616 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3617 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3618 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3619 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3620 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3621 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3622 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3623 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3624 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3625 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3626 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3627 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3628 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3629 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3631 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3632 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3633 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3635 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3636 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3637 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3640 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3641 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3643 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3644 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3646 * sysdeps/unix/alpha/sysdep.S: Likewise.
3647 * sysdeps/unix/alpha/sysdep.h: Likewise.
3648 * sysdeps/unix/make-syscalls.sh: Likewise.
3649 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3650 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3651 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3652 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3653 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3654 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3655 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3656 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3657 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3658 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3659 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3660 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3661 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3662 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3663 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3664 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3665 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3666 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3667 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3668 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3669 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3670 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3671 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3672 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3673 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3674 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3678 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3679 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3680 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3683 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3688 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3689 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3690 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3691 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3692 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3696 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3699 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3700 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3701 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3702 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3703 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3705 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3707 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3708 * sysdeps/x86_64/memcpy.S: Likewise.
3709 * sysdeps/x86_64/memmove.c: Likewise.
3710 * sysdeps/x86_64/memset.S: Likewise.
3711 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3713 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3714 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3715 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3717 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3718 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3719 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3720 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3721 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3722 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3723 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3724 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3726 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3727 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3728 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3729 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3730 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3731 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3732 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3735 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3736 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3737 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3738 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3740 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3741 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3742 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3743 * sysdeps/x86_64/strcmp.S: Likewise.
3745 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3747 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3748 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3749 * elf/rtld-Rules: Likewise.
3750 * elf/setup-vdso.h: Likewise.
3751 * include/assert.h: Likewise.
3752 * include/bits/stdlib-float.h: Likewise.
3753 * include/errno.h: Likewise.
3754 * include/sys/stat.h: Likewise.
3755 * include/unistd.h: Likewise.
3756 * sysdeps/aarch64/setjmp.S: Likewise.
3757 * sysdeps/alpha/setjmp.S: Likewise.
3758 * sysdeps/arm/__longjmp.S: Likewise.
3759 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3760 * sysdeps/arm/setjmp.S: Likewise.
3761 * sysdeps/arm/sysdep.h: Likewise.
3762 * sysdeps/generic/_itoa.h: Likewise.
3763 * sysdeps/generic/dl-sysdep.h: Likewise.
3764 * sysdeps/generic/ldsodefs.h: Likewise.
3765 * sysdeps/i386/dl-tls.h: Likewise.
3766 * sysdeps/i386/setjmp.S: Likewise.
3767 * sysdeps/m68k/setjmp.c: Likewise.
3768 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3769 * sysdeps/mach/hurd/opendir.c: Likewise.
3770 * sysdeps/posix/getcwd.c: Likewise.
3771 * sysdeps/posix/opendir.c: Likewise.
3772 * sysdeps/posix/profil.c: Likewise.
3773 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3774 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3775 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3776 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3777 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3778 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3780 * sysdeps/s390/dl-tls.h: Likewise.
3781 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3782 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3783 * sysdeps/sh/sh3/setjmp.S: Likewise.
3784 * sysdeps/sh/sh4/setjmp.S: Likewise.
3785 * sysdeps/unix/alpha/sysdep.h: Likewise.
3786 * sysdeps/unix/arm/sysdep.S: Likewise.
3787 * sysdeps/unix/i386/sysdep.S: Likewise.
3788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3789 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3790 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3791 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3792 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3793 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3794 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3795 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3796 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3797 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3798 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3799 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3800 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3803 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3806 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3807 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3808 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3811 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3812 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3815 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3816 * sysdeps/x86_64/setjmp.S: Likewise.
3818 * include/math.h: Use IS_IN instead of IS_IN_libm.
3819 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3831 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3839 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3840 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3841 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3842 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3843 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3844 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3846 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3847 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3848 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3849 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3850 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3851 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3862 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3863 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3864 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3865 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3866 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3874 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3878 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3879 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3880 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3881 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3882 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3883 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3884 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3885 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3886 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3888 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3890 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3891 * nptl/pthreadP.h: Likewise.
3892 * nptl_db/structs.def: Likewise.
3893 * sysdeps/arm/sysdep.h: Likewise.
3894 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3895 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3896 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3897 * sysdeps/unix/alpha/sysdep.h: Likewise.
3898 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3900 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3901 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3902 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3903 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3905 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3906 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3907 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3908 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3909 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3910 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3911 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3915 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3916 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3917 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3919 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3920 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3921 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3922 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3923 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3925 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3926 * nptl/pthreadP.h: Likewise.
3927 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3928 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3929 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3930 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3931 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3932 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3933 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3934 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3935 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3936 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3937 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3938 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3945 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3948 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3949 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3950 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3952 * dlfcn/dladdr.c: Use IS_IN.
3953 * dlfcn/dladdr1.c: Likewise.
3954 * dlfcn/dlclose.c: Likewise.
3955 * dlfcn/dlerror.c: Likewise.
3956 * dlfcn/dlinfo.c: Likewise.
3957 * dlfcn/dlmopen.c: Likewise.
3958 * dlfcn/dlopen.c: Likewise.
3959 * dlfcn/dlsym.c: Likewise.
3960 * dlfcn/dlvsym.c: Likewise.
3962 * include/ifaddrs.h: Use IS_IN.
3963 * inet/check_pf.c: Likewise.
3964 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3965 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3967 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3969 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3970 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3972 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3973 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3976 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3978 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3979 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3980 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3981 * include/libc-symbols.h (IS_IN_LIB): New macro.
3982 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3983 * include/netdb.h: Likewise.
3984 * include/stap-probe.h: Remove all uses of IN_LIB.
3986 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3987 instead of IN_MODULE.
3988 * include/libc-symbols.h (IN_MODULE): Define using
3990 (PASTE_NAME, PASTE_NAME1): New macros.
3991 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3993 (STAP_PROBE_ASM): Likewise.
3995 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3997 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3998 __mach_init in dlopened libc.
4000 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4002 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4003 * sysdeps/arm/preconfigure: Regenerate.
4005 2014-11-21 Roland McGrath <roland@hack.frob.com>
4007 * nptl/pthread_create.c (__pthread_create_2_1): Set
4008 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4009 when copying values from IATTR into PD.
4011 2014-11-21 Will Newton <will.newton@linaro.org>
4012 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4014 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4015 Refactor inline-asm. Also add comment.
4017 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4018 ElfW macro instead of hardcoded Elf64 types.
4019 (la_aarch64_gnu_pltenter): Likewise.
4020 * sysdeps/aarch64/dl-machine.h
4021 (elf_machine_runtime_setup): Use ElfW(Addr).
4023 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4024 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4025 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4026 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4027 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4028 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4029 (R_AARCH64_TLS_DTPMOD): This.
4030 (R_AARCH64_TLS_DTPREL64): Rename to ...
4031 (R_AARCH64_TLS_DTPREL): This.
4032 (R_AARCH64_TLS_TPREL64): Rename to ...
4033 (R_AARCH64_TLS_TPREL): This.
4034 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4035 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4036 R_AARCH64_TLS_TPREL64.
4037 (elf_machine_rela): Likewise.
4039 2014-11-21 Torvald Riegel <triegel@redhat.com>
4041 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4042 by setting it to 0. 64b atomics are not supported currently.
4044 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4047 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4048 search domain names.
4050 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4054 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4056 * posix/tst-getaddrinfo5.c: New.
4057 * posix/Makefile (tests): Add it.
4059 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4063 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4064 after parsing line but before break_if_match.
4065 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4066 if there is a protocol mismatch.
4068 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4070 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4071 because the potential race is on the user-supplied stream.
4073 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4075 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4076 string literal if not passed a buffer.
4077 * manual/job.texi (ctermid): Update reasoning, note deviation
4078 from posix, suggest mtasurace when not passed a buffer, for
4079 future non-preliminary safety notes.
4081 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4083 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4084 of not passing it a buffer.
4085 Reported by Peng Haitao.
4087 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4089 * manual/Makefile ($(objpfx)stamp-summary): Require
4090 check-safety.sh to pass.
4091 * manual/check-safety.sh: Wish for verification that every
4092 @deftypefn and @deftypefun is followed by a @safety remark.
4094 2014-11-20 Roland McGrath <roland@hack.frob.com>
4096 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4098 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4099 PTHREAD_CANCEL_ASYNCHRONOUS.
4100 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4103 * nptl/default-sched.h: New file.
4104 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4105 * nptl/pthread_create.c: Include it.
4106 (__pthread_create_2_1): Use collect_default_sched instead of making
4107 Linux syscalls here directly.
4109 2014-11-20 Torvald Riegel <triegel@redhat.com>
4111 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4112 __pthread_once): Use C11 atomics.
4114 2014-11-20 Torvald Riegel <triegel@redhat.com>
4116 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4118 2014-11-20 Torvald Riegel <triegel@redhat.com>
4120 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4121 atomic_thread_fence_acquire, atomic_thread_fence_release,
4122 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4123 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4124 atomic_compare_exchange_weak_relaxed,
4125 atomic_compare_exchange_weak_acquire,
4126 atomic_compare_exchange_weak_release,
4127 atomic_exchange_acquire, atomic_exchange_release,
4128 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4129 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4130 atomic_fetch_and_acquire,
4131 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4133 2014-11-20 Torvald Riegel <triegel@redhat.com>
4135 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4136 USE_ATOMIC_COMPILER_BUILTINS): Define.
4137 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4139 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4141 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4143 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4145 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4147 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4149 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4151 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4153 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4155 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4157 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4159 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4163 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4165 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4167 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4169 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4171 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4172 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4173 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4175 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4178 2014-11-19 Roland McGrath <roland@hack.frob.com>
4180 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4181 the sched_priority value here. It was already checked when the user
4182 called pthread_attr_setschedparam.
4184 * nptl/tst-bad-schedattr.c: New file.
4185 * nptl/Makefile (tests): Add it.
4187 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4188 Florian Weimer <fweimer@redhat.com>
4189 Joseph Myers <joseph@codesourcery.com>
4190 Adam Conrad <adconrad@0c3.net>
4191 Andreas Schwab <schwab@suse.de>
4192 Brooks <bmoses@google.com>
4195 * wordexp-test.c (__dso_handle): Add prototype.
4196 (__register_atfork): Likewise.
4197 (__app_register_atfork): New function.
4198 (registered_forks): New global.
4199 (register_fork): New function.
4200 (test_case): Add 3 new tests for WRDE_CMDSUB.
4201 (main): Call __app_register_atfork.
4202 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4203 fork count is non-zero fail the test.
4204 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4206 (parse_dollars): Remove check for WRDE_NOCMD.
4207 (parse_dquote): Likewise.
4209 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4211 * Makeconfig (built-modules): List non-library modules to be
4213 (module-cppflags): Include libc-modules.h for
4214 everything except shlib-versions.v.i.
4216 (before-compile): Add libc-modules.h.
4217 ($(common-objpfx)libc-modules.h,
4218 $(common-objpfx)libc-modules.stmp): New targets.
4219 (common-generated): Add libc-modules.h and libc-modules.stmp.
4220 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4221 * include/libc-symbols.h: Don't include libc-modules.h.
4222 * include/libc-modules.h: Remove file.
4223 * scripts/gen-libc-modules.awk: New script to generate
4225 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4226 Depend on libc-modules.stmp.
4228 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4230 * Makeconfig (in-module): Get value of libof set for the
4232 (CPPFLAGS): Use $(in-module).
4233 * Makerules: Don't suffix routine names for nonlib.
4234 * include/libc-modules.h: New file.
4235 * include/libc-symbols.h: Include libc-modules.h
4236 (IS_IN): New macro to replace IS_IN_* macros.
4237 * elf/Makefile: Set libof-* for each routine.
4238 * elf/rtld-Rules: Likewise.
4239 * extra-modules.mk: Likewise.
4240 * iconv/Makefile: Likewise.
4241 * iconvdata/Makefile: Likewise.
4242 * locale/Makefile: Likewise.
4243 * malloc/Makefile: Likewise.
4244 * nss/Makefile: Likewise.
4245 * sysdeps/gnu/Makefile: Likewise.
4246 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4247 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4248 * sysdeps/s390/s390-64/Makefile: Likewise.
4249 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4250 CPPFLAGS for nscd instead of nonlib.
4252 2014-11-18 Roland McGrath <roland@hack.frob.com>
4254 * nptl/createthread.c: New file.
4256 * nptl/createthread.c: Moved ...
4257 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4259 * nptl/createthread.c: Add proper top-line comment.
4260 (do_clone): Folded into ...
4261 (create_thread): ... here. Take new arguments STOPPED_START and
4262 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4263 increment __nptl_threads, do event-reporting logic, do
4264 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4265 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4266 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4267 just send SIGCANCEL.
4268 * nptl/pthread_create.c: Forward-declare create_thread before
4269 including createthread.c.
4270 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4271 declaration, and new macro START_THREAD_SELF to replace argument.
4272 Remove return statement.
4273 (report_thread_creation): New function.
4274 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4275 synchronization logic, and __nptl_nthreads increment here, around
4276 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4277 PD->parent_cancelhandling here, before create_thread. When
4278 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4279 __deallocate_stack, and ENOMEM translation here.
4281 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4284 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4285 (mptwo): Rename to __mptwo.
4286 (__inv): Use __mptwo instead of mptwo.
4287 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4288 (mptwo): Rename to __mptwo.
4289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4290 of mpone and __mptwo instead of mptwo.
4291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4294 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4295 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4296 of mpone and __mptwo instead of mptwo.
4297 (__mpranred): Use __mpone instead of mpone.
4298 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4300 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4301 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4302 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4303 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4304 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4305 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4306 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4307 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4308 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4309 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4310 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4311 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4312 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4313 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4314 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4315 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4316 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4317 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4318 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4320 2014-11-18 Tom de Vries <tom@codesoucery.com>
4322 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4323 replace BSD Handler xref with BSD Signal Handling.
4325 2014-11-17 Richard Henderson <rth@redhat.com>
4327 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4328 (_FP_PACK_RAW_2): Remove.
4329 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4330 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4331 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4332 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4333 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4334 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4335 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4336 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4337 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4338 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4339 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4340 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4341 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4342 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4343 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4344 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4346 2014-11-14 Roland McGrath <roland@hack.frob.com>
4348 * signal/signal.h [__USE_MISC]
4349 (struct sigvec): Remove type.
4350 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4351 (sigvec): Remove declaration.
4352 * sysdeps/posix/sigvec.c: Moved ...
4353 * signal/sigvec.c: ... here, replacing old file.
4354 (struct sigvec): New type, copied from old signal.h definition.
4355 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4356 (__sigvec): Convert definition to prototype.
4357 (sigvec): Replace weak_alias with compat_symbol.
4358 * signal/Versions (libc: GLIBC_2.21): New version set.
4359 * include/signal.h: Remove __sigvec declaration.
4360 * sysdeps/unix/bsd/sigvec.c: Remove file.
4361 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4362 * manual/signal.texi (BSD Handler): Remove subsection.
4363 Move siginterrupt up to ...
4364 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4365 (Blocking in BSD): Fold subsection into its parent.
4366 * NEWS: Mention sigvec removal.
4368 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4370 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4371 (DLA_FMS): Make definition conditional only on [__FMA4__].
4372 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4375 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4376 Make definition conditional only on [PROF].
4377 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4379 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4380 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4382 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4384 * include/signal.h (__sigpause): Move declaration above call to
4386 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4388 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4389 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4391 2014-11-14 David S. Miller <davem@davemloft.net>
4393 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4394 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4396 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4398 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4399 * configure: Regenerated.
4400 * manual/install.texi (Tools for Compilation): Document a
4401 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4402 compiler verified to work.
4403 * INSTALL: Regenerated.
4405 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4406 redeclare with asm name.
4407 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4408 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4409 including <string.h>.
4410 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4412 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4413 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4414 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4415 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4416 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4418 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4420 * stdlib/strtol.c (__strtol): Use prototype definition.
4423 * stdlib/strtol.c (SYM__): New macro.
4425 (__strtol): Likewise.
4426 (strtol): Rename to __strtol and define as weak alias of
4427 __strtol. Use libc_hidden_weak.
4429 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4431 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4432 Use numbered labels in inline assembly.
4434 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4436 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4437 Add setjmp LIBC_PROBE.
4438 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4440 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4441 Add longjmp, longjmp_target LIBC_PROBE.
4442 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4445 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4447 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4448 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4449 to get rid of unused variable warning.
4451 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4453 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4454 Check for unwind_backtrace == NULL only in SHARED case.
4455 (__backchain_backtrace): Compile only in SHARED case.
4456 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4458 (__backchain_backtrace): Declare as static.
4460 2014-11-12 Roland McGrath <roland@hack.frob.com>
4462 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4463 (__libc_multiple_threads_ptr): Variable moved ...
4464 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4466 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4468 * conform/GlibcConform.pm: New file.
4469 * conform/conformtest.pl: Use GlibcConform module.
4470 * conform/linknamespace.pl: New file.
4471 * conform/list-header-symbols.pl: Likewise.
4472 * conform/Makefile (linknamespace-symlists-base): New variable.
4473 (linknamespace-symlists-tests): Likewise.
4474 (linknamespace-header-base): Likewise.
4475 (linknamespace-header-tests): Likewise.
4476 (tests-special): Add new tests.
4477 ($(linknamespace-symlists-tests)): New rule.
4478 (linknamespace-libs): New variable.
4479 ($(objpfx)symlist-stdlibs): New rule.
4480 ($(linknamespace-header-tests)): Likewise.
4481 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4482 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4483 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4484 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4485 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4486 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4487 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4488 (test-xfail-ISO/math.h/linknamespace): Likewise.
4489 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4490 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4491 (test-xfail-ISO/time.h/linknamespace): Likewise.
4492 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4493 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4494 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4495 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4496 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4497 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4498 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4499 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4500 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4501 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4502 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4503 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4504 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4505 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4506 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4507 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4508 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4509 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4510 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4511 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4512 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4513 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4514 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4515 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4516 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4517 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4518 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4519 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4520 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4521 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4522 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4523 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4524 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4525 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4526 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4527 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4528 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4529 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4530 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4531 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4532 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4533 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4534 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4535 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4536 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4537 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4538 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4539 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4540 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4541 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4542 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4543 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4544 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4545 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4546 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4547 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4548 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4549 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4550 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4551 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4552 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4553 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4554 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4555 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4556 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4557 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4558 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4559 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4560 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4561 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4562 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4563 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4564 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4565 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4566 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4567 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4568 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4569 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4570 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4571 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4572 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4573 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4574 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4575 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4576 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4577 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4578 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4579 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4580 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4581 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4582 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4583 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4584 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4585 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4586 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4587 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4588 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4589 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4590 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4591 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4592 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4593 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4594 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4595 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4596 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4597 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4598 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4599 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4600 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4601 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4602 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4603 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4604 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4605 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4606 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4607 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4608 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4609 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4610 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4611 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4612 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4613 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4614 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4615 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4616 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4617 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4618 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4619 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4620 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4621 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4622 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4623 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4624 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4625 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4626 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4627 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4628 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4629 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4630 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4631 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4632 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4633 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4634 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4640 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4644 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4648 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4649 (memmem): Rename to __memmem and define as weak alias of
4650 __memmem. Use libc_hidden_weak.
4651 (__memmem): Use libc_hidden_def.
4652 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4653 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4657 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4658 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4659 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4660 and define as weak alias of __fgets_unlocked. Use
4662 (__fgets_unlocked): Use libc_hidden_def.
4663 * include/stdio.h (__fgets_unlocked): Declare. Use
4665 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4666 __fgets_unlocked instead of fgets_unlocked.
4667 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4668 (GET_NPROCS_CONF_PARSER): Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4670 (GET_NPROCS_CONF_PARSER): Likewise.
4673 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4674 weak alias of __wmemset. Use libc_hidden_weak.
4675 (__wmemset): Use libc_hidden_def.
4676 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4677 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4681 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4682 with asm name __mempcpy.
4683 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4686 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4687 and define as weak alias of __rawmemchr.
4688 (__rawmemchr): Do not define as strong alias of rawmemchr.
4691 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4693 (qsort): Call __qsort_r instead of qsort_r.
4694 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4695 (__qsort_r): Declare. Call libc_hidden_proto.
4696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4698 * nscd/gai.c (__qsort_r): Define to qsort_r.
4699 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4700 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4701 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4704 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4705 define as weak alias of __malloc_info.
4708 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4709 as weak alias of __rewinddir. Don't use libc_hidden_def.
4710 (__rewinddir): Use libc_hidden_def.
4711 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4712 as weak alias of __rewinddir. Don't use libc_hidden_def.
4713 (__rewinddir): Use libc_hidden_def.
4714 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4715 weak alias of __rewinddir. Don't use libc_hidden_def.
4716 (__rewinddir): Use libc_hidden_def.
4717 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4718 (__rewinddir): Use libc_hidden_proto.
4719 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4721 (__getcwd): Use __rewinddir instead of rewinddir.
4724 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4725 alias of __fileno. Use libc_hidden_weak.
4726 (__fileno): Use libc_hidden_def.
4727 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4728 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4730 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4732 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4733 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4735 (fread_unlocked): Don't use libc_hidden_ver.
4736 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4737 and define as weak alias of __fread_unlocked. Don't use
4739 (__fread_unlocked): Use libc_hidden_def.
4740 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4741 (ftello): Don't use libc_hidden_proto.
4742 (__ftello): Declare. Use libc_hidden_proto.
4743 (fread_unlocked): Don't use libc_hidden_proto.
4744 (__fread_unlocked): Declare. Use libc_hidden_proto.
4745 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4746 and __ftello instead of fileno, fread_unlocked and ftello.
4748 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4750 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4754 (_dl_start_user): Likewise.
4755 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4757 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4758 Siddhesh Poyarekar <siddhesh@redhat.com>
4760 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4761 Move argv and envp down instead of moving argc up.
4762 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4764 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4767 * test-skeleton.c (main): Return successful if one of
4768 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4769 * string/tst-strcoll-overflow.c: Define expected status.
4771 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4774 * locale/iso-639.def: Define Bhili and Tulu language codes.
4776 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4778 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4780 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4783 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4785 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4787 * configure.ac: Updated check of minimal required version to
4789 * manual/install.texi (Tools for Compilation): Updated version
4791 * configure: Regenerated.
4792 * INSTALL: Likewise.
4794 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4796 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4799 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4801 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4802 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4803 (__waitpid): Don't define as alias. Use libc_hidden_def not
4805 (waitpid): Define as alias of __waitpid.
4806 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4808 (__waitpid): Don't define as alias. Use libc_hidden_def not
4810 (waitpid): Define as alias of __waitpid.
4811 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4812 __libc_waitpid alias.
4813 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4814 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4816 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4817 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4818 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4820 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4822 (__waitpid): Don't define as alias. Use libc_hidden_def not
4824 (waitpid): Define as alias of __waitpid.
4826 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4828 * manual/llio.texi: Add comment that write safety has been
4831 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4832 (localplt-build-dso): Add elf/ld.so.
4833 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4834 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4837 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4842 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4843 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4844 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4845 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4846 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4847 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4848 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4849 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4850 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4854 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4857 * include/libc-symbols.h (INTUSE): Remove macro.
4859 (INTVARDEF): Likewise.
4860 (_INTVARDEF): Likewise.
4861 (INTDEF2): Likewise.
4862 (INTVARDEF2): Likewise.
4863 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4864 rtld_hidden_def instead of INTVARDEF.
4865 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4866 (_dl_starting_up_internal): Remove declaration.
4867 (_dl_starting_up): Use rtld_hidden_proto.
4868 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4870 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4871 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4873 * elf/dl-writev.h (_dl_writev): Likewise.
4874 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4875 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4876 _dl_starting_up_internal.
4878 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4883 2014-11-05 Will Newton <will.newton@linaro.org>
4885 * benchtests/Makefile: (bench-malloc): Add malloc thread
4886 scalability benchmark.
4887 * benchtests/bench-malloc-threads.c: New file.
4889 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4891 * sysdeps/aarch64/strchrnul.S: New file.
4893 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4895 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4897 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4905 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4908 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4910 * catgets/test-gencat.c: Use test-skeleton.c.
4911 * catgets/tst-catgets.c: Likewise.
4912 * csu/tst-empty.c: Likewise.
4913 * elf/tst-audit2.c: Likewise.
4914 * elf/tst-global1.c: Likewise.
4915 * elf/tst-pathopt.c: Likewise.
4916 * elf/tst-piemod1.c: Likewise.
4917 * elf/tst-tls10.c: Likewise.
4918 * elf/tst-tls11.c: Likewise.
4919 * elf/tst-tls12.c: Likewise.
4920 * gnulib/tst-gcc.c: Likewise.
4921 * iconvdata/tst-e2big.c: Likewise.
4922 * iconvdata/tst-loading.c: Likewise.
4923 * iconv/tst-iconv1.c: Likewise.
4924 * iconv/tst-iconv2.c: Likewise.
4925 * inet/test-inet6_opt.c: Likewise.
4926 * inet/tst-gethnm.c: Likewise.
4927 * inet/tst-network.c: Likewise.
4928 * inet/tst-ntoa.c: Likewise.
4929 * intl/tst-codeset.c: Likewise.
4930 * intl/tst-gettext2.c: Likewise.
4931 * intl/tst-gettext3.c: Likewise.
4932 * intl/tst-ngettext.c: Likewise.
4933 * intl/tst-translit.c: Likewise.
4934 * io/test-stat.c: Likewise.
4935 * libio/test-fmemopen.c: Likewise.
4936 * libio/tst-freopen.c: Likewise.
4937 * libio/tst-sscanf.c: Likewise.
4938 * libio/tst-ungetwc1.c: Likewise.
4939 * libio/tst-ungetwc2.c: Likewise.
4940 * libio/tst-widetext.c: Likewise.
4941 * localedata/tst-ctype.c: Likewise.
4942 * localedata/tst-digits.c: Likewise.
4943 * localedata/tst-leaks.c: Likewise.
4944 * localedata/tst-mbswcs1.c: Likewise.
4945 * localedata/tst-mbswcs2.c: Likewise.
4946 * localedata/tst-mbswcs3.c: Likewise.
4947 * localedata/tst-mbswcs4.c: Likewise.
4948 * localedata/tst-mbswcs5.c: Likewise.
4949 * localedata/tst-setlocale.c: Likewise.
4950 * localedata/tst-trans.c: Likewise.
4951 * localedata/tst-wctype.c: Likewise.
4952 * localedata/tst-xlocale1.c: Likewise.
4953 * login/tst-grantpt.c: Likewise.
4954 * malloc/tst-calloc.c: Likewise.
4955 * malloc/tst-malloc.c: Likewise.
4956 * malloc/tst-mallocstate.c: Likewise.
4957 * malloc/tst-mcheck.c: Likewise.
4958 * malloc/tst-mtrace.c: Likewise.
4959 * malloc/tst-obstack.c: Likewise.
4960 * math/atest-exp2.c: Likewise.
4961 * math/atest-exp.c: Likewise.
4962 * math/atest-sincos.c: Likewise.
4963 * math/test-matherr.c: Likewise.
4964 * math/test-misc.c: Likewise.
4965 * math/test-powl.c: Likewise.
4966 * math/tst-definitions.c: Likewise.
4967 * misc/tst-dirname.c: Likewise.
4968 * misc/tst-efgcvt.c: Likewise.
4969 * misc/tst-fdset.c: Likewise.
4970 * misc/tst-hsearch.c: Likewise.
4971 * misc/tst-mntent2.c: Likewise.
4972 * nptl/tst-sem7.c: Likewise.
4973 * nptl/tst-sem8.c: Likewise.
4974 * nptl/tst-sem9.c: Likewise.
4975 * nss/test-netdb.c: Likewise.
4976 * posix/tst-fnmatch.c: Likewise.
4977 * posix/tst-getlogin.c: Likewise.
4978 * posix/tst-gnuglob.c: Likewise.
4979 * posix/tst-mmap.c: Likewise.
4980 * pwd/tst-getpw.c: Likewise.
4981 * resolv/tst-inet_ntop.c: Likewise.
4982 * rt/tst-timer.c: Likewise.
4983 * stdio-common/test-fseek.c: Likewise.
4984 * stdio-common/test-popen.c: Likewise.
4985 * stdio-common/test-vfprintf.c: Likewise.
4986 * stdio-common/tst-cookie.c: Likewise.
4987 * stdio-common/tst-fileno.c: Likewise.
4988 * stdio-common/tst-gets.c: Likewise.
4989 * stdio-common/tst-obprintf.c: Likewise.
4990 * stdio-common/tst-perror.c: Likewise.
4991 * stdio-common/tst-sprintf2.c: Likewise.
4992 * stdio-common/tst-sprintf3.c: Likewise.
4993 * stdio-common/tst-sprintf.c: Likewise.
4994 * stdio-common/tst-swprintf.c: Likewise.
4995 * stdio-common/tst-tmpnam.c: Likewise.
4996 * stdio-common/tst-unbputc.c: Likewise.
4997 * stdio-common/tst-wc-printf.c: Likewise.
4998 * stdlib/tst-environ.c: Likewise.
4999 * stdlib/tst-fmtmsg.c: Likewise.
5000 * stdlib/tst-limits.c: Likewise.
5001 * stdlib/tst-rand48-2.c: Likewise.
5002 * stdlib/tst-rand48.c: Likewise.
5003 * stdlib/tst-random2.c: Likewise.
5004 * stdlib/tst-random.c: Likewise.
5005 * stdlib/tst-strtol.c: Likewise.
5006 * stdlib/tst-strtoll.c: Likewise.
5007 * stdlib/tst-tls-atexit.c: Likewise.
5008 * stdlib/tst-xpg-basename.c: Likewise.
5009 * string/test-ffs.c: Likewise.
5010 * string/tst-bswap.c: Likewise.
5011 * string/tst-inlcall.c: Likewise.
5012 * string/tst-strtok.c: Likewise.
5013 * string/tst-strxfrm.c: Likewise.
5014 * sysdeps/x86_64/tst-audit10.c: Likewise.
5015 * sysdeps/x86_64/tst-audit3.c: Likewise.
5016 * sysdeps/x86_64/tst-audit4.c: Likewise.
5017 * sysdeps/x86_64/tst-audit5.c: Likewise.
5018 * time/tst-ftime_l.c: Likewise.
5019 * time/tst-getdate.c: Likewise.
5020 * time/tst-mktime3.c: Likewise.
5021 * time/tst-mktime.c: Likewise.
5022 * time/tst-posixtz.c: Likewise.
5023 * time/tst-strptime2.c: Likewise.
5024 * time/tst-strptime3.c: Likewise.
5025 * wcsmbs/tst-btowc.c: Likewise.
5026 * wcsmbs/tst-mbrtowc.c: Likewise.
5027 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5028 * wcsmbs/tst-wchar-h.c: Likewise.
5029 * wcsmbs/tst-wcpncpy.c: Likewise.
5030 * wcsmbs/tst-wcrtomb.c: Likewise.
5031 * wcsmbs/tst-wcsnlen.c: Likewise.
5032 * wcsmbs/tst-wcstof.c: Likewise.
5034 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5037 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5039 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5041 (_dl_mcount): Use rtld_hidden_proto.
5042 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5044 * elf/rtld.c (_rtld_global_ro): Likewise.
5047 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5048 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5049 of _dl_init_internal.
5050 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5051 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5052 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5053 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5054 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5055 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5056 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5057 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5058 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5059 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5060 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5061 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5062 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5063 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5064 * sysdeps/tile/dl-start.S (_start): Likewise.
5065 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5066 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5069 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5070 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5071 (rtld_progname): Make macro definition unconditional.
5072 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5074 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5075 (dl_main): Likewise.
5076 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5077 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5078 instead of _dl_argv_internal.
5079 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5080 __GI__dl_argv instead of INTUSE(_dl_argv).
5081 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5082 __GI__dl_argv instead of _dl_argv_internal.
5084 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5085 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5087 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5088 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5090 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5091 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5093 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5094 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5096 2014-11-04 Andreas Schwab <schwab@suse.de>
5098 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5100 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5103 mtvsrd instruction in binary form.
5105 2014-11-03 Andreas Schwab <schwab@suse.de>
5108 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5109 for less than MB_LEN_MAX use a local buffer of that size.
5110 * libio/tst-fputws.c: New file.
5111 * libio/Makefile (tests): Add tst-fputws.
5113 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5115 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5116 the size of the fpu_fr.fpu_dregs[] array.
5118 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5120 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5121 (__nanosleep): Do not define as alias.
5122 (nanosleep): Define as alias of __nanosleep.
5123 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5124 __libc_nanosleep name.
5126 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5128 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5129 install.texi in comment.
5131 2014-10-31 Torvald Riegel <triegel@redhat.com>
5133 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5134 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5135 ... add here and use lwsync or sync ...
5136 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5137 ... and add here using lwsync.
5139 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5141 * elf/dl-machine-reject-phdr.h: New file.
5142 * elf/dl-load.c: #include that.
5143 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5144 if that returned true.
5146 2014-10-31 Roland McGrath <roland@hack.frob.com>
5149 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5150 gen-as-const-headers chunk. Add a big scare comment after the last
5151 safe place to touch before-compile.
5153 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5155 * manual/install.texi (Tools for Compilation): Update autoconf
5156 version requirements.
5157 * INSTALL: Regenerated.
5159 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5160 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5161 (__libc_pselect): Likewise.
5164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5169 2014-10-31 Torvald Riegel <triegel@redhat.com>
5171 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5172 correct barrier instruction.
5173 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5175 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5178 2014-10-30 Roland McGrath <roland@hack.frob.com>
5180 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5181 after defining inlines. Instead, just use parens to defeat macro
5182 expansion of __isctype in its declaration.
5184 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5186 * include/sys/uio.h (__libc_readv): Remove declaration.
5187 (__libc_writev): Likewise.
5188 * misc/readv.c (__libc_readv): Rename to __readv.
5189 (__readv): Do not define as alias.
5190 (readv): Define as alias of __readv.
5191 * misc/writev.c (__libc_writev): Rename to __writev.
5192 (__writev): Do not define as alias.
5193 (writev): Define as alias of __writev.
5194 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5195 (__readv): Do not define as alias.
5196 (readv): Define unconditionally as alias of __readv.
5197 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5198 (__writev): Do not define as alias.
5199 (writev): Define unconditionally as alias of __writev.
5200 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5202 (writev): Do not define __libc_writev name.
5204 2014-10-30 Roland McGrath <roland@hack.frob.com>
5206 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5207 (convert_charseq): New function, broken out of ...
5208 (use_from_charmap): ... here. Call it.
5209 (use_to_charmap): Use convert_charseq and free instead of duplicating
5210 its code with a variable-length stack struct.
5212 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5214 * include/fcntl.h (__libc_creat): Remove declaration.
5215 * io/creat.c (__libc_creat): Rename to creat.
5216 (creat): Do not define as alias.
5217 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5218 of creat instead of __libc_creat.
5219 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5221 (creat): Do not define as alias.
5222 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5224 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5229 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5231 * manual/llio.texi: Add comments discussing why write() may be
5232 considered MT-unsafe on Linux.
5234 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5236 * dl-load.c (local_strdup): Remove.
5237 (expand_dynamic_string_token): Use __strdup.
5238 (decompose_rpath): Likewise.
5239 (_dl_map_object): Likewise.
5241 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5244 * sysdeps/generic/unwind-dw2-fde.c
5245 (__register_frame_info_bases_internal): Do not declare.
5246 (__register_frame_info_table_bases_internal): Likewise.
5247 (__deregister_frame_info_bases_internal): Likewise.
5248 (__register_frame_info_bases): Declare and use hidden_proto before
5249 definition. Use hidden_def instead of INTDEF.
5250 (__register_frame_info_table_bases): Likewise.
5251 (__deregister_frame_info_bases): Likewise.
5252 (__register_frame_info): Do not use INTUSE.
5253 (__register_frame): Likewise.
5254 (__register_frame_info_table): Likewise.
5255 (__register_frame_table): Likewise.
5256 (__deregister_frame_info): Likewise.
5257 (__deregister_frame): Likewise.
5259 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5261 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5262 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5264 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5266 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5269 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5273 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5274 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5275 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5276 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5277 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5278 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5279 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5280 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5281 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5282 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5283 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5284 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5286 (setfsuid): Likewise.
5287 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5288 (setfsuid): Likewise.
5289 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5290 (setfsuid): Likewise.
5291 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5293 (setfsuid): Likewise.
5294 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5295 (setfsuid): Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5298 (setfsuid): Likewise.
5300 2014-10-27 Andreas Schwab <schwab@suse.de>
5303 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5304 check for Slow_SSE4_2 feature bit.
5305 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5306 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5307 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5308 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5310 2014-10-24 Roland McGrath <roland@hack.frob.com>
5312 * configure.ac: Validate compiler version with a empirical test of
5313 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5315 * configure: Regenerated.
5317 * inet/htons.c (htons): Prototypify.
5318 * inet/htonl.c (htonl): Likewise.
5320 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5322 * string/strncat.c (strncat): Improve performance by using strlen.
5324 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5326 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5328 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5330 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5331 Call libc_fetestexcept_aarch64.
5333 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5335 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5336 Call libc_feholdexcept_aarch64.
5338 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5340 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5341 Call get_rounding_mode.
5343 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5345 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5348 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5350 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5353 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5356 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5357 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5358 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5359 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5360 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5361 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5362 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5363 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5364 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5365 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5366 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5368 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5369 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5370 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5371 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5372 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5373 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5374 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5375 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5376 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5378 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5380 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5381 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5382 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5383 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5384 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5385 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5386 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5387 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5388 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5389 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5390 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5391 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5392 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5393 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5394 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5395 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5396 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5398 (geteuid): Likewise.
5401 (getresgid): Likewise.
5402 (getresuid): Likewise.
5403 (getgroups): Likewise.
5404 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5405 (geteuid): Likewise.
5408 (getresgid): Likewise.
5409 (getresuid): Likewise.
5410 (getgroups): Likewise.
5411 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5412 (geteuid): Likewise.
5415 (getresgid): Likewise.
5416 (getresuid): Likewise.
5417 (getgroups): Likewise.
5418 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5420 (geteuid): Likewise.
5423 (getresgid): Likewise.
5424 (getresuid): Likewise.
5425 (getgroups): Likewise.
5426 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5427 (geteuid): Likewise.
5430 (getresgid): Likewise.
5431 (getresuid): Likewise.
5432 (getgroups): Likewise.
5433 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5435 (geteuid): Likewise.
5438 (getgroups): Likewise.
5441 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5442 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5443 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5444 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5445 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5446 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5447 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5448 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5449 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5452 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5453 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5455 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5462 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5470 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5472 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5475 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5477 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5480 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5482 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5483 Remove unused include.
5485 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5487 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5488 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5489 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5490 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5492 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5493 Helge Deller <deller@gmx.de>
5496 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5497 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5498 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5500 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5503 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5504 Remove macro definition.
5505 (__ashrdi3_v_glibc20): Likewise.
5506 (__lshrdi3_v_glibc20): Likewise.
5507 (__cmpdi2_v_glibc20): Likewise.
5508 (__ucmpdi2_v_glibc20): Likewise.
5509 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5510 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5511 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5512 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5513 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5514 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5516 2014-10-22 Roland McGrath <roland@hack.frob.com>
5518 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5519 old GNU extension [0] syntax.
5520 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5521 alloca rather than an array member with variable length.
5522 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5523 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5524 (parse_opt): ... here. Likewise use alloca there.
5525 Validate the -i argument before checking for rootness.
5526 (send_shutdown): New function, broken out of ...
5527 (parse_opt): ... here.
5529 2014-10-22 Roland McGrath <roland@hack.frob.com>
5531 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5532 macro to get at the _rt_local_ro field.
5533 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5534 ([PIC] case) or _dl_hwcap ([!PIC] case).
5535 * sysdeps/arm/setjmp.S: Likewise.
5537 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5538 * sysdeps/arm/configure.ac: New check to define it.
5539 * sysdeps/arm/configure: Regenerated.
5540 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5541 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5542 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5543 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5544 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5545 Use move/movt pair instead of a load.
5546 (LDST_GLOBAL): Macro removed.
5547 (LDR_GLOBAL): New macro replaces it.
5548 (LDR_HIDDEN): New macro.
5549 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5550 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5552 * setjmp/tst-setjmp-static.c: New file.
5553 * setjmp/Makefile (tests): Add it.
5554 (tests-static): New variable.
5556 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5559 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5561 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5564 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5566 2014-10-21 Roland McGrath <roland@hack.frob.com>
5568 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5570 2014-10-20 Roland McGrath <roland@hack.frob.com>
5572 * io/fts.c (dirent_not_directory): New function.
5573 (fts_build): Call it.
5575 2014-10-20 Roland McGrath <roland@hack.frob.com>
5577 * nptl/version.c (__nptl_main): Use normal __write rather than
5579 (banner): Update copyright years.
5581 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5583 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5584 * nptl/pthread_cond_timedwait.c: Likewise.
5585 * nptl/pthread_mutex_timedlock.c: Likewise.
5586 * nptl/sem_timedwait.c: Likewise.
5588 * sysdeps/nptl/bits/libc-lock.h
5589 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5590 (__libc_lock_init_recursive): Return void, not 0.
5591 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5592 (__libc_rwlock_init): Likewise.
5593 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5595 2014-10-20 Torvald Riegel <triegel@redhat.com>
5598 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5599 (__pthread_once_slow): ... here.
5600 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5601 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5603 2014-10-20 Torvald Riegel <triegel@redhat.com>
5606 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5607 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5608 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5609 * nptl/pthread_once.c (__pthread_once): Likewise.
5612 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5615 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5617 (writev): Use __libc_writev as strong name.
5618 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5619 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5621 2014-10-17 Roland McGrath <roland@hack.frob.com>
5623 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5625 * sysdeps/i386/nptl/tls.h
5626 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5627 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5629 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5630 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5631 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5632 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5633 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5634 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5636 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5637 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5639 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5641 (__pthread_mutex_init): ... here. Call it.
5642 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5643 Conditionalize PI cases on [__NR_futex].
5644 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5645 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5646 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5648 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5649 conditional on [SIGSETXID].
5650 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5651 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5652 is defined. Likewise for SIGSETXID.
5653 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5654 Conditionalize definitions on [SIGSETXID].
5655 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5656 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5657 unblocking on [SIGCANCEL].
5659 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5660 [__NR_set_robust_list].
5662 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5664 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5665 (do_compare): Likewise.
5667 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5670 * string/strcoll_l.c: Don't include stdio.h.
5671 (coll_seq): Remove members idxarr and rulearr.
5672 (get_next_seq_cached): Remove function.
5673 (get_next_seq): Likewise.
5674 (get_next_seq_nocache): Rename to get_next_seq.
5675 (do_compare): Remove function.
5676 (do_compare_nocache): Rename to do_compare.
5677 (STRCOLL): Remove weight and rules cache.
5679 2014-10-16 Roland McGrath <roland@hack.frob.com>
5681 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5682 * sysdeps/arm/sfp-machine.h: ... to here.
5683 * sysdeps/arm/Implies: Remove arm/soft-fp.
5685 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5687 * conform/data/sys/utsname.h-data (*_t): Allow.
5688 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5689 [POSIX] (WEXITED): Do not expect constant.
5690 [POSIX] (WSTOPPED): Likewise.
5691 [POSIX] (WNOHANG): Likewise.
5692 [POSIX] (WNOWAIT): Likewise.
5693 [POSIX] (siginfo_t): Do not expect type or elements.
5694 [POSIX] (pid_t): Do not expect type.
5695 [POSIX] (signal.h): Do not allow header.
5696 [POSIX] (sys/resource.h): Likewise.
5697 [POSIX] (si_*): Do not allow pattern.
5698 [POSIX] (W*): Likewise.
5699 [POSIX] (P_*): Likewise.
5700 [POSIX] (BUS_*): Likewise.
5701 [POSIX] (CLD_*): Likewise.
5702 [POSIX] (FPE_*): Likewise.
5703 [POSIX] (ILL_*): Likewise.
5704 [POSIX] (POLL_*): Likewise.
5705 [POSIX] (SEGV_*): Likewise.
5706 [POSIX] (SI_*): Likewise.
5707 [POSIX] (TRAP_*): Likewise.
5708 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5711 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5714 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5715 infinite loop when __recvmsg returns 0.
5717 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5719 * CANCEL-FCT-WAIVE: Remove file.
5720 * CANCEL-FILE-WAIVE: Likewise.
5723 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5724 instead of INTVARDEF.
5725 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5726 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5727 rtld_hidden_data_def instead of INTVARDEF.
5728 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5729 * elf/dl-deps.c (expand_dst): Likewise.
5730 * elf/dl-load.c (_dl_dst_count): Likewise.
5731 (_dl_dst_substitute): Likewise.
5732 (decompose_rpath): Likewise.
5733 (_dl_init_paths): Likewise.
5734 (open_path): Likewise.
5735 (_dl_map_object): Likewise.
5736 * elf/rtld.c (dl_main): Likewise.
5737 (process_dl_audit): Likewise.
5738 (process_envvars): Likewise.
5739 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5741 (__libc_enable_secure): Use rtld_hidden_proto.
5743 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5746 (add_path): New function broken out of _dl_rtld_di_serinfo.
5747 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5749 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5751 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5752 parentheses around macro arguments.
5753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5754 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5755 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5764 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5768 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5769 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5782 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5783 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5784 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5786 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5787 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5788 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5790 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5791 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5792 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5793 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5797 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5798 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5799 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5800 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5801 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5802 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5803 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5804 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5805 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5807 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5808 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5811 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5812 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5813 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5814 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5815 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5816 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5817 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5818 (_FP_FRAC_SRS_1): Likewise.
5819 (_FP_FRAC_CLZ_1): Likewise.
5820 (_FP_MUL_MEAT_1_imm): Likewise.
5821 (_FP_MUL_MEAT_1_wide): Likewise.
5822 (_FP_MUL_MEAT_1_hard): Likewise.
5823 (_FP_SQRT_MEAT_1): Likewise.
5824 (_FP_FRAC_ASSEMBLE_1): Likewise.
5825 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5826 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5827 (__FP_CLZ_2): Likewise.
5828 (_FP_MUL_MEAT_2_wide): Likewise.
5829 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5830 (_FP_MUL_MEAT_2_gmp): Likewise.
5831 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5832 (_FP_SQRT_MEAT_2): Likewise.
5833 (_FP_FRAC_ASSEMBLE_2): Likewise.
5834 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5835 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5836 (_FP_FRAC_CLZ_4): Likewise.
5837 (_FP_MUL_MEAT_4_wide): Likewise.
5838 (_FP_MUL_MEAT_4_gmp): Likewise.
5839 (_FP_SQRT_MEAT_4): Likewise.
5840 (_FP_FRAC_ASSEMBLE_4): Likewise.
5841 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5842 * soft-fp/op-common.h (_FP_CMP): Likewise.
5843 (_FP_CMP_EQ): Likewise.
5844 (_FP_CMP_UNORD): Likewise.
5845 (_FP_TO_INT): Likewise.
5846 (_FP_FROM_INT): Likewise.
5847 [!__FP_CLZ] (__FP_CLZ): Likewise.
5848 (_FP_DIV_HELP_imm): Likewise.
5849 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5851 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5852 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5853 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5854 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5855 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5856 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5857 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5858 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5859 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5860 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5862 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5863 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5864 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5865 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5866 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5867 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5868 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5869 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5870 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5871 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5872 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5873 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5875 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5876 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5877 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5878 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5880 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5881 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5882 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5883 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5884 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5885 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5886 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5887 (FP_UNPACK_RAW_SP): Likewise.
5888 (FP_PACK_RAW_S): Likewise.
5889 (FP_PACK_RAW_SP): Likewise.
5890 (FP_UNPACK_S): Likewise.
5891 (FP_UNPACK_SP): Likewise.
5892 (FP_UNPACK_SEMIRAW_S): Likewise.
5893 (FP_UNPACK_SEMIRAW_SP): Likewise.
5894 (FP_PACK_S): Likewise.
5895 (FP_PACK_SP): Likewise.
5896 (FP_PACK_SEMIRAW_S): Likewise.
5897 (FP_PACK_SEMIRAW_SP): Likewise.
5898 (_FP_SQRT_MEAT_S): Likewise.
5899 (FP_CMP_S): Likewise.
5900 (FP_CMP_EQ_S): Likewise.
5901 (FP_CMP_UNORD_S): Likewise.
5902 (FP_TO_INT_S): Likewise.
5903 (FP_FROM_INT_S): Likewise.
5905 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5907 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5908 (FP_EX_INVALID_IMZ): Likewise.
5909 (FP_EX_INVALID_IMZ_FMA): Likewise.
5910 (FP_EX_INVALID_ISI): Likewise.
5911 (FP_EX_INVALID_ZDZ): Likewise.
5912 (FP_EX_INVALID_IDI): Likewise.
5913 (FP_EX_INVALID_SQRT): Likewise.
5914 (FP_EX_INVALID_CVI): Likewise.
5915 (FP_EX_INVALID_VC): Likewise.
5916 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5917 "invalid" exceptions.
5918 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5919 (_FP_ADD_INTERNAL): Likewise.
5920 (_FP_MUL): Likewise.
5921 (_FP_FMA): Likewise.
5922 (_FP_DIV): Likewise.
5923 (_FP_CMP_CHECK_NAN): Likewise.
5924 (_FP_SQRT): Likewise.
5925 (_FP_TO_INT): Likewise.
5926 (FP_EXTEND): Likewise.
5928 2014-10-09 Allan McRae <allan@archlinux.org>
5930 * po/fr.po: Update French translation from translation project.
5932 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5935 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5937 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5938 (__cxa_atexit): Use libc_hidden_proto.
5939 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5942 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5944 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5945 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5946 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5947 [!_ISOMAC] (__iswctype_internal): Likewise.
5948 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5949 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5951 (fcntl): Remove __fcntl_internal alias.
5952 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5953 __connect_internal alias.
5954 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5957 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5958 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5960 (_FP_CHECK_FLUSH_ZERO): New macro.
5961 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5962 (_FP_CMP): Likewise.
5963 (_FP_CMP_EQ): Likewise.
5964 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5966 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5967 (FP_TRUNC): Likewise.
5969 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5970 treated as invalid conversion, not as normal exponent.
5972 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5973 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5974 (_FP_CMP_EQ): Likewise.
5975 (_FP_CMP_UNORD): Likewise.
5976 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5977 (FP_CMP_EQ_D): Likewise.
5978 (FP_CMP_UNORD_D): Likewise.
5979 * soft-fp/extended.h (FP_CMP_E): Likewise.
5980 (FP_CMP_EQ_E): Likewise.
5981 (FP_CMP_UNORD_E): Likewise.
5982 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5983 (FP_CMP_EQ_Q): Likewise.
5984 (FP_CMP_UNORD_Q): Likewise.
5985 * soft-fp/single.h (FP_CMP_S): Likewise.
5986 (FP_CMP_EQ_S): Likewise.
5987 (FP_CMP_UNORD_S): Likewise.
5988 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5989 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5990 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5991 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5992 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5993 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5994 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5995 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5996 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5997 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5998 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5999 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6000 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6002 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6004 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6005 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6007 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6009 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6010 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6011 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6012 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6014 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6016 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6017 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6019 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6021 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6022 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6023 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6024 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6027 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6028 a subnormal result, set the underflow exception if trapping on
6029 underflow is enabled.
6030 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6031 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6032 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6034 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6035 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6036 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6037 * soft-fp/extendxftf2.c (__extendxftf2): Use
6038 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6040 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6041 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6042 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6043 FP_HANDLE_EXCEPTIONS.
6044 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6045 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6046 FP_HANDLE_EXCEPTIONS.
6047 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6048 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6049 FP_HANDLE_EXCEPTIONS.
6050 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6051 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6052 FP_HANDLE_EXCEPTIONS.
6054 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6057 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6058 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6060 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6061 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6063 (__adjtimex): Define using libc_hidden_ver.
6064 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6066 (ntp_gettime): Call __adjtimex directly.
6067 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6069 (ntp_gettimex): Call __adjtimex directly.
6070 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6071 __adjtimex_internal alias.
6073 2014-10-08 Roland McGrath <roland@hack.frob.com>
6076 * nscd/nscd.c (more_help): Rewrite list of tables collection
6077 using xstrdup and asprintf.
6079 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6081 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6082 Roland McGrath <roland@hack.frob.com>
6084 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6085 (do_lookup_unique): ... local function 'enter' here; update callers.
6087 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6089 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6090 compat_symbol calls on [SHARED].
6091 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6092 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6094 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6095 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6096 (oldsetrlimit): Remove.
6097 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6099 (lchown): New syscall entry.
6100 (oldsetrlimit): Remove.
6101 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6102 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6103 (oldsetrlimit): Remove.
6104 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6107 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6108 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6109 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6110 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6111 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6112 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6114 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6119 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6122 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6123 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6124 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6125 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6127 (__old_sem_post): Likewise.
6129 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6131 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6132 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6133 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6134 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6135 Use INLINE_VSYSCALL macro.
6136 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6137 __vdso_clock_gettime.
6138 * sysdeps/unix/sysv/linux/tile/init-first.c
6139 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6140 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6141 __vdso_clock_gettime.
6143 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6144 to set up frame more cleanly.
6146 * sysdeps/tile/memcmp.c: New file.
6148 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6150 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6151 * sysdeps/tile/tilegx/strcasestr.c: New file.
6152 * sysdeps/tile/tilegx/strnlen.c: New file.
6153 * sysdeps/tile/tilegx/strstr.c: New file.
6155 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6157 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6159 * nptl/tst-setuid3.c: Write errors to stdout.
6161 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6164 (preload): New functions broken out of _dl_map_object_deps.
6165 (_dl_map_object_deps): Remove a nested function. Update call sites.
6167 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6170 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6171 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6173 2014-10-01 Steve Ellcey <sellcey@mips.com>
6175 * sysdeps/mips/strcmp.S: New.
6177 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6180 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6182 (mkdirat): Likewise.
6183 (readlinkat): Likewise.
6184 (renameat): Likewise.
6185 (symlinkat): Likewise.
6186 (unlinkat): Likewise.
6187 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6188 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6189 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6190 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6191 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6192 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6193 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6195 2014-09-30 Will Newton <will.newton@linaro.org>
6197 * math/math.h: Define long double math functions if
6198 _LIBC_TEST is defined.
6199 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6201 * localedata/Makefile: Move assignment to tests-special
6202 into an ifdef testing run-built-tests.
6203 * timezone/Makefile: Likewise.
6205 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6207 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6208 with $(BASH) not $(SHELL).
6210 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6211 Matthew LeGendre <legendre1@llnl.gov>
6214 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6217 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6219 * stdio-common/printf_fp.c
6220 (hack_digit): New function, broken out of ...
6221 (__printf_fp): ... local function here. Update call sites.
6222 hack_digit now takes an additional parameter that is a pointer
6223 to a struct of the referenced locals. Those locals moved inside
6224 the struct and references updated.
6226 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6228 * aclocal.m4: Require autoconf 2.69.
6229 * configure: Regenerated.
6230 * sysdeps/aarch64/configure: Likewise.
6231 * sysdeps/alpha/configure: Likewise.
6232 * sysdeps/arm/armv7/configure: Likewise.
6233 * sysdeps/arm/configure: Likewise.
6234 * sysdeps/ia64/configure: Likewise.
6235 * sysdeps/mach/configure: Likewise.
6236 * sysdeps/mips/configure: Likewise.
6237 * sysdeps/s390/configure: Likewise.
6238 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6241 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6243 * sysdeps/ia64/configure.ac: Likewise.
6245 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6248 specify symbol version for ld.so. Do not include entry for
6250 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6251 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6252 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6255 * Makeconfig [$(build-shared) = yes]
6256 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6258 [$(build-shared) = yes && $(soversions.mk-done) = t]
6259 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6260 [$(build-shared) = yes && $(soversions.mk-done) = t]
6261 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6263 [$(build-shared) = yes && $(soversions.mk-done) = t]
6264 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6266 [$(build-shared) = yes && $(soversions.mk-done) = t]
6267 (common-generated): Don't append gnu/lib-names.h and
6268 gnu/lib-names.stmp here.
6269 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6270 (lib-names-h-abi): New variable.
6271 [$(build-shared) = yes && $(soversions.mk-done) = t]
6272 (lib-names-stmp-abi): Likewise.
6273 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6274 abi-variants] (before-compile): Append
6275 $(common-objpfx)$(lib-names-h-abi).
6276 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6277 abi-variants] (common-generated): Append gnu/lib-names.h.
6278 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6279 abi-variants] (install-others-nosubdir): Depend on
6280 $(inst_includedir)/$(lib-names-h-abi).
6281 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6282 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6283 [$(build-shared) = yes && $(soversions.mk-done) = t]
6284 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6285 [$(build-shared) = yes && $(soversions.mk-done) = t]
6286 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6287 [$(build-shared) = yes && $(soversions.mk-done) = t]
6288 (common-generated): Append $(lib-names-h-abi) and
6289 $(lib-names-stmp-abi).
6290 * scripts/lib-names.awk: Do not handle multi being set.
6291 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6293 (abi-lp64_be-ld-soname): Likewise.
6294 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6296 (abi-hard-ld-soname): Likewise.
6297 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6298 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6300 (abi-o32_hard-ld-soname): Likewise.
6301 (abi-o32_soft_2008-ld-soname): Likewise.
6302 (abi-o32_hard_2008-ld-soname): Likewise.
6303 (abi-n32_soft-ld-soname): Likewise.
6304 (abi-n32_hard-ld-soname): Likewise.
6305 (abi-n32_soft_2008-ld-soname): Likewise.
6306 (abi-n32_hard_2008-ld-soname): Likewise.
6307 (abi-n64_soft-ld-soname): Likewise.
6308 (abi-n64_hard-ld-soname): Likewise.
6309 (abi-n64_soft_2008-ld-soname): Likewise.
6310 (abi-n64_hard_2008-ld-soname): Likewise.
6311 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6313 (abi-64-v2-ld-soname): Likewise.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6316 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6318 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6320 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6322 (abi-64-ld-soname): Likewise.
6323 (abi-x32-ld-soname): Likewise.
6324 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6326 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6328 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6331 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6332 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6333 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6334 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6335 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6336 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6337 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6338 syscall entry for GLIBC_2.2 symbol version.
6339 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6342 (setrlimit): Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6346 2014-09-23 Will Newton <will.newton@linaro.org>
6348 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6349 _LINUX_ARM_SYSDEP_H include guard too.
6350 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6353 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6355 * sysdeps/unix/sysv/linux/eventfd.c:
6356 Make first argument unsigned.
6357 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6358 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6360 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6362 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6363 * socket/sys/socket.h: Likewise
6364 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6366 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6368 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6370 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6372 * time/tst-ftime.c: New test.
6373 * time/Makefile (tests): Add tst-ftime.
6375 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6377 * soft-fp/extended.h: Fix comment formatting.
6378 * soft-fp/op-1.h: Likewise.
6379 * soft-fp/op-2.h: Likewise.
6380 * soft-fp/op-4.h: Likewise.
6381 * soft-fp/op-8.h: Likewise.
6382 * soft-fp/op-common.h: Likewise.
6383 * soft-fp/soft-fp.h: Likewise.
6385 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6387 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6390 * Makeconfig (soversions-default-setname): Remove variable.
6391 ($(common-objpfx)soversions.i): Don't pass default_setname to
6393 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6394 oldest_abi to abi-versions.awk.
6395 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6396 * config.make.in (oldest-abi): Remove variable.
6397 * configure.ac (--enable-oldest-abi): Remove configure option.
6398 * configure: Regenerated.
6399 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6401 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6402 * scripts/soversions.awk: Do not handle default_setname variable.
6403 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6405 * sysdeps/mach/hurd/configure: Regenerated.
6406 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6408 * sysdeps/unix/sysv/linux/configure: Regenerated.
6410 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6412 * elf/Makefile (CFLAGS-interp.c): Remove.
6413 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6415 * elf/interp.c: Include generated runtime-linker.h
6417 * Makerules (lib%.so): Don't include $(+interp) in
6419 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6420 * dlfcn/eval.c: Remove file.
6422 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6426 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6430 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6432 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6433 Jakub Jelinek <jakub@redhat.com>
6436 * libio/stdio.h: Check definition of __fortify_function
6437 instead of __extern_always_inline to include bits/stdio2.h.
6438 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6439 check if __extern_always_inline is defined.
6440 [__USE_MISC || __USE_XOPEN]: Likewise.
6441 [__USE_ISOC99] Likewise.
6442 * misc/sys/cdefs.h (__fortify_function): Define only if
6443 __extern_always_inline is defined.
6444 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6445 __extern_always_inline and __extern_inline only for g++-4.3
6446 and newer or a compatible gcc.
6448 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6451 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6452 last change to handle zero prefix length.
6454 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6456 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6459 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6462 2014-09-13 Allan McRae <allan@archlinux.org>
6464 * po/ru.po: Update Russian translation from translation project.
6466 2014-09-12 Roland McGrath <roland@hack.frob.com>
6468 * locale/programs/locale.c (show_locale_vars): Inline local function
6469 into its sole call site. Clean up some style nits.
6470 (print_item): New function, broken out of ...
6471 (show_info): ... local function here. Clean up style nits.
6473 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6475 (set_class_defaults): ... local function set_default here.
6476 Define set_default as a macro locally to pass constant parameters.
6477 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6478 rather than a shared local.
6480 * stdlib/rpmatch.c (try): New function, broken out of ...
6481 (rpmatch): ... local function here. Also, prototypify definition.
6483 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6485 * scripts/soversions.awk: Do not handle configuration names.
6486 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6487 vendor and os variables to soversions.awk.
6488 * configure.ac: Do not modify gnu-* host_os.
6489 * configure: Regenerated
6490 * shlib-versions: Remove first column with configuration names.
6491 * nptl/shlib-versions: Likewise.
6492 * nptl_db/shlib-versions: Likewise.
6493 * sysdeps/hppa/shlib-versions: Likewise.
6494 * sysdeps/m68k/shlib-versions: Likewise.
6495 * sysdeps/mach/hurd/shlib-versions: Likewise.
6496 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6497 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6498 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6499 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6500 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6501 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6502 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6503 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6506 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6507 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6508 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6510 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6511 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6512 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6513 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6516 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6519 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6521 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6523 * shlib-versions: Remove OS-specific entries. Moved to files in
6525 * sysdeps/mach/hurd/shlib-versions: New file.
6526 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6528 * nptl/shlib-versions: Remove architecture-specific entries.
6529 Moved to files in sysdeps.
6530 * shlib-versions: Likewise.
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6533 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6534 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6538 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6539 (UDP_NO_CHECK6_RX): Likewise.
6541 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6543 * sysdeps/posix/sysconf.c (__sysconf): Spell
6544 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6546 2014-08-12 Florian Weimer <fweimer@redhat.com>
6548 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6550 * iconv/Versions (__gconv_transliterate): Export for use from
6552 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6553 (struct __gconv_trans_data, __gconv_trans_fct,
6554 __gconv_trans_context_fct, __gconv_trans_query_fct,
6555 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6557 (struct __gconv_step_data): Remove __trans member.
6558 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6559 longer hidden. Remove unused trans_data argument.
6560 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6561 (__gconv_translit_find): Remove declaration.
6562 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6564 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6565 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6566 trans_data argument. Add hidden definition.
6567 (__gconv_translit_find): Remove.
6568 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6569 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6570 * iconv/skeleton.c: Remove transliteration initialization.
6571 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6572 __gconv_step_data initialization.
6573 * libio/iofwide.c (__libio_translit_): Remove.
6574 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6575 * wcsmbs/btowc.c (__btowc): Likewise.
6576 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6577 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6578 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6579 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6580 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6581 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6582 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6583 * wcsmbs/wctob.c (wctob): Likewise.
6585 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6588 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6589 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6591 * sysdeps/x86/Makefile: Adjust.
6593 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6594 Roland McGrath <roland@hack.frob.com>
6596 * locale/weight.h: Add include guard.
6597 (findidx): Make static rather than auto; take new parameters
6598 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6599 * locale/weightwc.h: Likewise.
6600 * posix/fnmatch_loop.c
6601 (FCT): Change type of EXTRA from int32_t to wint_t.
6602 Don't include either header inside the function.
6603 Call FINDIDX rather than findidx, and pass new arguments.
6604 #undef FINDIDX at the end of the file.
6605 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6606 FINDIDX before including fnmatch_loop.c for the non-wide version.
6607 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6608 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6609 for the wide version.
6610 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6611 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6612 Pass new arguments to findidx.
6613 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6614 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6615 Don't #include it inside the function. Pass new arguments to findidx.
6616 * posix/regex_internal.h
6617 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6618 (re_string_elem_size_at): Don't #include it inside the function.
6619 Pass new arguments to findidx.
6620 * string/strcoll_l.c: #include WEIGHT_H at top level.
6621 (get_next_seq): Don't #include it inside the function.
6622 Pass new arguments to findidx.
6623 (get_next_seq_nocache): Likewise.
6624 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6625 (STRXFRM): Don't #include it inside the function.
6626 Pass new arguments to findidx.
6628 2014-09-11 Florian Weimer <fweimer@redhat.com>
6631 * malloc/malloc.c (unlink): Turn asserts into a call to
6634 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6637 * libio/wfileops (do_ftell_wide): Free OUT.
6639 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6641 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6643 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6646 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6647 group if the current group is empty.
6649 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651 * benchtests/bench-memset.c (test_main): Add more test from size
6652 from 32 to 512 bytes.
6653 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6654 Add POWER8 memset object.
6655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6656 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6657 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6659 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6661 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6662 multiarch POWER8 memset optimization.
6663 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6664 POWER8 memset optimization.
6666 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6667 Remove bzero multiarch objects.
6668 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6669 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6670 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6671 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6673 [__bzero]: Redefine to specific name.
6674 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6675 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6676 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6678 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6679 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6681 2014-09-10 Florian Weimer <fweimer@redhat.com>
6683 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6684 warnings into errors.
6686 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6687 __cxa_thread_atexit_impl prototype.
6689 2014-09-09 Steve Ellcey <sellcey@mips.com>
6691 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6692 Fix capitalization of error message.
6694 2014-09-09 Steve Ellcey <sellcey@mips.com>
6696 * sysdeps/mips/preconfigure: Modify ABI tests.
6698 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6700 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6702 2014-09-07 Roland McGrath <roland@hack.frob.com>
6703 Carlos O'Donell <carlos@systemhalted.org>
6705 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6706 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6707 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6708 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6709 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6710 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6711 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6712 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6713 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6714 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6715 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6716 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6717 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6718 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6719 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6720 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6721 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6722 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6723 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6724 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6725 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6726 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6727 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6728 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6729 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6730 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6731 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6732 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6733 Deconditionalize the code that was previously under [RESET_PID].
6734 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6735 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6736 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6737 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6740 2014-09-08 Allan McRae <allan@archlinux.org>
6742 * version.h (RELEASE): Set to "development".
6743 (VERSION): Set to "2.20.90"
6745 2014-09-07 Allan McRae <allan@archlinux.org
6747 * version.h (RELEASE): Set to "stable".
6748 (VERSION): Set to "2.20"
6749 * include/features.h (__GLIBC_MINOR__): Set to 20.
6751 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6754 * po/ko.po: Update Korean translation from translation project.
6756 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6759 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6760 macro for handling signed relocations.
6762 2014-09-03 Florian Weimer <fweimer@redhat.com>
6765 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6766 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6768 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6769 * iconvdata/ibm935.c (BODY): Likewise.
6770 * iconvdata/ibm937.c (BODY): Likewise.
6771 * iconvdata/ibm939.c (BODY): Likewise.
6772 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6774 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6776 * iconvdata/run-iconv-test.sh: New test loop for checking for
6779 2014-09-02 Khem Raj <raj.khem@gmail.com>
6781 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6784 2014-09-01 Allan McRae <allan@archlinux.org>
6786 * po/eo.po: Update Esperanto translation from translation project.
6788 * po/ca.po: Update Catalan translation from translation project.
6790 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6792 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6795 2014-08-27 Mark Wielaard <mjw@redhat.com>
6798 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6799 to call set_thread_area instead of hand written asm.
6800 (__NR_set_thread_area): Removed define.
6801 (TLS_FLAG_WRITABLE): Likewise.
6802 (__ASSUME_SET_THREAD_AREA): Remove check.
6803 (TLS_EBX_ARG): Remove define.
6804 (TLS_LOAD_EBX): Likewise.
6806 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6808 Simplify atomicity of socket creation in bind.
6810 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6811 looking up the name after linking the file.
6813 2014-08-27 Allan McRae <allan@archlinux.org>
6815 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6817 2014-08-26 Florian Weimer <fweimer@redhat.com>
6820 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6821 trans_compare, open_translit, __gconv_translit_find):
6822 Remove module loading code.
6824 2014-08-26 Allan McRae <allan@archlinux.org>
6826 * po/vi.po: Update Vietnamese translation from translation project.
6828 * po/uk.po: Update Ukrainian translation from translation project.
6830 * po/fr.po: Update French translation from translation project.
6832 * po/ru.po: Update Russian translation from translation project.
6834 * po/pl.po: Update Polish translation from translation project.
6836 * po/cs.po: Update Czech translation from translation project.
6838 * po/de.po: Update German translation from translation project.
6840 * po/bg.po: Update Bulgarian translation from translation project.
6842 * po/sv.po: Update Sweedish translation from translation project.
6844 * po/nl.po: Update Dutch translation from translation project.
6846 * po/es.po: Update Spanish translation from translation project.
6848 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6850 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6852 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6853 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6854 (CPPFLAGS-iconvconfig): Likewise.
6855 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6857 * include/libc-symbols.h: Remove unnecessary check for
6859 * nptl/pthreadP.h: Likewise.
6860 * sysdeps/aarch64/setjmp.S: Likewise.
6861 * sysdeps/alpha/setjmp.S: Likewise.
6862 * sysdeps/arm/sysdep.h: Likewise.
6863 * sysdeps/i386/setjmp.S: Likewise.
6864 * sysdeps/m68k/setjmp.c: Likewise.
6865 * sysdeps/posix/getcwd.c: Likewise.
6866 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6867 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6868 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6869 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6870 * sysdeps/sh/sh3/setjmp.S: Likewise.
6871 * sysdeps/sh/sh4/setjmp.S: Likewise.
6872 * sysdeps/unix/alpha/sysdep.h: Likewise.
6873 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6874 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6875 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6876 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6879 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6880 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6881 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6884 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6886 * sysdeps/x86_64/setjmp.S: Likewise.
6888 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6891 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6893 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6894 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6896 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6898 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6901 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6902 and __x86_64__ when disabling x87 inline functions.
6904 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6907 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6908 asm statement with __cpuid_count.
6910 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6912 * configure.ac: Change __ehdr_start code to dereference the struct.
6913 Run readelf on the output to look for relocations.
6914 * configure: Regenerated.
6916 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6919 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6921 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6923 2014-08-12 Roland McGrath <roland@hack.frob.com>
6925 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6927 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6930 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6931 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6933 2014-08-12 Sean Anderson <seanga2@gmail.com>
6935 * malloc/malloc.c: Fix typo in comment.
6937 2014-08-09 Allan McRae <allan@archlinux.org>
6939 * Regenerate libc.po.
6941 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6943 * intl/tst-gettext2.sh: Check every lang file for creation.
6945 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6947 * sysdeps/aarch64/fpu/math_private.h
6948 (libc_feholdsetround_noex_aarch64_ctx): New function.
6950 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6952 * sysdeps/arm/armv6/strcpy.S (strcpy):
6953 Fix performance issue in misaligned cases.
6955 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6958 Move definition from termios.h.
6959 (struct termio): Likewise.
6960 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6961 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6962 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6963 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6966 Move definition to ioctl-types.h
6967 (struct termio): Likewise.
6968 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6969 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6970 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6971 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6974 2014-08-05 Richard Henderson <rth@redhat.com>
6976 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6978 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6980 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6981 Use __feraiseexcept.
6982 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6983 Protect libm symbols with IS_IN_libm.
6985 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6987 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6989 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6991 2014-08-04 Will Newton <will.newton@linaro.org>
6993 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6996 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6998 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6999 variants for each function.
7001 2014-08-04 Roland McGrath <roland@hack.frob.com>
7003 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7005 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7006 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7008 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7009 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7010 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7011 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7012 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7013 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7014 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7015 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7016 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7017 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7018 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7019 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7020 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7022 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7023 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7024 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7028 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7029 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7030 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7034 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7036 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7037 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7038 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7040 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7042 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7044 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7045 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7046 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7047 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7048 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7050 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7052 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7054 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7055 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7056 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7058 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7059 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7060 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7062 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7063 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7065 2014-08-04 Roland McGrath <roland@hack.frob.com>
7067 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7068 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7069 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7070 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7071 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7072 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7074 2014-08-04 Roland McGrath <roland@hack.frob.com>
7076 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7077 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7078 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7081 2014-08-04 Roland McGrath <roland@hack.frob.com>
7083 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7084 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7085 (__libc_vfork): Define function under this name.
7086 (__vfork): Define as an alias.
7087 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7088 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7090 2014-08-04 Roland McGrath <roland@hack.frob.com>
7092 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7093 that was previously under [RESET_PID].
7094 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7096 2014-08-04 Andreas Schwab <schwab@suse.de>
7098 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7100 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7102 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7105 2014-08-01 Roland McGrath <roland@hack.frob.com>
7107 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7109 2014-08-01 Richard Henderon <rth@redhat.com>
7111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7112 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7113 typo in exact zero test.
7114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7115 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7118 2014-08-01 Roland McGrath <roland@hack.frob.com>
7120 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7121 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7122 * sysdeps/arm/sysdep.h: ... here.
7123 [!__ASSEMBLER__]: Include <stdint.h>.
7125 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7127 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7128 (HAVE_WCTYPE_H): Likewise.
7129 (HAVE_ISWCTYPE): Likewise.
7130 (ENABLE_NLS): Likewise.
7131 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7132 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7134 * posix/regex_internal.c: Check if DEBUG is defined and is
7137 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7138 (HAVE_MBSRTOWCS): Likewise.
7139 * posix/fnmatch.c: Include string.h unconditionally.
7141 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7143 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7146 2014-07-31 Roland McGrath <roland@hack.frob.com>
7148 * sysdeps/generic/safe-fatal.h: New file.
7149 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7150 * nptl/forward.c: Include it.
7151 (__pthread_unwind): Use __safe_fatal as default action, rather
7152 than a bogus use of INTERNAL_SYSCALL that could never work.
7154 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7155 * configure.ac (libc_cv_builtin_trap): New test.
7156 * configure: Regenerated.
7157 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7158 (ABORT_INSTRUCTION): Define using __builtin_trap.
7160 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7161 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7162 * sysdeps/nptl/nptl-signals.h: New file.
7163 * nptl/pthreadP.h: Include <nptl-signals.h>.
7165 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7167 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7168 (ONE_DIRECTION): Define.
7169 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7170 (ONE_DIRECTION): Define.
7171 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7172 (ONE_DIRECTION): Define.
7174 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7176 * sysdeps/s390/Makefile: Delete file.
7177 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7178 * sysdeps/s390/__longjmp.c: Delete file.
7179 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7180 Remove fields __flags and __reserved.
7181 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7183 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7184 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7185 * sysdeps/s390/rtld-setjmp.S: Likewise.
7186 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7187 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7188 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7189 * sysdeps/s390/s390-32/setjmp.S: ... here.
7191 (__sigsetjmp): Remove setting __flags field.
7192 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7193 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7194 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7195 * sysdeps/s390/s390-64/setjmp.S: ... here.
7197 (__sigsetjmp): Remove setting __flags field.
7198 * sysdeps/s390/setjmp.S: Delete file.
7199 * sysdeps/s390/sigjmp.c: Likewise.
7200 * sysdeps/s390/v1-longjmp.c: Likewise.
7201 * sysdeps/s390/v1-setjmp.h: Likewise.
7202 * sysdeps/s390/v1-sigjmp.c: Likewise.
7203 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7204 Remove v1-longjmp_chk.
7205 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7206 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7207 Include debug/longjmp_chk.c and add versioning.
7208 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7209 Include nptl/pt-longjmp.c and add versioning.
7210 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7211 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7212 Include __longjmp.c.
7213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7215 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7216 (__getcontext): Remove setting __flags field.
7218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7219 Don't restore upper high grps.
7220 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7222 (__swapcontext): Remove setting uc_flags field.
7223 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7225 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7226 Include __longjmp.c.
7227 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7229 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7230 (__getcontext): Remove setting __flags field.
7232 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7233 (__swapcontext): Remove setting uc_flags field.
7234 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7235 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7236 Remove fields uc_high_gprs and __reserved.
7237 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7238 New file with reverted content.
7239 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7242 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7245 2014-07-31 Andreas Schwab <schwab@suse.de>
7247 * config.h.in (HAVE_IFUNC): Define to 0.
7248 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7251 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7254 memmove-avx-unaligned, memcpy-avx-unaligned and
7255 mempcpy-avx-unaligned.
7256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7257 Add tests for AVX memcpy functions.
7258 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7259 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7261 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7262 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7264 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7265 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7267 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7268 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7269 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7271 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7274 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7277 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7280 * manual/llio.texi: Add section about open file description locks.
7281 * manual/examples/ofdlocks.c: Example of open file description
7283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7284 F_OFD_SETLK, and F_OFD_SETLKW.
7286 2014-07-23 Allan McRae <allan@archlinux.org>
7288 * po/es.po: Update Spanish translation from translation project.
7290 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7292 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7294 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7297 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7298 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7299 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7301 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7304 * math/fesetenv.c (__fesetenv)
7305 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7306 * math/feupdateenv.c (__feupdateenv)
7307 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7309 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7310 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7311 (__ASSUME_SOCKETCALL): Do not define.
7313 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7314 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7315 (__ASSUME_SOCKETCALL): Do not define.
7316 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7317 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7318 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7319 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7320 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7321 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7323 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7325 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7326 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7327 (__ASSUME_SOCKETCALL): Do not define.
7328 (__ASSUME_IPC64): Define unconditionally.
7329 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7330 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7331 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7332 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7333 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7334 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7335 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7338 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7339 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7340 (__ASSUME_SOCKETCALL): Do not define.
7341 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7342 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7343 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7344 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7345 (__ASSUME_REQUEUE_PI): Define unconditionally.
7346 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7347 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7348 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7349 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7351 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7353 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7354 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7355 (__ASSUME_SOCKETCALL): Do not define.
7356 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7357 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7358 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7359 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7360 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7361 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7363 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7364 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7365 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7366 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7367 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7368 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7369 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7370 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7371 (__ASSUME_GETCPU_SYSCALL): Likewise.
7373 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7374 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7375 cases for individual architectures.
7376 * sysdeps/gnu/configure: Regenerated.
7377 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7378 LIBC_SLIBDIR_RTLDDIR.
7379 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7380 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7381 LIBC_SLIBDIR_RTLDDIR.
7382 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7384 LIBC_SLIBDIR_RTLDDIR.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7387 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7388 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7390 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7391 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7393 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7394 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7395 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7396 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7398 * sysdeps/aarch64/shlib-versions: Move to ...
7399 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7400 * sysdeps/alpha/shlib-versions: Move to ...
7401 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7402 * sysdeps/arm/shlib-versions: Move to ...
7403 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7404 * sysdeps/hppa/shlib-versions: Move all contents except for
7405 libgcc_s entry to ...
7406 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7408 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7409 * sysdeps/ia64/shlib-versions: Move to ...
7410 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7412 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7413 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7414 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7415 * sysdeps/microblaze/shlib-versions: Move to ...
7416 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7417 * sysdeps/mips/shlib-versions: Move to ...
7418 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7420 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7421 * sysdeps/tile/shlib-versions: Move to ...
7422 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7423 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7425 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7426 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7428 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7430 2014-07-17 Will Newton <will.newton@linaro.org>
7432 * sysdeps/arm/bits/atomic.h
7433 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7434 (__arch_compare_and_exchange_bool_16_int): Likewise.
7435 (__arch_compare_and_exchange_bool_64_int): Likewise.
7437 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7438 into an #else block.
7440 2014-07-16 Roland McGrath <roland@hack.frob.com>
7442 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7443 just Linux configurations. Test empirically that the compiler sets
7444 __ARM_EABI__, rather than using the tuple to decide.
7445 * sysdeps/arm/preconfigure: Regenerated.
7446 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7447 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7448 contents appended ...
7449 * sysdeps/arm/configure.ac: ... here.
7450 * sysdeps/arm/configure: Regenerated.
7452 2014-07-15 Roland McGrath <roland@hack.frob.com>
7454 * nptl/pthread_kill.c: New file.
7455 * nptl/pthread_sigmask.c: New file.
7456 * nptl/pthread_sigqueue.c: New file.
7458 * sysdeps/nptl/lowlevellock.h: New file.
7459 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7460 * sysdeps/nptl/lowlevellock-futex.h: New file.
7462 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7463 Remove dead declarations.
7465 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7467 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7468 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7470 * sysdeps/x86_64/configure.ac: Likewise.
7471 * sysdeps/i386/configure: Regenerated.
7472 * sysdeps/x86_64/configure: Likewise.
7473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7474 memset-avx2 only if config-cflags-avx2 is yes.
7475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7476 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7478 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7479 only if HAVE_AVX2_SUPPORT is defined.
7480 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7482 2014-07-14 Alan Modra <amodra@gmail.com>
7485 * elf/elf.h (DT_PPC64_NUM): Correct value.
7486 * NEWS: Add to fixed bug list.
7488 2014-07-13 Jim Meyering <meyering@fb.com>
7491 regex: don't deref NULL upon heap allocation failure
7492 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7493 failure in one more place.
7494 To trigger the segfault, configure grep -with-included-regex,
7495 build it, and run these commands:
7496 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7498 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7500 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7502 2014-07-11 Richard Henderson <rth@redhat.com>
7504 * sysdeps/aarch64/libm-test-ulps: Update.
7506 2014-07-10 Florian Weimer <fweimer@redhat.com>
7509 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7510 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7511 (__nptl_setxid): Initialize error member. Call
7512 __nptl_setxid_error.
7513 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7514 * nptl/descr.h (struct xid_command): Add error member.
7515 * nptl/tst-setuid3.c: New file.
7516 * nptl/Makefile (tests): Add it.
7518 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7520 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7522 (__lll_trylock): Use __lll_base_trylock.
7523 (__lll_cond_trylock): Likewise.
7525 2014-07-10 Roland McGrath <roland@hack.frob.com>
7527 * nptl/pthread_create.c (start_thread): Use atomic_or and
7528 lll_futex_wake directly rather than lll_robust_dead.
7529 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7530 (lll_robust_dead): Macro removed.
7531 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7532 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7533 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7534 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7535 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7536 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7537 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7538 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7539 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7540 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7541 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7542 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7543 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7544 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7545 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7547 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7548 Use atomic_compare_and_exchange_val_acq directly rather than
7550 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7551 (__lll_robust_trylock, lll_robust_trylock): Removed.
7552 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7553 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7554 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7555 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7556 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7557 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7558 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7559 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7561 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7562 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7563 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7564 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7565 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7567 2014-07-02 Florian Weimer <fweimer@redhat.com>
7569 * manual/locale.texi (Locale Names): New section documenting
7570 locale name syntax. Adjust menu and node chaining accordingly.
7571 (Choosing Locale): Reference Locale Names, Locale Categories.
7572 Mention setting LC_ALL=C. Reflect that name syntax is now
7574 (Locale Categories): New section title. Reference Locale Names.
7575 LC_ALL is an environment variable, but not a category.
7576 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7577 description, now in Locale Name. Reference that section. Locale
7578 name syntax is now documented.
7580 2014-07-02 Florian Weimer <fweimer@redhat.com>
7583 * locale/findlocale.c (name_present, valid_locale_name): New
7585 (_nl_find_locale): Use the loc_name variable to store name
7586 candidates. Call name_present and valid_locale_name to check and
7587 validate locale names. Return an error if the locale is invalid.
7589 2014-07-02 Florian Weimer <fweimer@redhat.com>
7591 * locale/setlocale.c (setlocale): Use strdup for allocating
7592 composite name copy.
7594 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7596 Sync up with gnulib.
7597 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7598 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7599 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7600 and _GL_ARG_NONNULL.
7601 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7602 [!_LIBC]: Include code for Windows and Cygwin.
7603 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7604 Include prototype for int strerror_r.
7605 [!_LIBC] (is_open): New function.
7606 (flush_stdout): New function.
7607 (print_errno_message): Use it.
7609 (error_at_line): Likewise.
7610 (error_tail) Add function attribute macros. Use
7613 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7615 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7617 * io/ftw.c: Include sys/param.h unconditionally.
7619 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7622 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7624 (freecache): New function to free CACHE on exit.
7626 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7629 2014-07-09 David S. Miller <davem@davemloft.net>
7631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7633 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7634 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7635 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7636 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7637 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7638 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7639 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7640 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7641 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7642 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7643 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7644 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7645 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7647 2014-07-09 Andreas Schwab <schwab@suse.de>
7649 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7651 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7652 (do_test): Likewise.
7654 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7656 2014-07-09 Will Newton <will.newton@linaro.org>
7658 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7659 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7660 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7661 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7662 * sysdeps/hppa/start.S (_start): Likewise.
7664 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7666 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7668 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7671 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7673 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7674 after checking that it is non-NULL.
7676 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7678 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680 * sysdeps/powerpc/memmove.c: Remove file.
7681 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7682 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7683 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7684 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7685 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7686 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7687 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7688 string memmove instead of removed powerpc one.
7690 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7691 [weak_alias]: Fix compiler warning due trailing data.
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7693 [weak_alias]: Likewise.
7694 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7695 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7698 (__libc_ifunc_impl_list): Add memmove functions.
7700 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7702 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7704 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7706 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7708 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7710 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7712 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7714 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7716 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7718 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7720 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7722 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7724 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7726 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7728 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7730 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7732 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7734 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7737 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7739 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7740 to avoid alignment traps in non-cacheable memory.
7741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7745 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7746 file: multiarch power7 memmove.
7747 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7748 multiarch default memmove.
7749 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7750 multiarch memove for powerpc32/power4.
7752 * string/bcopy.c: Use full path to include memmove.c.
7753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7755 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7756 bcopy for powerpc64.
7757 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7758 bcopy for powerpc64.
7759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7760 and memmove implementations.
7761 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7762 optimized multiarch memmove for POWER7/powerpc64.
7763 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7764 default multiarch memmove for powerpc64.
7765 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7766 multiarch for powerpc64.
7767 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7768 for POWER7/powerpc64.
7769 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7770 memmove for POWER7/powerpc64.
7772 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7775 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7776 __ELF_NATIVE_CLASS equal to 64.
7778 2014-07-07 Roland McGrath <roland@hack.frob.com>
7780 * sysdeps/nptl/lowlevellock.h: File removed.
7782 * NEWS: NPTL is no longer an add-on!
7783 * nptl/internaltypes.h: Moved ...
7784 * sysdeps/nptl/internaltypes.h: ... here.
7785 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7786 * sysdeps/nptl/fork.c: Likewise.
7787 * sysdeps/nptl/gai_misc.h: Likewise.
7788 * sysdeps/nptl/librt-cancellation.c: Likewise.
7789 * sysdeps/nptl/jmp-unwind.c: Likewise.
7790 * sysdeps/nptl/setxid.h: Likewise.
7791 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7792 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7793 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7794 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7795 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7796 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7797 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7798 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7799 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7800 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7801 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7802 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7803 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7804 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7805 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7806 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7807 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7808 * nptl/Makeconfig: Moved ...
7809 * sysdeps/nptl/Makeconfig: ... here.
7810 * nptl/configure: File removed.
7811 * nptl/ANNOUNCE: File removed.
7812 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7813 * sysdeps/unix/sysv/linux/configure: Regenerated.
7815 * nptl/Makefile (routines): Add libc_pthread_init,
7816 libc_multiple_threads, register-atfork and unregister-atfork.
7817 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7818 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7819 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7820 pthread-pi-defines.sym, structsem.sym.
7821 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7822 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7823 [$(subdir) = nptl] (tests): Add tst-setgetname.
7824 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7825 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7826 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7827 [!LIBC_SIGACTION]: Remove aliases.
7828 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7829 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7830 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7831 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7832 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7833 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7836 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7837 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7838 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7839 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7840 __libc_allocate_rtsig_private.
7841 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7842 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7843 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7844 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7845 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7846 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7847 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7848 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7849 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7850 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7851 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7852 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7853 * nptl/internaltypes.h: ... here.
7854 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7855 * sysdeps/nptl/jmp-unwind.c: ... here.
7856 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7857 * nptl/libc-lowlevellock.c: ... here.
7858 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7859 * nptl/libc_multiple_threads.c: ... here.
7860 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7861 * nptl/libc_pthread_init.c: ... here.
7862 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7863 * nptl/lowlevelbarrier.sym: ... here.
7864 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7865 * nptl/lowlevelcond.sym: ... here.
7866 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7867 * nptl/lowlevellock.c: ... here.
7868 * nptl/lowlevellock.h: Moved ...
7869 * sysdeps/nptl/lowlevellock.h: ... here.
7870 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7871 * nptl/lowlevelrobustlock.c: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7873 * nptl/lowlevelrobustlock.sym: ... here.
7874 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7875 * nptl/lowlevelrwlock.sym: ... here.
7876 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7877 * nptl/pt-fork.c: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7879 * nptl/pthread-pi-defines.sym: ... here.
7880 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7881 * nptl/pthread_attr_getaffinity.c: ... here.
7882 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7883 * nptl/pthread_attr_setaffinity.c: ... here.
7884 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7885 * nptl/pthread_mutex_cond_lock.c: ... here.
7886 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7888 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7889 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7890 * nptl/pthread_once.c: ... here, replacing old file.
7891 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7892 * nptl/pthread_yield.c: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7894 * nptl/register-atfork.c: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7896 * nptl/sem_post.c: ... here.
7897 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7898 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7899 * nptl/sem_timedwait.c: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7901 * nptl/sem_trywait.c: ... here.
7902 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7903 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7904 * nptl/sem_wait.c: ... here.
7905 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7906 * nptl/structsem.sym: ... here.
7907 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7908 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7909 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7910 * nptl/unregister-atfork.c: ... here.
7911 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7912 * nptl/unwindbuf.sym: ... here.
7913 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7914 * sysdeps/nptl/fork.c: ... here.
7915 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7916 * sysdeps/nptl/fork.h: ... here.
7917 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7918 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7919 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7921 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7923 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7925 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7926 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7927 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7929 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7930 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7931 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7933 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7934 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7935 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7936 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7937 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7938 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7939 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7940 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7941 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7942 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7943 * sysdeps/unix/sysv/linux/raise.c: ... here.
7944 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7945 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7946 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7947 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7948 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7949 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7950 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7951 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7952 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7953 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7954 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7955 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7956 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7957 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7958 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7960 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7962 * sysdeps/generic/memcopy.h: Add comment for
7963 MEMCPY_OK_FOR_FWD_MEMMOVE.
7965 2014-07-04 Will Newton <will.newton@linaro.org>
7967 * string/memchr.c: Merge from gnulib.
7968 [_LIBC]: Remove conditionals.
7969 (__ptr_t): Remove define.
7970 (LONG_MAX_32_BITS): Likewise.
7971 (LONG_MAX): Likewise.
7972 (MEMCHR): Use ANSI prototype and optimize algorithm.
7974 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7976 2014-07-03 Roland McGrath <roland@hack.frob.com>
7978 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7979 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7981 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7982 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7983 in a bare environment with no <stdlib.h> installed.
7984 * sysdeps/nptl/configure: Regenerated.
7986 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7988 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7989 AC_EGREP_CPP for kernel header checks, so they only succeed if
7990 including <linux/version.h> actually works right.
7991 * sysdeps/unix/sysv/linux/configure: Regenerated.
7993 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7994 value so it's not diagnosed as unused.
7996 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7997 thing) with "ifeq ($(subdir),rt)".
7999 2014-07-03 Richard Henderson <rth@redhat.com>
8001 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8002 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8003 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8005 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8006 (math_force_eval): New.
8008 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8009 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8011 * sysdeps/alpha/fpu/s_round.c: Remove file.
8012 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8014 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8015 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8016 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8017 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8018 (_dl_start, print_statistics): Likewise.
8019 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8020 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8022 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8023 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8024 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8025 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8027 (HP_SMALL_TIMING_AVAIL): Define.
8028 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8030 (HP_SMALL_TIMING_AVAIL): Define.
8031 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8032 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8034 * sysdeps/aarch64/hp-timing.h: New file.
8036 * sysdeps/generic/hp-timing.h: Remove dead comment.
8037 * sysdeps/generic/hp-timing-common.h: New file.
8038 * sysdeps/alpha/hp-timing.h: Include it.
8039 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8040 * sysdeps/i386/i686/hp-timing.h: Likewise.
8041 * sysdeps/ia64/hp-timing.h: Likewise.
8042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8044 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8045 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8046 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8047 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8050 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8051 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8052 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8053 * elf/rtld.c (_dl_start_final): Likewise.
8054 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8055 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8056 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8057 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8058 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8060 (HP_TIMING_DIFF_INIT): Remove.
8061 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8062 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8063 (HP_TIMING_DIFF_INIT): Remove.
8064 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8065 * sysdeps/i386/i686/hp-timing.c: Remove file.
8066 * sysdeps/x86_64/hp-timing.c: Remove file.
8067 * sysdeps/ia64/hp-timing.c: Remove file.
8068 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8069 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8071 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8073 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8074 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8075 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8076 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8078 (HP_TIMING_ACCUM): Remove.
8079 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8081 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8083 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8084 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8085 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8086 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8087 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8088 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8090 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8092 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8094 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8096 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8098 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8100 Sync up with gettext.
8101 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8102 [_MSC_VER]: Include malloc.h
8103 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8104 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8105 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8106 TEMP_FAILURE_RETRY. Cast return of alloca.
8107 [!_LIBC] Call gl_rwlock_init.
8108 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8110 2014-07-02 Roland McGrath <roland@hack.frob.com>
8112 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8113 before checking its value.
8115 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8117 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8119 * debug/memcpy_chk.c: Don't include pagecopy.h.
8120 * debug/mempcpy_chk.c: Likewise.
8121 * string/memcpy.c: Likewise.
8122 * string/memmove.c: Likewise.
8123 * sysdeps/powerpc/memmove.c: Likewise.
8124 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8125 definition of PAGE_COPY_FWD_MAYBE here...
8126 * sysdeps/generic/pagecopy.h: ... from here.
8127 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8129 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8130 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8136 (__libc_ifunc_impl_list): Likewise.
8137 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8138 multiarch strcat for PPC64.
8139 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8140 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8142 2014-07-02 Roland McGrath <roland@hack.frob.com>
8144 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8146 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8148 * intl/loadmsgcat.c: Remove declaration of
8149 get_sysdep_segment_value.
8150 (get_sysdep_segment_value): Use ISO C style.
8151 (_nl_load_domain): Use ISO C style. Get rid of redundant
8152 semicolon. Fix typo and formatting in comment.
8153 (_nl_unload_domain): Use ISO C style.
8155 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8157 2014-07-02 Will Newton <will.newton@linaro.org>
8159 * malloc/obstack.c: Merge from gnulib master.
8160 [HAVE_CONFIG_H]: Remove conditional code.
8161 [!_LIBC]: Include config.h.
8162 [!ELIDE_CODE]: Don't include inttypes.h, include
8163 stdint.h unconditionally.
8164 (print_and_abort): Mark as _Noreturn.
8165 (_obstack_allocated_p): Mark as __attribute_pure__.
8166 (obstack_free): Rename to __obstack_free.
8167 [!__attribute__]: Remove conditional code.
8168 * malloc/obstack.h: Merge from gnulib master.
8169 [__cplusplus]: Move conditional down.
8170 [!__attribute_pure__]: Define __attribute_pure__ here
8171 if it is not already defined.
8172 (_obstack_memory_used): Mark as __attribute_pure__.
8173 [!__obstack_free]: Define as obstack_free.
8174 [__GNUC__]: Remove check for ancient NeXT gcc.
8176 2014-07-02 Will Newton <will.newton@linaro.org>
8177 Paul Eggert <eggert@cs.ucla.edu>
8179 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8181 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8183 * resolv/gethnamaddr.c: Add comment warning that the file is
8186 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8188 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8191 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8192 entry for aio_cancel and aio_cancel64.
8193 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8194 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8195 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8196 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8197 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8198 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8199 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8200 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8201 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8202 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8203 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8204 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8205 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8207 2014-07-01 Roland McGrath <roland@hack.frob.com>
8209 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8210 * nptl/pthread_mutex_lock.c: Likewise.
8211 * nptl/pthread_mutex_timedlock.c: Likewise.
8212 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8214 2014-07-01 Richard henderson <rth@redhat.com>
8216 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8217 (__isnan, __isnanl): Remove.
8218 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8220 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8222 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8224 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8226 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8228 * resolv/nss_dns/dns-host.c (getanswer_r)
8229 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8231 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8233 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8234 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8236 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8237 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8239 2014-07-01 Roland McGrath <roland@hack.frob.com>
8241 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8242 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8244 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8245 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8247 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8248 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8250 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8251 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8253 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8254 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8255 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8256 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8258 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8259 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8260 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8261 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8262 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8264 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8266 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8267 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8269 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8270 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8271 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8272 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8273 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8275 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8276 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8277 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8279 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8280 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8281 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8282 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8283 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8284 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8285 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8287 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8288 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8290 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8291 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8292 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8293 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8294 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8296 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8298 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8299 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8300 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8303 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8307 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8309 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8310 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8312 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8314 * sysdeps/arm/libm-test-ulps: Regenerated.
8316 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8317 Roland McGrath <roland@hack.frob.com>
8319 * test-skeleton.c (signal_handler): Kill the whole process group
8320 before killing the child individually.
8321 (main): Report any failure on `setpgid'.
8323 2014-06-30 Roland McGrath <roland@hack.frob.com>
8325 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8326 from _TLS_H to _ARM_NPTL_TLS_H.
8327 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8328 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8330 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8333 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8334 (__expm1l): Return argument unchanged when small but not
8337 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8339 (_FP_UNPACK_RAW_1_P): Likewise.
8340 (_FP_PACK_RAW_1): Likewise.
8341 (_FP_PACK_RAW_1_P): Likewise.
8342 (_FP_MUL_MEAT_1_wide): Likewise.
8343 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8344 (_FP_MUL_MEAT_1_hard): Likewise.
8345 (_FP_DIV_MEAT_1_imm): Likewise.
8346 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8347 (_FP_DIV_MEAT_1_udiv): Likewise.
8348 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8349 (_FP_UNPACK_RAW_2): Likewise.
8350 (_FP_UNPACK_RAW_2_P): Likewise.
8351 (_FP_PACK_RAW_2): Likewise.
8352 (_FP_PACK_RAW_2_P): Likewise.
8353 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8354 (_FP_MUL_MEAT_2_wide): Likewise.
8355 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8356 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8357 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8358 (_FP_MUL_MEAT_2_gmp): Likewise.
8359 (_FP_DIV_MEAT_2_udiv): Likewise.
8360 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8361 (_FP_FRAC_SRL_4): Likewise.
8362 (_FP_FRAC_SRST_4): Likewise.
8363 (_FP_FRAC_SRS_4): Likewise.
8364 (_FP_UNPACK_RAW_4): Likewise.
8365 (_FP_UNPACK_RAW_4_P): Likewise.
8366 (_FP_PACK_RAW_4): Likewise.
8367 (_FP_PACK_RAW_4_P): Likewise.
8368 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8369 (_FP_MUL_MEAT_4_wide): Likewise.
8370 (_FP_MUL_MEAT_4_gmp): Likewise.
8371 (umul_ppppmnnn): Likewise.
8372 (_FP_DIV_MEAT_4_udiv): Likewise.
8373 (__FP_FRAC_ADD_4): Likewise.
8374 (__FP_FRAC_SUB_3): Likewise.
8375 (__FP_FRAC_SUB_4): Likewise.
8376 (__FP_FRAC_DEC_3): Likewise.
8377 (__FP_FRAC_DEC_4): Likewise.
8378 (__FP_FRAC_ADDI_4): Likewise.
8379 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8380 (_FP_FRAC_SRL_8): Likewise.
8381 (_FP_FRAC_SRS_8): Likewise.
8383 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8385 (FP_UNPACK_RAW_EP): Likewise.
8386 (FP_PACK_RAW_E): Likewise.
8387 (FP_PACK_RAW_EP): Likewise.
8388 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8389 (_FP_ISSIGNAN): Likewise.
8390 (_FP_ADD_INTERNAL): Likewise.
8391 (_FP_FMA): Likewise.
8392 (_FP_CMP): Likewise.
8393 (_FP_SQRT): Likewise.
8394 (_FP_TO_INT): Likewise.
8395 (_FP_FROM_INT): Likewise.
8396 (FP_EXTEND): Likewise.
8397 (_FP_DIV_MEAT_N_loop): Likewise.
8399 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8401 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8404 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8407 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8408 result with correct sign in case of exponents that produce
8409 overflow except for X very close to 1.
8411 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8413 mktime: merge #if/#ifdef usage from glibc
8414 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8415 as that works with both Glibc's and Gnulib's style.
8416 See thread starting at Siddhesh Poyarekar's bug report at:
8417 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8419 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8421 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8422 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8423 * sysdeps/tile/tilegx/memmove.c: Remove file.
8425 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8427 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8428 abi-name definition.
8429 * scripts/soversions.awk: Do not handle or generate ABI lines.
8430 * shlib-versions: Remove ABI entries.
8431 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8432 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8434 2014-06-27 Roland McGrath <roland@hack.frob.com>
8436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8437 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8438 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8441 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8444 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8447 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8449 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8451 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8455 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8457 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8477 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8479 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8481 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8484 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8486 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8492 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8494 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8495 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8497 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8499 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8500 Identical file removed.
8501 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8503 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8505 Identical file removed.
8506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8510 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8512 Identical file removed.
8513 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8514 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8516 Identical file removed.
8517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8520 Identical file removed.
8521 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8522 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8523 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8524 Identical file removed.
8525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8527 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8529 Identical file removed.
8530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8534 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8536 Identical file removed.
8537 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8539 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8541 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8542 Identical file removed.
8543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8545 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8547 Identical file removed.
8548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8550 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8552 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8558 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8559 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8561 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8562 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8563 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8564 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8565 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8567 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8570 * nscd/nscd.c (monitor_child): Return exit status of child
8571 instead of return value from wait syscall.
8573 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8575 * configure.ac (libc_commonpagesize): Remove variable.
8576 (libc_relro_required): Likewise.
8577 (libc_cv_z_relro): Remove configure test.
8578 * configure: Regenerated.
8579 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8581 (libc_relro_required): Likewise.
8582 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8583 (libc_relro_required): Likewise.
8584 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8585 (libc_relro_required): Likewise.
8586 * sysdeps/arm/preconfigure: Regenerated.
8587 * sysdeps/ia64/preconfigure: Remove file.
8588 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8590 (libc_relro_required): Likewise.
8594 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8595 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8596 recompute overflowing results in original rounding mode.
8597 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8598 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8599 recompute overflowing results in original rounding mode.
8600 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8601 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8602 recompute overflowing results in original rounding mode.
8603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8604 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8605 recompute overflowing results in original rounding mode.
8606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8607 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8608 recompute overflowing results in original rounding mode.
8609 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8610 (libc_feholdsetround_ctx): New macro.
8611 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8612 * sysdeps/i386/fpu/libm-test-ulps: Update.
8613 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8615 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8617 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8618 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8619 corresponding .cpsetup call.
8621 2014-06-26 Roland McGrath <roland@hack.frob.com>
8623 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8624 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8625 * sysdeps/arm/Makefile [$(subdir) = csu]
8626 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8627 (static-only-routines): Add aeabi_read_tp here.
8628 (shared-only-routines): Add libc-aeabi_read_tp here.
8629 (CFLAGS-libc-start.c): Add -fexceptions here.
8630 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8631 (sysdep_routines, static-only-routines, shared-only-routines):
8632 Don't add to these here.
8633 (CFLAGS-libc-start.c): Likewise.
8635 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8636 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8637 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8638 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8639 * sysdeps/arm/Makefile [$(subdir) = rt]
8640 (librt-sysdep_routines, librt-shared-only-routines):
8641 Append rt-aeabi_unwind_cpp_pr1 here.
8642 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8643 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8644 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8645 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8646 Append nptl-aeabi_unwind_cpp_pr1 here.
8647 (tests): Filter out tst-cleanupx4 here.
8648 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8649 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8650 Don't do those here.
8652 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8654 * scripts/list-sources.sh: Do not handle ports specially.
8656 2014-06-26 Roland McGrath <roland@hack.frob.com>
8658 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8659 * sysdeps/arm/feupdateenv.c: Likewise.
8661 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8663 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8665 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8666 trailing whitespace removed.
8667 * scripts/config.guess: Update to version 2014-03-23.
8668 * scripts/config.sub: Update to version 2014-05-01
8669 * scripts/install-sh: Update to version 2013-12-25.23.
8670 * scripts/move-if-change: Update from gnulib.
8672 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8674 * debug/memmove_chk.c: Remove pagecopy.h include.
8676 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8678 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8679 identical to gnulib mktime.
8681 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8683 * configure.ac: Do not test for machine being rs6000. Do not test
8685 * configure: Regenerated.
8687 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8689 * configure: Regenerated.
8690 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8691 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8692 Remove configure test.
8693 * sysdeps/arm/configure: Regenerated.
8694 * sysdeps/nptl/configure.ac: Do not check
8695 libc_cv_asm_cfi_directives.
8696 * sysdeps/nptl/configure: Regenerated.
8697 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8698 * sysdeps/x86_64/nptl/configure: Remove generated file.
8699 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8701 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8703 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8705 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8706 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8707 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8710 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8711 instead of whether it is defined.
8712 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8713 * sysdeps/hppa/dl-machine.h: Likewise.
8714 * sysdeps/ia64/dl-machine.h: Likewise.
8715 * sysdeps/m68k/dl-machine.h: Likewise.
8716 * sysdeps/microblaze/dl-machine.h: Likewise.
8717 * sysdeps/mips/dl-machine.: Likewise.
8718 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8719 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8720 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8721 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8722 * sysdeps/sh/dl-machine.h: Likewise.
8723 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8724 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8725 * sysdeps/tile/dl-machine.h: Likewise.
8726 * sysdeps/x86_64/dl-machine.h: Likewise.
8728 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8730 (verify_persistent_db): Likewise.
8732 2014-06-26 Roland McGrath <roland@hack.frob.com>
8734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8735 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8740 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8745 Identical file removed.
8746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8747 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8751 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8753 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8755 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8758 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8760 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8765 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8767 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8769 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8771 Identical file removed.
8772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8773 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8775 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8778 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8781 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8785 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8792 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8795 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8797 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8800 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8804 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8806 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8807 * sysdeps/unix/sysv/linux/s390/Versions
8808 (libpthread: GLIBC_2.19): New version set.
8809 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8811 (librt: GLIBC_2.3.3): New version set.
8812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8813 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8814 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8815 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8816 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8817 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8818 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8819 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8820 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8821 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8822 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8823 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8824 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8825 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8826 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8827 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8828 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8829 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8830 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8831 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8832 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8833 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8834 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8836 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8838 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8840 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8842 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8843 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8848 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8850 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8852 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8856 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8859 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8860 (__libc_vfork): Define the function under this name.
8861 [!NOT_IN_libc] (__vfork): Make this an alias.
8862 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8864 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8865 (__libc_vfork): Define the function under this name.
8866 [!NOT_IN_libc] (__vfork): Make this an alias.
8867 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8868 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8869 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8872 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8874 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8875 code that was previously under [RESET_PID].
8876 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8877 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8880 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8881 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8882 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8883 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8884 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8885 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8886 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8887 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8888 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8889 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8892 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8894 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8895 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8914 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8916 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8917 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8918 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8920 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8922 2014-06-25 Roland McGrath <roland@hack.frob.com>
8924 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8925 that was previously under [RESET_PID].
8926 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8928 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8930 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8931 not undefine and redefine.
8932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8933 [O_CLOEXEC]: Make code unconditional.
8934 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8935 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8936 <kernel-features.h>.
8937 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8938 conditional variable definition.
8939 (shm_open) [O_CLOEXEC]: Make code unconditional.
8940 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8943 * configure.ac (USE_REGPARMS): Don't define here.
8944 * configure: Regenerated.
8945 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8946 * sysdeps/i386/configure: Regenerated.
8948 * nptl/createthread.c: Don't include kernel-features.h.
8949 * nptl/pthread_cancel.c: Likewise.
8950 * nptl/pthread_condattr_setclock.c: Likewise.
8951 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8952 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8953 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8954 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8955 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8956 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8957 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8960 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8961 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8962 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8963 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8964 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8965 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8966 * nscd/gai.c: Likewise.
8967 * nss/nss_db/db-open.c: Likewise.
8968 * sysdeps/generic/ldsodefs.h: Likewise.
8969 * sysdeps/sh/nptl/tls.h: Likewise.
8970 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8971 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8972 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8973 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8974 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8975 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8976 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8977 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8979 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8980 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8981 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8982 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8983 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8984 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8985 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8986 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8987 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8988 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8989 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8990 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8991 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8992 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8993 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8995 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8996 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8998 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8999 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9000 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9001 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9002 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9003 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9004 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9005 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9006 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9007 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9008 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9009 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9010 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9011 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9012 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9013 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9014 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9015 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9016 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9017 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9018 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9019 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9020 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9021 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9022 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9023 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9024 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9025 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9026 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9027 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9050 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9051 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9052 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9053 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9054 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9057 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9058 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9059 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9060 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9061 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9062 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9063 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9064 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9065 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9066 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9067 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9068 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9069 * sysdeps/unix/sysv/linux/system.c: Likewise.
9070 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9071 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9072 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9073 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9074 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9075 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9076 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9078 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9079 * configure: Regenerated.
9080 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9082 * configure.ac (base_machine): Do not set specially for particular
9084 * configure: Regenerated.
9085 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9086 settings from configure.ac.
9087 * sysdeps/i386/preconfigure: New file.
9088 * sysdeps/s390/preconfigure: Likewise.
9089 * sysdeps/sh/preconfigure: Likewise.
9090 * sysdeps/sparc/preconfigure: Likewise.
9092 2014-06-25 Roland McGrath <roland@hack.frob.com>
9094 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9095 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9096 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9097 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9098 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9099 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9100 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9101 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9102 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9103 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9104 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9105 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9106 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9107 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9108 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9111 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9112 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9114 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9115 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9116 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9117 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9118 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9119 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9120 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9121 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9122 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9123 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9124 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9125 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9126 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9127 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9128 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9129 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9130 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9131 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9132 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9133 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9134 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9135 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9136 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9137 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9139 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9143 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9144 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9145 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9147 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9148 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9149 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9151 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9154 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9156 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9159 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9162 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9164 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9167 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9173 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9176 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9179 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9181 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9184 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9186 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9188 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9190 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9192 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9195 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9198 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9200 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9203 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9205 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9207 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9212 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9215 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9217 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9220 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9224 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9226 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9228 * timezone/checktab.awk: Update from tzcode 2014e.
9229 * timezone/private.h: Likewise.
9230 * timezone/tzfile.h: Likewise.
9231 * timezone/zdump.c: Likewise.
9232 * timezone/zic.c: Likewise.
9234 * sysdeps/unix/sysv/linux/kernel-features.h
9235 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9236 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9237 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9238 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9239 Remove conditional code.
9241 2014-06-25 Will Newton <will.newton@linaro.org>
9243 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9244 (_dl_arm_cap_flags): Add HWCAP2 values.
9245 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9246 (_DL_HWCAP_COUNT): Increase to 37.
9247 (_DL_HWCAP_LAST): New define.
9248 (_DL_HWCAP2_LAST): New define.
9249 (_dl_procinfo): Add support for printing
9251 (_dl_string_hwcap): Use _dl_hwcap_string.
9253 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9257 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9259 * README: Do not mention ports directory.
9261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9263 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9264 <kernel-features.h>.
9265 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9266 conditional variable definition.
9267 (__futimes): Update comment.
9268 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9269 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9272 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9273 arguments close to 0.
9274 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9276 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9278 * math/auto-libm-test-in: Add more tests of exp10.
9279 * math/auto-libm-test-out: Regenerated.
9280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9282 * sysdeps/unix/sysv/linux/kernel-features.h
9283 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9284 * sysdeps/unix/sysv/linux/readv.c: Do not include
9285 <kernel-features.h>.
9286 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9287 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9288 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9290 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9292 * sysdeps/unix/sysv/linux/writev.c: Do not include
9293 <kernel-features.h>.
9294 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9295 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9296 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9298 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9301 2014-06-25 Will Newton <will.newton@linaro.org>
9303 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9304 comment changes throughout the file. Remove checks
9305 for HAVE_*_H definitions that are not required.
9306 (__gen_tempname): Call abort if an unknown kind value is
9309 2014-06-25 Andreas Schwab <schwab@suse.de>
9312 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9313 scalbln, scalblnf, scalblnl in libc.
9315 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9318 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9319 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9320 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9322 2014-06-24 Roland McGrath <roland@hack.frob.com>
9324 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9325 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9326 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9327 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9329 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9330 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9332 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9333 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9334 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9336 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9337 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9338 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9339 * sysdeps/x86/bits/semaphore.h: ... here.
9340 * sysdeps/x86/nptl/elide.h: Moved ...
9341 * sysdeps/x86/elide.h: ... here.
9342 * sysdeps/x86_64/nptl/Implies: File removed.
9343 * sysdeps/i386/nptl/Implies: File removed.
9345 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9348 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9349 return the argument for normal arguments with exponent below -64.
9350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9352 * math/auto-libm-test-in: Add another test of expm1.
9353 * math/auto-libm-test-out: Regenerated.
9356 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9357 calling __erfcl for arguments at least 16.
9358 * math/auto-libm-test-in: Add more tests of erf.
9359 * math/auto-libm-test-out: Regenerated.
9361 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9362 individual architectures.
9363 * sysdeps/unix/sysv/linux/configure: Regenerated.
9364 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9365 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9366 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9367 (ldd_rewrite_script): Define variable.
9368 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9373 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9374 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9375 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9376 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9377 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9378 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9379 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9380 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9382 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9385 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9386 Rename member __data.d to __data.__elision_data.
9388 2014-06-24 Wilco <wdijkstr@arm.com>
9390 * NEWS: Add 16918 to fixed bug list.
9392 2014-06-24 Wilco <wdijkstr@arm.com>
9394 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9396 2014-06-24 Wilco <wdijkstr@arm.com>
9398 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9399 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9400 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9401 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9402 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9403 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9404 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9407 2014-06-24 Wilco <wdijkstr@arm.com>
9409 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9411 2014-06-24 Wilco <wdijkstr@arm.com>
9413 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9414 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9415 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9416 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9418 2014-06-24 Wilco <wdijkstr@arm.com>
9421 * sysdeps/arm/feupdateenv.c (feupdateenv):
9422 Rewrite to reduce FPSCR accesses and fix return value.
9424 2014-06-24 Wilco <wdijkstr@arm.com>
9426 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9427 Optimize to avoid unnecessary FPSCR writes.
9428 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9429 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9430 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9431 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9433 2014-06-24 Wilco <wdijkstr@arm.com>
9435 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9436 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9437 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9438 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9439 Call libc_fetestexcept_vfp.
9440 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9441 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9442 __SOFTFP__ ifdef so that they can be built for softfp.
9444 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9446 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9447 argument type signed char.
9449 * Makerules (check-abi): Dump diff of symlist if the test
9452 2014-06-23 Roland McGrath <roland@hack.frob.com>
9454 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9457 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9458 Remove unused variable ST.
9460 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9464 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9465 small arguments before calling __expm1.
9466 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9467 small arguments before calling __expm1f.
9468 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9469 small arguments before calling __expm1l.
9470 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9472 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9473 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9474 spurious underflow for some cosh tests.
9475 * math/auto-libm-test-out: Regenerated.
9476 * sysdeps/i386/fpu/libm-test-ulps: Update.
9479 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9480 (__ieee754_y1): Set errno if return value overflows.
9481 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9482 (__ieee754_y1f): Set errno if return value overflows.
9483 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9484 (__ieee754_y1l): Set errno if return value overflows.
9485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9486 (__ieee754_y1l): Set errno if return value overflows.
9487 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9488 * math/auto-libm-test-out: Regenerated.
9490 * math/gen-auto-libm-tests.c: Document use of
9491 ignore-zero-inf-sign.
9492 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9493 (input_flags): Add ignore-zero-inf-sign.
9494 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9495 * math/gen-libm-test.pl (generate_testfile): Handle
9496 ignore-zero-inf-sign.
9497 * math/auto-libm-test-in: Mark some cpow tests with
9498 ignore-zero-inf-sign and some with xfail-rounding.
9499 * math/auto-libm-test-out: Regenerated.
9500 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9501 * sysdeps/i386/fpu/libm-test-ulps: Update.
9502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9505 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9506 overflowing or underflowing operations take place with sign of
9508 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9509 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9510 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9511 (__ieee754_pow): Recompute overflowing and underflowing results in
9512 original rounding mode.
9513 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9514 (__powl_helper): Allow negative argument X and scale negated value
9515 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9517 overflowing or underflowing operations take place with sign of
9519 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9521 * math/auto-libm-test-in: Add more tests of pow.
9522 * math/auto-libm-test-out: Regenerated.
9523 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9524 (pow_tonearest_test_data): Remove.
9525 (pow_test_tonearest): Likewise.
9526 (pow_towardzero_test_data): Likewise.
9527 (pow_test_towardzero): Likewise.
9528 (pow_downward_test_data): Likewise.
9529 (pow_test_downward): Likewise.
9530 (pow_upward_test_data): Likewise.
9531 (pow_test_upward): Likewise.
9532 (main): Don't call removed functions.
9533 * sysdeps/i386/fpu/libm-test-ulps: Update.
9534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536 2014-06-23 Roland McGrath <roland@hack.frob.com>
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9712 2014-06-23 Will Newton <will.newton@linaro.org>
9713 Wilco <wdijkstr@arm.com>
9715 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9716 implementation. Include get-rounding-mode.h.
9717 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9718 [!libc_feholdsetround_noex_ctx]: Define
9719 libc_feholdsetround_noex_ctx.
9720 [!libc_feholdsetround_noexf_ctx]: Define
9721 libc_feholdsetround_noexf_ctx.
9722 [!libc_feholdsetround_noexl_ctx]: Define
9723 libc_feholdsetround_noexl_ctx.
9724 (libc_feholdsetround_ctx): New function.
9725 (libc_feresetround_ctx): New function.
9726 (libc_feholdsetround_noex_ctx): New function.
9727 (libc_feresetround_noex_ctx): New function.
9729 2014-06-23 Roland McGrath <roland@hack.frob.com>
9731 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9732 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9733 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9734 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9735 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9736 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9738 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9739 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9740 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9741 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9742 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9743 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9745 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9747 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9750 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9752 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9755 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9758 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9760 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9762 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9764 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9767 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9770 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9772 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9775 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9777 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9779 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9780 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9781 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9782 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9783 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9786 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9802 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9809 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9813 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9815 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9816 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9822 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9824 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9830 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9834 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9835 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9838 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9839 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9840 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9841 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9842 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9844 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9847 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9848 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9849 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9850 (IPV6_PMTUDISC_INTERFACE): Likewise.
9851 (IPV6_PMTUDISC_OMIT): Likewise.
9853 2014-06-23 Andreas Schwab <schwab@suse.de>
9855 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9856 Remove unused errout label.
9858 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9860 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9861 macro: hardware supports Vector Crypto instructions.
9863 2014-06-23 Will Newton <will.newton@linaro.org>
9865 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9866 rather than __builtin_expect.
9868 * elf/dl-lookup.c (undefined_msg): Remove variable.
9869 (_dl_lookup_symbol_x): Replace undefined_msg with string
9872 * elf/dl-lookup.c (do_lookup_unique): New function.
9873 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9874 to a separate function.
9876 2014-06-23 Andreas Schwab <schwab@suse.de>
9879 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9880 before reading the next line.
9882 2014-06-23 Will Newton <will.newton@linaro.org>
9884 * test-skeleton.c (signal_handler): Use printf and %m
9885 rather than perror. Use printf rather than fprintf to
9886 stderr. Use puts rather than fputs to stderr.
9889 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9891 * nscd/nscd.c (thread_info_t): Remove typedef.
9892 (thread_info): Remove variable.
9894 2014-06-21 Allan McRae <allan@archlinux.org>
9896 * NEWS: Mention CVE-2014-4043.
9898 2014-06-20 Roland McGrath <roland@hack.frob.com>
9900 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9901 * nptl/smp.h: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9905 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9906 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9907 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9908 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9910 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9911 * nptl/stack-aliasing.h: New file.
9912 * sysdeps/i386/i686/stack-aliasing.h: New file.
9913 * sysdeps/i386/i686/nptl/Makefile: File removed.
9914 * sysdeps/x86_64/stack-aliasing.h: New file.
9915 * sysdeps/x86_64/nptl/Makefile
9916 (CFLAGS-pthread_create.c): Variable removed.
9918 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9919 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9921 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9922 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9925 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9928 (__ASSUME_SIGFRAME_V2): Remove macro.
9929 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9930 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9931 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9932 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9933 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9934 Declare as function. Remove conditional macro definitions.
9935 (__default_rt_sa_restorer): Likewise.
9936 (__default_sa_restorer_v1): Remove declaration.
9937 (__default_sa_restorer_v2): Likewise.
9938 (__default_rt_sa_restorer_v1): Likewise.
9939 (__default_rt_sa_restorer_v2): Likewise.
9940 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9941 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9942 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9944 2014-06-20 Roland McGrath <roland@hack.frob.com>
9946 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9947 (libpthread-routines): Add sysdep.
9948 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9949 * sysdeps/unix/sysv/linux/sparc/Versions
9950 (libpthread: GLIBC_2.3.3): New version set.
9951 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9952 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9953 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9954 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9955 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9956 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9958 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9959 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9960 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9961 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9962 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9964 * sysdeps/sparc/nptl/sem_init.c: ... here.
9965 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9966 * sysdeps/sparc/nptl/sem_post.c: ... here.
9967 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9968 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9969 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9970 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9972 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9973 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9974 (libpthread-routines): Add cpu_relax.
9975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9977 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9978 (librt: GLIBC_2.3.3): New version set.
9979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9980 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9981 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9982 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9985 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9988 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9990 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9992 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9994 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9996 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9999 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10003 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10007 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10011 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10015 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10019 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10022 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10028 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10030 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10033 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10035 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10039 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10041 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10042 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10043 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10044 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10045 * nscd/nscd.c: Likewise.
10046 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10047 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10048 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10049 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10051 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10052 <kernel-features.h>.
10053 (init_mq_netlink): Remove conditional have_sock_cloexec
10054 definitions. Remove code conditional on have_sock_cloexec < 0.
10055 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10056 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10057 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10058 <kernel-features.h>.
10059 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10060 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10062 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10065 Add tests for memset_chk and memset.
10067 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10070 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10073 * elf/tst-dl-iter-static.c: New file.
10074 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10076 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10079 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10081 * sysdeps/unix/sysv/linux/kernel-features.h
10082 (__ASSUME_F_GETOWN_EX): Remove macro.
10083 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10084 <kernel-features.h>.
10085 (miss_F_GETOWN_EX): Remove variable or macro.
10086 (do_fcntl): Do not check miss_F_GETOWN_EX.
10087 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10092 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10093 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10095 * sysdeps/unix/sysv/linux/kernel-features.h
10096 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10097 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10098 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10099 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10101 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10104 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10105 Fix calculation of the symbol's value.
10106 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10107 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10108 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10109 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10110 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10111 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10112 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10113 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10114 (modules-names): Add `tst-armtlsdescmod',
10115 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10116 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10117 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10118 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10119 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10120 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10121 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10122 ($(objpfx)tst-armtlsdescloc): New dependency.
10123 ($(objpfx)tst-armtlsdescextnow): Likewise.
10124 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10125 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10126 TLS scheme support.
10127 * sysdeps/arm/configure: Regenerate.
10129 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10131 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10132 (__atfct_seterrno_2): Likewise.
10133 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10134 <kernel-features.h>.
10135 (__ASSUME_ATFCTS): Do not undefine and redefine.
10136 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10137 (__have_atfcts): Remove conditional definition.
10138 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10139 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10140 unreachable if [__ASSUME_ATFCTS].
10141 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10142 not undefine and redefine.
10143 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10144 <kernel-features.h>.
10145 (faccessat) [__NR_faccessat]: Make code unconditional.
10146 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10147 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10148 <kernel-features.h>.
10149 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10150 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10151 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10152 <kernel-features.h>.
10153 (fchownat) [__NR_fchownat]: Make code unconditional.
10154 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10155 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10156 <kernel-features.h>.
10157 (futimesat) [__NR_futimesat]: Make code unconditional.
10158 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10159 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10160 <kernel-features.h>.
10161 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10162 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10163 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10164 <kernel-features.h>.
10165 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10166 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10167 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10168 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10169 <kernel-features.h>.
10170 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10171 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10172 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10173 <kernel-features.h>.
10174 (linkat) [__NR_linkat]: Make code unconditional.
10175 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10176 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10177 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10178 <kernel-features.h>.
10179 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10180 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10181 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10182 <kernel-features.h>.
10183 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10184 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10185 * sysdeps/unix/sysv/linux/openat.c: Do not include
10186 <kernel-features.h>.
10187 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10188 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10189 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10190 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10191 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10192 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10193 <kernel-features.h>.
10194 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10195 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10196 result of INLINE_SYSCALL directly, not via int variable.
10197 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10198 <kernel-features.h>.
10199 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10200 (renameat) [__NR_renameat]: Make code unconditional.
10201 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10202 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10203 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10204 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10205 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10206 (__ASSUME_ATFCTS): Do not undefine and redefine.
10207 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10208 <kernel-features.h>.
10209 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10210 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10211 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10212 <kernel-features.h>.
10213 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10214 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10215 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10216 (__ASSUME_ATFCTS): Do not undefine and redefine.
10217 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10218 <kernel-features.h>.
10219 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10220 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10221 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10222 <kernel-features.h>.
10223 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10224 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10226 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10228 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10230 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10233 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10234 constructed tree before returning error.
10235 * posix/bug-regexp36.c: Expand test case.
10237 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10240 * math/libm-test.inc (scalbln_test_date):
10241 Add errno expectations.
10242 * math/w_scalblnf.c: New File.
10243 Add wrapper which checks for setting errno to ERANGE.
10244 Add weak_alias for corresponding scalbln function.
10245 * math/w_scalbln.c: Likewise.
10246 * math/w_scalblnl.c: Likewise.
10247 * math/Makefile (libm-calls): Add w_scalbln.
10248 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10249 Remove weak_alias for corresponding scalbln function.
10250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10252 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10254 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10255 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10256 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10257 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10258 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10259 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10260 Remove long_double_symbol for scalblnl function in libm, libc.
10261 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10262 Add wrapper which checks for setting errno to ERANGE.
10263 Add long_double_symbol for scalblnl function in libm, libc.
10264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10265 Remove long_double_symbol for scalblnl in libm.
10266 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10267 Add wrapper which checks for setting errno to ERANGE.
10268 Add long_double_symbol for scalblnl function in libm.
10269 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10270 Do not use wrapper because of own implementation.
10272 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10274 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10275 3 bytes for __pad1 for x32.
10276 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10278 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10279 H.J. Lu <hongjiu.lu@intel.com>
10281 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10282 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10283 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10284 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10285 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10287 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10290 * posix/regcomp.c (parse_expression): Deallocate partially
10291 constructed tree before returning error.
10292 * posix/Makefile.c (tests): Add bug-regex36.
10293 (generated): Add bug-regex36.mtrace.
10294 (tests-special): Add $(objpfx)bug-regex36-mem.out
10295 (bug-regex36-ENV): New variable.
10296 ($(objpfx)bug-regex36-mem.out): New rule.
10297 * posix/bug-regex36.c: New file.
10299 2014-06-19 Will Newton <will.newton@linaro.org>
10301 * malloc/malloc.c (systrim): If extra is zero then return
10304 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10306 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10308 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10310 * sysdeps/aarch64/strchr.S: New file.
10312 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10315 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10316 from arguments -2 or below.
10317 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10318 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10320 2014-06-18 Andreas Schwab <schwab@suse.de>
10323 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10324 of a bracket expr not to run off the end of the string.
10325 * posix/Makefile (tests): Add tst-fnmatch3.
10326 * posix/tst-fnmatch3.c: New file.
10328 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10330 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10331 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10332 [$(cross-compiling) = no]: Likewise.
10333 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10334 [$(cross-compiling) = no]: Likewise.
10336 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10340 double, adjusted for any remainder from the high double.
10341 * math/libm-test.inc (nearbyint): Add tests.
10344 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10346 * nptl/sysdeps/powerpc/Makefile: Moved ...
10347 * sysdeps/powerpc/nptl/Makefile: ... here.
10348 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10349 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10350 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10351 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10352 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10353 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10354 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10355 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10356 * nptl/sysdeps/powerpc/tls.h: Moved ...
10357 * sysdeps/powerpc/nptl/tls.h: ... here.
10359 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10362 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10363 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10364 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10365 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10366 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10367 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10368 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10369 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10370 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10372 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10374 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10376 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10378 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10381 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10384 2014-06-16 Florian Weimer <fweimer@redhat.com>
10387 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10388 non-executed part of the test.
10390 2014-06-16 Andreas Schwab <schwab@suse.de>
10392 * string/bits/string2.h (strdup, strndup): Update feature guard.
10394 2014-06-14 David S. Miller <davem@davemloft.net>
10396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10398 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10400 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10401 that was previously under [RESET_PID].
10402 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10404 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10405 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10406 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10407 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10408 (__libc_vfork): New strong alias.
10409 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10411 2014-06-14 Andi Kleen <ak@linux.intel.com>
10413 * sysdeps/generic/elide.h: New file.
10415 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10417 * Makefile (installed-headers): Adjust path of pthread.h header.
10419 2014-06-13 Roland McGrath <roland@hack.frob.com>
10421 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10422 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10424 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10426 * nptl/sysdeps/s390/Makefile: Moved ...
10427 * sysdeps/s390/nptl/Makefile: ... here.
10428 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10429 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10430 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10431 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10432 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10433 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10434 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10435 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10436 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10437 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10438 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10439 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10440 * nptl/sysdeps/s390/tls.h: Moved ...
10441 * sysdeps/s390/nptl/tls.h: ... here.
10443 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10444 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10446 2014-06-13 David S. Miller <davem@davemloft.net>
10448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10451 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10455 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10456 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10457 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10458 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10459 Remove RESET_PID cpp guards.
10460 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10461 Remove RESET_PID cpp guards.
10462 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10464 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10466 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10469 2014-06-13 Andi Kleen <ak@linux.intel.com>
10471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10472 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10474 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10477 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10483 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10484 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10486 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10487 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10488 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10489 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10492 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10493 (pthread_rwlock_rdlock): Add elision.
10494 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10495 (pthread_rwlock_wrlock): Add elision.
10496 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10497 (pthread_rwlock_trywrlock): Add elision.
10498 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10499 (pthread_rwlock_tryrdlock): Add elision.
10500 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10501 (pthread_rwlock_tryrdlock): Add elision unlock.
10502 * nptl/sysdeps/pthread/pthread.h:
10503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10504 (PTHREAD_RWLOCK_INITIALIZER,
10505 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10506 Handle new elision field.
10507 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10508 * sysdeps/arm/nptl/bits/pthreadtypes.h
10509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10510 * sysdeps/sh/nptl/bits/pthreadtypes.h
10511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10512 * sysdeps/tile/nptl/bits/pthreadtypes.h
10513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10514 * sysdeps/a/nptl/bits/pthreadtypes.h
10515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10520 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10522 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10524 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10526 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10528 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10530 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10532 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10533 (elision_init): Set try_xbegin to zero when no RTM.
10534 * sysdeps/x86/nptl/bits/pthreadtypes.h
10535 (pthread_rwlock_t): Change __pad1 to __rwelision.
10536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10538 2014-06-13 Andi Kleen <ak@linux.intel.com>
10540 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10541 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10542 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10543 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10545 2014-06-13 Meador Inge <meadori@codesourcery.com>
10548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10549 that the cached result has been set before returning it.
10551 2014-06-12 Roland McGrath <roland@hack.frob.com>
10553 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10554 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10555 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10556 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10557 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10558 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10560 * nptl/sysdeps/sparc/Makefile: Moved ...
10561 * sysdeps/sparc/nptl/Makefile: ... here.
10562 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10563 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10564 * nptl/sysdeps/sparc/tls.h: Moved ...
10565 * sysdeps/sparc/nptl/tls.h: ... here.
10566 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10567 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10568 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10569 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10570 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10571 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10572 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10573 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10574 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10575 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10576 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10577 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10578 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10579 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10580 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10581 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10582 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10585 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10588 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10591 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10592 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10595 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10597 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10598 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10600 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10601 (struct list_links): Type removed.
10602 (struct thread_node, struct timer_node): Replace struct list_links
10603 with struct list_head.
10604 (list_unlink_ip): Likewise.
10605 * sysdeps/pthread/timer_routines.c
10606 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10607 (list_append, list_insbefore): Likewise.
10608 (list_init): Function removed.
10609 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10610 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10611 * sysdeps/pthread/Makefile: ... here, new file.
10613 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10614 * sysdeps/nptl/Implies: ... here.
10615 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10616 * nptl/sysdeps/pthread/list.h: Moved ...
10617 * include/list.h: ... here.
10618 * nptl/sysdeps/pthread/createthread.c: Moved ...
10619 * nptl/createthread.c: ... here.
10620 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10621 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10622 * nptl/pt-longjmp.c: ... here.
10623 * nptl/sysdeps/pthread/Makefile: Moved ...
10624 * sysdeps/nptl/Makefile: ... here.
10625 * nptl/sysdeps/pthread/Subdirs: Moved ...
10626 * sysdeps/nptl/Subdirs: ... here.
10627 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10628 * sysdeps/nptl/aio_misc.h: ... here.
10629 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10630 * sysdeps/nptl/bits/libc-lock.h: ... here.
10631 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10632 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10633 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10634 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10635 * nptl/sysdeps/pthread/configure: Moved ...
10636 * sysdeps/nptl/configure: ... here.
10637 * nptl/sysdeps/pthread/configure.ac: Moved ...
10638 * sysdeps/nptl/configure.ac: ... here.
10639 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10640 * sysdeps/nptl/gai_misc.h: ... here.
10641 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10642 * sysdeps/nptl/librt-cancellation.c: ... here.
10643 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10644 * sysdeps/nptl/malloc-machine.h: ... here.
10645 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10646 * sysdeps/nptl/pthread-functions.h: ... here.
10647 * nptl/sysdeps/pthread/pthread.h: Moved ...
10648 * sysdeps/nptl/pthread.h: ... here.
10649 * nptl/sysdeps/pthread/setxid.h: Moved ...
10650 * sysdeps/nptl/setxid.h: ... here.
10651 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10652 * sysdeps/nptl/sigfillset.c: ... here.
10653 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10654 * sysdeps/nptl/tcb-offsets.h: ... here.
10655 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10656 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10657 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10658 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10659 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10660 * sysdeps/pthread/allocalim.h: ... here.
10661 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10662 * sysdeps/pthread/bits/sigthread.h: ... here.
10663 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10664 * sysdeps/pthread/flockfile.c: ... here.
10665 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10666 * sysdeps/pthread/ftrylockfile.c: ... here.
10667 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10668 * sysdeps/pthread/funlockfile.c: ... here.
10669 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10670 * sysdeps/pthread/posix-timer.h: ... here.
10671 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10672 * sysdeps/pthread/timer_create.c: ... here.
10673 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10674 * sysdeps/pthread/timer_delete.c: ... here.
10675 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10676 * sysdeps/pthread/timer_getoverr.c: ... here.
10677 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10678 * sysdeps/pthread/timer_gettime.c: ... here.
10679 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10680 * sysdeps/pthread/timer_routines.c: ... here.
10681 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10682 * sysdeps/pthread/timer_settime.c: ... here.
10683 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10684 * sysdeps/pthread/tst-timer.c: ... here.
10685 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10686 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10688 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10689 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10691 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10692 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10693 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10694 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10695 Update #include target.
10696 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10697 * sysdeps/i386/i686/nptl/Makefile: ... here.
10698 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10699 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10700 Update #include target.
10701 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10702 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10703 * nptl/sysdeps/i386/Makefile: Moved ...
10704 * sysdeps/i386/nptl/Makefile: ... here.
10705 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10706 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10707 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10708 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10709 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10710 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10711 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10712 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10713 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10714 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10715 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10716 * nptl/sysdeps/i386/tls.h: Moved ...
10717 * sysdeps/i386/nptl/tls.h: ... here.
10719 * sysdeps/sh/Makefile [$(subdir) = csu]
10720 (gen-as-const-headers): Add tcb-offsets.sym.
10721 * nptl/sysdeps/sh/Makefile: File removed.
10722 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10723 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10724 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10725 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10726 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10727 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10728 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10729 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10730 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10731 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10732 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10733 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10734 * nptl/sysdeps/sh/tls.h: Moved ...
10735 * sysdeps/sh/nptl/tls.h: ... here.
10736 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10737 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10738 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10739 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10740 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10741 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10742 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10743 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10744 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10745 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10746 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10747 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10749 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10751 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10753 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10755 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10757 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10759 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10771 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10772 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10773 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10774 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10775 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10776 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10777 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10778 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10779 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10781 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10783 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10785 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10787 * posix/spawn_faction_addopen.c: Include string.h.
10789 2014-06-11 Roland McGrath <roland@hack.frob.com>
10791 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10792 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10793 * nptl/sysdeps/x86_64/Makefile: Moved ...
10794 * sysdeps/x86_64/nptl/Makefile: ... here.
10795 * nptl/sysdeps/x86_64/configure: Moved ...
10796 * sysdeps/x86_64/nptl/configure: ... here.
10797 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10798 * sysdeps/x86_64/nptl/configure.ac: ... here.
10799 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10800 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10801 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10802 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10803 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10804 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10805 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10806 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10807 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10808 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10809 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10810 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10811 * nptl/sysdeps/x86_64/tls.h: Moved ...
10812 * sysdeps/x86_64/nptl/tls.h: ... here.
10813 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10814 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10815 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10816 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10818 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10820 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10824 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10826 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10828 [POSIX] (off_t): Likewise.
10829 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10830 [POSIX] (S_ISBLK): Require macro.
10831 [POSIX] (S_ISCHR): Likewise.
10832 [POSIX] (S_ISDIR): Likewise.
10833 [POSIX] (S_ISFIFO): Likewise.
10834 [POSIX] (S_ISREG): Likewise.
10835 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10837 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10839 [POSIX] (time_t): Likewise.
10840 [POSIX] (timer_t): Likewise.
10842 2014-06-11 Florian Weimer <fweimer@redhat.com>
10845 * posix/spawn_int.h (struct __spawn_action): Make the path string
10846 non-const to support deallocation.
10847 * posix/spawn_faction_addopen.c
10848 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10849 * posix/spawn_faction_destroy.c
10850 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10851 path in all spawn_do_open actions.
10852 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10853 posix_spawn_file_actions_addopen.
10855 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10857 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10858 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10859 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10860 conditional code always true.
10861 (__libc_vfork): New alias.
10863 2014-06-11 Roland McGrath <roland@hack.frob.com>
10865 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10866 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10868 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10870 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10871 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10873 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10874 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10876 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10877 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10879 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10881 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10882 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10883 multiarch strcmp for PPC64.
10884 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10885 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10887 multiarch optimizations.
10888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10889 (__libc_ifunc_impl_list): Likewise.
10891 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10893 * benchtests/scripts/validate_benchout.py: New script.
10894 * benchtests/Makefile (bench-func): Call it.
10895 * benchtests/scripts/benchout.schema.json: New file.
10897 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10899 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10900 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10901 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10902 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10903 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10904 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10905 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10906 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10907 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10908 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10909 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10910 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10911 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10912 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10913 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10914 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11018 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11019 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11024 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11031 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11033 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11035 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11037 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11040 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11043 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11045 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11048 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11052 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11053 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11054 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11056 2014-06-10 Wilco <wdijkstr@arm.com>
11058 * math/test-fenv-return.c: New file.
11059 * math/Makefile: Add new test test-fenv-return.
11061 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11064 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11065 when x - 1 is zero.
11066 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11067 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11068 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11069 0.0L for an argument of 1.0L.
11070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11072 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11073 value when x - 1 is zero.
11074 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11075 * sysdeps/i386/fpu/libm-test-ulps: Update.
11076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11078 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11081 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11083 2014-06-09 Roland McGrath <roland@hack.frob.com>
11085 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11086 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11088 2014-06-09 Roland McGrath <roland@hack.frob.com>
11090 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11091 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11093 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11094 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11096 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11097 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11099 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11100 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11102 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11103 if not already defined.
11104 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11105 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11106 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11107 (TLS_INIT_TP): Use it.
11108 (TLS_DEFINE_INIT_TP): New macro.
11109 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11111 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11113 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11115 [POSIX] (IXANY): Likewise.
11116 [POSIX] (OLCUC): Likewise.
11117 [POSIX || POSIX2008] (CBAUD): Do not allow.
11118 [POSIX || POSIX2008] (DEFECHO): Likewise.
11119 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11120 [POSIX || POSIX2008] (ECHOKE): Likewise.
11121 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11122 [POSIX || POSIX2008] (EXTA): Likewise.
11123 [POSIX || POSIX2008] (EXTB): Likewise.
11124 [POSIX || POSIX2008] (FLUSHO): Likewise.
11125 [POSIX || POSIX2008] (LOBLK): Likewise.
11126 [POSIX || POSIX2008] (PENDIN): Likewise.
11127 [POSIX || POSIX2008] (SWTCH): Likewise.
11128 [POSIX || POSIX2008] (VDISCARD): Likewise.
11129 [POSIX || POSIX2008] (VDSUSP): Likewise.
11130 [POSIX || POSIX2008] (VLNEXT): Likewise.
11131 [POSIX || POSIX2008] (VREPRINT): Likewise.
11132 [POSIX || POSIX2008] (VSTATUS): Likewise.
11133 [POSIX || POSIX2008] (VWERASE): Likewise.
11134 (B*): Change to B[0123456789]*.
11135 * conform/data/time.h-data [POSIX || UNIX98]
11136 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11137 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11138 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11139 [POSIX] (tm_*): Do not allow.
11141 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11143 * Makefile (install): Don't set LANGUAGE.
11144 * Makefile.in (install): Likewise.
11145 * assert/Makefile (test-assert-ENV): Remove variable.
11146 (test-assert-perr-ENV): Likewise.
11147 * elf/Makefile (neededtest4-ENV): Likewise.
11148 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11149 [$(cross-compiling) = no]: Don't set LANGUAGE.
11150 * io/ftwtest-sh (LANG): Remove variable.
11151 * libio/Makefile (tst-widetext-ENV): Likewise.
11152 * manual/install.texi (Running make install): Don't refer to
11153 environment settings for make install.
11154 * INSTALL: Regenerated.
11155 * nptl/tst-tls6.sh: Don't set LANG.
11156 * posix/globtest.sh (LANG): Remove variable.
11157 * string/Makefile (tester-ENV): Likewise.
11158 (inl-tester-ENV): Likewise.
11159 (noinl-tester-ENV): Likewise.
11160 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11161 [$(cross-compiling) = no]: Don't set LANGUAGE.
11162 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11163 without explicit environment settings.
11165 2014-06-06 Roland McGrath <roland@hack.frob.com>
11167 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11168 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11169 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11170 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11172 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11174 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11175 other files in the crypt directory.
11176 * crypt/crypt.c: Remove duplicate includes.
11177 * crypt/crypt-entry.c: Likewise.
11178 * crypt/crypt_util.c: Likewise.
11180 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11182 * Makeconfig (run-program-env): New variable.
11183 (run-program-prefix-before-env): Likewise.
11184 (run-program-prefix-after-env): Likewise.
11185 (run-program-prefix): Define in terms of new variables.
11186 (built-program-cmd-before-env): New variable.
11187 (built-program-cmd-after-env): Likewise.
11188 (built-program-cmd): Define in terms of new variables.
11189 (test-program-prefix-before-env): New variable.
11190 (test-program-prefix-after-env): Likewise.
11191 (test-program-prefix): Define in terms of new variables.
11192 (test-program-cmd-before-env): New variable.
11193 (test-program-cmd-after-env): Likewise.
11194 (test-program-cmd): Define in terms of new variables.
11195 * Rules (make-test-out): Use $(run-program-env).
11196 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11197 (help): Do not mention environment variables. Mention
11198 --timeoutfactor option.
11199 (timeoutfactor): New variable.
11200 (blacklist_exports): Remove function.
11201 (exports): Remove variable.
11202 (command): Do not include ${exports}.
11203 * manual/install.texi (Configuring and compiling): Do not mention
11204 test wrappers preserving environment variables. Mention that last
11205 assignment to a variable must take precedence.
11206 * INSTALL: Regenerated.
11207 * benchtests/Makefile (run-bench): Use $(run-program-env).
11208 * catgets/Makefile ($(objpfx)test1.cat): Use
11209 $(built-program-cmd-before-env), $(run-program-env) and
11210 $(built-program-cmd-after-env).
11211 ($(objpfx)test2.cat): Do not specify environment variables
11213 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11214 $(run-program-env) and $(built-program-cmd-after-env).
11215 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11216 $(run-program-env) and $(test-program-cmd-after-env).
11217 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11219 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11220 run_program_env and test_program_cmd_after_env arguments.
11221 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11222 * elf/tst-pathopt.sh: Use run_program_env argument.
11223 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11224 $(test-wrapper-env) and $(run-program-env).
11225 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11226 run_program_env arguments.
11227 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11228 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11229 $(test-program-prefix-before-env), $(run-program-env) and
11230 $(test-program-prefix-after-env).
11231 ($(objpfx)tst-gettext2.out): Likewise.
11232 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11233 run_program_env and test_program_prefix_after_env arguments.
11234 * intl/tst-gettext2.sh: Likewise.
11235 * intl/tst-gettext4.sh: Do not set environment variables
11237 * intl/tst-gettext6.sh: Likewise.
11238 * intl/tst-translit.sh: Likewise.
11239 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11240 $(test-program-prefix-before-env), $(run-program-env) and
11241 $(test-program-prefix-after-env).
11242 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11243 run_program_env and test_program_prefix_after_env arguments.
11244 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11245 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11246 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11247 explicitly with each use of ${test_wrapper_env}.
11248 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11249 $(test-program-prefix-before-env), $(run-program-env) and
11250 $(test-program-prefix-after-env).
11251 * posix/tst-getconf.sh: Do not set environment variables
11253 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11254 run_program_env and test_program_prefix_after_env arguments.
11255 * stdio-common/tst-printf.sh: Do not set environment variables
11257 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11258 $(test-program-prefix-before-env), $(run-program-env) and
11259 $(test-program-prefix-after-env).
11260 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11261 run_program_env and test_program_prefix_after_env arguments.
11262 Split $test calls into $test_pre and $test.
11263 * timezone/Makefile (build-testdata): Use
11264 $(built-program-cmd-before-env), $(run-program-env) and
11265 $(built-program-cmd-after-env).
11267 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11269 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11270 strlen for non SHARED builds.
11272 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11274 * nptl/allocatestack.c (check_list): Inlined function...
11275 (__reclaim_stacks): ... here.
11277 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11280 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11283 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11285 * Rules (make-test-out): Include
11286 LOCPATH=$(common-objpfx)localedata in default environment.
11287 * debug/Makefile (tst-chk1-ENV): Remove variable.
11288 (tst-chk2-ENV): Likewise.
11289 (tst-chk3-ENV): Likewise.
11290 (tst-chk4-ENV): Likewise.
11291 (tst-chk5-ENV): Likewise.
11292 (tst-chk6-ENV): Likewise.
11293 (tst-lfschk1-ENV): Likewise.
11294 (tst-lfschk2-ENV): Likewise.
11295 (tst-lfschk3-ENV): Likewise.
11296 (tst-lfschk4-ENV): Likewise.
11297 (tst-lfschk5-ENV): Likewise.
11298 (tst-lfschk6-ENV): Likewise.
11299 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11300 (tst-iconv7-ENV): Likewise.
11301 * intl/Makefile (LOCPATH-ENV): Likewise.
11302 (tst-codeset-ENV): Likewise.
11303 (tst-gettext3-ENV): Likewise.
11304 (tst-gettext5-ENV): Likewise.
11305 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11306 (tst-fopenloc-ENV): Likewise.
11307 (tst-fgetws-ENV): Remove variable.
11308 (tst-ungetwc1-ENV): Likewise.
11309 (tst-ungetwc2-ENV): Likewise.
11310 (bug-ungetwc2-ENV): Likewise.
11311 (tst-swscanf-ENV): Likewise.
11312 (bug-ftell-ENV): Likewise.
11313 (tst-fgetwc-ENV): Likewise.
11314 (tst-fseek-ENV): Likewise.
11315 (tst-ftell-partial-wide-ENV): Likewise.
11316 (tst-ftell-active-handler-ENV): Likewise.
11317 (tst-ftell-append-ENV): Likewise.
11318 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11319 (tst-regexloc-ENV): Likewise.
11320 (bug-regex1-ENV): Likewise.
11321 (tst-regex-ENV): Likewise.
11322 (tst-regex2-ENV): Likewise.
11323 (bug-regex5-ENV): Likewise.
11324 (bug-regex6-ENV): Likewise.
11325 (bug-regex17-ENV): Likewise.
11326 (bug-regex18-ENV): Likewise.
11327 (bug-regex19-ENV): Likewise.
11328 (bug-regex20-ENV): Likewise.
11329 (bug-regex22-ENV): Likewise.
11330 (bug-regex23-ENV): Likewise.
11331 (bug-regex25-ENV): Likewise.
11332 (bug-regex26-ENV): Likewise.
11333 (bug-regex30-ENV): Likewise.
11334 (bug-regex32-ENV): Likewise.
11335 (bug-regex33-ENV): Likewise.
11336 (bug-regex34-ENV): Likewise.
11337 (bug-regex35-ENV): Likewise.
11338 (tst-rxspencer-ENV): Likewise.
11339 (tst-rxspencer-no-utf8-ENV): Likewise.
11340 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11341 (tst-sscanf-ENV): Likewise.
11342 (tst-swprintf-ENV): Likewise.
11343 (tst-swscanf-ENV): Likewise.
11344 (test-vfprintf-ENV): Likewise.
11345 (scanf13-ENV): Likewise.
11346 (bug14-ENV): Likewise.
11347 (tst-grouping-ENV): Likewise.
11348 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11349 (tst-strtod3-ENV): Likewise.
11350 (tst-strtod4-ENV): Likewise.
11351 (tst-strtod5-ENV): Likewise.
11352 (testmb2-ENV): Likewise./
11353 * string/Makefile (tst-strxfrm-ENV): Likewise.
11354 (tst-strxfrm2-ENV): Likewise.
11355 (bug-strcoll1-ENV): Likewise.
11356 (test-strcasecmp-ENV): Likewise.
11357 (test-strncasecmp-ENV): Likewise.
11358 * time/Makefile (tst-strptime-ENV): Likewise.
11359 (tst-ftime_l-ENV): Likewise.
11360 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11361 (tst-mbrtowc-ENV): Likewise.
11362 (tst-wcrtomb-ENV): Likewise.
11363 (tst-mbrtowc2-ENV): Likewise.
11364 (tst-c16c32-1-ENV): Likewise.
11365 (tst-mbsnrtowcs-ENV): Likewise.
11367 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11369 * manual/resource.texi (How to get information about the memory
11370 subsystem?): Fix typo.
11371 Reported by Peon de la Parra Ivan <peon@keba.com>
11373 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11376 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11377 (pthread_spin_lock): Branch out of spin loop to proper location.
11378 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11379 (pthread_spin_lock): Likewise.
11381 * nptl/tst-spin4.c: New test.
11382 * nptl/Makefile (tests): Add tst-spin4.
11384 2014-06-03 Andreas Schwab <schwab@suse.de>
11387 * resolv/res_send.c (send_dg): Reload file descriptor after
11390 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11392 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11394 2014-06-03 Richard Henderson <rth@redhat.com>
11396 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11397 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11398 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11399 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11400 in the SAVE_PID block.
11401 (__libc_vfork): New alias.
11402 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11404 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11405 child in registers, not on the stack. Remove RESET_PID conditionals.
11406 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11408 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11410 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11412 2014-06-03 Wilco <wdijkstr@arm.com>
11414 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11415 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11416 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11417 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11418 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11421 2014-06-03 Wilco <wdijkstr@arm.com>
11423 * sysdeps/aarch64/fpu/math_private.h
11424 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11425 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11426 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11427 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11430 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11432 * crypt/crypt-private.h: Include ufc-crypt.h.
11433 (__b64_from_24bit): Declare extern.
11434 * crypt/crypt_util.c(__b64_from_24bit): New function.
11435 (b64t): New static const variable.
11436 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11437 (b64t): Remove variable.
11438 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11439 * crypt/sha256-crypt.c: Include crypt-private.h.
11440 (b64t): Remove variable.
11441 (__sha256_crypt_r): Remove b64_from_24bit and replace
11442 with __b64_from_24bit.
11443 * crypt/sha512-crypt.c: Likewise.
11445 2014-06-02 Roland McGrath <roland@hack.frob.com>
11447 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11448 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11449 Label the code __libc_vfork rather than __vfork.
11450 [!NOT_IN_libc] (vfork): Define as weak alias.
11451 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11452 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11453 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11455 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11457 * malloc/malloc.c (malloc_info): Fix format specifier for
11460 2014-06-02 Wilco <wdijkstr@arm.com>
11462 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11465 2014-06-02 Wilco <wdijkstr@arm.com>
11468 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11469 Rewrite to reduce FPCR/FPSR accesses.
11471 2014-06-01 David S. Miller <davem@davemloft.net>
11473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11475 2014-05-31 David S. Miller <davem@davemloft.net>
11477 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11478 to occur in round to nearest mode when |x| >= 2.0
11480 2014-05-30 Richard Henderson <rth@twiddle.net>
11482 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11483 (PSEUDO_RET_NOERRNO): Remove.
11484 (ret): Don't redefine.
11485 (ret_NOERRNO): Define in terms of ret.
11486 (ret_ERRVAL): Likewise.
11488 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11489 use of PSEUDO_RET; perform the error check directly.
11491 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11493 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11496 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11498 * malloc/malloc (malloc_info): Fix formatting.
11500 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11501 Roland McGrath <roland@hack.frob.com>
11503 * malloc/malloc (malloc_info): Also print mmapped statistics.
11505 2014-05-30 Roland McGrath <roland@hack.frob.com>
11507 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11508 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11510 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11512 * malloc/malloc.c (malloc_info): Inline mi_arena.
11514 2014-05-29 Richard Henderson <rth@twiddle.net>
11516 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11517 Remove comma before expanding ASM_ARGS_##nr.
11518 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11519 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11521 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11522 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11523 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11524 (ASM_ARGS_1): Add leading comma.
11526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11527 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11528 to __errno_location.
11529 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11530 Remove the expected plt for __errno_location.
11532 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11533 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11537 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11538 it and break it down.
11539 (DOCARGS_0, DOCARGS_1): Do nothing.
11540 (DOCARGS_2): Update to store into the new stack frame.
11541 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11542 (UNDOCARGS_1): Update to restore from the new stack frame.
11543 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11544 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11547 (SINGLE_THREAD_P): New parameter for result regno.
11548 (PSEUDO): Update to match; use cbz instead of beq.
11550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11551 Use ENTRY to define the _nocancel entry point. Share the syscall
11552 and syscall error check paths with the cancel path.
11555 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11556 whitespace; tabs before and after asm mnemonics.
11558 2014-05-29 Eric Wong <normalperson@yhbt.net>
11561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11562 Call fstat64 or stat64 internally, depending on arguments passed.
11563 Replace stat buffer argument with file descriptor argument.
11564 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11565 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11566 Pass fd to __internal_statvfs instead of calling fstat64.
11567 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11568 Pass fd to __internal_statvfs64 instead of calling fstat64.
11569 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11570 Pass -1 to __internal_statvfs instead of calling stat64.
11571 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11572 Pass -1 to __internal_statvfs64 instead of calling stat64.
11574 2014-05-28 Roland McGrath <roland@hack.frob.com>
11576 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11577 that was previously under [RESET_PID].
11578 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11580 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11581 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11583 2014-05-27 Roland McGrath <roland@hack.frob.com>
11585 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11587 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11588 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11590 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11592 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11594 2014-05-27 Andreas Schwab <schwab@suse.de>
11596 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11598 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11599 * elf/rtld.c (init_tls, dl_main): Likewise.
11600 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11601 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11602 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11603 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11604 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11605 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11606 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11607 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11608 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11609 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11610 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11611 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11612 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11613 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11614 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11615 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11616 * sysdeps/generic/tls.h: Update description.
11618 2014-05-27 Will Newton <will.newton@linaro.org>
11621 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11622 and restore r2 rather than just restoring.
11624 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11627 * libio/tst-ftell-append.c: New test case.
11628 * libio/Makefile (tests): Add test case.
11629 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11631 * libio/wfileops.c (do_ftell_wide): Likewise.
11633 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11637 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11641 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11642 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11643 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11644 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11645 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11646 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11653 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11654 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11655 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11656 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11657 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11659 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11660 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11662 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11664 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11666 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11667 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11668 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11670 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11671 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11672 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11673 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11696 conditional [RESET_PID].
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11705 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11706 (__libc_vfork): New strong alias.
11707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11714 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11715 (__libc_vfork): New strong alias.
11716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11721 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11723 * malloc/malloc.c (mi_arena): New function.
11724 (malloc_info): Remove nested function mi_arena. Call non-nosted
11727 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11729 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11731 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11732 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11733 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11734 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11736 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11737 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11739 2014-05-26 Andreas Schwab <schwab@suse.de>
11742 * locale/programs/repertoire.c (repertoire_read): Add slash
11743 between I18NPATH element and file name.
11744 * locale/programs/locfile.c (locfile_read): Likewise.
11746 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11748 * nptl/pthread_mutexattr_settype.c
11749 (__pthread_mutexattr_settype):
11750 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11752 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11754 * nptl/tst-mutex5 (do_test):
11755 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11757 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11759 * benchtests/README: Document 'init' directive.
11760 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11762 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11763 (parse_file): Recognize 'init' directive.
11765 2014-05-26 Kyle McMartin <kyle@redhat.com>
11768 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11769 alignment of struct pthread.
11771 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11774 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11775 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11776 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11777 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11779 2014-05-25 Richard Henderson <rth@twiddle.net>
11781 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11782 (SINGLE_THREAD_P_PIC): Remove.
11783 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11784 (SINGLE_THREAD_P_PIC): Remove.
11786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11787 branch to syscall error ...
11788 (PSEUDO): ... here.
11789 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11790 from __local_syscall_error to .Lsyscall_error.
11791 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11792 (SYSCALL_ERROR): Update label name.
11794 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11795 Do not use DOARGS/UNDOARGS.
11796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11797 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11798 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11799 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11800 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11802 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11805 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11806 define if !NOT_IN_libc.
11807 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11808 define with non-default symbol versions.
11810 2014-05-23 Richard Henderson <rth@twiddle.net>
11812 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11813 (vfork, __vfork): Define via compat_symbol.
11815 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11816 [!HAVE_IFUNC] (vfork_compat): Remove.
11817 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11819 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11822 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11823 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11826 2014-05-23 Richard Henderson <rth@twiddle.net>
11828 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11829 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11830 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11831 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11833 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11834 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11835 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11836 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11837 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11838 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11839 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11840 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11841 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11842 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11843 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11844 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11845 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11846 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11847 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11848 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11849 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11850 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11851 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11852 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11853 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11854 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11855 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11856 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11857 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11858 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11859 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11860 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11861 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11862 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11863 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11864 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11865 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11866 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11867 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11868 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11869 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11870 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11872 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11873 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11874 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11875 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11876 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11877 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11878 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11879 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11880 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11881 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11882 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11883 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11884 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11886 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11887 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11888 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11890 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11891 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11892 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11893 before exiting on error.
11894 (__libc_vfork): New strong alias.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11896 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11898 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11899 that was previously under [RESET_PID].
11900 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11902 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11904 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11907 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11908 value when x - 1 is zero.
11909 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11910 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11911 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11912 0.0L for an argument of 1.0L.
11913 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11915 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11916 value when x - 1 is zero.
11917 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11918 * sysdeps/i386/fpu/libm-test-ulps: Update.
11919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11921 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11923 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11924 alphasort and versionsort.
11926 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11930 [copysignf]: Likewise.
11932 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11934 * crypt/md5-crypt.c: Fix formatting.
11936 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11938 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11939 (b64_from_24bit): New function.
11941 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11944 libc_hidden_builtin_def to ifunc.
11945 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11946 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11948 2014-05-21 Roland McGrath <roland@hack.frob.com>
11950 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11951 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11953 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11955 * nscd/Depend (linuxthreads): Remove.
11957 * resolv/Depend (linuxthreads): Remove.
11958 * rt/Depend (linuxthreads): Remove.
11960 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11961 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11962 $(common-objpfx)elf/.
11963 (link-libc-before-gnulib): Likewise.
11964 (elfobjdir): Remove variable.
11965 * Makefile (install): Use $(elf-objpfx) instead of
11966 $(common-objpfx)elf/.
11967 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11969 (link-libc-deps): Likewise.
11970 ($(common-objpfx)libc.so): Likewise.
11971 ($(common-objpfx)linkobj/libc.so): Likewise.
11972 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11973 instead of $(common-objpfx)elf/.
11974 (symbolic-link-list): Likewise.
11975 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11976 [$(cross-compiling) = no]: Likewise.
11977 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11979 (static-gnulib-arch): Likewise.
11980 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11981 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11982 $(common-objpfx)elf/.
11984 2014-05-21 Richard Henderson <rth@redhat.com>
11986 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11987 (SINGLE_THREAD_P): Use the correct width load. Fold
11988 into the ldr offset.
11990 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11991 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11993 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11995 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11996 (libgcc_s_resume): Use __attribute_used__.
11997 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12000 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12002 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12003 optimization when used with float constants.
12005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12007 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12010 * locale/nl_langinfo_l.c: Make direct reference to every
12011 _nl_current_CATEGORY symbol.
12012 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12013 (tests-static): Add tst-langinfo-static.
12014 (tests-special): Add tst-langinfo-static.out.
12015 ($(objpfx)tst-langinfo.out): Redirect output.
12016 ($(objpfx)tst-langinfo-static.out): New.
12017 * localedata/tst-langinfo.sh: Send output to stdout.
12018 * localedata/tst-langinfo-static.c: New file.
12021 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12022 when the shift amount is modulo the limb size.
12024 2014-05-20 Richard Henderson <rth@redhat.com>
12027 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12028 Change type of sa_flags from unsigned int to int.
12031 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12033 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12035 2014-05-20 Will Newton <will.newton@linaro.org>
12037 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12038 Test the return value of the system call in the nocancel case.
12040 2014-05-20 Will Newton <will.newton@linaro.org>
12041 Yvan Roux <yvan.roux@linaro.org>
12043 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12044 #include of asm/ptrace.h.
12045 (PTRACE_GET_THREAD_AREA): Remove #undef.
12046 (PTRACE_GETHBPREGS): Likewise.
12047 (PTRACE_SETHBPREGS): Likewise.
12048 (struct user_regs_struct): New structure.
12049 (struct user_fpsimd_struct): New structure.
12050 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12051 #include of asm/ptrace.h and second #include of sys/user.h.
12052 (PTRACE_GET_THREAD_AREA): Remove #undef.
12053 (PTRACE_GETHBPREGS): Likewise.
12054 (PTRACE_SETHBPREGS): Likewise.
12055 (ELF_NGREG): Use new struct user_regs_struct.
12056 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12058 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12060 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12061 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12063 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12067 membar to avoid block loads/stores to overlap previous stores.
12069 2014-05-17 Richard Henderson <rth@redhat.com>
12071 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12072 Create the __##syscall_name##_nocancel entry point.
12073 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12074 Remove; let the sysdep-cancel.h code create it.
12076 2014-05-17 David S. Miller <davem@davemloft.net>
12078 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12079 Protect with __USE_GNU.
12080 (TIOCSET_TEMPT): Likewise.
12081 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12082 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12083 these are already provided in bits/ioctl-types.h
12085 2014-05-16 Roland McGrath <roland@hack.frob.com>
12087 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12088 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12090 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12091 Use wait4 regardless of [__NR_waitpid].
12093 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12096 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12097 (_FP_NANSIGN_Q): Set the quiet bit.
12099 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12101 * benchtests/Makefile
12102 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12103 not $(common-objpfx)math/libm.so.
12104 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12105 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12106 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12107 $(common-objpfx)dlfcn/libdl.so.
12108 ($(objpfx)tst-audit8): Depend on $(libm), not
12109 $(common-objpfx)math/libm.so.
12110 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12111 not $(common-objpfx)dlfcn/libdl.so.
12113 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12114 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12115 [$(build-shared) = yes].
12116 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12117 $(common-objpfx)nptl/libpthread.so.
12118 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12119 $(common-objpfx)math/libm.so$(libm.so-version) or
12120 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12121 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12122 $(common-objpfx)dlfcn/libdl.so.
12123 * setjmp/Makefile (link-libm): Remove variable.
12124 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12125 * stdio-common/Makefile (link-libm): Remove variable.
12126 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12127 * stdlib/Makefile (link-libm): Remove variable.
12128 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12129 ($(objpfx)tst-strtod-round): Likewise.
12130 ($(objpfx)tst-tininess): Likewise.
12131 ($(objpfx)tst-strtod-underflow): Likewise.
12132 ($(objpfx)tst-strtod6): Likewise.
12133 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12134 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12135 $(common-objpfx)dlfcn/libdl.so.
12137 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12139 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12140 BSD terminal modes definitions.
12142 2014-05-16 Roland McGrath <roland@hack.frob.com>
12144 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12145 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12147 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12148 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12149 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12150 Don't do #include_next.
12151 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12152 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12153 Don't do #include_next.
12154 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12155 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12156 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12157 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12159 2014-05-16 Allan McRae <allan@archlinux.org>
12161 * po/sv.po: Update Swedish translation from translation project.
12163 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12166 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12169 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12170 errno if the TIOCGPTN ioctl fails with an error different than
12172 * login/tst-ptsname.c: New file.
12173 * login/Makefile (tests): Add tst-ptsname.
12176 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12179 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12183 herrno to return EAI_AGAIN.
12185 2014-05-14 Roland McGrath <roland@hack.frob.com>
12187 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12188 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12189 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12192 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12193 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12194 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12195 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12196 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12208 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12209 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12210 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12211 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12212 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12213 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12214 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12215 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12216 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12218 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12220 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12223 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12225 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12227 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12229 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12231 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12233 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12235 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12237 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12239 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12241 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12243 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12245 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12247 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12249 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12252 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12268 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12273 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12277 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12278 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12279 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12280 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12281 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12282 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12283 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12284 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12285 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12286 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12287 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12288 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12289 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12290 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12291 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12292 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12293 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12294 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12295 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12296 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12297 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12298 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12299 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12300 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12301 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12302 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12303 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12304 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12305 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12306 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12307 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12309 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12310 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12312 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12313 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12314 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12316 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12320 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12322 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12325 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12328 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12330 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12331 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12335 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12339 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12342 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12347 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12348 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12350 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12353 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12358 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12359 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12361 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12365 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12367 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12370 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12373 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12375 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12378 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12379 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12380 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12381 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12382 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12383 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12384 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12387 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12392 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12393 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12395 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12403 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12404 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12406 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12407 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12408 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12409 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12410 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12411 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12416 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12419 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12422 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12424 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12425 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12426 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12427 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12429 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12431 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12435 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12438 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12441 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12443 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12444 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12446 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12455 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12457 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12459 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12461 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12463 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12465 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12466 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12468 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12469 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12471 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12472 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12473 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12475 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12477 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12478 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12479 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12480 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12481 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12482 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12483 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12484 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12485 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12487 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12490 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12492 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12495 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12497 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12499 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12513 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12515 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12517 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12519 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12521 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12523 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12525 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12526 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12527 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12528 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12529 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12531 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12532 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12534 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12535 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12536 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12537 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12538 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12539 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12540 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12545 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12546 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12548 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12550 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12551 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12552 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12553 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12554 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12556 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12557 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12558 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12589 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12596 that was previously under [RESET_PID].
12597 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12598 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12599 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12601 * sysdeps/i386/nptl/Implies: New file.
12602 * sysdeps/x86_64/nptl/Implies: New file.
12603 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12604 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12606 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12608 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12609 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12610 (__libc_vfork): New strong alias.
12611 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12612 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12614 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12615 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12616 (__libc_vfork): New strong alias.
12617 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12618 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12620 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12621 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12622 (__libc_vfork): New strong alias.
12623 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12624 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12625 * nptl/pt-vfork.c: New file.
12626 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12627 (libpthread: GLIBC_2.20): New version set (empty).
12629 2014-05-14 Will Newton <will.newton@linaro.org>
12631 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12634 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12637 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12638 arguments with exponent 65 or above.
12639 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12640 arguments 0x1p113L or above.
12641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12642 to arguments 0x1p107L or above.
12643 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12644 positive arguments with exponent 65 or above.
12645 * math/auto-libm-test-in: Add more tests of log1p.
12646 * math/auto-libm-test-out: Regenerated.
12649 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12650 non-finite arguments is +0.
12651 * math/s_cacosf.c (__cacosf): Likewise.
12652 * math/s_cacosl.c (__cacosl): Likewise.
12653 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12654 * sysdeps/i386/fpu/libm-test-ulps: Update.
12655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12658 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12660 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12661 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12662 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12663 for explicit high bit of mantissa when testing for argument equal
12665 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12666 * sysdeps/i386/fpu/libm-test-ulps: Update.
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12670 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12671 (__erf): Scale by 16 instead of 8 in potentially underflowing
12672 case. Ensure exception if result actually underflows.
12673 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12674 (__erff): Scale by 16 instead of 8 in potentially underflowing
12675 case. Ensure exception if result actually underflows.
12676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12677 (efx8): Remove variable.
12678 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12679 case. Ensure exception if result actually underflows.
12680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12681 (efx8): Remove variable.
12682 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12683 case. Ensure exception if result actually underflows.
12684 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12685 (efx8): Remove variable.
12686 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12687 case. Ensure exception if result actually underflows.
12688 * math/auto-libm-test-in: Add more tests of erf.
12689 * math/auto-libm-test-out: Regenerated.
12691 2014-05-14 Andreas Schwab <schwab@suse.de>
12693 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12694 Remove code conditionalized on USE___THREAD.
12696 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12697 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12700 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12703 Define unconditionally.
12704 (__ASSUME_O_CLOEXEC): Likewise.
12705 (__ASSUME_SOCK_CLOEXEC): Likewise.
12706 (__ASSUME_IN_NONBLOCK): Likewise.
12707 (__ASSUME_PIPE2): Likewise.
12708 (__ASSUME_EVENTFD2): Likewise.
12709 (__ASSUME_SIGNALFD4): Likewise.
12710 (__ASSUME_DUP3): Likewise.
12711 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12712 (__ASSUME_DUP3): Do not define.
12713 (__ASSUME_EVENTFD2): Likewise.
12714 (__ASSUME_IN_NONBLOCK): Likewise.
12715 (__ASSUME_O_CLOEXEC): Likewise.
12716 (__ASSUME_PIPE2): Likewise.
12717 (__ASSUME_SIGNALFD4): Likewise.
12718 (__ASSUME_SOCK_CLOEXEC): Likewise.
12719 (__ASSUME_UTIMES): Undefine.
12720 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12721 (__ASSUME_UTIMES): Do not define.
12722 (__ASSUME_O_CLOEXEC): Likewise.
12723 (__ASSUME_SOCK_CLOEXEC): Likewise.
12724 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12725 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12727 (__ASSUME_PIPE2): Likewise.
12728 (__ASSUME_EVENTFD2): Likewise.
12729 (__ASSUME_SIGNALFD4): Likewise.
12730 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12731 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12733 (__ASSUME_EVENTFD2): Likewise.
12734 (__ASSUME_SIGNALFD4): Likewise.
12735 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12736 (__ASSUME_32BITUIDS): Likewise.
12737 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12738 (__ASSUME_IPC64): Likewise.
12739 (__ASSUME_ST_INO_64_BIT): Likewise.
12740 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12741 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12742 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12743 (__ASSUME_UTIMES): Do not define.
12744 (__ASSUME_PSELECT): Likewise.
12745 (__ASSUME_PPOLL): Likewise.
12746 (__ASSUME_O_CLOEXEC): Likewise.
12747 (__ASSUME_SOCK_CLOEXEC): Likewise.
12748 (__ASSUME_IN_NONBLOCK): Likewise.
12749 (__ASSUME_PIPE2): Likewise.
12750 (__ASSUME_EVENTFD2): Likewise.
12751 (__ASSUME_SIGNALFD4): Likewise.
12752 (__ASSUME_DUP3): Likewise.
12753 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12754 (__ASSUME_UTIMES): Likewise.
12755 (__ASSUME_O_CLOEXEC): Likewise.
12756 (__ASSUME_SOCK_CLOEXEC): Likewise.
12757 (__ASSUME_IN_NONBLOCK): Likewise.
12758 (__ASSUME_PIPE2): Likewise.
12759 (__ASSUME_EVENTFD2): Likewise.
12760 (__ASSUME_SIGNALFD4): Likewise.
12761 (__ASSUME_DUP3): Likewise.
12762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12763 (__ASSUME_UTIMES): Likewise.
12764 (__ASSUME_O_CLOEXEC): Likewise.
12765 (__ASSUME_SOCK_CLOEXEC): Likewise.
12766 (__ASSUME_IN_NONBLOCK): Likewise.
12767 (__ASSUME_PIPE2): Likewise.
12768 (__ASSUME_EVENTFD2): Likewise.
12769 (__ASSUME_SIGNALFD4): Likewise.
12770 (__ASSUME_DUP3): Likewise.
12771 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12773 (__ASSUME_UTIMES): Likewise.
12774 (__ASSUME_EVENTFD2): Likewise.
12775 (__ASSUME_SIGNALFD4): Likewise.
12776 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12777 (__ASSUME_O_CLOEXEC): Likewise.
12778 (__ASSUME_SOCK_CLOEXEC): Likewise.
12779 (__ASSUME_IN_NONBLOCK): Likewise.
12780 (__ASSUME_PIPE2): Likewise.
12781 (__ASSUME_EVENTFD2): Likewise.
12782 (__ASSUME_SIGNALFD4): Likewise.
12783 (__ASSUME_DUP3): Likewise.
12784 (__ASSUME_UTIMES): Undefine.
12786 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12787 feclearexcept. Remove symbol versioning code.
12788 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12789 symbol versioning code.
12790 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12791 symbol versioning code.
12792 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12793 feupdateenv. Remove symbol versioning code.
12794 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12795 fegetexceptflag. Remove symbol versioning code.
12796 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12797 fesetexceptflag. Remove symbol versioning code.
12798 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12799 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12800 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12801 (__posix_fadvise64_l32): Remove prototype.
12802 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12805 2014-05-13 Roland McGrath <roland@hack.frob.com>
12807 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12808 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12809 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12810 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12812 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12814 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12815 current working directory
12817 2014-05-13 Roland McGrath <roland@hack.frob.com>
12819 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12820 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12821 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12822 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12823 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12824 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12825 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12826 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12827 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12828 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12829 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12830 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12831 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12832 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12833 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12834 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12835 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12836 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12838 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12840 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12841 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12842 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12843 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12844 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12846 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12847 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12848 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12849 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12850 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12852 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12853 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12854 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12855 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12857 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12858 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12859 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12860 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12862 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12863 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12865 * sysdeps/unix/sysv/linux/arm/Makefile
12866 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12867 Add rt-aeabi_unwind_cpp_pr1.
12868 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12869 Add nptl-aeabi_unwind_cpp_pr1.
12870 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12871 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12872 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12873 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12874 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12875 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12877 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12878 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12879 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12880 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12882 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12883 Deconditionalize the code that was previously under [RESET_PID].
12884 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12886 * sysdeps/generic/exit-thread.h: New file.
12887 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12888 * include/unistd.h (__exit_thread): Remove declaration.
12889 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12890 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12891 * csu/libc-start.c: Include <exit-thread.h>.
12892 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12893 * nptl/pthread_create.c: Include <exit-thread.h>.
12894 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12895 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12896 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12897 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12898 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12899 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12900 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12901 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12902 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12903 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12904 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12905 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12906 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12907 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12908 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12909 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12910 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12912 2014-05-13 Andreas Schwab <schwab@suse.de>
12914 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12916 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12918 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12919 (__ASSUME_UTIMES): Do not condition on kernel version.
12920 (__ASSUME_PSELECT): Define unconditionally.
12921 (__ASSUME_PPOLL): Likewise.
12922 (__ASSUME_ATFCTS): Likewise.
12923 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12924 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12925 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12926 (__ASSUME_UTIMENSAT): Define unconditionally.
12927 (__ASSUME_PRIVATE_FUTEX): Likewise.
12928 (__ASSUME_FALLOCATE): Likewise.
12929 (__ASSUME_O_CLOEXEC): Likewise.
12930 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12931 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12932 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12933 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12934 (__ASSUME_IN_NONBLOCK): Likewise.
12935 (__ASSUME_PIPE2): Likewise.
12936 (__ASSUME_EVENTFD2): Likewise.
12937 (__ASSUME_SIGNALFD4): Likewise.
12938 (__ASSUME_DUP3): Likewise.
12939 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12940 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12941 (__ASSUME_AT_RANDOM): Likewise.
12942 (__ASSUME_PREADV): Likewise.
12943 (__ASSUME_PWRITEV): Likewise.
12944 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12945 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12946 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12947 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12948 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12950 (__ASSUME_O_CLOEXEC): Define unconditionally.
12951 (__ASSUME_PSELECT): Do not undefine conditionally.
12952 (__ASSUME_PPOLL): Likewise.
12953 (__ASSUME_ATFCTS): Likewise.
12954 (__ASSUME_SET_ROBUST_LIST): Likewise.
12955 (__ASSUME_UTIMENSAT): Likewise.
12956 (__ASSUME_FDATASYNC): Define unconditionally.
12957 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12958 (__ASSUME_SIGFRAME_V2): Likewise.
12959 )__ASSUME_EVENTFD2): Likewise.
12960 (__ASSUME_SIGNALFD4): Likewise.
12961 (__ASSUME_PSELECT): Do not undefine conditionally.
12962 (__ASSUME_PPOLL): Likewise.
12963 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12964 (__ASSUME_PSELECT): Define unconditionally.
12965 (__ASSUME_PPOLL): Likewise.
12966 (__ASSUME_O_CLOEXEC): Likewise.
12967 (__ASSUME_SOCK_CLOEXEC): Likewise.
12968 (__ASSUME_IN_NONBLOCK): Likewise.
12969 (__ASSUME_PIPE2): Likewise.
12970 (__ASSUME_EVENTFD2): Likewise.
12971 (__ASSUME_SIGNALFD4): Likewise.
12972 (__ASSUME_DUP3): Likewise.
12973 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12974 (__ASSUME_O_CLOEXEC): Likewise.
12975 (__ASSUME_SOCK_CLOEXEC): Likewise.
12976 (__ASSUME_IN_NONBLOCK): Likewise.
12977 (__ASSUME_PIPE2): Likewise.
12978 (__ASSUME_EVENTFD2): Likewise.
12979 (__ASSUME_SIGNALFD4): Likewise.
12980 (__ASSUME_DUP3): Likewise.
12981 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12982 (__ASSUME_EVENTFD2): Likewise.
12983 (__ASSUME_SIGNALFD4): Likewise.
12984 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12986 2014-05-12 Andreas Schwab <schwab@suse.de>
12989 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12990 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12991 than maximum RPC packet size.
12992 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12993 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12994 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12995 (_nss_nis_getservbyport_r): Likewise.
12997 2014-05-12 Will Newton <will.newton@linaro.org>
12999 * malloc/Makefile (tests): Add tst-mallopt.
13000 * malloc/tst-mallopt.c: New file.
13002 2014-05-09 Roland McGrath <roland@hack.frob.com>
13004 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13005 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13007 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13009 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13010 (tst-tlsmod6.so): Likewise.
13012 2014-05-09 Roland McGrath <roland@hack.frob.com>
13014 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13016 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13019 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13020 and <dl-procinfo.h>.
13021 (__fegetenv): Save SSE state in envp->__eip if supported.
13022 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13023 envp->__eip if supported.
13024 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13025 and <dl-procinfo.h>.
13026 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13027 __data_offset and __data_selector in environment to 0. Set SSE
13028 state if supported.
13029 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13031 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13033 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13035 2014-05-09 Will Newton <will.newton@linaro.org>
13037 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13038 and libc_relro_required for ARM.
13039 * sysdeps/arm/preconfigure: Regenerate.
13041 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13042 Stefan Liebler <stli@linux.vnet.ibm.com>
13044 * config.make.in (enable-lock-elision): New Makefile variable.
13045 * configure.ac: Likewise.
13046 * configure: Regenerate.
13047 * sysdeps/s390/configure.ac:
13048 Add check for gcc transactions support.
13049 * sysdeps/s390/configure: Regenerate.
13050 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13051 Build elision files if enabled.
13052 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13053 Add lock elision support for s390.
13054 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13055 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13056 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13057 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13058 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13059 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13060 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13066 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13068 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13069 (__lll_timedlock_elision, __lll_lock_elision)
13070 (__lll_unlock_elision, __lll_trylock_elision)
13071 (lll_timedlock_elision, lll_lock_elision)
13072 (lll_unlock_elision, lll_trylock_elision): Add.
13073 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13074 (pthread_mutex_t): Add lock elision support for s390.
13076 2014-05-14 Wilco <wdijkstr@arm.com>
13078 * sysdeps/arm/fclrexcpt.c: Cleanup.
13079 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13080 * sysdeps/arm/feenablxcpt.c: Cleanup.
13081 * sysdeps/arm/fegetenv.c: Cleanup.
13082 * sysdeps/arm/fegetexcept.c: Cleanup.
13083 * sysdeps/arm/fegetround.c: Cleanup.
13084 * sysdeps/arm/feholdexcpt.c: Cleanup.
13085 * sysdeps/arm/fesetenv.c: Cleanup.
13086 * sysdeps/arm/fesetround.c: Cleanup.
13087 * sysdeps/arm/feupdateenv.c: Cleanup.
13088 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13089 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13090 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13091 * sysdeps/arm/ftestexcept.c: Cleanup.
13092 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13093 * sysdeps/arm/setfpucw.c: Cleanup.
13095 2014-05-09 Will Newton <will.newton@linaro.org>
13097 * sysdeps/arm/armv7/strcmp.S: New file.
13098 * NEWS: Mention addition of ARMv7 optimized strcmp.
13100 2014-05-08 Roland McGrath <roland@hack.frob.com>
13102 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13103 look for %.ac rather than %.in.
13105 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13106 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13107 * sysdeps/mach/hurd/configure: Regenerated.
13108 * sysdeps/unix/sysv/linux/configure: Regenerated.
13110 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13112 2014-05-07 Steve Ellcey <sellcey@mips.com>
13115 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13119 2014-05-07 Andreas Schwab <schwab@suse.de>
13121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13122 when skipping over non-matching result from nscd.
13124 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13127 * nptl/sockperf.c (client): Check socket return value.
13130 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13131 nscd security class.
13133 2014-05-06 Roland McGrath <roland@hack.frob.com>
13135 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13136 * sysdeps/arm/unwind.h: ... here.
13138 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13141 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13144 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13146 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13147 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13148 multiarch strncpy for PPC64.
13149 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13150 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13152 multiarch optimizations.
13153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13154 (__libc_ifunc_impl_list): Likewise.
13155 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13156 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13157 multiarch stpncpy for PPC64.
13158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13159 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13161 2014-05-06 Andreas Schwab <schwab@suse.de>
13164 * gmon/mcount.c (_MCOUNT_DECL): Use
13165 atomic_compare_and_exchange_bool_acq instead of
13166 catomic_compare_and_exchange_bool_acq.
13168 2014-05-05 Roland McGrath <roland@hack.frob.com>
13170 * elf/Makefile (others, install-bin): Remove pldd.
13171 (pldd-modules): Variable removed.
13172 ($(objpfx)pldd): Target removed.
13173 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13174 (others, install-bin): Append pldd here.
13175 ($(objpfx)pldd): New target.
13177 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13178 to 0, so the first #if test emitted later doesn't see it undefined.
13179 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13180 * sysdeps/gnu/errlist.c: Regenerated.
13182 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13185 [libc_hidden_builtin_def]: Define to empty value.
13186 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13187 [libc_hidden_builtin_def]: Likewise.
13188 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13189 [libc_hidden_builtin_def]: Likewise.
13190 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13191 [libc_hidden_builtin_def]: Likewise.
13192 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13193 __redirect_memcpy and define ifunc as default hidden symbol.
13194 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13197 2014-05-04 Adam Conrad <adconrad@0c3.net>
13199 * locale/iso-4217.def: Reintroduce XDR currency.
13201 2014-05-04 Allan McRae <allan@archlinux.org>
13203 * po/eo.po: Update Esperanto translation from translation project.
13205 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13207 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13208 and FEATURE_INDEX_MAX to 1.
13209 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13211 2014-05-01 Steve Ellcey <sellcey@mips.com>
13213 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13214 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13215 * iconvdata/big5.c (ONE_DIRECTION): Define.
13216 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13217 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13218 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13219 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13220 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13221 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13222 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13223 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13224 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13225 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13226 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13227 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13228 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13229 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13230 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13231 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13232 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13233 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13234 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13235 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13236 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13237 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13238 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13239 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13240 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13241 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13242 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13243 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13244 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13245 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13246 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13247 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13248 * iconvdata/johab.c (ONE_DIRECTION): Define.
13249 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13250 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13251 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13252 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13253 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13254 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13255 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13256 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13257 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13258 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13260 2014-05-01 Roland McGrath <roland@hack.frob.com>
13262 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13263 (_IO_JUMPS_OFFSET): Define to 0.
13265 * nptl/sysdeps/pthread/bits/libc-lock.h
13266 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13267 (__libc_lock_define_initialized_recursive): Always define using
13268 initializer. Modern compilers treat uninitialized (implicit zero) and
13269 explicit zero initializers the same (i.e. put the datum in bss).
13271 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13273 * nscd/nscd-client.h: Include <string.h>.
13275 2014-05-01 David S. Miller <davem@davemloft.net>
13278 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13279 multiple zero bytes exist at the end of a string.
13280 Reported by Aurelien Jarno <aurelien@aurel32.net>
13282 * string/test-strcmp.c (check): Add explicit test for situations where
13283 there are multiple zero bytes after the first.
13285 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13288 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13289 when compiling wprintf.
13290 * stdio-common/tstdiomisc.c (t3): New function.
13293 2014-05-01 Steve Ellcey <sellcey@mips.com>
13295 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13296 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13297 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13298 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13300 2014-05-01 Steve Ellcey <sellcey@mips.com>
13302 * stdlib/longlong.h: Updated from GCC.
13304 2014-05-01 Will Newton <will.newton@linaro.org>
13305 Bernard Ogden <bernie.ogden@linaro.org>
13307 * NEWS: Update fixed bug list.
13310 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13312 2014-04-30 David S. Miller <davem@davemloft.net>
13314 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13315 (libc_feholdexcept_setround_sparc_ctx): New function.
13316 (libc_fesetenv_sparc_ctx): Likewise.
13317 (libc_feupdateenv_sparc_ctx): Likewise.
13318 (libc_feholdsetround_sparc_ctx): Likewise.
13319 (libc_feholdexcept_setround_ctx): Define.
13320 (libc_feholdexcept_setroundf_ctx): Likewise.
13321 (libc_feholdexcept_setroundl_ctx): Likewise.
13322 (libc_fesetenv_ctx): Likewise.
13323 (libc_fesetenvf_ctx): Likewise.
13324 (libc_fesetenvl_ctx): Likewise.
13325 (libc_feupdateenv_ctx): Likewise.
13326 (libc_feupdateenvf_ctx): Likewise.
13327 (libc_feupdateenvl_ctx): Likewise.
13328 (libc_feresetround_ctx): Likewise.
13329 (libc_feresetroundf_ctx): Likewise.
13330 (libc_feresetroundl_ctx): Likewise.
13331 (libc_feholdsetround_ctx): Likewise.
13332 (libc_feholdsetroundf_ctx): Likewise.
13333 (libc_feholdsetroundl_ctx): Likewise.
13335 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13336 with __USE_GNU instead of XOPEN cpp guards.
13338 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13342 with XOPEN cpp guards.
13344 2014-04-30 Julian Brown <julian@codesourcery.com>
13347 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13350 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13353 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13355 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13356 * sysdeps/unix/sysv/linux/configure: Regenerated.
13357 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13358 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13359 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13360 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13361 * README: Update reference to required Linux kernel version.
13362 * manual/install.texi (Linux): Update reference to required Linux
13363 kernel headers version.
13364 * INSTALL: Regenerated.
13366 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13368 [POSIX] (limits.h): Likewise.
13369 [POSIX] (math.h): Likewise.
13370 [POSIX] (sys/wait.h): Likewise.
13371 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13373 [POSIX] (stddef.h): Do not allow header inclusion.
13375 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13377 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13379 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13381 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13382 Return immediately after lll_futex_wake.
13384 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13387 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13389 (datahead_init_pos): Call datahead_init_common early.
13390 (datahead_init_neg): Likewise.
13392 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13393 datahead_init_neg): New functions.
13394 * nscd/aicache.c (addhstaiX): Use them.
13395 * nscd/grpcache.c (cache_addgr): Likewise.
13396 * nscd/hstcache.c (cache_addhst): Likewise.
13397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13398 * nscd/netgroupcache.c (do_notfound): Likewise.
13399 (addgetnetgrentX): Likewise.
13400 (addinnetgrX): Likewise.
13401 * nscd/pwdcache.c (cache_addpw): Likewise.
13402 * nscd/servicescache.c (cache_addserv): Likewise.
13404 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13405 Atsushi Onoe <atsushi@onoe.org>
13410 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13411 one response is valid.
13412 * resolv/res_send.c (send_dg): Check for validity of other
13413 response if the current response is a referral.
13415 2014-04-29 Steve Ellcey <sellcey@mips.com>
13417 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13419 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13422 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13423 Always divide by positive zero when computing -Inf result.
13424 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13425 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13427 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13429 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13430 FPSCR if value do not change.
13431 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13432 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13433 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13434 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13435 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13436 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13439 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13441 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13442 * sysdeps/unix/sysv/linux/hppa: Move directory from
13443 ports/systeps/unix/sysv/linux/hppa.
13444 * README: Update listing for hppa-*-linux-gnu.
13446 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13449 * manual/stdio.texi (Hook functions): Fix types of stream hook
13452 * socket/sys/socket.h: Fix typo in comment.
13454 2014-04-28 Wilco <wdijkstr@arm.com>
13456 * sysdeps/arm/fenv_private.h: New file.
13457 * sysdeps/arm/math_private.h: New file.
13458 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13460 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13462 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13464 (La_x86_64_retval): Likewise.
13466 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13468 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13469 fpsr if value didn't change.
13470 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13471 to fpcr if value didn't change.
13472 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13473 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13474 fpsr or fpcr if value didn't change.
13475 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13476 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13477 fpcr if value didn't change.
13478 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13479 to fpsr if value didn't change.
13481 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13483 * nptl/tst-sem3.c: Use test-skeleton.c
13484 (main): Rename to do_test. Use return instead of
13486 * nptl/tst-sem4.c: Use test-skeleton.c
13487 (main): Rename to do_test.
13489 2014-04-22 David S. Miller <davem@davemloft.net>
13491 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13492 (struct sigaction): New struct member __glibc_reserved0, change
13493 type of sa_flags to int.
13495 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13497 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13498 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13500 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13502 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13503 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13505 2014-04-22 Will Newton <will.newton@linaro.org>
13506 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13508 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13509 (__longjmp): Add longjmp and longjmp_target SystemTap
13511 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13512 (__sigsetjmp): Add setjmp SystemTap probe.
13514 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13516 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13517 match manual order.
13519 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13521 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13523 * sysdeps/powerpc/fpu/fenv_private.h
13524 (libc_feholdexcept_setroundl_ctx): Define to
13525 libc_feholdexcept_setround_ppc_ctx.
13526 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13527 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13528 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13529 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13531 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13533 * sysdeps/aarch64/math-tests.h: New file.
13535 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13537 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13540 Check and set bit_AVX2_Usable.
13541 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13543 (bit_AVX2): Likewise.
13544 (index_AVX2_Usable): Likewise.
13545 (CPUID_AVX2): Likewise.
13546 (HAS_AVX2): Likewise.
13548 2014-04-17 Will Newton <will.newton@linaro.org>
13550 * manual/setjmp.texi (System V contexts): Add note that
13551 calling setcontext on a context created by a call to a
13552 signal handler is undefined. Update text to note that
13553 setcontext from a signal handler is possible but not
13557 * stdlib/tst-setcontext.c: Include signal.h.
13558 (main): Check that the signal stack before and
13559 after swapcontext is the same.
13561 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13562 Re-implement to restore registers in user code and avoid
13563 rt_sigreturn system call.
13565 2014-04-17 Wilco <wdijkstr@arm.com>
13567 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13568 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13569 * math/test-fenv.c: Skip exception trap tests on targets which only
13570 support non-stop mode.
13572 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13573 Wilco Dijkstra <wilco.dijkstra@arm.com>
13575 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13576 (libc_feholdsetround_aarch64_ctx)
13577 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13578 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13579 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13580 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13581 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13582 (libc_feresetround_noexl_ctx): Define.
13584 2014-04-16 Richard Henderson <rth@redhat.com>
13586 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13588 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13591 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13592 const from the non-libc, non-ldso copy.
13594 * sysdeps/alpha/libm-test-ulps: Regenerate.
13596 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13597 Wilco Dijkstra <wilco.dijkstra@arm.com>
13599 * sysdeps/aarch64/fpu/math_private.h: New file.
13601 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13603 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13605 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13608 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13609 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13611 Intel MPX bound registers before _dl_profile_fixup.
13612 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13613 registers after _dl_profile_fixup. Save and restore bound
13614 registers bnd0/bnd1 when calling _dl_call_pltexit.
13615 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13616 (LR_BND_OFFSET): Likewise.
13617 (LRV_BND0_OFFSET): Likewise.
13618 (LRV_BND1_OFFSET): Likewise.
13620 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13622 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13624 * sysdeps/mach/hurd/i386/tls.h: ... here.
13625 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13626 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13629 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13631 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13633 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13635 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13637 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13640 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13641 * sysdeps/s390/configure: Regenerate.
13644 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13645 Set round-to-nearest internally to reduce error accumulation.
13647 2014-04-16 Alan Modra <amodra@gmail.com>
13651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13652 * math/libm-test.inc (frexp_test_data): Add tests.
13653 * NEWS: Update fixed bug list.
13655 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13657 * benchtests/Makefile: Depend on libraries in build directory.
13658 (bench-math): Separate out math tests.
13659 (bench-pthread): Separate out pthread tests.
13660 (bench): Include math and pthread tests.
13662 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13665 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13666 _dl_debug_initialize.
13668 * configure.ac: Remove SELinux header check.
13669 * configure: Regenerate.
13670 * nscd/selinux.c (perms): Array of const char* to permission names.
13671 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13672 default policy. Call string_to_security_class and string_to_av_perm to
13673 translate strings. Enforce default policy and call avs_has_perm with
13674 results of translated strings.
13676 2014-04-13 David S. Miller <davem@davemloft.net>
13678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13680 2014-04-12 Allan McRae <allan@archlinux.org>
13683 * manual/string.texi (Collation Functions): Fix qsort argument
13685 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13687 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13689 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13690 Make the test a no-op if there are no exceptions defined.
13692 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13694 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13695 enable-hardcoded-path-in-tests
13697 2014-04-11 Will Newton <will.newton@linaro.org>
13699 * benchtests/Makefile (extra-objs): Add json-lib.o.
13700 (bench-func): Tidy up JSON output.
13701 * benchtests/bench-skeleton.c: Include json-lib.h.
13702 (main): Use JSON library functions to do output of
13704 * benchtests/bench-timing-type.c (main): Output the
13705 timing type simply, leaving formatting to the user.
13706 * benchtests/json-lib.c: New file.
13707 * benchtests/json-lib.h: Likewise.
13709 2014-04-11 Torvald Riegel <triegel@redhat.com>
13712 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13713 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13714 memory barriers. Add comments.
13715 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13716 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13717 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13718 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13719 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13720 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13722 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13724 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13725 * sysdeps/s390/s390-64/configure.ac: ... this ...
13726 * sysdeps/s390/configure.ac: ... to here.
13727 * sysdeps/s390/s390-32/configure: Delete file.
13728 * sysdeps/s390/s390-64/configure: Delete file.
13729 * sysdeps/s390/configure: Regenerate.
13731 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13733 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13735 2014-04-11 Will Newton <will.newton@linaro.org>
13737 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13738 to zero if it is not defined elsewhere. (mtrim): Test
13739 the value of MALLOC_DEBUG with #if rather than #ifdef.
13741 2014-04-10 Torvald Riegel <triegel@redhat.com>
13743 * benchtests/pthread_once-inputs: New file.
13744 * benchtests/pthread_once-source.c: New file.
13745 * benchtests/README: Update documentation.
13747 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13748 H.J. Lu <hongjiu.lu@intel.com>
13751 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13752 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13753 * sysdeps/x86_64/configure: Regenerated.
13754 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13756 (REGISTER_SAVE_RAX): Likewise.
13757 (REGISTER_SAVE_RCX): Likewise.
13758 (REGISTER_SAVE_RDX): Likewise.
13759 (REGISTER_SAVE_RSI): Likewise.
13760 (REGISTER_SAVE_RDI): Likewise.
13761 (REGISTER_SAVE_R8): Likewise.
13762 (REGISTER_SAVE_R9): Likewise.
13763 (REGISTER_SAVE_BND0): Likewise.
13764 (REGISTER_SAVE_BND1): Likewise.
13765 (REGISTER_SAVE_BND2): Likewise.
13766 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13767 bound registers when calling _dl_fixup.
13769 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13771 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13772 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13774 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13775 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13776 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13777 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13778 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13779 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13780 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13782 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13785 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13786 pathconf(_PC_NAME_MAX).
13788 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13790 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13791 Remove macro usage.
13792 (__PTHREAD_SPINS): Move definition to ...
13793 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13794 (__PTHREAD_SPINS): ... here.
13795 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13796 (__PTHREAD_SPIN): Likewise.
13797 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13798 (__PTHREAD_SPIN): Likewise.
13799 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13800 (__PTHREAD_SPIN): Likewise.
13801 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13802 (__PTHREAD_SPIN): Likewise.
13803 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13804 (__PTHREAD_SPIN): Likewise.
13805 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13806 (__PTHREAD_SPIN): Likewise.
13807 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13808 (__PTHREAD_SPIN): Likewise.
13809 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13810 (__PTHREAD_SPIN): Likewise.
13811 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13812 (__PTHREAD_SPIN): Likewise.
13813 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13814 (__PTHREAD_SPIN): Likewise.
13815 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13816 (__PTHREAD_SPIN): Likewise.
13817 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13818 (__PTHREAD_SPIN): Likewise.
13820 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13822 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13823 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13826 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13827 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13828 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13829 correct imply path.
13830 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13831 strlen symbol for non multi-arch builds.
13832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13833 missing hidden_def and weak_alias.
13835 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13837 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13839 2014-04-07 Will Newton <will.newton@linaro.org>
13841 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13842 and contents. [!_LIBC] Remove #ifndef and contents.
13843 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13844 * string/memccpy.c (__memccpy): Use ANSI prototype.
13845 * string/memfrob.c (memfrob): Likewise.
13846 * string/strcoll.c (STRCOLL): Likewise.
13847 * string/strlen.c (strlen): Likewise.
13848 * string/strtok.c (STRTOK): Likewise.
13849 * string/strcat.c: Remove unused #include of memcopy.h.
13850 (strcat): Use ANSI prototype.
13851 * string/strchr.c: Remove unused #include of memcopy.h.
13852 (strchr): Use ANSI prototype.
13853 * string/strcmp.c: Remove unused #include of memcopy.h.
13854 (strcmp): Use ANSI prototype.
13855 * string/strcpy.c: Remove unused #include of memcopy.h.
13856 (strcpy): Use ANSI prototype.
13858 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13860 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13861 * config.make.in (config-extra-cppflags): Set it from
13862 libc_extra_cppflags.
13863 * configure.ac (libc_extra_cflags): Make it accumulate over
13864 configure fragments.
13865 (libc_extra_cppflags): New flag.
13866 * configure. Regenerate.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13868 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13869 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13874 result for FE_DOWNWARD rounding mode.
13875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13879 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13881 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13882 in function argument name.
13884 2014-04-03 David Svoboda <svoboda@cert.org>
13887 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13890 2014-04-03 Roland McGrath <roland@hack.frob.com>
13892 * elf/dl-unmap-segments.h: New file.
13893 * sysdeps/generic/ldsodefs.h
13894 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13895 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13896 * elf/dl-fptr.c: Likewise.
13897 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13898 * sysdeps/aarch64/tlsdesc.c: Likewise.
13899 * sysdeps/arm/tlsdesc.c: Likewise.
13900 * sysdeps/i386/tlsdesc.c: Likewise.
13901 * sysdeps/tile/dl-runtime.c: Likewise.
13902 * sysdeps/x86_64/tlsdesc.c: Likewise.
13903 * elf/dl-load.h: New file.
13904 * elf/dl-load.c: Include it.
13905 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13906 Macros moved to dl-load.h.
13907 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13908 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13909 Use _dl_unmap_segments in place of __munmap.
13910 Break out segment-mapping loop into ...
13911 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13913 2014-04-03 Will Newton <will.newton@linaro.org>
13915 * elf/dl-lookup.c (do_lookup_x): Remove comment
13916 referring to nested function and move variable
13917 declarations down to before first use.
13919 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13923 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13925 * math/s_catanf.c (__catanf): Likewise.
13926 * math/s_catanh.c (__catanh): Likewise.
13927 * math/s_catanhf.c (__catanhf): Likewise.
13928 * math/s_catanhl.c (__catanhl): Likewise.
13929 * math/s_catanl.c (__catanl): Likewise.
13930 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13931 by positive zero when computing -Inf result.
13932 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13933 (catanh_test): Likewise.
13934 * sysdeps/i386/fpu/libm-test-ulps: Update.
13935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13938 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13939 instead of using underflowing value in computing result.
13940 * math/s_clog10.c (__clog10): Likewise.
13941 * math/s_clog10f.c (__clog10f): Likewise.
13942 * math/s_clog10l.c (__clog10l): Likewise.
13943 * math/s_clogf.c (__clogf): Likewise.
13944 * math/s_clogl.c (__clogl): Likewise.
13945 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13946 (clog10_test): Likewise.
13947 * sysdeps/i386/fpu/libm-test-ulps: Update.
13948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13950 2014-04-02 Alan Modra <amodra@gmail.com>
13953 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13954 output when value is near a power of two. Use int64_t for lx and
13955 remove casts. Use decimal rather than hex exponent constants.
13956 Don't use long double multiplication when double will suffice.
13957 * math/libm-test.inc (nextafter_test_data): Add tests.
13958 * NEWS: Add 16739 and 16786 to bug list.
13960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13962 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13964 2014-04-01 Will Newton <will.newton@linaro.org>
13966 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13967 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13969 2014-04-01 Florian Weimer <fweimer@redhat.com>
13972 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13973 * nptl/tst-setuid2.c: New file.
13974 * nptl/Makefile (xtests): Add tst-setuid2.
13976 2014-04-01 Alan Modra <amodra@gmail.com>
13979 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13981 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13985 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13986 set errno as appropriate.
13987 * math/w_scalbf.c (__scalbf): Likewise.
13988 * math/w_scalbl.c (__scalbl): Likewise.
13989 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13990 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13991 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13992 Add more NaN tests.
13995 * math/w_atan2.c: Include <errno.h>.
13996 (__atan2): Set errno for result underflowing to zero.
13997 * math/w_atan2f.c: Include <errno.h>.
13998 (__atan2f): Set errno for result underflowing to zero.
13999 * math/w_atan2l.c: Include <errno.h>.
14000 (__atan2l): Set errno for result underflowing to zero.
14001 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14003 * math/auto-libm-test-out: Regenerated.
14005 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14007 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14008 Encode instruction correctly in little endian.
14009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14013 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14018 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14021 * sysdeps/unix/sysv/linux/kernel-features.h
14022 [__sparc__ && !__arch64__ && !__sparc_v9__]
14023 (__ASSUME_SET_ROBUST_LIST): Do not define.
14024 [__sparc__ && !__arch64__ && !__sparc_v9__]
14025 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14026 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14028 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14029 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14030 (__ASSUME_REQUEUE_PI): Likewise.
14031 (__ASSUME_SET_ROBUST_LIST): Likewise.
14032 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14033 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14036 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14040 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14042 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14043 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14045 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14046 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14052 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14054 2014-03-31 Will Newton <will.newton@linaro.org>
14056 * benchtests/Makefile (bench): Add ffs and ffsll to list
14058 * benchtests/ffs-inputs: New file.
14059 * benchtests/ffsll-inputs: Likewise.
14061 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14064 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14065 too large before casting to int.
14066 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14067 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14068 * math/libm-test.inc (scalb_test_data): Add more tests.
14070 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14072 * benchtests/Makefile (DETAILED_OPT): New make option.
14073 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14075 * benchtests/bench-skeleton.c: Include stdbool.h.
14076 (main): Store and print timings per input.
14077 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14078 member to each argument value.
14079 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14080 (_print_arg_data): Initialize per-input timing to 0.
14082 * benchtests/Makefile (timing-type): New binary.
14083 (bench-clean): Also remove bench-timing-type.
14084 (bench): New target for timing-type.
14085 (bench-func): Print output in JSON format.
14086 * benchtests/bench-skeleton.c (main): Print output in JSON
14088 * benchtests/bench-timing-type.c: New file.
14089 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14090 (TIMING_PRINT_STATS): Remove.
14091 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14094 * benchtests/bench-modf.c: Remove.
14095 * benchtests/modf-inputs: New inputs file.
14097 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14100 * math/s_clog10.c (M_PI_LOG10E): New macro.
14101 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14102 imaginary parts are 0.
14103 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14104 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14105 imaginary parts are 0.
14106 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14107 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14108 imaginary parts are 0.
14109 * math/libm-test.inc (clog10_test_data): Update expected results
14110 for when real and imaginary parts are 0.
14112 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14114 * elf/dl-load.c: Finish conversion of __builtin_expect into
14115 __glibc_{un}likely.
14117 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14120 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14121 1+x for argument with exponent below -67.
14122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14124 * math/auto-libm-test-in: Add more tests of exp.
14125 * math/auto-libm-test-out: Regenerated.
14127 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14130 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14131 (nscd_getnetgrent): Use it.
14134 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14137 2014-03-27 Andi Kleen <ak@linux.intel.com>
14139 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14140 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14141 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14142 (lll_robust_unlock): Remove out of line section. Use cfi
14144 (LLL_STUB_UNWIND_INFO*): Remove.
14145 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14146 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14147 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14148 (lll_robust_unlock): Remove out of line section. Use cfi
14150 (LLL_STUB_UNWIND_INFO*): Remove.
14152 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14155 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14158 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14160 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14162 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14165 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14167 * math/test-fenv-preserve.c: New file.
14168 * math/Makefile (tests): Add test-fenv-preserve.
14170 2014-03-26 Will Newton <will.newton@linaro.org>
14172 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14174 2014-03-25 Roland McGrath <roland@hack.frob.com>
14176 * scripts/versionlist.awk: Partition the version sets and emit all
14177 GLIBC_* (sorted) before all others (sorted).
14179 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14181 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14182 GLIBC_2.2.5 version.
14184 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14189 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14194 2014-03-25 Andreas Schwab <schwab@suse.de>
14196 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14197 label to be used after in6ailist is initialized.
14199 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14201 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14202 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14204 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14208 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14210 (fp_formats): Update initializers.
14211 (init_fp_formats): Initialize new field.
14212 (output_for_one_input_case): Allow underflow for results up to
14214 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14215 * math/auto-libm-test-in: Don't mark some underflows from asin and
14217 * math/auto-libm-test-out: Regenerated.
14218 * sysdeps/i386/fpu/libm-test-ulps: Update.
14219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14221 2014-03-25 Andreas Schwab <schwab@suse.de>
14223 * libio/Makefile (tst-ftell-partial-wide-ENV)
14224 (tst-ftell-active-handler-ENV): Define.
14226 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14228 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14230 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14232 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14234 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14237 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14238 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14240 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14243 * elf/dl-load.c (open_verify): Add mode parameter.
14244 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14245 (open_path): Change from boolean 'secure' to complete flag 'mode'
14246 (_dl_map_object): Adjust.
14247 * elf/Makefile (tests): Add tst-dlopen-aout.
14248 * elf/tst-dlopen-aout.c: New test.
14250 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14253 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14254 (struct stat): Rename member pad0 to __glibc_reserved0.
14257 * sysdeps/s390/s390-32/bits/wordsize.h
14258 (__WORDSIZE32_SIZE_ULONG): New define.
14259 * sysdeps/s390/s390-64/bits/wordsize.h
14260 (__WORDSIZE32_SIZE_ULONG): Likewise.
14261 * sysdeps/generic/stdint.h (SIZE_MAX):
14262 Define as UL if __WORDSIZE32_SIZE_ULONG.
14265 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14266 (__glibc_reserved0): New variable.
14267 (sa_flags): Change type to int.
14269 * posix/Makefile (before-compile): Use += before-compile instead
14272 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14273 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14275 2014-03-20 Andreas Schwab <schwab@suse.de>
14278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14279 non-matching result from nscd.
14281 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14283 * scripts/bench.py: Moved to ...
14284 * benchtests/scripts/bench.py: ... here.
14285 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14287 2014-03-24 Andreas Schwab <schwab@suse.de>
14290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14291 alloca_account and account alloca use for struct in6ailist.
14293 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14296 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14297 rounding mode to recompute results that overflow to infinity or
14299 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14301 * math/auto-libm-test-out: Regenerated.
14302 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14303 (ccosh_test): Likewise.
14304 (csin_test_data): Use plus_oflow.
14305 (csin_test): Use ALL_RM_TEST.
14306 (csinh_test_data): Use plus_oflow.
14307 (csinh_test): Use ALL_RM_TEST.
14308 * sysdeps/i386/fpu/libm-test-ulps: Update.
14309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14314 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14315 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14318 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14319 when x - 1 is zero.
14320 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14321 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14322 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14323 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14325 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14326 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14328 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14329 * sysdeps/i386/fpu/libm-test-ulps: Update.
14330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14332 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14334 * scripts/bench.pl: Remove file.
14335 * scripts/bench.py: New benchmark script.
14336 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14337 * benchtests/README: Mention python dependency.
14338 * scripts/pylintrc: New file.
14339 * scripts/pylint: New file.
14341 * bits/mathdef.h: Use #ifdef instead of #if.
14342 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14343 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14344 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14345 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14346 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14347 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14349 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14352 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14354 and strpbrk-ppc64 objects.
14355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14356 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14357 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14358 multiarch strpbrk for POWER7.
14359 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14360 multiarch strpbrk for PPC64.
14361 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14363 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14364 strpbrk for POWER7.
14366 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14368 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14369 (atan_test): Likewise.
14370 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14371 (atanh_test): Use ALL_RM_TEST.
14372 (atan2_test_data): Likewise.
14373 (cabs_test): Likewise.
14374 (cacosh_test): Likewise.
14375 (carg_test): Likewise.
14376 (casin_test): Likewise.
14377 (casinh_test): Likewise.
14378 (cbrt_test): Likewise.
14379 (csqrt_test): Likewise.
14380 (erf_test): Likewise.
14381 (erfc_test): Likewise.
14382 (pow10_test): Likewise.
14383 (exp2_test): Likewise.
14384 (hypot_test): Likewise.
14385 (j0_test): Likewise.
14386 (j1_test): Likewise.
14387 (lgamma_test): Likewise.
14388 (gamma_test): Likewise.
14389 (sincos_test): Likewise.
14390 (tanh_test): Likewise.
14391 (y0_test): Likewise.
14392 (y1_test): Likewise.
14393 * sysdeps/i386/fpu/libm-test-ulps: Update.
14394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14396 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14398 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14400 and strcspn-ppc64 objects.
14401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14402 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14403 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14404 multiarch strcspn for POWER7.
14405 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14406 multiarch strcspn for PPC64.
14407 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14409 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14410 strcspn for POWER7.
14412 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14414 * math/gen-libm-test.pl (generate_testfile): Expect only function
14415 name as argument to AUTO_TESTS_* and pass results for all rounding
14416 modes to parse_args.
14417 (parse_auto_input): Separate inputs of automatic tests from
14418 outputs before storing in %auto_tests.
14419 * math/libm-test.inc (acos_test_data): Update call to
14421 (acos_test): Use ALL_RM_TEST.
14422 (acos_tonearest_test_data): Remove.
14423 (acos_test_tonearest): Likewise.
14424 (acos_towardzero_test_data): Likewise.
14425 (acos_test_towardzero): Likewise.
14426 (acos_downward_test_data): Likewise.
14427 (acos_test_downward): Likewise.
14428 (acos_upward_test_data): Likewise.
14429 (acos_test_upward): Likewise.
14430 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14431 (asin_test_data): Likewise.
14432 (asin_test): Use ALL_RM_TEST.
14433 (asin_tonearest_test_data): Remove.
14434 (asin_test_tonearest): Likewise.
14435 (asin_towardzero_test_data): Likewise.
14436 (asin_test_towardzero): Likewise.
14437 (asin_downward_test_data): Likewise.
14438 (asin_test_downward): Likewise.
14439 (asin_upward_test_data): Likewise.
14440 (asin_test_upward): Likewise.
14441 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14442 (atan_test_data): Likewise.
14443 (atanh_test_data): Likewise.
14444 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14445 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14446 (carg_test_data): Likewise.
14447 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14448 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14449 (ccosh_test_data): Likewise.
14450 (cexp_test_data): Likewise.
14451 (clog_test_data): Likewise.
14452 (clog10_test_data): Likewise.
14453 (cos_test_data): Update call to AUTO_TESTS_f_f.
14454 (cos_test): Use ALL_RM_TEST.
14455 (cos_tonearest_test_data): Remove.
14456 (cos_test_tonearest): Likewise.
14457 (cos_towardzero_test_data): Likewise.
14458 (cos_test_towardzero): Likewise.
14459 (cos_downward_test_data): Likewise.
14460 (cos_test_downward): Likewise.
14461 (cos_upward_test_data): Likewise.
14462 (cos_test_upward): Likewise.
14463 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14464 (cosh_test): Use ALL_RM_TEST.
14465 (cosh_tonearest_test_data): Remove.
14466 (cosh_test_tonearest): Likewise.
14467 (cosh_towardzero_test_data): Likewise.
14468 (cosh_test_towardzero): Likewise.
14469 (cosh_downward_test_data): Likewise.
14470 (cosh_test_downward): Likewise.
14471 (cosh_upward_test_data): Likewise.
14472 (cosh_test_upward): Likewise.
14473 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14474 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14475 (ctan_test_data): Likewise.
14476 (ctan_test): Use ALL_RM_TEST.
14477 (ctan_tonearest_test_data): Remove.
14478 (ctan_test_tonearest): Likewise.
14479 (ctan_towardzero_test_data): Likewise.
14480 (ctan_test_towardzero): Likewise.
14481 (ctan_downward_test_data): Likewise.
14482 (ctan_test_downward): Likewise.
14483 (ctan_upward_test_data): Likewise.
14484 (ctan_test_upward): Likewise.
14485 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14486 (ctanh_test): Use ALL_RM_TEST.
14487 (ctanh_tonearest_test_data): Remove.
14488 (ctanh_test_tonearest): Likewise.
14489 (ctanh_towardzero_test_data): Likewise.
14490 (ctanh_test_towardzero): Likewise.
14491 (ctanh_downward_test_data): Likewise.
14492 (ctanh_test_downward): Likewise.
14493 (ctanh_upward_test_data): Likewise.
14494 (ctanh_test_upward): Likewise.
14495 (erf_test_data): Update call to AUTO_TESTS_f_f.
14496 (erfc_test_data): Likewise.
14497 (exp_test_data): Likewise.
14498 (exp_test): Use ALL_RM_TEST.
14499 (exp_tonearest_test_data): Remove.
14500 (exp_test_tonearest): Likewise.
14501 (exp_towardzero_test_data): Likewise.
14502 (exp_test_towardzero): Likewise.
14503 (exp_downward_test_data): Likewise.
14504 (exp_test_downward): Likewise.
14505 (exp_upward_test_data): Likewise.
14506 (exp_test_upward): Likewise.
14507 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14508 (exp10_test): Use ALL_RM_TEST.
14509 (exp10_tonearest_test_data): Remove.
14510 (exp10_test_tonearest): Likewise.
14511 (exp10_towardzero_test_data): Likewise.
14512 (exp10_test_towardzero): Likewise.
14513 (exp10_downward_test_data): Likewise.
14514 (exp10_test_downward): Likewise.
14515 (exp10_upward_test_data): Likewise.
14516 (exp10_test_upward): Likewise.
14517 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14518 (expm1_test_data): Likewise.
14519 (expm1_test): Use ALL_RM_TEST.
14520 (expm1_tonearest_test_data): Remove.
14521 (expm1_test_tonearest): Likewise.
14522 (expm1_towardzero_test_data): Likewise.
14523 (expm1_test_towardzero): Likewise.
14524 (expm1_downward_test_data): Likewise.
14525 (expm1_test_downward): Likewise.
14526 (expm1_upward_test_data): Likewise.
14527 (expm1_test_upward): Likewise.
14528 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14529 (fma_test): Use ALL_RM_TEST.
14530 (fma_towardzero_test_data): Remove.
14531 (fma_test_towardzero): Likewise.
14532 (fma_downward_test_data): Likewise.
14533 (fma_test_downward): Likewise.
14534 (fma_upward_test_data): Likewise.
14535 (fma_test_upward): Likewise.
14536 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14537 (j0_test_data): Update call to AUTO_TESTS_f_f.
14538 (j1_test_data): Likewise.
14539 (jn_test_data): Update call to AUTO_TESTS_if_f.
14540 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14541 (log_test_data): Update call to AUTO_TESTS_f_f.
14542 (log10_test_data): Likewise.
14543 (log1p_test_data): Likewise.
14544 (log2_test_data): Likewise.
14545 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14546 (pow_tonearest_test_data): Likewise.
14547 (sin_test_data): Update call to AUTO_TESTS_f_f.
14548 (sin_test): Use ALL_RM_TEST.
14549 (sin_tonearest_test_data): Remove.
14550 (sin_test_tonearest): Likewise.
14551 (sin_towardzero_test_data): Likewise.
14552 (sin_test_towardzero): Likewise.
14553 (sin_downward_test_data): Likewise.
14554 (sin_test_downward): Likewise.
14555 (sin_upward_test_data): Likewise.
14556 (sin_test_upward): Likewise.
14557 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14558 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14559 (sinh_test): Use ALL_RM_TEST.
14560 (sinh_tonearest_test_data): Remove.
14561 (sinh_test_tonearest): Likewise.
14562 (sinh_towardzero_test_data): Likewise.
14563 (sinh_test_towardzero): Likewise.
14564 (sinh_downward_test_data): Likewise.
14565 (sinh_test_downward): Likewise.
14566 (sinh_upward_test_data): Likewise.
14567 (sinh_test_upward): Likewise.
14568 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14569 (sqrt_test): Use ALL_RM_TEST.
14570 (sqrt_tonearest_test_data): Remove.
14571 (sqrt_test_tonearest): Likewise.
14572 (sqrt_towardzero_test_data): Likewise.
14573 (sqrt_test_towardzero): Likewise.
14574 (sqrt_downward_test_data): Likewise.
14575 (sqrt_test_downward): Likewise.
14576 (sqrt_upward_test_data): Likewise.
14577 (sqrt_test_upward): Likewise.
14578 (tan_test_data): Update call to AUTO_TESTS_f_f.
14579 (tan_test): Use ALL_RM_TEST.
14580 (tan_tonearest_test_data): Remove.
14581 (tan_test_tonearest): Likewise.
14582 (tan_towardzero_test_data): Likewise.
14583 (tan_test_towardzero): Likewise.
14584 (tan_downward_test_data): Likewise.
14585 (tan_test_downward): Likewise.
14586 (tan_upward_test_data): Likewise.
14587 (tan_test_upward): Likewise.
14588 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14589 (tgamma_test_data): Likewise.
14590 (y0_test_data): Likewise.
14591 (y1_test_data): Likewise.
14592 (yn_test_data): Update call to AUTO_TESTS_if_f.
14593 (main): Do not call removed functions.
14595 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14597 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14598 (ldexp_test_data): Remove.
14599 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14601 (scalb_test): Use ALL_RM_TEST.
14603 2014-03-19 Andreas Schwab <schwab@suse.de>
14605 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14607 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14610 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14611 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14612 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14613 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14614 (__ASSUME_PREADV): Undefine.
14615 (__ASSUME_PWRITEV): Likewise.
14617 2014-03-18 Roland McGrath <roland@hack.frob.com>
14619 * bits/mman-linux.h: Add comment about non-Linux use.
14620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14621 bits/mman-linux.h resting place.
14623 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14624 * bits/mman-linux.h: ... here.
14626 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14628 * conform/conformtest.pl: Add standard definition when calling C
14629 preprocessor on data files.
14630 (checknamespace): Remove unused variable.
14632 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14634 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14635 minus_oflow, plus_uflow and minus_uflow in expected results.
14636 * math/libm-test.inc (scalbn_test_data): Add more tests of
14637 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14639 (scalbn_test): Use ALL_RM_TEST.
14640 (scalbln_test_data): Add more tests of negative arguments. Use
14641 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14642 (scalbln_test): Use ALL_RM_TEST.
14644 2014-03-18 Roland McGrath <roland@hack.frob.com>
14646 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14648 2014-03-18 Will Newton <will.newton@linaro.org>
14650 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14651 inaccurate comment.
14653 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14655 * Makerules [!subdir] (check-abi): Exit with error status if a
14658 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14660 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14661 for rint. Include results for all rounding modes.
14662 (nearbyint_test): Use ALL_RM_TEST.
14663 (rint_test_data): Include all tests used for nearbyint.
14665 2014-03-17 Will Newton <will.newton@linaro.org>
14667 * nptl/sysdeps/pthread/pthread.h: Revert previous
14670 * sysdeps/generic/ldsodefs.h: Revert previous
14673 * libio/genops.c: Revert previous change.
14674 * libio/libioP.h: Likewise.
14675 * stdio-common/vfprintf.c: Likewise.
14677 * sysdeps/generic/math_private.h: Revert previous
14680 * sysdeps/generic/math_private.h: Check whether
14681 HAVE_RM_CTX is defined with #ifdef rather
14684 * argp/argp-fmtstream.h: Check whether
14685 __STRICT_ANSI__ is defined with #ifdef rather
14687 * argp/argp.h: Likewise.
14689 * libio/genops.c: Check whether
14690 _IO_JUMPS_OFFSET is defined with #ifdef rather
14692 * libio/libioP.h: Likewise.
14693 * stdio-common/vfprintf.c: Likewise.
14695 * sysdeps/generic/ldsodefs.h: Check whether
14696 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14699 * nptl/sysdeps/pthread/pthread.h: Check
14700 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14703 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14705 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14707 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14711 * libio/fileops.c (_IO_file_open): Seek to end of file but
14712 don't cache the offset.
14713 (get_file_offset): Remove function.
14714 (do_ftell): Use cached offset when available.
14715 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14716 don't cache the offset.
14717 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14719 (do_one_test): Call it.
14720 (do_ftell_test): Fix up expected old offset for a+ mode.
14721 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14724 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14725 up test status with function return status.
14726 (do_write_test): Likewise.
14727 (do_append_test): Likewise.
14729 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14730 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14733 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14735 * math/gen-libm-test.pl (parse_args): Handle results specified for
14736 each rounding mode separately.
14737 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14738 tests and results from lrint_tonearest_test_data,
14739 lrint_towardzero_test_data, lrint_downward_test_data and
14740 lrint_upward_test_data.
14741 (lrint_test): Use ALL_RM_TEST.
14742 (lrint_tonearest_test_data): Remove.
14743 (lrint_test_tonearest): Likewise.
14744 (lrint_towardzero_test_data): Likewise.
14745 (lrint_test_towardzero): Likewise.
14746 (lrint_downward_test_data): Likewise.
14747 (lrint_test_downward): Likewise.
14748 (lrint_upward_test_data): Likewise.
14749 (lrint_test_upward): Likewise.
14750 (llrint_test_data): Merge in per-rounding-mode tests and results
14751 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14752 llrint_downward_test_data and llrint_upward_test_data.
14753 (llrint_test): Use ALL_RM_TEST.
14754 (llrint_tonearest_test_data): Remove.
14755 (llrint_test_tonearest): Likewise.
14756 (llrint_towardzero_test_data): Likewise.
14757 (llrint_test_towardzero): Likewise.
14758 (llrint_downward_test_data): Likewise.
14759 (llrint_test_downward): Likewise.
14760 (llrint_upward_test_data): Likewise.
14761 (llrint_test_upward): Likewise.
14762 (rint_test_data): Merge in per-rounding-mode tests and results
14763 from rint_tonearest_test_data, rint_towardzero_test_data,
14764 rint_downward_test_data and rint_upward_test_data. Add
14765 per-rounding-mode results for tests not in those arrays.
14766 (rint_test): Use ALL_RM_TEST.
14767 (rint_tonearest_test_data): Remove.
14768 (rint_test_tonearest): Likewise.
14769 (rint_towardzero_test_data): Likewise.
14770 (rint_test_towardzero): Likewise.
14771 (rint_downward_test_data): Likewise.
14772 (rint_test_downward): Likewise.
14773 (rint_upward_test_data): Likewise.
14774 (rint_test_upward): Likewise.
14775 (main): Don't call removed functions.
14777 2014-03-14 Roland McGrath <roland@hack.frob.com>
14779 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14780 "Compiled on ..." crapola. It is anti-useful.
14782 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14784 * scripts/evaluate-test.sh: Handle fourth argument to determine
14785 whether test run should stop on failure.
14786 * Makeconfig (stop-on-test-failure): New variable.
14787 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14788 $(stop-on-test-failure).
14789 * Makefile (tests): Give a summary of results from testing and
14790 exit with failure status if they include an ERROR or FAIL.
14791 (xtests): Likewise.
14792 * manual/install.texi (Configuring and compiling): Mention
14793 stop-on-test-failure=y.
14794 * INSTALL: Regenerated.
14796 2014-03-14 Roland McGrath <roland@hack.frob.com>
14798 * scripts/versionlist.awk: New file.
14799 * Makerules [$(build-shared) = yes]
14800 (postclean-generated): Add Versions.def, not Versions.def.v and
14802 ($(common-objpfx)Versions.def.v.i): Target removed.
14803 ($(common-objpfx)Versions.def): New target.
14804 ($(common-objpfx)Versions.all): Depend on that rather that
14805 $(common-objpfx)Versions.def.v.
14806 * Versions.def: File removed.
14808 * Makeconfig (+gccwarn): Add -Wundef.
14809 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14810 a dl-sysdep.h breaking its contract.
14811 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14812 * include/stackinfo.h: New file.
14813 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14814 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14815 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14816 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14817 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14818 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14819 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14820 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14821 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14822 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14823 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14824 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14825 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14826 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14827 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14829 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14832 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14834 * math/libm-test.inc (round_test_data): Add more tests.
14837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14839 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14842 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14844 * math/libm-test.inc (ceil_test_data): Add more tests.
14846 * math/libm-test.inc (trunc_test_data): Add more tests related to
14849 2014-03-14 Roland McGrath <roland@hack.frob.com>
14851 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14852 with #if rather than #ifdef.
14853 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14855 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14857 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14858 first. Disable AVX-512 GCC support if assembler doesn't support
14860 * sysdeps/x86_64/configure: Regenerated.
14862 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14864 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14865 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14866 (__old_pthread_attr_setstack): Likewise.
14867 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14868 [!_STACK_GROWS_DOWN]: Likewise.
14870 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14872 * config.make.in (have-bash2): Delete.
14873 * configure.ac (libc_cv_have_bash2): Delete.
14874 * configure: Regenerate.
14875 * elf/Makefile (common-ldd-rewrite): Rename to ...
14876 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14877 (sh-ldd-rewrite): Delete.
14878 (bash-ldd-rewrite): Delete.
14879 (have-bash2): Delete checks.
14880 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14883 * config.make.in (have-ksh): Delete.
14885 * configure.ac (libc_cv_have_ksh): Delete.
14886 * configure: Regenerate.
14888 * elf/Makefile: Delete $(have-ksh) check.
14889 ($(objpfx)sotruss): Change KSH to BASH.
14890 * elf/sotruss.ksh: Rename to ...
14891 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14892 function style to match POSIX. Drop ksh vim mode setting.
14894 * manual/time.texi (Specifying the Time Zone with TZ): Change
14895 Tuesday to Thursday.
14897 * debug/tst-longjmp_chk2.c: Update header comment.
14898 (stackoverflow_handler): Add comment. Call assert on pass value.
14900 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14903 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14904 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14905 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14906 (La_x86_64_vector): Add zmm.
14907 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14908 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14909 ($(objpfx)tst-audit10): New target.
14910 ($(objpfx)tst-audit10.out): Likewise.
14911 (tst-audit10-ENV): New.
14912 (AVX512-CFLAGS): Likewise.
14913 (CFLAGS-tst-audit10.c): Likewise.
14914 (CFLAGS-tst-auditmod10a.c): Likewise.
14915 (CFLAGS-tst-auditmod10b.c): Likewise.
14916 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14917 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14918 * sysdeps/x86_64/configure: Regenerated.
14919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14920 AVX-512 zmm register support.
14921 (_dl_x86_64_save_sse): Likewise.
14922 (_dl_x86_64_restore_sse): Likewise.
14923 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14924 size vector registers.
14925 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14926 (ZMM_SIZE): Likewise.
14927 * sysdeps/x86_64/tst-audit10.c: New file.
14928 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14929 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14931 2014-03-13 Roland McGrath <roland@hack.frob.com>
14933 * configure.ac (HAVE_EHDR_START): New check.
14934 * configure: Regenerated.
14935 * config.h.in (HAVE_EHDR_START): New #undef.
14936 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14937 assuming the lowest-addressed segment maps the start of the file.
14939 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14941 * INSTALL: Regenerated.
14943 2014-03-13 Will Newton <will.newton@linaro.org>
14945 * manual/setjmp.texi (System V contexts): Improve
14946 clarity and grammar of documentation.
14948 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14951 * elf/Makefile (tests): Add tst-pie2.
14952 (tests-pie): Add tst-pie2.
14953 * elf/tst-pie2.c: New file.
14954 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14956 * elf/rtld.c (map_doit): Load executable as lt_executable.
14957 (dl_main): Likewise.
14959 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14962 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14963 (__ASSUME_PSELECT): Undefine.
14965 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14969 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14971 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14972 selector for static builds.
14974 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14977 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14980 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14982 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14983 IFUNC selector for static builds.
14985 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14987 * sysdeps/mips/math_private.h [__mips_hard_float]
14988 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14989 libc_feresetround_mips_ctx.
14990 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14991 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14992 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14995 * math/s_nextafter.c (__nextafter): Do not return value from
14996 overflowing computation.
14997 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14998 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15001 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15003 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15004 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15006 2014-03-11 Roland McGrath <roland@hack.frob.com>
15008 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15009 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15010 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15011 the new mov targetting sp.
15013 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15016 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15017 Define it for static builds as well.
15018 (NO_BZERO_IMPL): Likewise.
15020 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15022 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15023 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15024 multiarch strspn for PPC64.
15025 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15026 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15028 (__libc_ifunc_impl_list): Likewise.
15029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15030 multiarch optimizations
15031 * string/strspn.c (strspn): Using macro to redefine symbol name.
15033 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15034 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15036 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15037 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15038 multiarch strncat for PPC64.
15039 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15040 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15042 (__libc_ifunc_impl_list): Likewise.
15043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15044 multiarch optimizations
15046 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15049 * nscd/nscd.service: Make service type forking.
15051 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15053 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15054 sign in non default rounding modes.
15055 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15057 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15059 * math/libm-test.inc (ALL_RM_TEST): New macro.
15060 (ceil_test): Use ALL_RM_TEST.
15061 (cimag_test): Likewise.
15062 (conj_test): Likewise.
15063 (copysign_test): Likewise.
15064 (cproj_test): Likewise.
15065 (creal_test): Likewise.
15066 (fabs_test): Likewise.
15067 (floor_test): Likewise.
15068 (fmax_test): Likewise.
15069 (fmin_test): Likewise.
15070 (fmod_test): Likewise.
15071 (fpclassify_test): Likewise.
15072 (frexp_test): Likewise.
15073 (ilogb_test): Likewise.
15074 (isfinite_test): Likewise.
15075 (finite_test): Likewise.
15076 (isgreater_test): Likewise.
15077 (isgreaterequal_test): Likewise.
15078 (isinf_test): Likewise.
15079 (isless_test): Likewise.
15080 (islessequal_test): Likewise.
15081 (islessgreater_test): Likewise.
15082 (isnan_test): Likewise.
15083 (isnormal_test): Likewise.
15084 (issignaling_test): Likewise.
15085 (isunordered_test): Likewise.
15086 (logb_test): Likewise.
15087 (logb_downward_test_data): Remove.
15088 (logb_test_downward): Likewise.
15089 (lround_test): Use ALL_RM_TEST.
15090 (llround_test): Likewise.
15091 (modf_test): Likewise.
15092 (nexttoward_test): Likewise.
15093 (remainder_test): Likewise.
15094 (drem_test): Likewise.
15095 (remainder_tonearest_test_data): Likewise.
15096 (remainder_test_tonearest): Likewise.
15097 (drem_test_tonearest): Likewise.
15098 (remainder_towardzero_test_data): Likewise.
15099 (remainder_test_towardzero): Likewise.
15100 (drem_test_towardzero): Likewise.
15101 (remainder_downward_test_data): Likewise.
15102 (remainder_test_downward): Likewise.
15103 (drem_test_downward): Likewise.
15104 (remainder_upward_test_data): Likewise.
15105 (remainder_test_upward): Likewise.
15106 (drem_test_upward): Likewise.
15107 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15108 (round_test): Use ALL_RM_TEST.
15109 (signbit_test): Likewise.
15110 (trunc_test): Likewise.
15111 (significand_test): Likewise.
15112 (main): Don't call removed functions.
15114 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15117 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15118 || __USE_XOPEN2K8].
15119 (ILL_ILLOPN): Likewise.
15120 (ILL_ILLADR): Likewise.
15121 (ILL_ILLTRP): Likewise.
15122 (ILL_PRVOPC): Likewise.
15123 (ILL_PRVREG): Likewise.
15124 (ILL_COPROC): Likewise.
15125 (ILL_BADSTK): Likewise.
15126 (FPE_INTDIV): Likewise.
15127 (FPE_INTOVF): Likewise.
15128 (FPE_FLTDIV): Likewise.
15129 (FPE_FLTOVF): Likewise.
15130 (FPE_FLTUND): Likewise.
15131 (FPE_FLTRES): Likewise.
15132 (FPE_FLTINV): Likewise.
15133 (FPE_FLTSUB): Likewise.
15134 (SEGV_MAPERR): Likewise.
15135 (SEGV_ACCERR): Likewise.
15136 (BUS_ADRALN): Likewise.
15137 (BUS_ADRERR): Likewise.
15138 (BUS_OBJERR): Likewise.
15139 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15140 (TRAP_TRACE): Likewise.
15141 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15143 (CLD_KILLED): Likewise.
15144 (CLD_DUMPED): Likewise.
15145 (CLD_TRAPPED): Likewise.
15146 (CLD_STOPPED): Likewise.
15147 (CLD_CONTINUED): Likewise.
15148 (POLL_IN): Likewise.
15149 (POLL_OUT): Likewise.
15150 (POLL_MSG): Likewise.
15151 (POLL_ERR): Likewise.
15152 (POLL_PRI): Likewise.
15153 (POLL_HUP): Likewise.
15154 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15156 (ILL_ILLOPN): Likewise.
15157 (ILL_ILLADR): Likewise.
15158 (ILL_ILLTRP): Likewise.
15159 (ILL_PRVOPC): Likewise.
15160 (ILL_PRVREG): Likewise.
15161 (ILL_COPROC): Likewise.
15162 (ILL_BADSTK): Likewise.
15163 (FPE_INTDIV): Likewise.
15164 (FPE_INTOVF): Likewise.
15165 (FPE_FLTDIV): Likewise.
15166 (FPE_FLTOVF): Likewise.
15167 (FPE_FLTUND): Likewise.
15168 (FPE_FLTRES): Likewise.
15169 (FPE_FLTINV): Likewise.
15170 (FPE_FLTSUB): Likewise.
15171 (SEGV_MAPERR): Likewise.
15172 (SEGV_ACCERR): Likewise.
15173 (BUS_ADRALN): Likewise.
15174 (BUS_ADRERR): Likewise.
15175 (BUS_OBJERR): Likewise.
15176 (BUS_MCEERR_AR): Likewise.
15177 (BUS_MCEERR_AO): Likewise.
15178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15179 (TRAP_TRACE): Likewise.
15180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15182 (CLD_KILLED): Likewise.
15183 (CLD_DUMPED): Likewise.
15184 (CLD_TRAPPED): Likewise.
15185 (CLD_STOPPED): Likewise.
15186 (CLD_CONTINUED): Likewise.
15187 (POLL_IN): Likewise.
15188 (POLL_OUT): Likewise.
15189 (POLL_MSG): Likewise.
15190 (POLL_ERR): Likewise.
15191 (POLL_PRI): Likewise.
15192 (POLL_HUP): Likewise.
15193 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15194 (ILL_ILLOPN): Likewise.
15195 (ILL_ILLADR): Likewise.
15196 (ILL_ILLTRP): Likewise.
15197 (ILL_PRVOPC): Likewise.
15198 (ILL_PRVREG): Likewise.
15199 (ILL_COPROC): Likewise.
15200 (ILL_BADSTK): Likewise.
15201 (FPE_INTDIV): Likewise.
15202 (FPE_INTOVF): Likewise.
15203 (FPE_FLTDIV): Likewise.
15204 (FPE_FLTOVF): Likewise.
15205 (FPE_FLTUND): Likewise.
15206 (FPE_FLTRES): Likewise.
15207 (FPE_FLTINV): Likewise.
15208 (FPE_FLTSUB): Likewise.
15209 (SEGV_MAPERR): Likewise.
15210 (SEGV_ACCERR): Likewise.
15211 (BUS_ADRALN): Likewise.
15212 (BUS_ADRERR): Likewise.
15213 (BUS_OBJERR): Likewise.
15214 (BUS_MCEERR_AR): Likewise.
15215 (BUS_MCEERR_AO): Likewise.
15216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15217 (TRAP_TRACE): Likewise.
15218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15220 (CLD_KILLED): Likewise.
15221 (CLD_DUMPED): Likewise.
15222 (CLD_TRAPPED): Likewise.
15223 (CLD_STOPPED): Likewise.
15224 (CLD_CONTINUED): Likewise.
15225 (POLL_IN): Likewise.
15226 (POLL_OUT): Likewise.
15227 (POLL_MSG): Likewise.
15228 (POLL_ERR): Likewise.
15229 (POLL_PRI): Likewise.
15230 (POLL_HUP): Likewise.
15231 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15233 (ILL_ILLOPN): Likewise.
15234 (ILL_ILLADR): Likewise.
15235 (ILL_ILLTRP): Likewise.
15236 (ILL_PRVOPC): Likewise.
15237 (ILL_PRVREG): Likewise.
15238 (ILL_COPROC): Likewise.
15239 (ILL_BADSTK): Likewise.
15240 (ILL_BADIADDR): Likewise.
15241 (ILL_BREAK): Likewise.
15242 (FPE_INTDIV): Likewise.
15243 (FPE_INTOVF): Likewise.
15244 (FPE_FLTDIV): Likewise.
15245 (FPE_FLTOVF): Likewise.
15246 (FPE_FLTUND): Likewise.
15247 (FPE_FLTRES): Likewise.
15248 (FPE_FLTINV): Likewise.
15249 (FPE_FLTSUB): Likewise.
15250 (FPE_DECOVF): Likewise.
15251 (FPE_DECDIV): Likewise.
15252 (FPE_DECERR): Likewise.
15253 (FPE_INVASC): Likewise.
15254 (FPE_INVDEC): Likewise.
15255 (SEGV_MAPERR): Likewise.
15256 (SEGV_ACCERR): Likewise.
15257 (SEGV_PSTKOVF): Likewise.
15258 (BUS_ADRALN): Likewise.
15259 (BUS_ADRERR): Likewise.
15260 (BUS_OBJERR): Likewise.
15261 (BUS_MCEERR_AR): Likewise.
15262 (BUS_MCEERR_AO): Likewise.
15263 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15264 (TRAP_TRACE): Likewise.
15265 (TRAP_BRANCH): Likewise.
15266 (TRAP_HWBKPT): Likewise.
15267 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15269 (CLD_KILLED): Likewise.
15270 (CLD_DUMPED): Likewise.
15271 (CLD_TRAPPED): Likewise.
15272 (CLD_STOPPED): Likewise.
15273 (CLD_CONTINUED): Likewise.
15274 (POLL_IN): Likewise.
15275 (POLL_OUT): Likewise.
15276 (POLL_MSG): Likewise.
15277 (POLL_ERR): Likewise.
15278 (POLL_PRI): Likewise.
15279 (POLL_HUP): Likewise.
15280 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15281 (ILL_ILLOPN): Likewise.
15282 (ILL_ILLADR): Likewise.
15283 (ILL_ILLTRP): Likewise.
15284 (ILL_PRVOPC): Likewise.
15285 (ILL_PRVREG): Likewise.
15286 (ILL_COPROC): Likewise.
15287 (ILL_BADSTK): Likewise.
15288 (FPE_INTDIV): Likewise.
15289 (FPE_INTOVF): Likewise.
15290 (FPE_FLTDIV): Likewise.
15291 (FPE_FLTOVF): Likewise.
15292 (FPE_FLTUND): Likewise.
15293 (FPE_FLTRES): Likewise.
15294 (FPE_FLTINV): Likewise.
15295 (FPE_FLTSUB): Likewise.
15296 (SEGV_MAPERR): Likewise.
15297 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15307 (CLD_KILLED): Likewise.
15308 (CLD_DUMPED): Likewise.
15309 (CLD_TRAPPED): Likewise.
15310 (CLD_STOPPED): Likewise.
15311 (CLD_CONTINUED): Likewise.
15312 (POLL_IN): Likewise.
15313 (POLL_OUT): Likewise.
15314 (POLL_MSG): Likewise.
15315 (POLL_ERR): Likewise.
15316 (POLL_PRI): Likewise.
15317 (POLL_HUP): Likewise.
15318 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15319 (ILL_ILLOPN): Likewise.
15320 (ILL_ILLADR): Likewise.
15321 (ILL_ILLTRP): Likewise.
15322 (ILL_PRVOPC): Likewise.
15323 (ILL_PRVREG): Likewise.
15324 (ILL_COPROC): Likewise.
15325 (ILL_BADSTK): Likewise.
15326 (FPE_INTDIV): Likewise.
15327 (FPE_INTOVF): Likewise.
15328 (FPE_FLTDIV): Likewise.
15329 (FPE_FLTOVF): Likewise.
15330 (FPE_FLTUND): Likewise.
15331 (FPE_FLTRES): Likewise.
15332 (FPE_FLTINV): Likewise.
15333 (FPE_FLTSUB): Likewise.
15334 (SEGV_MAPERR): Likewise.
15335 (SEGV_ACCERR): Likewise.
15336 (BUS_ADRALN): Likewise.
15337 (BUS_ADRERR): Likewise.
15338 (BUS_OBJERR): Likewise.
15339 (BUS_MCEERR_AR): Likewise.
15340 (BUS_MCEERR_AO): Likewise.
15341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15342 (TRAP_TRACE): Likewise.
15343 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15345 (CLD_KILLED): Likewise.
15346 (CLD_DUMPED): Likewise.
15347 (CLD_TRAPPED): Likewise.
15348 (CLD_STOPPED): Likewise.
15349 (CLD_CONTINUED): Likewise.
15350 (POLL_IN): Likewise.
15351 (POLL_OUT): Likewise.
15352 (POLL_MSG): Likewise.
15353 (POLL_ERR): Likewise.
15354 (POLL_PRI): Likewise.
15355 (POLL_HUP): Likewise.
15356 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15357 (ILL_ILLOPN): Likewise.
15358 (ILL_ILLADR): Likewise.
15359 (ILL_ILLTRP): Likewise.
15360 (ILL_PRVOPC): Likewise.
15361 (ILL_PRVREG): Likewise.
15362 (ILL_COPROC): Likewise.
15363 (ILL_BADSTK): Likewise.
15364 (FPE_INTDIV): Likewise.
15365 (FPE_INTOVF): Likewise.
15366 (FPE_FLTDIV): Likewise.
15367 (FPE_FLTOVF): Likewise.
15368 (FPE_FLTUND): Likewise.
15369 (FPE_FLTRES): Likewise.
15370 (FPE_FLTINV): Likewise.
15371 (FPE_FLTSUB): Likewise.
15372 (SEGV_MAPERR): Likewise.
15373 (SEGV_ACCERR): Likewise.
15374 (BUS_ADRALN): Likewise.
15375 (BUS_ADRERR): Likewise.
15376 (BUS_OBJERR): Likewise.
15377 (BUS_MCEERR_AR): Likewise.
15378 (BUS_MCEERR_AO): Likewise.
15379 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15380 (TRAP_TRACE): Likewise.
15381 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15383 (CLD_KILLED): Likewise.
15384 (CLD_DUMPED): Likewise.
15385 (CLD_TRAPPED): Likewise.
15386 (CLD_STOPPED): Likewise.
15387 (CLD_CONTINUED): Likewise.
15388 (POLL_IN): Likewise.
15389 (POLL_OUT): Likewise.
15390 (POLL_MSG): Likewise.
15391 (POLL_ERR): Likewise.
15392 (POLL_PRI): Likewise.
15393 (POLL_HUP): Likewise.
15394 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15395 (ILL_ILLOPN): Likewise.
15396 (ILL_ILLADR): Likewise.
15397 (ILL_ILLTRP): Likewise.
15398 (ILL_PRVOPC): Likewise.
15399 (ILL_PRVREG): Likewise.
15400 (ILL_COPROC): Likewise.
15401 (ILL_BADSTK): Likewise.
15402 (ILL_DBLFLT): Likewise.
15403 (ILL_HARDWALL): 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/x86/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 (FPE_INTDIV): Likewise.
15443 (FPE_INTOVF): Likewise.
15444 (FPE_FLTDIV): Likewise.
15445 (FPE_FLTOVF): Likewise.
15446 (FPE_FLTUND): Likewise.
15447 (FPE_FLTRES): Likewise.
15448 (FPE_FLTINV): Likewise.
15449 (FPE_FLTSUB): Likewise.
15450 (SEGV_MAPERR): Likewise.
15451 (SEGV_ACCERR): Likewise.
15452 (BUS_ADRALN): Likewise.
15453 (BUS_ADRERR): Likewise.
15454 (BUS_OBJERR): Likewise.
15455 (BUS_MCEERR_AR): Likewise.
15456 (BUS_MCEERR_AO): Likewise.
15457 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15458 (TRAP_TRACE): Likewise.
15459 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15461 (CLD_KILLED): Likewise.
15462 (CLD_DUMPED): Likewise.
15463 (CLD_TRAPPED): Likewise.
15464 (CLD_STOPPED): Likewise.
15465 (CLD_CONTINUED): Likewise.
15466 (POLL_IN): Likewise.
15467 (POLL_OUT): Likewise.
15468 (POLL_MSG): Likewise.
15469 (POLL_ERR): Likewise.
15470 (POLL_PRI): Likewise.
15471 (POLL_HUP): Likewise.
15472 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15473 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15476 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15477 before #include of <time.h>.
15478 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15479 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15480 (test-xfail-UNIX98/sched.h/conform): Likewise.
15482 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15484 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15485 error absence of trapping exception support.
15486 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15488 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15490 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15491 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15492 * timezone/Makefile (testdata): Move definition above include of
15494 (test-zones): New variable.
15495 (tests-special): Add zone files.
15496 (build-testdata): Use $(evaluate-test).
15498 * elf/Makefile (tests-special): Rename tests to end with .out.
15499 ($(objpfx)noload-mem): Likewise.
15500 ($(objpfx)tst-leaks1-mem): Likewise.
15501 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15502 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15503 $(objpfx)test-iconvconfig.out.
15504 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15505 set -e inside subshell and redirect output to file.
15506 * iconvdata/Makefile (generated): Rename tests to end with .out.
15508 (tests-special): Rename tests to end with .out.
15509 ($(objpfx)mtrace-tst-loading): Likewise.
15510 * intl/Makefile (generated): Likewise.
15511 (tests-special): Likewise.
15512 ($(objpfx)mtrace-tst-gettext): Likewise.
15513 * misc/Makefile (generated): Likewise.
15514 (tests-special): Likewise.
15515 ($(objpfx)tst-error1-mem): Likewise.
15516 * nptl/Makefile (tests-special): Likewise.
15517 ($(objpfx)tst-stack3-mem): Likewise.
15518 (generated): Likewise.
15519 * posix/Makefile (generated): Likewise.
15520 (tests-special): Likewise.
15521 (xtests-special): Likewise.
15522 ($(objpfx)tst-fnmatch-mem): Likewise.
15523 ($(objpfx)bug-regex2-mem): Likewise.
15524 ($(objpfx)bug-regex14-mem): Likewise.
15525 ($(objpfx)bug-regex21-mem): Likewise.
15526 ($(objpfx)bug-regex31-mem): Likewise.
15527 ($(objpfx)tst-vfork3-mem): Likewise.
15528 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15529 ($(objpfx)tst-pcre-mem): Likewise.
15530 ($(objpfx)tst-boost-mem): Likewise.
15531 ($(objpfx)bug-ga2-mem): Likewise.
15532 ($(objpfx)bug-glob2-mem): Likewise.
15533 * resolv/Makefile (generate): Likewise.
15534 (tests-special): Likewise.
15535 (xtests-special): Likewise.
15536 (generated): Likewise.
15537 ($(objpfx)mtrace-tst-leaks): Likewise.
15538 ($(objpfx)mtrace-tst-leaks2): Likewise.
15540 * scripts/merge-test-results.sh: New file.
15541 * Makefile (tests-special-notdir): New variable.
15542 (tests): Run merge-test-results.sh.
15543 (xtests): Likewise.
15544 * Rules (tests-special-notdir): New variable.
15545 (xtests-special-notdir): Likewise.
15546 (tests): Run merge-test-results.sh
15547 (xtests): Likewise.
15549 * Makeconfig (test-xfail-name): New variable.
15550 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15551 compute variable name for expected failures.
15552 * conform/Makefile (conformtest-headers-data): New variable.
15553 (conformtest-standards): Likewise.
15554 (conformtest-headers-ISO): Likewise.
15555 (conformtest-headers-ISO99): Likewise.
15556 (conformtest-headers-ISO11): Likewise.
15557 (conformtest-headers-POSIX): Likewise.
15558 (conformtest-headers-XPG3): Likewise.
15559 (conformtest-headers-XPG4): Likewise.
15560 (conformtest-headers-UNIX98): Likewise.
15561 (conformtest-headers-XOPEN2K): Likewise.
15562 (conformtest-headers-POSIX2008): Likewise.
15563 (conformtest-headers-XOPEN2K8): Likewise.
15564 (conformtest-header-list-base): Likewise.
15565 (conformtest-header-list-tests): Likewise.
15566 (conformtest-header-base): Likewise.
15567 (conformtest-header-tests): Likewise.
15568 (tests-special): Add $(conformtest-header-list-tests). If
15569 [$(fast-check) && !$(cross-compiling)], add
15570 $(conformtest-header-tests) instead of
15571 $(objpfx)run-conformtest.out.
15572 (generated): Add $(conformtest-header-list-base). If
15573 [$(fast-check) && !$(cross-compiling)], add
15574 $(conformtest-header-base). Remove previous setting.
15575 ($(conformtest-header-list-tests)): New target.
15576 (test-xfail-run-conformtest): Remove variable.
15577 ($(objpfx)run-conformtest.out): Remove target.
15578 (test-xfail-ISO11/complex.h/conform): New variable.
15579 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15580 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15581 (test-xfail-XPG3/varargs.h/conform): Likewise.
15582 (test-xfail-XPG4/varargs.h/conform): Likewise.
15583 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15584 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15585 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15586 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15587 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15588 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15589 (test-xfail-XPG3/ftw.h/conform): Likewise.
15590 (test-xfail-XPG3/grp.h/conform): Likewise.
15591 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15592 (test-xfail-XPG3/limits.h/conform): Likewise.
15593 (test-xfail-XPG3/pwd.h/conform): Likewise.
15594 (test-xfail-XPG3/search.h/conform): Likewise.
15595 (test-xfail-XPG3/signal.h/conform): Likewise.
15596 (test-xfail-XPG3/stdio.h/conform): Likewise.
15597 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15598 (test-xfail-XPG3/string.h/conform): Likewise.
15599 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15600 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15601 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15602 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15603 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15604 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15605 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15606 (test-xfail-XPG3/termios.h/conform): Likewise.
15607 (test-xfail-XPG3/time.h/conform): Likewise.
15608 (test-xfail-XPG3/unistd.h/conform): Likewise.
15609 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15610 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15611 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15612 (test-xfail-XPG4/netdb.h/conform): Likewise.
15613 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15614 (test-xfail-XPG4/signal.h/conform): Likewise.
15615 (test-xfail-XPG4/stdio.h/conform): Likewise.
15616 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15617 (test-xfail-XPG4/stropts.h/conform): Likewise.
15618 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15619 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15620 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15621 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15622 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15623 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15624 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15625 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15626 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15627 (test-xfail-XPG4/termios.h/conform): Likewise.
15628 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15629 (test-xfail-XPG4/unistd.h/conform): Likewise.
15630 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15631 (test-xfail-POSIX/sched.h/conform): Likewise.
15632 (test-xfail-POSIX/signal.h/conform): Likewise.
15633 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15634 (test-xfail-POSIX/tar.h/conform): Likewise.
15635 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15636 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15637 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15638 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15639 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15640 (test-xfail-UNIX98/sched.h/conform): Likewise.
15641 (test-xfail-UNIX98/signal.h/conform): Likewise.
15642 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15643 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15644 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15645 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15646 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15647 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15648 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15649 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15650 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15651 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15652 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15653 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15654 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15655 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15656 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15657 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15658 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15659 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15660 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15661 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15662 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15663 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15664 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15665 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15666 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15667 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15668 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15669 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15670 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15671 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15672 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15673 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15674 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15675 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15676 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15677 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15678 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15679 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15680 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15681 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15682 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15683 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15684 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15685 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15686 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15687 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15688 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15689 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15690 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15691 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15692 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15693 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15694 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15695 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15696 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15697 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15698 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15699 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15700 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15701 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15702 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15703 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15704 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15705 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15706 (conformtest-cc-flags): Likewise.
15707 ($(conformtest-header-tests): New target.
15708 * conform/check-header-lists.sh: New file.
15709 * conform/run-conformtest.sh: Remove.
15711 * conform/conformtest.pl: Allow ' and \ in values given for
15713 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15715 [POSIX] (sys/types.h): Likewise.
15716 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15718 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15720 * conform/data/signal.h-data (SIGIO): Remove expectation.
15721 [XPG3] (SIGBUS): Do not expect.
15722 [POSIX || XPG3] (SIGPOLL): Likewise.
15723 [POSIX || XPG3] (SIGPROF): Likewise.
15724 [POSIX || XPG3] (SIGSYS): Likewise.
15725 [XPG3] (SIGTRAP): Likewise.
15726 [POSIX || XPG3] (SIGURG): Likewise.
15727 [POSIX || XPG3] (SIGVTALRM): Likewise.
15728 [POSIX || XPG3] (SIGXCPU): Likewise.
15729 [POSIX || XPG3] (SIGXFSZ): Likewise.
15730 [POSIX] (SA_SIGINFO): Expect.
15731 [XPG3] (siginfo_t): Do not expect type or contents.
15732 [POSIX] (si_pid): Do not expect element.
15733 [POSIX] (si_uid): Likewise.
15734 [POSIX] (si_addr): Likewise.
15735 [POSIX] (si_status): Likewise.
15736 [POSIX] (si_band): Likewise.
15737 [XPG4] (si_value): Likewise.
15738 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15739 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15740 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15741 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15742 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15743 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15744 [POSIX || XPG3] (ILL_COPROC): Likewise.
15745 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15746 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15747 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15748 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15749 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15750 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15751 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15752 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15753 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15754 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15755 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15756 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15757 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15758 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15759 [POSIX || XPG3] (CLD_EXITED): Likewise.
15760 [POSIX || XPG3] (CLD_KILLED): Likewise.
15761 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15762 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15763 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15764 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15765 [POSIX || XPG3] (POLL_IN): Likewise.
15766 [POSIX || XPG3] (POLL_OUT): Likewise.
15767 [POSIX || XPG3] (POLL_MSG): Likewise.
15768 [POSIX || XPG3] (POLL_ERR): Likewise.
15769 [POSIX || XPG3] (POLL_PRI): Likewise.
15770 [POSIX || XPG3] (POLL_HUP): Likewise.
15771 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15772 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15773 (SIG*): Do not allow.
15774 [XPG3] (si_*): Likewise.
15775 [XPG3] (SI_*): Likewise.
15776 [XPG3 || XPG4] (sigev_*): Likewise.
15777 [XPG3 || XPG4] (SIGEV_*): Likewise.
15778 [XPG3 || XPG4] (sival_*): Likewise.
15779 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15780 [POSIX || XPG3] (BUS_*): Likewise.
15781 [POSIX || XPG3] (CLD_*): Likewise.
15782 [POSIX || XPG3] (FPE_*): Likewise.
15783 [POSIX || XPG3] (ILL_*): Likewise.
15784 [POSIX || XPG3] (POLL_*): Likewise.
15785 [POSIX || XPG3] (SEGV_*): Likewise.
15786 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15787 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15788 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15789 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15790 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15791 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15792 Specify type and value.
15793 (TVERSLEN): Likewise.
15794 (REGTYPE): Likewise.
15795 (AREGTYPE): Likewise.
15796 (LNKTYPE): Likewise.
15797 (SYMTYPE): Likewise.
15798 (CHRTYPE): Likewise.
15799 (BLKTYPE): Likewise.
15800 (DIRTYPE): Likewise.
15801 (FIFOTYPE): Likewise.
15802 (CONTTYPE): Likewise.
15806 (TUREAD): Likewise.
15807 (TUWRITE): Likewise.
15808 (TUEXEC): Likewise.
15809 (TGREAD): Likewise.
15810 (TGWRITE): Likewise.
15811 (TGEXEC): Likewise.
15812 (TOREAD): Likewise.
15813 (TOWRITE): Likewise.
15814 (TOEXEC): Likewise.
15815 [POSIX] (TSVTX): Expect constant.
15817 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15819 * Makefile (tests): Change dependencies to ....
15820 (tests-special): ... additions to this variable.
15821 (tests): Depend on $(tests-special).
15822 * Makerules (check-abi-list): New variable.
15823 (check-abi): Depend on $(check-abi-list).
15824 [$(subdir) = elf] (tests-special): Add
15825 $(objpfx)check-abi-libc.out.
15826 [$(build-shared) = yes && subdir] (tests-special): Add
15828 [$(build-shared) = yes && subdir] (tests): Do not depend on
15830 * Rules (tests): Depend on $(tests-special).
15831 (xtests): Depend on $(xtests-special).
15832 * catgets/Makefile (tests): Change dependencies to ....
15833 (tests-special): ... additions to this variable.
15834 * conform/Makefile (tests): Change dependencies to ....
15835 (tests-special): ... additions to this variable.
15836 * elf/Makefile (tests): Change dependencies to ....
15837 (tests-special): ... additions to this variable.
15838 * grp/Makefile (tests): Change dependencies to ....
15839 (tests-special): ... additions to this variable.
15840 * iconv/Makefile (xtests): Change dependencies to ....
15841 (xtests-special): ... additions to this variable.
15842 * iconvdata/Makefile (tests): Change dependencies to ....
15843 (tests-special): ... additions to this variable.
15844 * intl/Makefile (tests): Change dependencies to ....
15845 (tests-special): ... additions to this variable. Also add
15846 $(objpfx)tst-gettext.out.
15847 * io/Makefile (tests): Change dependencies to ....
15848 (tests-special): ... additions to this variable.
15849 * libio/Makefile (tests): Change dependencies to ....
15850 (tests-special): ... additions to this variable.
15851 * malloc/Makefile (tests): Change dependencies to ....
15852 (tests-special): ... additions to this variable.
15853 * misc/Makefile (tests): Change dependencies to ....
15854 (tests-special): ... additions to this variable.
15855 * nptl/Makefile (tests): Change dependencies to ....
15856 (tests-special): ... additions to this variable.
15857 * nptl_db/Makefile (tests): Change dependencies to ....
15858 (tests-special): ... additions to this variable.
15859 * posix/Makefile (tests): Change dependencies to ....
15860 (tests-special): ... additions to this variable.
15861 (xtests): Change dependencies to ....
15862 (xtests-special): ... additions to this variable.
15863 * resolv/Makefile (tests): Change dependencies to ....
15864 (tests-special): ... additions to this variable.
15865 (xtests): Change dependencies to ....
15866 (xtests-special): ... additions to this variable.
15867 * stdio-common/Makefile (tests): Change dependencies to ....
15868 (tests-special): ... additions to this variable.
15869 (do-tst-unbputc): Remove target.
15870 (do-tst-printf): Likewise.
15871 * stdlib/Makefile (tests): Change dependencies to ....
15872 (tests-special): ... additions to this variable.
15873 * string/Makefile (tests): Change dependencies to ....
15874 (tests-special): ... additions to this variable.
15875 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15876 (tests-special): ... additions to this variable.
15878 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15880 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15882 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15883 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15885 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15886 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15887 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15888 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15889 * conform/data/libgen.h-data [XPG3]: Likewise.
15890 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15891 * conform/data/ndbm.h-data [XPG3]: Likewise.
15892 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15893 * conform/data/netdb.h-data [XPG3]: Likewise.
15894 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15895 * conform/data/poll.h-data [XPG3]: Likewise.
15896 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15897 * conform/data/strings.h-data [XPG3]: Likewise.
15898 * conform/data/stropts.h-data [XPG3]: Likewise.
15899 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15900 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15901 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15903 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15904 * conform/data/sys/time.h-data [XPG3]: Likewise.
15905 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15906 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15907 * conform/data/sys/un.h-data [XPG3]: Likewise.
15908 * conform/data/syslog.h-data [XPG3]: Likewise.
15909 * conform/data/ucontext.h-data [XPG3]: Likewise.
15910 * conform/data/utmpx.h-data [XPG3]: Likewise.
15911 * conform/data/varargs.h-data [UNIX98]: Enable file.
15913 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15915 * math/libm-test.inc (struct test_f_f_data): Move expected results
15916 into structure for each rounding mode.
15917 (struct test_ff_f_data): Likewise.
15918 (struct test_ff_f_data_nexttoward): Likewise.
15919 (struct test_fi_f_data): Likewise.
15920 (struct test_fl_f_data): Likewise.
15921 (struct test_if_f_data): Likewise.
15922 (struct test_fff_f_data): Likewise.
15923 (struct test_c_f_data): Likewise.
15924 (struct test_f_f1_data): Likewise.
15925 (struct test_fF_f1_data): Likewise.
15926 (struct test_ffI_f1_data): Likewise.
15927 (struct test_c_c_data): Likewise.
15928 (struct test_cc_c_data): Likewise.
15929 (struct test_f_i_data): Likewise.
15930 (struct test_ff_i_data): Likewise.
15931 (struct test_f_l_data): Likewise.
15932 (struct test_f_L_data): Likewise.
15933 (struct test_fFF_11_data): Likewise.
15935 (RM_FE_DOWNWARD): Likewise.
15936 (RM_FE_TONEAREST): Likewise.
15937 (RM_FE_TOWARDZERO): Likewise.
15938 (RM_FE_UPWARD): Likewise.
15939 (RUN_TEST_LOOP_f_f): Update references to expected results.
15940 (RUN_TEST_LOOP_2_f): Likewise.
15941 (RUN_TEST_LOOP_fff_f): Likewise.
15942 (RUN_TEST_LOOP_c_f): Likewise.
15943 (RUN_TEST_LOOP_f_f1): Likewise.
15944 (RUN_TEST_LOOP_fF_f1): Likewise.
15945 (RUN_TEST_LOOP_fI_f1): Likewise.
15946 (RUN_TEST_LOOP_ffI_f1): Likewise.
15947 (RUN_TEST_LOOP_c_c): Likewise.
15948 (RUN_TEST_LOOP_cc_c): Likewise.
15949 (RUN_TEST_LOOP_f_i): Likewise.
15950 (RUN_TEST_LOOP_f_i_tg): Likewise.
15951 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15952 (RUN_TEST_LOOP_f_b): Likewise.
15953 (RUN_TEST_LOOP_f_b_tg): Likewise.
15954 (RUN_TEST_LOOP_f_l): Likewise.
15955 (RUN_TEST_LOOP_f_L): Likewise.
15956 (RUN_TEST_LOOP_fFF_11): Likewise.
15957 * math/gen-libm-test.pl (parse_args): Output four copies of
15958 expected results for each test.
15960 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15961 (__ASSUME_UTIMES): Remove.
15962 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15963 (__ASSUME_UTIMES): Likewise.
15965 * math/gen-auto-libm-tests.c: Update comment on output format.
15966 (output_for_one_input_case): Generate before-rounding and
15967 after-rounding information as conditions on output flags not
15968 floating-point format.
15969 * math/auto-libm-test-out: Regenerated.
15970 * math/gen-libm-test.pl (cond_value): New function.
15971 (or_cond_value): Use cond_value.
15972 (generate_testfile): Handle conditional exceptions.
15974 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15976 * math/libm-test.inc (max_valid_error): New variable.
15977 (init_max_error): Take new argument specifying whether function
15978 results are exactly determined. Set max_valid_error and bound
15979 other variables for errors based on this argument.
15980 (set_max_error): Do not record results above max_valid_error.
15981 (check_float_internal): Only accept errors of up to 0.5ulps if
15982 also at most max_valid_error.
15983 (START): Take new argument EXACT and pass it to init_max_error.
15984 (acos_test): Update call to START.
15985 (acos_test_tonearest): Likewise.
15986 (acos_test_towardzero): Likewise.
15987 (acos_test_downward): Likewise.
15988 (acos_test_upward): Likewise.
15989 (acosh_test): Likewise.
15990 (asin_test): Likewise.
15991 (asin_test_tonearest): Likewise.
15992 (asin_test_towardzero): Likewise.
15993 (asin_test_downward): Likewise.
15994 (asin_test_upward): Likewise.
15995 (asinh_test): Likewise.
15996 (atan_test): Likewise.
15997 (atanh_test): Likewise.
15998 (atan2_test): Likewise.
15999 (cabs_test): Likewise.
16000 (cacos_test): Likewise.
16001 (cacosh_test): Likewise.
16002 (carg_test): Likewise.
16003 (casin_test): Likewise.
16004 (casinh_test): Likewise.
16005 (catan_test): Likewise.
16006 (catanh_test): Likewise.
16007 (cbrt_test): Likewise.
16008 (ccos_test): Likewise.
16009 (ccosh_test): Likewise.
16010 (ceil_test): Likewise.
16011 (cexp_test): Likewise.
16012 (cimag_test): Likewise.
16013 (clog_test): Likewise.
16014 (clog10_test): Likewise.
16015 (conj_test): Likewise.
16016 (copysign_test): Likewise.
16017 (cos_test): Likewise.
16018 (cos_test_tonearest): Likewise.
16019 (cos_test_towardzero): Likewise.
16020 (cos_test_downward): Likewise.
16021 (cos_test_upward): Likewise.
16022 (cosh_test): Likewise.
16023 (cosh_test_tonearest): Likewise.
16024 (cosh_test_towardzero): Likewise.
16025 (cosh_test_downward): Likewise.
16026 (cosh_test_upward): Likewise.
16027 (cpow_test): Likewise.
16028 (cproj_test): Likewise.
16029 (creal_test): Likewise.
16030 (csin_test): Likewise.
16031 (csinh_test): Likewise.
16032 (csqrt_test): Likewise.
16033 (ctan_test): Likewise.
16034 (ctan_test_tonearest): Likewise.
16035 (ctan_test_towardzero): Likewise.
16036 (ctan_test_downward): Likewise.
16037 (ctan_test_upward): Likewise.
16038 (ctanh_test): Likewise.
16039 (ctanh_test_tonearest): Likewise.
16040 (ctanh_test_towardzero): Likewise.
16041 (ctanh_test_downward): Likewise.
16042 (ctanh_test_upward): Likewise.
16043 (erf_test): Likewise.
16044 (erfc_test): Likewise.
16045 (exp_test): Likewise.
16046 (exp_test_tonearest): Likewise.
16047 (exp_test_towardzero): Likewise.
16048 (exp_test_downward): Likewise.
16049 (exp_test_upward): Likewise.
16050 (exp10_test): Likewise.
16051 (exp10_test_tonearest): Likewise.
16052 (exp10_test_towardzero): Likewise.
16053 (exp10_test_downward): Likewise.
16054 (exp10_test_upward): Likewise.
16055 (pow10_test): Likewise.
16056 (exp2_test): Likewise.
16057 (expm1_test): Likewise.
16058 (expm1_test_tonearest): Likewise.
16059 (expm1_test_towardzero): Likewise.
16060 (expm1_test_downward): Likewise.
16061 (expm1_test_upward): Likewise.
16062 (fabs_test): Likewise.
16063 (fdim_test): Likewise.
16064 (floor_test): Likewise.
16065 (fma_test): Likewise.
16066 (fma_test_towardzero): Likewise.
16067 (fma_test_downward): Likewise.
16068 (fma_test_upward): Likewise.
16069 (fmax_test): Likewise.
16070 (fmin_test): Likewise.
16071 (fmod_test): Likewise.
16072 (fpclassify_test): Likewise.
16073 (frexp_test): Likewise.
16074 (hypot_test): Likewise.
16075 (ilogb_test): Likewise.
16076 (isfinite_test): Likewise.
16077 (finite_test): Likewise.
16078 (isgreater_test): Likewise.
16079 (isgreaterequal_test): Likewise.
16080 (isinf_test): Likewise.
16081 (isless_test): Likewise.
16082 (islessequal_test): Likewise.
16083 (islessgreater_test): Likewise.
16084 (isnan_test): Likewise.
16085 (isnormal_test): Likewise.
16086 (issignaling_test): Likewise.
16087 (isunordered_test): Likewise.
16088 (j0_test): Likewise.
16089 (j1_test): Likewise.
16090 (jn_test): Likewise.
16091 (ldexp_test): Likewise.
16092 (lgamma_test): Likewise.
16093 (gamma_test): Likewise.
16094 (lrint_test): Likewise.
16095 (lrint_test_tonearest): Likewise.
16096 (lrint_test_towardzero): Likewise.
16097 (lrint_test_downward): Likewise.
16098 (lrint_test_upward): Likewise.
16099 (llrint_test): Likewise.
16100 (llrint_test_tonearest): Likewise.
16101 (llrint_test_towardzero): Likewise.
16102 (llrint_test_downward): Likewise.
16103 (llrint_test_upward): Likewise.
16104 (log_test): Likewise.
16105 (log10_test): Likewise.
16106 (log1p_test): Likewise.
16107 (log2_test): Likewise.
16108 (logb_test): Likewise.
16109 (logb_test_downward): Likewise.
16110 (lround_test): Likewise.
16111 (llround_test): Likewise.
16112 (modf_test): Likewise.
16113 (nearbyint_test): Likewise.
16114 (nextafter_test): Likewise.
16115 (nexttoward_test): Likewise.
16116 (pow_test): Likewise.
16117 (pow_test_tonearest): Likewise.
16118 (pow_test_towardzero): Likewise.
16119 (pow_test_downward): Likewise.
16120 (pow_test_upward): Likewise.
16121 (remainder_test): Likewise.
16122 (drem_test): Likewise.
16123 (remainder_test_tonearest): Likewise.
16124 (drem_test_tonearest): Likewise.
16125 (remainder_test_towardzero): Likewise.
16126 (drem_test_towardzero): Likewise.
16127 (remainder_test_downward): Likewise.
16128 (drem_test_downward): Likewise.
16129 (remainder_test_upward): Likewise.
16130 (drem_test_upward): Likewise.
16131 (remquo_test): Likewise.
16132 (rint_test): Likewise.
16133 (rint_test_tonearest): Likewise.
16134 (rint_test_towardzero): Likewise.
16135 (rint_test_downward): Likewise.
16136 (rint_test_upward): Likewise.
16137 (round_test): Likewise.
16138 (scalb_test): Likewise.
16139 (scalbn_test): Likewise.
16140 (scalbln_test): Likewise.
16141 (signbit_test): Likewise.
16142 (sin_test): Likewise.
16143 (sin_test_tonearest): Likewise.
16144 (sin_test_towardzero): Likewise.
16145 (sin_test_downward): Likewise.
16146 (sin_test_upward): Likewise.
16147 (sincos_test): Likewise.
16148 (sinh_test): Likewise.
16149 (sinh_test_tonearest): Likewise.
16150 (sinh_test_towardzero): Likewise.
16151 (sinh_test_downward): Likewise.
16152 (sinh_test_upward): Likewise.
16153 (sqrt_test): Likewise.
16154 (sqrt_test_tonearest): Likewise.
16155 (sqrt_test_towardzero): Likewise.
16156 (sqrt_test_downward): Likewise.
16157 (sqrt_test_upward): Likewise.
16158 (tan_test): Likewise.
16159 (tan_test_tonearest): Likewise.
16160 (tan_test_towardzero): Likewise.
16161 (tan_test_downward): Likewise.
16162 (tan_test_upward): Likewise.
16163 (tanh_test): Likewise.
16164 (tgamma_test): Likewise.
16165 (trunc_test): Likewise.
16166 (y0_test): Likewise.
16167 (y1_test): Likewise.
16168 (yn_test): Likewise.
16169 (significand_test): Likewise.
16171 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16172 individual tests in comment.
16173 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16174 (prev_max_error): New variable.
16175 (prev_real_max_error): Likewise.
16176 (prev_imag_max_error): Likewise.
16177 (compare_ulp_data): Don't refer to test names in comment.
16178 (find_test_ulps): Remove function.
16179 (find_function_ulps): Likewise.
16180 (find_complex_function_ulps): Likewise.
16181 (init_max_error): Take function name as argument. Look up ulps
16183 (print_ulps): Remove function.
16184 (print_max_error): Use prev_max_error instead of calling
16185 find_function_ulps.
16186 (print_complex_max_error): Use prev_real_max_error and
16187 prev_imag_max_error instead of calling find_complex_function_ulps.
16188 (check_float_internal): Take max_ulp parameter instead of calling
16189 find_test_ulps. Don't call print_ulps.
16190 (check_float): Update call to check_float_internal.
16191 (check_complex): Update calls to check_float_internal.
16192 (START): Pass argument to init_max_error.
16193 * math/gen-libm-test.pl (%results): Don't include "kind"
16195 (parse_ulps): Don't handle ulps of individual tests.
16196 (print_ulps_file): Likewise.
16197 (output_ulps): Likewise.
16198 * math/README.libm-test: Update.
16199 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16201 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16202 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16203 * sysdeps/arm/libm-test-ulps: Likewise.
16204 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16205 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16206 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16207 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16208 * sysdeps/microblaze/libm-test-ulps: Likewise.
16209 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16210 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16212 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16213 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16214 * sysdeps/sh/libm-test-ulps: Likewise.
16215 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16216 * sysdeps/tile/libm-test-ulps: Likewise.
16217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16219 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16221 * math/libm-test.inc (print_complex_max_error): Check separately
16222 whether real and imaginary errors are within allowed range and
16223 pass 0 to print_complex_function_ulps instead of value within
16226 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16228 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16230 (get_handles_fopen): Likewise.
16231 (do_write_test): Likewise.
16233 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16235 * libio/fileops.c (do_ftell): Use cached offset when
16237 * libio/iofwide.c (do_ftell_wide): Likewise.
16238 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16240 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16243 * libio/libioP.h (get_file_offset): New function.
16244 * libio/fileops.c (get_file_offset): Likewise.
16245 (do_ftell): Likewise.
16246 (_IO_new_file_seekoff): Split out ftell logic.
16247 * libio/wfileops.c (do_ftell_wide): Likewise.
16248 (_IO_wfile_seekoff): Split out ftell logic.
16249 * libio/tst-ftell-active-handler.c: New test case.
16250 * libio/Makefile (tests): Add it.
16252 2014-03-03 Roland McGrath <roland@hack.frob.com>
16254 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16255 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16257 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16260 * nscd/connections.c (nscd_init): Call do_exit.
16261 (start_threads): Call do_exit and notify_parent.
16262 (begin_drop_privileges): Call do_exit.
16263 (finish_drop_privileges): Likewise.
16264 * nscd/selinux.c (preserve_capabilities): Likewise.
16265 (install_real_capabilities): Likewise.
16266 (nscd_selinux_enabled): Likewise.
16267 (avc_create_thread): Likewise.
16268 (avc_alloc_lock): Likewise.
16269 (nscd_avc_init): Likewise.
16270 * nscd/nscd.c (parent_fd): New static variable.
16271 (main): Create a pipe between parent and child processes.
16272 Skip closing parent_fd.
16273 (monitor_child): New function.
16274 (do_exit): Likewise.
16275 (notify_parent): Likewise.
16276 * nscd/nscd.h (notify_parent): Likewise.
16277 (do_exit): Likewise.
16279 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16281 * malloc/malloc.c (__libc_calloc): Revert last change.
16283 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16287 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16289 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16293 (__libc_ifunc_impl_list): Likewise.
16294 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16295 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16296 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16297 * string/strrchr.c: Define STRRCHR.
16299 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16301 * benchtest/bench-strtok.c (simple_strtok): Delete.
16302 (strtok_string): Use as benchmark.
16303 * string/strtok (STRTOK): New macro.
16305 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16307 * manual/threads.texi: Add header and standard comments to all
16310 * elf/dl-lookup.c (check_match): New function.
16311 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16312 (do_lookup_x): Remove nested function check_match. Use non-nested
16313 function check_match.
16315 2014-02-28 Roland McGrath <roland@hack.frob.com>
16317 * csu/Makefile (generated, before-compile): Use += rather than =.
16318 * catgets/Makefile (generated, generated-dirs): Likewise.
16319 * debug/Makefile (generated): Likewise.
16320 * dlfcn/Makefile (generated): Likewise.
16321 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16322 * iconvdata/Makefile (before-compile, generated): Likewise.
16323 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16324 * libio/Makefile (generated): Likewise.
16325 * malloc/Makefile (generated): Likewise.
16326 * manual/Makefile (generated, generated-dirs): Likewise.
16327 * misc/Makefile (generated): Likewise.
16328 * posix/Makefile (generated): Likewise.
16329 * resolv/Makefile (generated): Likewise.
16330 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16331 * timezone/Makefile (generated, generated-dirs): Likewise.
16333 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16335 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16338 power8 implementation.
16339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16340 file: POWER8 llround ifunc implementation.
16341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16342 (__lllround): Add POWER8 implementation.
16343 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16344 POWER8 llround implementation.
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16347 power8 implementation.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16349 file: POWER8 llrint ifunc implementation.
16350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16351 Add POWER8 implementation.
16352 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16353 POWER8 llrint implementation.
16355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16356 power8 implementation.
16357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16358 file: POWER8 finite ifunc implementation.
16359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16360 Add POWER8 implementation.
16361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16364 POWER8 finite implementation.
16365 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16368 power8 implementation.
16369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16370 file: POWER8 isinf ifunc implementation.
16371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16372 POWER8 implementation.
16373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16376 isinf implementation.
16377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16380 (INIT_ARCH): Add hwcap2 initialization.
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16382 power8 implementation.
16383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16384 file: POWER8 isnan ifunc implementation.
16385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16386 POWER8 implementation.
16387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16390 isnan implementation.
16391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16393 2014-02-27 Joey Ye <joey.ye@arm.com>
16395 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16396 (_FP_NANFRAC_Q): Set to zero.
16398 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16401 * math/auto-libm-test-in: New test inputs.
16402 * math/auto-libm-test-out: Regenerate.
16403 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16408 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16410 * scripts/evaluate-test.sh: Take new argument indicating whether
16411 failure is expected.
16412 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16413 indicating whether failure is expected.
16414 * conform/Makefile (test-xfail-run-conformtest): New variable.
16415 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16417 * posix/Makefile (test-xfail-annexc): New variable.
16418 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16420 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16422 * argp/Makefile: Include Makeconfig immediately after defining
16424 * assert/Makefile: Likewise.
16425 * benchtests/Makefile: Likewise.
16426 * catgets/Makefile: Likewise.
16427 * conform/Makefile: Likewise.
16428 * crypt/Makefile: Likewise.
16429 * csu/Makefile: Likewise.
16430 (all): Remove target.
16431 * ctype/Makefile: Include Makeconfig immediately after defining
16433 * debug/Makefile: Likewise.
16434 * dirent/Makefile: Likewise.
16435 * dlfcn/Makefile: Likewise.
16436 * gmon/Makefile: Likewise.
16437 * gnulib/Makefile: Likewise.
16438 * grp/Makefile: Likewise.
16439 * gshadow/Makefile: Likewise.
16440 * hesiod/Makefile: Likewise.
16441 * hurd/Makefile: Likewise.
16442 (all): Remove target.
16443 * iconvdata/Makefile: Include Makeconfig immediately after
16445 * inet/Makefile: Likewise.
16446 * intl/Makefile: Likewise.
16447 * io/Makefile: Likewise.
16448 * libio/Makefile: Likewise.
16449 (all): Remove target.
16450 * locale/Makefile: Include Makeconfig immediately after defining
16452 * login/Makefile: Likewise.
16453 * mach/Makefile: Likewise.
16454 (all): Remove target.
16455 * malloc/Makefile: Include Makeconfig immediately after defining
16457 (all): Remove target.
16458 * manual/Makefile: Include Makeconfig immediately after defining
16460 * math/Makefile: Likewise.
16461 * misc/Makefile: Likewise.
16462 * nis/Makefile: Likewise.
16463 * nss/Makefile: Likewise.
16464 * po/Makefile: Likewise.
16465 (all): Remove target.
16466 * posix/Makefile: Include Makeconfig immediately after defining
16468 * pwd/Makefile: Likewise.
16469 * resolv/Makefile: Likewise.
16470 * resource/Makefile: Likewise.
16471 * rt/Makefile: Likewise.
16472 * setjmp/Makefile: Likewise.
16473 * shadow/Makefile: Likewise.
16474 * signal/Makefile: Likewise.
16475 * socket/Makefile: Likewise.
16476 * soft-fp/Makefile: Likewise.
16477 * stdio-common/Makefile: Likewise.
16478 * stdlib/Makefile: Likewise.
16479 * streams/Makefile: Likewise.
16480 * string/Makefile: Likewise.
16481 * sunrpc/Makefile: Likewise.
16482 (all): Remove target.
16483 * sysvipc/Makefile: Include Makeconfig immediately after defining
16485 * termios/Makefile: Likewise.
16486 * time/Makefile: Likewise.
16487 * timezone/Makefile: Likewise.
16488 (all): Remove target.
16489 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16491 * wctype/Makefile: Likewise.
16493 2014-02-26 Steve Ellcey <sellcey@mips.com>
16495 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16496 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16497 (libc_feholdexcept_setround_mips): Ditto.
16498 (libc_feholdsetround): New.
16499 (libc_feholdsetroundf): New.
16500 (libc_feholdsetroundl): New.
16501 (libc_feupdateenv_test_mips): New.
16502 (libc_feupdateenv_test): New.
16503 (libc_feupdateenv_testf): New.
16504 (libc_feupdateenv_testl): New.
16505 (libc_feresetround): New.
16506 (libc_feresetroundf): New.
16507 (libc_feresetroundl): New.
16508 (libc_fetestexcept_mips): New.
16509 (libc_fetestexcept): New.
16510 (libc_fetestexceptf): New.
16511 (libc_fetestexceptl): New.
16512 (HAVE_RM_CTX): New.
16513 (libc_feholdexcept_setround_mips_ctx): New.
16514 (libc_feholdexcept_setround_ctx): New.
16515 (libc_feholdexcept_setroundf_ctx): New.
16516 (libc_feholdexcept_setroundl_ctx): New.
16517 (libc_fesetenv_mips_ctx): New.
16518 (libc_fesetenv_ctx): New.
16519 (libc_fesetenv_ctxf): New.
16520 (libc_fesetenv_ctxl): New.
16521 (libc_feupdateenv_mips_ctx): New.
16522 (libc_feupdateenv_ctx): New.
16523 (libc_feupdateenvf_ctx): New.
16524 (libc_feupdateenvl_ctx): New.
16525 (libc_feholdsetround_mips_ctx): New.
16526 (libc_feholdsetround_ctx): New.
16527 (libc_feholdsetroundf_ctx): New.
16528 (libc_feholdsetroundl_ctx): New.
16529 (libc_feresetround_mips_ctx): New.
16530 (libc_feresetround_ctx): New.
16531 (libc_feresetroundf_ctx): New.
16532 (libc_feresetroundl_ctx): New.
16534 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16536 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16538 * manual/ipc.texi: New file.
16539 * manual/Makefile (chapters): Add ipc.
16540 * manual/job.texi: Add "Inter-Process Communication" to next.
16541 * manual/process.texi: Add "Inter-Process Communication" to prev.
16543 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16547 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16549 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16551 * manual/arith.texi: Fix spaces after sentences.
16552 * manual/charset.texi: Likewise.
16553 * manual/errno.texi: Likewise.
16554 * manual/install.texi: Likewise.
16555 * manual/llio.texi: Likewise.
16556 * manual/locale.texi: Likewise.
16557 * manual/maint.texi: Likewise.
16558 * manual/math.texi: Likewise.
16559 * manual/memory.texi: Likewise.
16560 * manual/message.texi: Likewise.
16561 * manual/probes.texi: Likewise.
16562 * manual/resource.texi: Likewise.
16563 * manual/signal.texi: Likewise.
16564 * manual/socket.texi: Likewise.
16565 * manual/stdio.texi: Likewise.
16566 * manual/string.texi: Likewise.
16567 * manual/time.texi: Likewise.
16568 * manual/users.texi: Likewise.
16570 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16573 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16574 _DEFAULT_SOURCE is defined.
16576 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16577 Carlos O'Donell <carlos@redhat.com>
16580 * elf/dl-tls.c (_dl_count_modids): New function.
16581 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16582 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16583 audit library and increment generation counter.
16584 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16585 * elf/tst-audit9.c: New file.
16586 * elf/tst-auditmod9a.c: New file.
16587 * elf/tst-auditmod9b.c: New file.
16588 * elf/Makefile: Add rules to build and run tst-audit9.
16590 2014-02-25 Florian Weimer <fweimer@redhat.com>
16593 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16595 2014-02-25 Will Newton <will.newton@linaro.org>
16597 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16598 (__longjmp): Restore sp and lr before restoring callee
16599 saved registers. Add longjmp and longjmp_target
16600 SystemTap probe point.
16601 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16602 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16603 Define to zero to match jmpbuf layout.
16604 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16605 (__sigsetjmp): Save sp and lr before saving callee
16606 saved registers. Add setjmp SystemTap probe point.
16608 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16610 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16612 2014-02-24 Andreas Schwab <schwab@suse.de>
16615 * elf/pldd.c (wait_for_ptrace_stop): New function.
16616 (main): Call it after attaching.
16618 2014-02-22 Roland McGrath <roland@hack.frob.com>
16620 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16621 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16622 Versions files is now verboten.
16623 * hurd/Versions (libc: GLIBC_2.0):
16624 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16625 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16626 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16627 * mach/Versions: Likewise.
16629 * csu/Versions: Remove unused %include.
16630 * resolv/Versions: Likewise.
16632 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16634 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16635 ($(objpfx)check-local-headers.out): Likewise.
16636 ($(objpfx)begin-end-check.out): Likewise.
16637 * Makerules (check-abi-%.out): Likewise.
16638 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16639 ($(objpfx)test2.cat): Likewise.
16640 ($(objpfx)de/libc.cat): Likewise.
16641 ($(objpfx)test-gencat.out): Likewise.
16642 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16643 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16644 ($(objpfx)noload-mem): Likewise.
16645 ($(objpfx)tst-pathopt.out): Likewise.
16646 ($(objpfx)tst-rtld-load-self.out): Likewise.
16647 ($(objpfx)tst-array1-cmp.out): Likewise.
16648 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16649 ($(objpfx)tst-array2-cmp.out): Likewise.
16650 ($(objpfx)tst-array3-cmp.out): Likewise.
16651 ($(objpfx)tst-array4-cmp.out): Likewise.
16652 ($(objpfx)tst-array5-cmp.out): Likewise.
16653 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16654 ($(objpfx)check-textrel.out): Likewise.
16655 ($(objpfx)check-execstack.out): Likewise.
16656 ($(objpfx)check-localplt.out): Likewise.
16657 ($(objpfx)order2-cmp.out): Likewise.
16658 ($(objpfx)tst-leaks1-mem): Likewise.
16659 ($(objpfx)tst-leaks1-static-mem): Likewise.
16660 ($(objpfx)tst-initorder-cmp.out): Likewise.
16661 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16662 ($(objpfx)tst-unused-dep.out): Likewise.
16663 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16664 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16665 * iconv/Makefile (test-iconvconfig): Likewise.
16666 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16667 ($(objpfx)iconv-test.out): Likewise.
16668 ($(objpfx)tst-tables.out): Likewise.
16669 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16670 ($(objpfx)tst-gettext.out): Likewise.
16671 ($(objpfx)tst-translit.out): Likewise.
16672 ($(objpfx)tst-gettext2.out): Likewise.
16673 ($(objpfx)tst-gettext4.out): Likewise.
16674 ($(objpfx)tst-gettext6.out): Likewise.
16675 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16676 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16677 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16678 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16679 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16680 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16681 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16682 ($(objpfx)wordexp-tst.out): Likewise.
16683 ($(objpfx)annexc.out): Likewise.
16684 ($(objpfx)tst-fnmatch-mem): Likewise.
16685 ($(objpfx)bug-regex2-mem): Likewise.
16686 ($(objpfx)bug-regex14-mem): Likewise.
16687 ($(objpfx)bug-regex21-mem): Likewise.
16688 ($(objpfx)bug-regex31-mem): Likewise.
16689 ($(objpfx)tst-vfork3-mem): Likewise.
16690 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16691 ($(objpfx)tst-pcre-mem): Likewise.
16692 ($(objpfx)tst-boost-mem): Likewise.
16693 ($(objpfx)tst-getconf.out): Likewise.
16694 ($(objpfx)bug-ga2-mem): Likewise.
16695 ($(objpfx)bug-glob2-mem): Likewise.
16696 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16697 ($(objpfx)mtrace-tst-leaks2): Likewise.
16698 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16699 ($(objpfx)tst-printf.out): Likewise.
16700 ($(objpfx)tst-setvbuf1.out): Likewise.
16701 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16702 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16703 ($(objpfx)tst-fmtmsg.out): Likewise.
16704 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16705 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16707 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16708 * bits/sigaction.h [__USE_MISC]: Likewise.
16709 * bits/waitstatus.h: Update #endif comments.
16710 * ctype/ctype.h: Likewise.
16711 * dirent/dirent.h: Likewise.
16712 [__USE_MISC]: Remove redundant conditionals.
16713 * grp/grp.h: Update #endif comments.
16714 [__USE_GNU]: Remove redundant conditionals.
16715 [__USE_MISC]: Likewise.
16716 * inet/netinet/in.h [__USE_GNU]: Likewise.
16717 * io/sys/stat.h [__USE_MISC]: Likewise.
16718 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16719 * libio/bits/stdio.h: Update #endif comments.
16720 [__USE_MISC]: Remove redundant conditionals.
16721 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16722 * libio/stdio.h: Update #endif comments.
16723 [__USE_MISC]: Remove redundant conditionals.
16724 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16725 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16726 * math/math.h: Update #else and #endif comments.
16727 [__USE_MISC]: Remove redundant conditionals.
16728 * misc/sys/uio.h: Update #endif comments.
16729 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16730 * posix/glob.h [__USE_MISC]: Likewise.
16731 * posix/sys/types.h: Update #endif comments.
16732 [__USE_MISC]: Remove redundant conditionals.
16733 * posix/sys/wait.h: Update #endif comments.
16734 [__USE_MISC]: Remove redundant conditionals.
16735 * posix/unistd.h: Update #endif comments.
16736 [__USE_MISC]: Remove redundant conditionals.
16737 * pwd/pwd.h [__USE_GNU]: Likewise.
16738 [__USE_MISC]: Likewise.
16739 * resolv/netdb.h [__USE_GNU]: Likewise.
16740 * signal/signal.h: Update #endif comments.
16741 [__USE_MISC]: Remove redundant conditionals.
16742 * stdlib/stdlib.h: Update #else and #endif comments.
16743 [__USE_MISC]: Remove redundant conditionals.
16744 [__USE_GNU]: Likewise.
16745 * string/bits/string2.h [__USE_MISC]: Likewise.
16746 * string/string.h: Update #endif comments.
16747 [__USE_MISC]: Remove redundant conditionals.
16748 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16750 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16751 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16752 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16754 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16758 [__USE_MISC]: Remove redundant conditionals.
16759 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16760 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16761 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16762 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16763 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16765 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16766 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16768 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16769 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16771 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16773 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16774 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16776 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16778 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16779 * sysdeps/x86/bits/string.h: Update #endif comments.
16780 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16782 * time/sys/time.h: Update #endif comments.
16783 * time/time.h: Likewise.
16784 [__USE_MISC]: Remove redundant conditionals.
16786 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16789 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16791 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16793 * Versions.def (librt): Add GLIBC_2.17.
16795 2014-02-21 Adam Conrad <adconrad@0c3.net>
16797 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16798 synonym for _SYS_AUXV_H to allow direct inclusion.
16799 * sysdeps/sparc/bits/hwcap.h: Likewise.
16800 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16801 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16802 * sysdeps/sparc/sysdep.h: Likewise.
16804 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16806 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16808 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16810 * benchtests/bench-strrchr.c: Print length instead of position.
16812 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16815 * sysdeps/unix/sysv/linux/kernel-features.h
16816 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16817 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16818 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16819 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16821 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16822 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16823 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16824 (__ASSUME_SENDMMSG): Define instead of using previous
16825 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16826 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16827 (__ASSUME_SENDMMSG_SYSCALL): Define.
16828 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16829 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16831 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16832 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16834 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16835 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16837 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16838 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16839 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16840 [__ASSUME_SENDMMSG]: Change conditionals to
16841 [__ASSUME_SENDMMSG_SOCKETCALL].
16842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16843 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16845 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16846 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16848 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16849 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16850 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16851 [!__ASSUME_SENDMMSG]: Change conditional to
16852 [!__ASSUME_SENDMMSG_SOCKETCALL].
16853 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16854 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16858 * sysdeps/unix/sysv/linux/kernel-features.h
16859 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16860 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16861 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16862 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16863 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16864 [__i386__ || __sparc__]
16865 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16866 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16867 (__ASSUME_RECVMMSG): Define instead of using previous
16868 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16869 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16870 (__ASSUME_RECVMMSG_SYSCALL): Define.
16871 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16872 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16874 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16875 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16877 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16878 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16880 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16881 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16882 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16883 [__ASSUME_RECVMMSG]: Change condition to
16884 [__ASSUME_RECVMMSG_SOCKETCALL].
16885 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16886 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16888 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16889 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16890 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16892 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16893 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16894 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16895 [!__ASSUME_RECVMMSG]: Change condition to
16896 [!__ASSUME_RECVMMSG_SOCKETCALL].
16897 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16898 (__ASSUME_RECVMMSG_SYSCALL): Define.
16901 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16902 __powerpc__ || __s390__ || __sh__ || __sparc__]
16903 (__ASSUME_SOCKETCALL): Define.
16904 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16905 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16906 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16907 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16908 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16909 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16910 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16911 (__ASSUME_ACCEPT4): Define instead of using previous
16912 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16913 __powerpc__ || __sparc__ || __s390__)] condition.
16914 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16915 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16916 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16917 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16918 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16919 [!__ASSUME_ACCEPT4]: Change condition to
16920 [!__ASSUME_ACCEPT4_SOCKETCALL].
16921 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16922 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16923 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16925 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16926 __ASSUME_ACCEPT4_SYSCALL.
16927 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16928 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16929 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16930 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16931 __ASSUME_ACCEPT4_SYSCALL.
16932 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16933 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16934 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16935 [__ASSUME_ACCEPT4]: Change condition to
16936 [__ASSUME_ACCEPT4_SOCKETCALL].
16937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16938 (__ASSUME_SOCKETCALL): Define.
16939 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16941 (__ASSUME_SOCKETCALL): Define.
16942 (__ASSUME_ACCEPT4): Remove.
16943 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16946 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16949 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16951 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16953 (HWCAP_ARM_LPAE): Likewise.
16954 (HWCAP_ARM_EVTSTRM): Likewise.
16955 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16956 Add vpfd32, lpae and evtstrm.
16957 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16960 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16962 * math/auto-libm-test-in: Add tests of clog10.
16963 * math/auto-libm-test-out: Regenerated.
16964 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16965 * sysdeps/i386/fpu/libm-test-ulps: Update.
16966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16968 2014-02-18 Andreas Schwab <schwab@suse.de>
16971 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16972 Store non-zero if the second buffer was newly allocated.
16973 (send_dg): Likewise.
16974 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16975 to send_vc and send_dg.
16976 (res_nsend): Pass NULL for ansp2_malloced.
16977 * resolv/res_query.c (__libc_res_nquery): Add parameter
16978 answerp2_malloced and pass it down to __libc_res_nsend.
16979 (res_nquery): Pass additional NULL to __libc_res_nquery.
16980 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16981 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16982 second answer buffer if answerp2_malloced was set.
16983 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16984 (__libc_res_nquerydomain): Add parameter
16985 answerp2_malloced and pass it down to __libc_res_nquery.
16986 (res_nquerydomain): Pass additional NULL to
16987 __libc_res_nquerydomain.
16988 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16989 additional NULL to __libc_res_nsend and __libc_res_nquery.
16990 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16991 additional NULL to __libc_res_nsearch.
16992 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16993 parameter of __libc_res_nsearch to check for separately allocated
16995 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16997 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16998 additional NULL to __libc_res_nquery.
16999 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17000 __libc_res_nsearch.
17001 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17002 * include/resolv.h: Update prototypes of __libc_res_nquery,
17003 __libc_res_nsearch, __libc_res_nsend.
17005 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17007 * math/auto-libm-test-in: Add tests of fma.
17008 * math/auto-libm-test-out: Regenerated.
17009 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17010 (fma_towardzero_test_data): Likewise.
17011 (fma_downward_test_data): Likewise.
17012 (fma_upward_test_data): Likewise.
17013 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17015 (rounding_modes): Add values for new field.
17016 (func_calc_method): Add value mpfr_fff_f.
17017 (func_calc_desc): Add mpfr_fff_f union field.
17018 (test_function): Add field exact_args.
17019 (FUNC): Add macro argument EXACT_ARGS.
17020 (FUNC_mpfr_f_f): Update call to FUNC.
17021 (FUNC_mpfr_f_f): Likewise.
17022 (FUNC_mpfr_ff_f): Likewise.
17023 (FUNC_mpfr_if_f): Likewise.
17024 (FUNC_mpc_c_f): Likewise.
17025 (FUNC_mpc_c_c): Likewise.
17026 (test_functions): Add fma. Update calls to FUNC.
17027 (handle_input_arg): Add argument exact_args.
17028 (add_test): Update call to handle_input_arg.
17029 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17030 (output_for_one_input_case): Update call to calc_generic_results.
17031 Recalculate exact zero results in each rounding mode.
17033 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17034 non-negative before setting low bit.
17035 * math/auto-libm-test-in: Mark one asin test possibly having
17036 spurious underflow.
17037 * math/auto-libm-test-out: Regenerated.
17038 * sysdeps/i386/fpu/libm-test-ulps: Update.
17039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17041 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17043 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17044 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17045 ports/sysdeps/unix/sysv/linux/microblaze.
17046 * README: Add missing listing for microblaze*-*-linux-gnu.
17048 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17050 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17053 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17055 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17056 * sysdeps/unix/sysv/linux/ia64: Move directory from
17057 ports/sysdeps/unix/sysv/linux/ia64.
17058 * README: Update listing for ia64-*-linux-gnu.
17060 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17061 Joseph Myers <joseph@codesourcery.com>
17063 * Makeconfig (test-name): New variable.
17064 (evaluate-test): Likewise.
17065 * Makerules (do-test-clean): Remove .test-result files.
17066 (common-mostlyclean): Likewise.
17067 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17068 * scripts/evaluate-test.sh: New file.
17070 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17072 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17073 separate $(objpfx)tst-fopenloc-cmp.out and
17074 $(objpfx)tst-fopenloc-mem.out targets.
17075 (tests): Update dependencies.
17076 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17077 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17078 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17079 (tst-rxspencer-no-utf8-ARGS): New variable.
17080 (tst-rxspencer-no-utf8-ENV): Likewise.
17081 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17082 instead of $(objpfx)tst-rxspencer-mem.
17083 ($(objpfx)tst-rxspencer-mem): Change target to
17084 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17085 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17086 * posix/tst-rxspencer-no-utf8.c: New file.
17088 * elf/Makefile ($(objpfx)order.out): Remove rule.
17089 [$(run-built-tests) = yes] (tests): Depend on
17090 $(objpfx)order-cmp.out.
17091 ($(objpfx)order-cmp.out): New rule.
17092 [$(run-built-tests) = yes] (tests): Depend on
17093 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17094 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17095 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17096 $(objpfx)tst-array5-static-cmp.out.
17097 ($(objpfx)tst-array1.out): Remove rule.
17098 ($(objpfx)tst-array1-cmp.out): New rule.
17099 ($(objpfx)tst-array1-static.out): Remove rule.
17100 ($(objpfx)tst-array1-static-cmp.out): New rule.
17101 ($(objpfx)tst-array2.out): Remove rule.
17102 ($(objpfx)tst-array2-cmp.out): New rule.
17103 ($(objpfx)tst-array3.out): Remove rule.
17104 ($(objpfx)tst-array3-cmp.out): New rule.
17105 ($(objpfx)tst-array4.out): Remove rule.
17106 ($(objpfx)tst-array4-cmp.out): New rule.
17107 ($(objpfx)tst-array5.out): Remove rule.
17108 ($(objpfx)tst-array5-cmp.out): New rule.
17109 ($(objpfx)tst-array5-static.out): Remove rule.
17110 ($(objpfx)tst-array5-static-cmp.out): New rule.
17111 [$(run-built-tests) = yes] (tests): Depend on
17112 $(objpfx)order2-cmp.out.
17113 ($(objpfx)order2.out): Remove rule.
17114 ($(objpfx)order2-cmp.out): New rule.
17115 ($(objpfx)tst-initorder.out): Remove rule.
17116 [$(run-built-tests) = yes] (tests): Depend on
17117 $(objpfx)tst-initorder-cmp.out.
17118 ($(objpfx)tst-initorder-cmp.out): New rule.
17119 ($(objpfx)tst-initorder2.out): Remove rule.
17120 [$(run-built-tests) = yes] (tests): Depend on
17121 $(objpfx)tst-initorder2-cmp.out.
17122 ($(objpfx)tst-initorder2-cmp.out): New rule.
17123 [$(run-built-tests) = yes] (tests): Depend on
17124 $(objpfx)tst-unused-dep-cmp.out.
17125 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17126 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17127 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17128 on $(objpfx)tst-setvbuf1-cmp.out.
17129 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17130 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17131 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17132 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17133 ($(objpfx)tst-svc.out): Remove rule.
17134 ($(objpfx)tst-svc-cmp.out): New rule.
17136 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17138 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17139 * ctype/ctype.h [__USE_MISC]: Likewise.
17140 * dirent/dirent.h [__USE_MISC]: Likewise.
17141 * grp/grp.h [__USE_MISC]: Likewise.
17142 * io/fcntl.h [__USE_MISC]: Likewise.
17143 * io/sys/stat.h [__USE_MISC]: Likewise.
17144 * libio/stdio.h [__USE_MISC]: Likewise.
17145 * posix/unistd.h [__USE_MISC]: Likewise.
17146 * pwd/pwd.h [__USE_MISC]: Likewise.
17147 * stdlib.h [__USE_MISC]: Likewise.
17148 * string/bits/string2.h [__USE_MISC]: Likewise.
17149 * string/string.h [__USE_MISC]: Likewise.
17150 * time/time.h [__USE_MISC]: Likewise.
17152 2014-02-13 Andreas Schwab <schwab@suse.de>
17155 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17156 second answer buffer if it was separately allocated.
17158 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17160 * sysdeps/mips/math-tests.h: Include <features.h>.
17161 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17162 (ROUNDING_TESTS_long_double): Do not define.
17163 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17164 (EXCEPTION_TESTS_long_double): Likewise.
17165 * sysdeps/mips/mips64/libm-test-ulps: Update.
17167 * include/features.h (__USE_BSD): Remove macro definitions.
17168 (__USE_SVID): Likewise.
17169 (_BSD_SOURCE): Likewise.
17170 (_SVID_SOURCE): Likewise.
17171 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17172 from definition of _DEFAULT_SOURCE.
17173 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17175 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17176 * bits/mman.h [__USE_BSD]: Likewise.
17177 * bits/termios.h [__USE_BSD]: Likewise.
17178 * bits/waitstatus.h [__USE_BSD]: Likewise.
17179 * ctype/ctype.h [__USE_SVID]: Likewise.
17180 * dirent/dirent.h [__USE_BSD]: Likewise.
17181 * grp/grp.h [__USE_SVID]: Likewise.
17182 [__USE_BSD]: Likewise.
17183 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17184 * io/fcntl.h [__USE_BSD]: Likewise.
17185 * io/ftw.h [__USE_BSD]: Likewise.
17186 * io/sys/stat.h [__USE_BSD]: Likewise.
17187 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17188 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17189 * libio/stdio.h [__USE_SVID]: Likewise.
17190 [__USE_BSD]: Likewise.
17191 * math/math.h [__USE_SVID]: Likewise.
17192 [__USE_BSD]: Likewise.
17193 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17194 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17195 * misc/search.h [__USE_SVID]: Likewise.
17196 * misc/sys/mman.h [__USE_BSD]: Likewise.
17197 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17198 * misc/sys/uio.h [__USE_BSD]: Likewise.
17199 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17200 * posix/glob.h [__USE_BSD]: Likewise.
17201 * posix/regex.h [__USE_BSD]: Likewise.
17202 * posix/sys/types.h [__USE_BSD]: Likewise.
17203 [__USE_SVID]: Likewise.
17204 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17205 * posix/sys/wait.h [__USE_BSD]: Likewise.
17206 [__USE_SVID]: Likewise.
17207 * posix/unistd.h [__USE_BSD]: Likewise.
17208 [__USE_SVID]: Likewise.
17209 * pwd/pwd.h [__USE_SVID]: Likewise.
17210 * resolv/netdb.h [__USE_BSD]: Likewise.
17211 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17212 * signal/signal.h [__USE_BSD]: Likewise.
17213 [__USE_SVID]: Likewise.
17214 * socket/sys/socket.h [__USE_BSD]: Likewise.
17215 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17216 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17217 [__USE_SVID]: Likewise.
17218 * string/bits/string2.h [__USE_BSD]: Likewise.
17219 [__USE_SVID]: Likewise.
17220 * string/bits/string3.h [__USE_BSD]: Likewise.
17221 * string/endian.h [__USE_BSD]: Likewise.
17222 * string/string.h [__USE_SVID]: Likewise.
17223 [__USE_BSD]: Likewise.
17224 * string/strings.h [__USE_BSD]: Likewise.
17225 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17226 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17227 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17228 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17229 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17230 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17234 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17237 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17238 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17240 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17242 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17243 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17244 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17246 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17248 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17249 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17250 * termios/termios.h [__USE_BSD]: Likewise.
17251 * time/sys/time.h [__USE_BSD]: Likewise.
17252 * time/time.h [__USE_BSD]: Likewise.
17253 [__USE_SVID]: Likewise.
17255 * Makefile (subdir_targets): Remove subdir_lint.out.
17257 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17258 (do-tst-printf): Likewise.
17259 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17260 $(objpfx)tst-printf.out.
17262 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17264 * Makerules (check-abi-%): Change target to
17265 $(objpfx)check-abi-%.out.
17266 (check-abi target): Update dependencies.
17267 (check-abi-pattern variable): Redirect output of diff to $@.
17268 (check-abi variable): Likewise.
17269 * elf/Makefile (check-abi): Update dependencies.
17271 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17273 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17274 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17276 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17277 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17278 value has largest subnormal exponent.
17279 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17280 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17281 * sysdeps/aarch64/soft-fp/sfp-machine.h
17282 (_FP_TININESS_AFTER_ROUNDING): New macro.
17283 * sysdeps/alpha/soft-fp/sfp-machine.h
17284 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17285 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17287 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17288 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17289 * sysdeps/mips/soft-fp/sfp-machine.h
17290 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17291 * sysdeps/powerpc/soft-fp/sfp-machine.h
17292 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17293 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17295 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17296 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17297 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17298 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17299 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17302 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17305 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17308 2014-02-12 Richard Henderson <rth@redhat.com>
17310 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17311 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17312 * sysdeps/unix/sysv/linux/alpha: Move directory from
17313 ports/sysdeps/unix/sysv/linux/alpha.
17314 * README: Update listing for alpha-*-linux-gnu.
17316 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17318 * include/features.h: Update comment documenting feature test
17320 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17322 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17323 (_SVID_SOURCE): Likewise.
17324 (_DEFAULT_SOURCE): Update description of default features.
17325 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17327 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17328 (S_ISVTX): Likewise.
17329 * manual/math.texi (Mathematical Constants): Likewise.
17330 * manual/signal.texi (Interrupted Primitives): Likewise.
17331 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17332 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17333 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17334 Don't refer to _SVID_SOURCE in warning text.
17336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17338 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17340 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17341 * sysdeps/mips/dl-lookup.c: Remove.
17342 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17344 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17347 * math/auto-libm-test-in: Add testcase for expl.
17348 * math/auto-libm-test-out: Regenerate.
17349 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17350 calculation of unsafe.
17351 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17353 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17355 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17356 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17357 ports/sysdeps/unix/sysv/linux/aarch64.
17358 * README: Update listing for aarch64*-*-linux-gnu.
17360 2014-02-11 Will Newton <will.newton@linaro.org>
17362 * manual/probes.texi (Mathematical Function Probes): Use
17363 "triggered" instead of "hit".
17365 * manual/probes.texi (Internal Probes): Add documentation
17366 of setjmp, longjmp and longjmp_target probes.
17368 * include/stap-probe.h: Add comment about probe argument
17371 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17372 definition. (tr_where, tr_freehook, tr_mallochook,
17373 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17375 2014-02-11 David S. Miller <davem@davemloft.net>
17377 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17378 processing int_tests.
17380 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17382 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17383 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17384 * sysdeps/unix/sysv/linux/mips: Move directory from
17385 ports/sysdeps/unix/sysv/linux/mips.
17386 * README: Update listing for mips-*-linux-gnu and
17387 mips64-*-linux-gnu.
17389 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17391 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17392 * sysdeps/unix/sysv/linux/m68k: Move directory from
17393 ports/sysdeps/unix/sysv/linux/m68k.
17394 * README: Update listing for m68k-*-linux-gnu.
17396 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17398 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17399 * sysdeps/unix/sysv/linux/generic: Move directory from
17400 ports/sysdeps/unix/sysv/linux/generic.
17401 * sysdeps/unix/sysv/linux/tile: Move directory from
17402 ports/sysdeps/unix/sysv/linux/tile.
17403 * README: Update listing for tile*-*-linux-gnu.
17405 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17407 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17409 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17410 * catgets/open_catalog.c (__open_catalog): Likewise.
17411 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17412 * debug/confstr_chk.c: Likewise.
17413 * debug/fread_chk.c (__fread_chk): Likewise.
17414 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17415 * debug/getgroups_chk.c: Likewise.
17416 * debug/mbsnrtowcs_chk.c: Likewise.
17417 * debug/mbsrtowcs_chk.c: Likewise.
17418 * debug/mbstowcs_chk.c: Likewise.
17419 * debug/memcpy_chk.c: Likewise.
17420 * debug/memmove_chk.c: Likewise.
17421 * debug/mempcpy_chk.c: Likewise.
17422 * debug/memset_chk.c: Likewise.
17423 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17424 * debug/strcat_chk.c (__strcat_chk): Likewise.
17425 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17426 * debug/strncat_chk.c (__strncat_chk): Likewise.
17427 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17428 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17429 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17430 * debug/wcpncpy_chk.c: Likewise.
17431 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17432 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17433 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17434 * debug/wcsncpy_chk.c: Likewise.
17435 * debug/wcsnrtombs_chk.c: Likewise.
17436 * debug/wcsrtombs_chk.c: Likewise.
17437 * debug/wcstombs_chk.c: Likewise.
17438 * debug/wmemcpy_chk.c: Likewise.
17439 * debug/wmemmove_chk.c: Likewise.
17440 * debug/wmempcpy_chk.c: Likewise.
17441 * debug/wmemset_chk.c: Likewise.
17442 * dirent/scandirat.c (SCANDIRAT): Likewise.
17443 * dlfcn/dladdr1.c (dladdr1): Likewise.
17444 * dlfcn/dladdr.c (dladdr): Likewise.
17445 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17446 * dlfcn/dlerror.c (__dlerror): Likewise.
17447 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17448 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17449 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17450 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17451 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17452 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17453 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17454 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17456 * elf/dl-conflict.c: Likewise.
17457 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17458 * elf/dl-dst.h: Likewise.
17459 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17460 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17461 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17462 * elf/dl-init.c (call_init, _dl_init): Likewise.
17463 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17464 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17465 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17467 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17469 * elf/dl-minimal.c (__libc_memalign): Likewise.
17470 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17471 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17472 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17473 * elf/dl-sym.c (do_sym): Likewise.
17474 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17475 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17476 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17477 * elf/dl-writev.h (_dl_writev): Likewise.
17478 * elf/ldconfig.c (search_dir): Likewise.
17479 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17480 (dl_main): Likewise.
17481 * elf/setup-vdso.h (setup_vdso): Likewise.
17482 * grp/compat-initgroups.c (compat_call): Likewise.
17483 * grp/fgetgrent.c (fgetgrent): Likewise.
17484 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17485 * grp/putgrent.c (putgrent): Likewise.
17486 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17488 * hurd/hurdinit.c: Likewise.
17489 * iconvdata/8bit-gap.c (struct): Likewise.
17490 * iconvdata/ansi_x3.110.c : Likewise.
17491 * iconvdata/big5.c : Likewise.
17492 * iconvdata/big5hkscs.c : Likewise.
17493 * iconvdata/cp1255.c: Likewise.
17494 * iconvdata/cp1258.c : Likewise.
17495 * iconvdata/cp932.c : Likewise.
17496 * iconvdata/euc-cn.c: Likewise.
17497 * iconvdata/euc-jisx0213.c : Likewise.
17498 * iconvdata/euc-jp.c: Likewise.
17499 * iconvdata/euc-jp-ms.c : Likewise.
17500 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17501 * iconvdata/gb18030.c : Likewise.
17502 * iconvdata/gbbig5.c (const): Likewise.
17503 * iconvdata/gbgbk.c: Likewise.
17504 * iconvdata/gbk.c : Likewise.
17505 * iconvdata/ibm1364.c : Likewise.
17506 * iconvdata/ibm930.c : Likewise.
17507 * iconvdata/ibm932.c: Likewise.
17508 * iconvdata/ibm933.c : Likewise.
17509 * iconvdata/ibm935.c : Likewise.
17510 * iconvdata/ibm937.c : Likewise.
17511 * iconvdata/ibm939.c : Likewise.
17512 * iconvdata/ibm943.c: Likewise.
17513 * iconvdata/iso_11548-1.c: Likewise.
17514 * iconvdata/iso-2022-cn.c : Likewise.
17515 * iconvdata/iso-2022-cn-ext.c : Likewise.
17516 * iconvdata/iso-2022-jp-3.c: Likewise.
17517 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17518 * iconvdata/iso-2022-kr.c : Likewise.
17519 * iconvdata/iso646.c (gconv_end): Likewise.
17520 * iconvdata/iso_6937-2.c : Likewise.
17521 * iconvdata/iso_6937.c : Likewise.
17522 * iconvdata/iso8859-1.c: Likewise.
17523 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17524 * iconvdata/shift_jisx0213.c : Likewise.
17525 * iconvdata/sjis.c : Likewise.
17526 * iconvdata/t.61.c : Likewise.
17527 * iconvdata/tcvn5712-1.c : Likewise.
17528 * iconvdata/tscii.c: Likewise.
17529 * iconvdata/uhc.c : Likewise.
17530 * iconvdata/unicode.c (gconv_end): Likewise.
17531 * iconvdata/utf-16.c (gconv_end): Likewise.
17532 * iconvdata/utf-32.c (gconv_end): Likewise.
17533 * iconvdata/utf-7.c (base64): Likewise.
17534 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17535 * iconv/gconv_close.c (__gconv_close): Likewise.
17536 * iconv/gconv_open.c (__gconv_open): Likewise.
17537 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17538 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17539 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17540 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17541 (ucs4le_internal_loop_single): Likewise.
17542 * iconv/iconv.c (iconv): Likewise.
17543 * iconv/iconv_close.c: Likewise.
17544 * iconv/loop.c (SINGLE): Likewise.
17545 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17546 * include/atomic.h: Likewise.
17547 * inet/inet6_option.c (option_alloc): Likewise.
17548 * intl/bindtextdom.c (set_binding_values): Likewise.
17549 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17550 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17551 * intl/localealias.c (read_alias_file): Likewise.
17552 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17553 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17554 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17555 * libio/fmemopen.c (fmemopen): Likewise.
17556 * libio/iofgets.c (_IO_fgets): Likewise.
17557 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17558 * libio/iofgetws.c (fgetws): Likewise.
17559 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17560 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17561 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17562 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17563 * locale/findlocale.c (_nl_find_locale): Likewise.
17564 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17565 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17567 * locale/setlocale.c (setlocale): Likewise.
17568 * login/programs/pt_chown.c (main): Likewise.
17569 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17570 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17571 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17572 (mmap, mmap64, mremap, munmap): Likewise.
17573 * math/e_exp2l.c: Likewise.
17574 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17575 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17576 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17577 * math/s_catan.c (__catan): Likewise.
17578 * math/s_catanf.c (__catanf): Likewise.
17579 * math/s_catanh.c (__catanh): Likewise.
17580 * math/s_catanhf.c (__catanhf): Likewise.
17581 * math/s_catanhl.c (__catanhl): Likewise.
17582 * math/s_catanl.c (__catanl): Likewise.
17583 * math/s_ccosh.c (__ccosh): Likewise.
17584 * math/s_ccoshf.c (__ccoshf): Likewise.
17585 * math/s_ccoshl.c (__ccoshl): Likewise.
17586 * math/s_cexp.c (__cexp): Likewise.
17587 * math/s_cexpf.c (__cexpf): Likewise.
17588 * math/s_cexpl.c (__cexpl): Likewise.
17589 * math/s_clog10.c (__clog10): Likewise.
17590 * math/s_clog10f.c (__clog10f): Likewise.
17591 * math/s_clog10l.c (__clog10l): Likewise.
17592 * math/s_clog.c (__clog): Likewise.
17593 * math/s_clogf.c (__clogf): Likewise.
17594 * math/s_clogl.c (__clogl): Likewise.
17595 * math/s_csin.c (__csin): Likewise.
17596 * math/s_csinf.c (__csinf): Likewise.
17597 * math/s_csinh.c (__csinh): Likewise.
17598 * math/s_csinhf.c (__csinhf): Likewise.
17599 * math/s_csinhl.c (__csinhl): Likewise.
17600 * math/s_csinl.c (__csinl): Likewise.
17601 * math/s_csqrt.c (__csqrt): Likewise.
17602 * math/s_csqrtf.c (__csqrtf): Likewise.
17603 * math/s_csqrtl.c (__csqrtl): Likewise.
17604 * math/s_ctan.c (__ctan): Likewise.
17605 * math/s_ctanf.c (__ctanf): Likewise.
17606 * math/s_ctanh.c (__ctanh): Likewise.
17607 * math/s_ctanhf.c (__ctanhf): Likewise.
17608 * math/s_ctanhl.c (__ctanhl): Likewise.
17609 * math/s_ctanl.c (__ctanl): Likewise.
17610 * math/w_pow.c: Likewise.
17611 * math/w_powf.c: Likewise.
17612 * math/w_powl.c: Likewise.
17613 * math/w_scalb.c (sysv_scalb): Likewise.
17614 * math/w_scalbf.c (sysv_scalbf): Likewise.
17615 * math/w_scalbl.c (sysv_scalbl): Likewise.
17616 * misc/error.c (error_tail): Likewise.
17617 * misc/pselect.c (__pselect): Likewise.
17618 * nis/nis_callback.c (__nis_create_callback): Likewise.
17619 * nis/nis_call.c (__nisfind_server): Likewise.
17620 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17621 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17622 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17623 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17624 * nis/nis_lookup.c (nis_lookup): Likewise.
17625 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17626 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17627 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17628 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17629 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17630 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17631 * nis/nss_compat/compat-initgroups.c (add_group)
17632 (internal_getgrent_r): Likewise.
17633 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17634 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17635 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17636 (internal_getspnam_r): Likewise.
17637 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17638 (_nss_nis_getaliasbyname_r): Likewise.
17639 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17640 (_nss_nis_getntohost_r): Likewise.
17641 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17642 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17643 (_nss_nis_getgrgid_r): Likewise.
17644 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17645 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17646 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17647 (_nss_nis_gethostbyname4_r): Likewise.
17648 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17649 (initgroups_netid): Likewise.
17650 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17651 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17652 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17653 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17654 (_nss_nis_getprotobynumber_r): Likewise.
17655 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17656 (_nss_nis_getsecretkey): Likewise.
17657 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17658 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17659 (_nss_nis_getpwuid_r): Likewise.
17660 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17661 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17662 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17663 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17664 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17665 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17666 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17668 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17669 (_nss_nisplus_getntohost_r): Likewise.
17670 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17671 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17672 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17673 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17675 * nis/nss_nisplus/nisplus-initgroups.c
17676 (_nss_nisplus_initgroups_dyn): Likewise.
17677 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17678 (_nss_nisplus_getnetbyaddr_r): Likewise.
17679 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17680 (_nss_nisplus_getprotobynumber_r): Likewise.
17681 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17682 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17683 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17685 * nis/nss_nisplus/nisplus-service.c
17686 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17687 (_nss_nisplus_getservbyport_r): Likewise.
17688 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17689 (_nss_nisplus_getspnam_r): Likewise.
17690 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17692 * nscd/aicache.c (addhstaiX): Likewise.
17693 * nscd/cache.c (cache_search, prune_cache): Likewise.
17694 * nscd/connections.c (register_traced_file, send_ro_fd)
17695 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17696 (main_loop_epoll): Likewise.
17697 * nscd/grpcache.c (addgrbyX): Likewise.
17698 * nscd/hstcache.c (addhstbyX): Likewise.
17699 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17700 * nscd/mem.c (gc, mempool_alloc): Likewise.
17701 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17702 (addinnetgrX): Likewise.
17703 * nscd/nscd-client.h (__nscd_acquire_maplock)
17704 (__nscd_drop_map_ref): Likewise.
17705 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17706 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17707 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17709 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17710 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17711 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17712 (__nscd_get_map_ref): Likewise.
17713 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17714 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17716 * nscd/pwdcache.c (addpwbyX): Likewise.
17717 * nscd/selinux.c (preserve_capabilities): Likewise.
17718 * nscd/servicescache.c (addservbyX): Likewise.
17719 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17720 * posix/fnmatch.c (fnmatch): Likewise.
17721 * posix/getopt.c (_getopt_internal_r): Likewise.
17722 * posix/glob.c (glob, glob_in_dir): Likewise.
17723 * posix/wordexp.c (exec_comm_child): Likewise.
17724 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17725 (getanswer_r, gaih_getanswer_slice): Likewise.
17726 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17727 * resolv/res_init.c: Likewise.
17728 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17729 * resolv/res_query.c (__libc_res_nquery): Likewise.
17730 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17732 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17733 * stdio-common/perror.c (perror): Likewise.
17734 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17735 * stdio-common/tmpnam.c (tmpnam): Likewise.
17736 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17737 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17738 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17740 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17741 * stdlib/putenv.c (putenv): Likewise.
17742 * stdlib/setenv.c (__add_to_environ): Likewise.
17743 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17744 * stdlib/strtol_l.c (INTERNAL): Likewise.
17745 * string/memmem.c (memmem): Likewise.
17746 * string/strerror.c (strerror): Likewise.
17747 * string/strnlen.c (__strnlen): Likewise.
17748 * string/test-memmem.c (simple_memmem): Likewise.
17749 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17750 * sunrpc/pm_getport.c (__get_socket): Likewise.
17751 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17752 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17753 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17754 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17756 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17758 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17759 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17760 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17761 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17763 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17765 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17766 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17767 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17768 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17769 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17771 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17772 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17773 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17774 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17775 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17776 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17780 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17784 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17786 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17787 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17788 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17789 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17791 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17792 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17794 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17795 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17797 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17799 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17801 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17803 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17807 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17809 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17810 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17811 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17812 * sysdeps/posix/sleep.c: Likewise.
17813 * sysdeps/posix/tempname.c: Likewise.
17814 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17815 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17817 * sysdeps/powerpc/powerpc32/dl-machine.h
17818 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17819 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17820 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17821 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17822 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17824 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17825 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17826 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17827 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17828 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17829 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17830 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17831 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17832 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17833 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17835 (elf_machine_lazy_rel): Likewise.
17836 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17838 (elf_machine_lazy_rel): Likewise.
17839 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17840 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17841 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17842 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17843 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17844 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17845 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17848 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17849 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17850 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17851 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17852 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17853 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17854 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17855 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17856 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17857 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17858 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17860 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17861 (__posix_fallocate64_l64): Likewise.
17862 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17863 (posix_fallocate): Likewise.
17864 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17867 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17868 (getifaddrs_internal): Likewise.
17869 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17870 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17871 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17872 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17873 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17874 (__posix_fallocate64_l64): Likewise.
17875 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17877 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17878 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17879 (__get_clockfreq): Likewise.
17880 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17881 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17882 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17885 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17886 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17887 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17889 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17890 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17891 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17892 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17893 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17894 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17895 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17897 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17898 (posix_fallocate): Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17900 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17901 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17902 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17903 (elf_machine_rela, elf_machine_rela_relative)
17904 (elf_machine_lazy_rel): Likewise.
17905 * time/asctime.c (asctime_internal): Likewise.
17906 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17907 * time/tzset.c (__tzset_parse_tz): Likewise.
17908 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17909 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17910 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17911 * wcsmbs/wcsmbsload.h: Likewise.
17914 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17916 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17917 (arena_get2): Remove THREAD_STATS conditionals.
17918 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17919 (__malloc_stats, int): Likewise.
17921 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17923 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17924 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17926 * manual/setjmp.texi: Fix typos/grammar errors.
17928 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17929 Only return early when n is <= 0. Delete unused return statement.
17931 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17932 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17933 * debug/tst-longjmp_chk3.c: New file.
17935 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17936 (test_main): Replace code with set_fortify_handler call.
17937 * debug/test-strcpy_chk.c: Likewise.
17938 * debug/tst-chk1.c: Likewise.
17939 * debug/tst-longjmp_chk.c: Likewise.
17940 * test-skeleton.c: Include fcntl.h & paths.h
17941 (set_fortify_handler): Define.
17943 * debug/tst-longjmp_chk.c: Add header comment and include
17944 ../test-skeleton.c.
17945 (do_test): Mark static.
17946 (TEST_FUNCTION): Define.
17948 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17949 (IP_PMTUDISC_INTERFACE): Likewise.
17950 (IP_MULTICAST_IF): Likewise.
17951 (IP_MULTICAST_TTL): Likewise.
17952 (IP_MULTICAST_LOOP): Likewise.
17953 (IP_ADD_MEMBERSHIP): Likewise.
17954 (IP_DROP_MEMBERSHIP): Likewise.
17955 (IP_UNBLOCK_SOURCE): Likewise.
17956 (IP_BLOCK_SOURCE): Likewise.
17957 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17958 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17959 (IP_MSFILTER): Likewise.
17960 (MCAST_JOIN_GROUP): Likewise.
17961 (MCAST_BLOCK_SOURCE): Likewise.
17962 (MCAST_UNBLOCK_SOURCE): Likewise.
17963 (MCAST_LEAVE_GROUP): Likewise.
17964 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17965 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17966 (MCAST_MSFILTER): Likewise.
17967 (IP_MULTICAST_ALL): Likewise.
17968 (IP_UNICAST_IF): Likewise.
17970 * timezone/Makefile: Delete $(have-ksh) check.
17971 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17972 * timezone/tzselect.ksh: Add +x mode bits.
17974 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17975 (ANON_INODE_FS_MAGIC): Likewise.
17976 (BDEVFS_MAGIC): Likewise.
17977 (BINFMTFS_MAGIC): Likewise.
17978 (BTRFS_TEST_MAGIC): Likewise.
17979 (CRAMFS_MAGIC_WEND): Likewise.
17980 (DEBUGFS_MAGIC): Likewise.
17981 (ECRYPTFS_SUPER_MAGIC): Likewise.
17982 (EXT3_SUPER_MAGIC): Likewise.
17983 (EXT4_SUPER_MAGIC): Likewise.
17984 (FUTEXFS_SUPER_MAGIC): Likewise.
17985 (HOSTFS_SUPER_MAGIC): Likewise.
17986 (HUGETLBFS_MAGIC): Likewise.
17987 (MINIX3_SUPER_MAGIC): Likewise.
17988 (MTD_INODE_FS_MAGIC): Likewise.
17989 (NILFS_SUPER_MAGIC): Likewise.
17990 (OPENPROM_SUPER_MAGIC): Likewise.
17991 (PIPEFS_MAGIC): Likewise.
17992 (PSTOREFS_MAGIC): Likewise.
17993 (QNX6_SUPER_MAGIC): Likewise.
17994 (RAMFS_MAGIC): Likewise.
17995 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17996 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17997 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17998 (SECURITYFS_MAGIC): Likewise.
17999 (SELINUX_MAGIC): Likewise.
18000 (SMACK_MAGIC): Likewise.
18001 (SOCKFS_MAGIC): Likewise.
18002 (SQUASHFS_MAGIC): Likewise.
18003 (STACK_END_MAGIC): Likewise.
18004 (TMPFS_MAGIC): Likewise.
18005 (USBDEVICE_SUPER_MAGIC): Likewise.
18006 (V9FS_MAGIC): Likewise.
18007 (XENFS_SUPER_MAGIC): Likewise.
18008 (CRAMFS_MAGIC): Fix typo in comment.
18009 (EXT2_SUPER_MAGIC): Update comment.
18010 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18012 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18014 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18015 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18016 * sysdeps/unix/sysv/linux/arm: Move directory from
18017 ports/sysdeps/unix/sysv/linux/arm.
18018 * README: Update listing for arm-*-linux-gnueabi.
18020 * README: Remove mention of am33.
18022 2014-02-07 Roland McGrath <roland@hack.frob.com>
18024 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18025 than the comma operator, to avoid "rhs of comma has no effect"
18027 (__sigfillset, __sigandset, __sigorset): Likewise.
18028 * include/signal.h (__sigemptyset): Likewise.
18029 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18031 2014-02-07 Allan McRae <allan@archlinux.org>
18033 * version.h (RELEASE): Set to "development".
18034 (VERSION): Set to "2.19.90"
18035 * NEWS: Add 2.20 section.
18037 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18040 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18042 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18044 * manual/contrib.texi: Update entry for Carlos O'Donell,
18045 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18047 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18049 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18051 * sysdeps/unix/sysv/linux/kernel-features.h
18052 [__LINUX_KERNEL_VERSION >= 0x020621]
18053 (__ASSUME_PROC_PID_TASK_COMM): Define.
18055 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18058 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18059 conversion when destination buffer does not have enough space.
18060 * libio/tst-ftell-partial-wide.c: New test case.
18061 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18063 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18064 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18065 Leonard and Allan McRae.
18067 2014-02-04 David S. Miller <davem@davemloft.net>
18069 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18072 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18101 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18103 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18104 * shlib-versions: Likewise.
18106 2014-02-04 Roland McGrath <roland@hack.frob.com>
18107 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18109 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18110 (abilist-pattern): New variable, set to %-le.abilist.
18112 * Makerules (abilist-pattern): New variable.
18113 (vpath): Use $(abilist-pattern) in place of %.abilist.
18114 (check-abi-% pattern rule): Likewise.
18115 (check-abi, update-abi): Likewise.
18117 2014-02-04 Eric Wong <normalperson@yhbt.net>
18119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18121 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18123 * manual/startup.texi: Add next, previous, and top entries for
18124 the `Program Arguments' and `Environment Variables' nodes.
18126 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18128 * manual/macros.texi: Add comments before MTASC-safety macros.
18130 * manual/users.texi: Document MTASC-safety properties.
18132 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18133 (pthread_getspecific, pthread_setspecific): Format with
18134 @deftypefun, and add @safety note.
18135 * manual/signal.texi: Move comments that analyze the above
18136 functions to their home place.
18138 2014-02-03 Allan McRae <allan@archlinux.org>
18140 * po/sl.po: Update Slovenian translation from translation project.
18142 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18144 * manual/time.texi (timegm): Add missing blank after @c.
18145 Reported by Joseph Myers <joseph@codesourcery.com>.
18147 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18149 * manual/check-safety.sh: New.
18150 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18152 * manual/terminal.texi: Document MTASC-safety properties.
18154 * manual/filesys.texi: Document MTASC-safety properties.
18156 * manual/errno.texi: Document MTASC-safety properties.
18158 * manual/intro.texi: Document safety identifiers and
18161 * manual/string.texi (wcstok): Fix prototype.
18162 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18164 * manual/time.texi: Document MTASC-safety properties.
18166 * manual/string.texi: Document MTASC-safety properties.
18168 * manual/threads.texi: Document MTASC-safety properties.
18170 * manual/stdio.texi: Document MTASC-safety properties.
18172 * manual/syslog.texi: Document MTASC-safety properties.
18174 * manual/sysinfo.texi: Document MTASC-safety properties.
18176 * manual/startup.texi: Document MTASC-safety properties.
18178 * manual/socket.texi: Document MTASC-safety properties.
18180 * manual/signal.texi: Document MTASC-safety properties.
18182 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18184 * manual/setjmp.texi: Document MTASC-safety properties.
18186 * manual/search.texi: Document MTASC-safety properties.
18188 * manual/resource.texi: Document MTASC-safety properties.
18190 * manual/process.texi: Document MTASC-safety properties.
18192 * manual/platform.texi: Document MTASC-safety properties.
18194 * manual/pipe.texi: Document MTASC-safety properties.
18196 * manual/pattern.texi: Document MTASC-safety properties.
18198 * manual/message.texi: Document MTASC-safety properties.
18201 * manual/memory.texi: Document MTASC-safety properties.
18203 * manual/math.texi: Document MTASC-safety properties.
18205 * manual/locale.texi: Document MTASC-safety properties.
18207 * manual/llio.texi: Document MTASC-safety properties.
18209 * manual/libdl.texi: New.
18211 * manual/lang.texi: Document MTASC-safety properties.
18213 * manual/job.texi: Document MTASC-safety properties.
18215 * manual/getopt.texi: Document MTASC-safety properties.
18217 * manual/ctype.texi: Document MTASC-safety properties.
18219 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18222 * csu/libc-tls.c (static_map): Remove variable.
18223 (__libc_setup_tls): Use main executable's link map for TLS data.
18224 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18225 casing for LM_ID_BASE and GL(dl_nns).
18226 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18227 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18228 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18229 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18230 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18232 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18235 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18237 * manual/debug.texi: Document MTASC-safety properties.
18239 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18242 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18243 of __x86_64__ when disabling x87 inline functions.
18245 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18247 * manual/charset.texi: Document MTASC-safety properties.
18249 * manual/crypt.texi: Document MTASC-safety properties.
18251 * manual/conf.texi: Document MTASC-safety properties.
18253 * manual/arith.texi: Document MTASC-safety properties.
18255 * manual/argp.texi: Document MTASC-safety properties.
18257 * manual/macros.texi: Introduce macros to document multi
18258 thread, asynchronous signal and asynchronous cancellation
18260 * manual/intro.texi: Introduce the properties themselves.
18262 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18264 * sysdeps/sh/sh4/Makefile: New file.
18266 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18268 * math/gen-libm-test.pl ($srcdir): New variable.
18269 ($auto_input): Use it.
18271 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18274 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18275 access beyond array bounds when parsing netgroups file.
18277 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18278 the old buffer before realloc.
18280 2014-01-27 Allan McRae <allan@archlinux.org>
18282 * po/fr.po: Update French translation from translation project.
18284 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18286 * sysdeps/sh/libm-test-ulps: Regenerate.
18288 2014-01-24 David S. Miller <davem@davemloft.net>
18290 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18292 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18294 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18295 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18297 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18300 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18301 string pointers after reallocation.
18303 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18305 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18306 __SH4A__ instead of __SH_FPU_ANY__.
18308 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18310 * sysdeps/sh/fpu_control.h: New file.
18311 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18312 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18313 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18314 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18315 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18316 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18317 * sysdeps/sh/sys/ucontext.h: Remove.
18318 * sysdeps/sh/sys: Remove directory.
18320 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18322 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18323 s390/sys/ucontext.h.
18324 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18325 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18327 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18330 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18332 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18336 Adjust the vDSO correctly for internal calls.
18337 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18339 2014-01-20 Allan McRae <allan@archlinux.org>
18341 * po/ca.po: Update Catalan translation from translation project.
18343 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18345 * sysdeps/s390/sotruss-lib.c: New file.
18347 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18350 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18351 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18352 local calls issues by not having a PLT stub required for IFUNC calls.
18353 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18355 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18357 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18358 * math/test-fpucw-static.c: Likewise.
18360 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18363 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18365 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18367 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18368 implementation for powerpc.
18370 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18373 * sysdeps/posix/system.c (__libc_system): Do not enable
18374 asynchronous cancellation.
18376 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18379 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18380 handling only for numbers special also in the IEEE case.
18382 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18384 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18386 2014-01-11 Allan McRae <allan@archlinux.org>
18388 * po/bg.po: Update Bulgarian translation from translation project.
18390 * po/de.po: Update German translation from translation project.
18392 2014-01-10 Roland McGrath <roland@hack.frob.com>
18394 * sysdeps/generic/gcc-compat.h: New file.
18396 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18398 * benchtests/asin-inputs: Correct slow inputs.
18399 * benchtests/acos-inputs: Likewise.
18401 2014-01-10 Allan McRae <allan@archlinux.org>
18403 * po:sv.po: Update Swedish translation from translation project.
18405 * po/vi.po: Update Vietnamese translation from translation project.
18407 * po/eo.po: Update Esperanto translation from translation project.
18409 * po/cs.po: Update Czech translation from translation project.
18411 * po/nl.po: Update Dutch translation from translation project.
18413 * po/pl.po: Update Polish translation from translation project.
18415 * po/ru.po: Update Russian translation from translation project.
18417 * po/uk.po: Update Ukrainian translation from translation project.
18419 2014-01-08 Brooks Moses <bmoses@google.com>
18421 * elf/dl-load.c: Fix comment typo.
18423 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18425 * po/header.pot: Rename to...
18426 * po/pot.header: ... this.
18427 * po/Makefile: Use pot.header.
18429 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18430 Maxim Kuvyrkov <maxim@kugelworks.com>
18433 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18434 SRC and DEST against LEN.
18436 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18439 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18441 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18443 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18447 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18451 for large positive arguments.
18453 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18455 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18457 * math/auto-libm-test-in: Mark various tests with
18458 xfail-rounding:ldbl-128ibm.
18459 * math/auto-libm-test-out: Regenerated.
18462 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18463 Increase overflow threshold.
18465 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18468 * stdio-common/vfprintf.c: Check for integer overflow.
18470 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18472 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18473 the first argument and return value of __tls_get_addr_internal.
18475 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18477 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18478 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18480 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18482 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18483 * sysdeps/s390/rtld-global-offsets.sym: New file.
18484 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18486 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18488 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18490 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18491 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18497 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18498 halfs of GPRs for high_gprs contexts.
18499 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18500 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18502 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18504 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18506 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18507 for high GPRs (uc_high_gprs) and for future extensions
18509 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18510 for future extensions (__reserved).
18511 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18513 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18514 SC_HIGHGPRS offset definition.
18515 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18516 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18518 * Versions.def: Add GLIBC_2.19 for libpthread.
18519 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18520 siglongjmp for libpthread with GLIBC_2.19 symver.
18521 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18522 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18523 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18524 * sysdeps/s390/__longjmp.c: New file.
18525 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18526 * sysdeps/s390/longjmp.c: New file.
18527 * sysdeps/s390/setjmp.S: New file.
18528 * sysdeps/s390/sigjmp.S: New file.
18529 * sysdeps/s390/v1-longjmp.c: New file.
18530 * sysdeps/s390/v1-setjmp.h: New file.
18531 * sysdeps/s390/v1-sigjmp.c: New file.
18532 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18533 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18534 GLIBC_2.19 version.
18535 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18536 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18537 versioned symbols for ____longjmp_chk.
18538 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18548 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18549 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18550 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18551 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18552 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18553 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18554 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18555 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18556 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18557 * sysdeps/s390/rtld-__longjmp.c: New file.
18558 * sysdeps/s390/rtld-setjmp.S: New file.
18560 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18563 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18564 Return -__logl (x) for small positive arguments without evaluating
18567 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18569 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18571 (__ptrace_peeksiginfo_args): ... this.
18572 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18576 2014-01-06 Allan McRae <allan@archlinux.org>
18578 * inet/netinet/in.h: Fix typo in comment.
18580 2014-01-05 Andreas Jaeger <aj@suse.de>
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18584 2014-01-05 Allan McRae <allan@archlinux.org>
18586 * po/libc.pot: Regenerated.
18588 * malloc/memusagestat.c: Fix gettext call formatting.
18590 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18592 * nscd/nscd.c: Improve usage() output.
18594 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18596 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18597 * sysdeps/unix/sysv/linux/configure: Regenerated.
18598 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18599 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18601 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18604 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18605 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18607 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18609 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18610 extra tokens at end of #undef directive.
18611 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18612 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18613 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18615 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18617 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18619 * math/auto-libm-test-in: Mark various tests with
18620 xfail-rounding:ldbl-128ibm.
18621 * math/auto-libm-test-out: Regenerated.
18623 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18626 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18627 numbers with subnormal high part when calculating exponent.
18630 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18634 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18636 (__ieee754_acoshl): Use __log1pl not __log1p.
18638 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18640 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18641 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18642 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18643 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18644 (reused_arena, arena_get2): Convert to GNU style.
18645 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18646 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18647 (memalign_check, __malloc_set_state): Likewise.
18648 * malloc/mallocbug.c (main): Likewise.
18649 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18650 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18651 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18652 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18653 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18654 (__posix_memalign, malloc_info): Likewise.
18655 * malloc/malloc.h: Likewise.
18656 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18657 (mallochook, memalignhook, reallochook, mabort): Likewise.
18658 * malloc/mcheck.h: Likewise.
18659 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18660 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18661 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18662 * malloc/morecore.c (__default_morecore): Likewise.
18663 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18664 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18665 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18666 (print_and_abort): Likewise.
18667 * malloc/obstack.h: Likewise.
18668 * malloc/set-freeres.c (__libc_freeres): Likewise.
18669 * malloc/tst-mallocstate.c (main): Likewise.
18670 * malloc/tst-mtrace.c (main): Likewise.
18671 * malloc/tst-realloc.c (do_test): Likewise.
18673 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18676 * nscd/netgroupcache.c (do_notfound): New function.
18677 (addgetnetgrentX): Use it.
18680 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18681 NSS_STATUS_NOTFOUND.
18683 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18685 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18688 2014-01-01 Allan McRae <allan@archlinux.org>
18690 * scripts/update-copyrights: Update configure input file suffix.
18692 * NEWS: Update copyright year.
18693 * catgets/gencat.c: Likewise.
18694 * csu/version.c: Likewise.
18695 * debug/catchsegv.sh: Likewise.
18696 * debug/pcprofiledump.c: Likewise.
18697 * debug/xtrace.sh: Likewise.
18698 * elf/ldconfig.c: Likewise.
18699 * elf/ldd.bash.in: Likewise.
18700 * elf/pldd.c: Likewise.
18701 * elf/sotruss.ksh: Likewise.
18702 * elf/sprof.c: Likewise.
18703 * iconv/iconv_prog.c: Likewise.
18704 * iconv/iconvconfig.c: Likewise.
18705 * locale/programs/locale.c: Likewise.
18706 * locale/programs/localedef.c: Likewise.
18707 * login/programs/pt_chown.c: Likewise.
18708 * malloc/memusage.sh: Likewise.
18709 * malloc/memusagestat.c: Likewise.
18710 * malloc/mtrace.pl: Likewise.
18711 * manual/libc.texinfo: Likewise.
18712 * nscd/nscd.c: Likewise.
18713 * nss/getent.c: Likewise.
18714 * nss/makedb.c: Likewise.
18715 * posix/getconf.c: Likewise.
18716 * scripts/test-installation.pl: Likewise.
18718 * All files with FSF copyright notices: Update copyright dates
18719 using scripts/update-copyrights.
18720 * intl/plural.c: Regenerated.
18721 * locale/programs/charmap-kw.h: Likewise.
18722 * locale/programs/locfile-kw.h: Likewise.
18724 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18726 * sysdeps/unix/sysv/linux/configure: Regenerated.
18727 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18728 the linux/fanotify.h header.
18729 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18730 HAVE_LINUX_FANOTIFY_H is defined.
18732 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18734 * benchtests/cos-inputs: New inputs.
18735 * benchtests/sin-inputs: Likewise.
18737 * benchtests/atan-inputs: New inputs. Fix name of multiple
18738 precision fallback inputs.
18740 * benchtests/atanh-inputs: New inputs.
18741 * benchtests/tanh-inputs: Likewise.
18743 * benchtests/acosh-inputs: New inputs.
18744 * benchtests/asinh-inputs: Likewise.
18746 * benchtests/cosh-inputs: New inputs.
18747 * benchtests/sinh-inputs: Likewise.
18749 * benchtests/acos-inputs: Add more inputs.
18750 * benchtests/asin-inputs: Likewise.
18752 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18755 * manual/arith.texi: Fix spelling.
18756 * manual/charset.texi: Likewise.
18757 * manual/errno.texi: Likewise.
18758 * manual/filesys.texi: Likewise.
18759 * manual/lang.texi: Likewise.
18760 * manual/llio.texi: Likewise.
18761 * manual/locale.texi: Likewise.
18762 * manual/message.texi: Likewise.
18763 * manual/resource.texi: Likewise.
18764 * manual/search.texi: Likewise.
18765 * manual/setjmp.texi: Likewise.
18766 * manual/stdio.texi: Likewise.
18767 * manual/string.texi: Likewise.
18768 * manual/sysinfo.texi: Likewise.
18769 * manual/time.texi: Likewise.
18771 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18773 * po/sl.po: New file.
18775 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18777 * .gitignore: Add core/.gdbinit/.gdb_history.
18779 2013-12-27 Allan McRae <allan@archlinux.org>
18782 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18783 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18785 2013-12-24 Brooks Moses <bmoses@google.com>
18787 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18788 all compilers that claim C++98 compliance, not just GCC.
18789 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18792 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18794 * NEWS: Restore accidentally deleted bug-fix entries.
18796 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18797 Ondřej Bílka <neleai@seznam.cz>
18800 * malloc/malloc.c (_int_free): Perform sanity check only if we
18803 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18806 * manual/stdio.texi (String Input Conversions): Clarify that character
18807 classes are not supported.
18809 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18813 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18816 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18817 Calculate results for small negative arguments directly rather
18818 than using reflection formula with special underflow handling.
18820 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18821 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18822 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18823 (fchflags): Likewise.
18824 (revoke): Likewise.
18825 (setlogin): Likewise.
18826 (sigaltstack): Likewise.
18828 (sigblock): Remove.
18829 (sigsetmask): Likewise.
18831 (waitpid): Likewise.
18832 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18833 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18835 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18836 * sysdeps/unix/bsd/Makefile: ... here.
18837 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18838 * sysdeps/unix/bsd/Versions: ... here.
18839 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18840 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18841 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18842 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18843 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18844 * sysdeps/unix/bsd/sigblock.c: ... here.
18845 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18846 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18847 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18848 * sysdeps/unix/bsd/sigvec.c: ... here.
18849 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18850 * sysdeps/unix/bsd/tcdrain.c: ... here.
18851 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18852 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18853 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18854 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18855 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18856 * sysdeps/unix/bsd/wait.c: ... here.
18857 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18858 * sysdeps/unix/bsd/wait3.c: ... here.
18859 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18860 * sysdeps/unix/bsd/waitpid.c: ... here.
18862 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18865 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18866 round-to-nearest for [!USE_AS_EXPM1L].
18867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18868 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18869 more tests of exp and exp10. Expect some exp10 tests to miss
18870 exceptions or fail in directed rounding modes.
18871 * math/auto-libm-test-out: Regenerated.
18872 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18873 (exp10_test_tonearest): New function.
18874 (exp10_towardzero_test_data): New array.
18875 (exp10_test_towardzero): New function.
18876 (exp10_downward_test_data): New array.
18877 (exp10_test_downward): New function.
18878 (exp10_upward_test_data): New array.
18879 (exp10_test_upward): New function.
18880 (main): Call the new functions.
18881 * sysdeps/i386/fpu/libm-test-ulps: Update.
18882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18884 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18886 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18887 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18888 * math/auto-libm-test-out: Regenerated.
18889 * math/libm-test.inc (acosh_test_data): Add more tests.
18890 (atanh_test_data): Likewise.
18891 (ceil_test_data): Likewise.
18892 (copysign_test_data): Likewise.
18893 * sysdeps/i386/fpu/libm-test-ulps: Update.
18894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18896 * timezone/checktab.awk: Update from tzcode 2013i.
18897 * timezone/private.h: Likewise.
18898 * timezone/scheck.c: Likewise.
18899 * timezone/tzfile.h: Likewise.
18900 * timezone/tzselect.ksh: Likewise.
18901 * timezone/zdump.c: Likewise.
18902 * timezone/zic.c: Likewise.
18904 * math/auto-libm-test-in: Add tests of cpow.
18905 * math/auto-libm-test-out: Regenerated.
18906 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18907 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18909 (func_calc_desc): Add mpc_cc_c union field.
18910 (test_functions): Add cpow.
18911 (special_fill_2pi): New function.
18912 (special_real_inputs): Add 2pi.
18913 (calc_generic_results): Handle mpc_cc_c.
18914 * sysdeps/i386/fpu/libm-test-ulps: Update.
18915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18917 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18918 csqrt, ctan and ctanh.
18919 * math/auto-libm-test-out: Regenerated.
18920 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18921 (TEST_COND_x86): Likewise.
18922 (ccos_test_data): Use AUTO_TESTS_c_c.
18923 (ccosh_test_data): Likewise.
18924 (cexp_test_data): Likewise.
18925 (clog_test_data): Likewise.
18926 (csqrt_test_data): Likewise.
18927 (ctan_test_data): Likewise.
18928 (ctan_tonearest_test_data): Likewise.
18929 (ctan_towardzero_test_data): Likewise.
18930 (ctan_downward_test_data): Likewise.
18931 (ctan_upward_test_data): Likewise.
18932 (ctanh_test_data): Likewise.
18933 (ctanh_tonearest_test_data): Likewise.
18934 (ctanh_towardzero_test_data): Likewise.
18935 (ctanh_downward_test_data): Likewise.
18936 (ctanh_upward_test_data): Likewise.
18937 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18939 (func_calc_desc): Add mpc_c_c union field.
18940 (FUNC_mpc_c_c): New macro.
18941 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18942 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18944 (special_fill_min_subnorm_p120): New function.
18945 (special_real_inputs): Add min_subnorm_p120.
18946 (calc_generic_results): Handle mpc_c_c.
18947 * sysdeps/i386/fpu/libm-test-ulps: Update.
18948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18952 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18953 (do_sin_slow): New functions.
18954 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18955 (cslow2, csloww1, csloww2): Use the new functions.
18957 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18958 Use M to change sign of result instead of X. Assume X is
18960 (csloww1): Likewise.
18964 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18965 arguments A and DA.
18969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18971 (sloww1): Don't adjust sign of DX.
18972 (csloww1): Likewise.
18973 (sloww2): Use X directly and don't adjust sign of DX.
18974 (csloww2): Likewise.
18976 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18978 * math/auto-libm-test-in: Add tests of cabs and carg.
18979 * math/auto-libm-test-out: Regenerated.
18980 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18981 (carg_test_data): Likewise.
18982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18984 (func_calc_desc): Add mpc_c_f union field.
18985 (test_functions): Add cabs and carg.
18986 (calc_generic_results): Handle mpc_c_f.
18988 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18989 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18990 as a macro and a compat symbol.
18991 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18992 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18993 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18994 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18995 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18996 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18998 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19000 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19002 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19004 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19006 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19008 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19009 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19012 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19016 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19018 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19019 trailing whitespace removed.
19020 * scripts/config.guess: Update to version 2013-11-29.
19021 * scripts/config.sub: Update to version 2013-10-01.
19023 * math/auto-libm-test-in: Add tests of sincos.
19024 * math/auto-libm-test-out: Regenerated.
19025 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19026 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19028 (func_calc_desc): Add mpfr_f_11 union field.
19029 (test_functions): Add sincos.
19030 (calc_generic_results): Handle mpfr_f_11.
19031 * sysdeps/i386/fpu/libm-test-ulps: Update.
19032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19034 2013-12-19 Andreas Schwab <schwab@suse.de>
19036 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19039 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19040 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19042 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19044 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19045 * sysdeps/i386/fpu/libm-test-ulps: Update.
19046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19050 round-to-nearest mode when using frndint.
19051 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19052 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19053 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19055 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19057 * math/auto-libm-test-out: Regenerated.
19058 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19059 (TEST_COND_x86): Likewise.
19060 (expm1_tonearest_test_data): New array.
19061 (expm1_test_tonearest): New function.
19062 (expm1_towardzero_test_data): New array.
19063 (expm1_test_towardzero): New function.
19064 (expm1_downward_test_data): New array.
19065 (expm1_test_downward): New function.
19066 (expm1_upward_test_data): New array.
19067 (expm1_test_upward): New function.
19068 (main): Run the new test functions.
19069 * sysdeps/i386/fpu/libm-test-ulps: Update.
19070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19072 * include/features.h: Update comment documenting feature test
19073 macros. Mention _DEFAULT_SOURCE in comment.
19074 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19075 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19076 _BSD_SOURCE and _SVID_SOURCE.
19077 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19078 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19079 !_SVID_SOURCE]: Likewise.
19080 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19081 (__USE_POSIX_IMPLICITLY): Define.
19082 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19083 (_POSIX_SOURCE): Undefine and redefine.
19084 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19085 (_POSIX_C_SOURCE): Likewise.
19086 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19087 (Feature Test Macros): Update documentation of default features.
19089 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19091 * benchtests/Makefile: Add bench-strtok.
19092 * benchtests/bench-strtok.c: New file: strtok benchtest.
19094 2013-12-19 Allan McRae <allan@archlinux.org>
19096 * manual/install.texi: Suppress menu for plain text output.
19097 * INSTALL: Regenerated.
19099 2013-12-18 Brooks Moses <bmoses@google.com>
19102 * misc/getauxval.c: Include errno.h.
19103 (__getauxval): Set errno to ENOENT if the requested type is not
19105 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19106 don't declare with __attribute_const__.
19107 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19108 * manual/startup.texi: Document that getauxval sets errno.
19110 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19112 * math/auto-libm-test-in: Add tests of jn and yn.
19113 * math/auto-libm-test-out: Regenerated.
19114 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19115 (yn_test_data): Likewise.
19116 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19118 (func_calc_desc): Add mpfr_if_f union field.
19119 (FUNC_mpfr_if_f): New macro.
19120 (test_functions): Add jn and yn.
19121 (calc_generic_results): Assert type of second input for
19122 mpfr_ff_f. Handle mpfr_if_f.
19123 (output_for_one_input_case): Disable all checking for arguments
19124 fitting floating-point types in case of an integer argument.
19125 * sysdeps/i386/fpu/libm-test-ulps: Update.
19126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19129 Don't expect fegetround reference in libm.so.
19131 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19133 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19134 $(config-cflags-nofma).
19136 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19138 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19139 * math/auto-libm-test-out: Regenerated.
19142 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19143 to determine exponent and adjust argument to have exponent of -1.
19144 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19146 * math/auto-libm-test-out: Regenerated.
19147 * sysdeps/i386/fpu/libm-test-ulps: Update.
19148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19150 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19152 * manual/probes.texi: Remove cases when per-thread arenas are
19155 2013-12-18 Andreas Schwab <schwab@suse.de>
19157 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19158 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19159 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19160 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19161 * sysdeps/i386/i686/multiarch/Makefile: Update.
19162 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19164 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19166 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19167 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19169 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19172 Support TZ transition times < 00:00:00.
19173 This is needed for version-3 tz-format files; it supports time
19174 stamps past 2037 for America/Godthab (the only entry in the tz
19175 database for which this change is relevant).
19176 * manual/time.texi (TZ Variable): Document transition times
19177 from -167:59:59 through -00:00:01.
19178 * time/tzset.c (tz_rule): Time of day is now signed.
19179 (__tzset_parse_tz): Parse negative time of day.
19181 Document TZ transition times >= 25:00:00.
19182 * manual/time.texi (TZ Variable): Document transition times from
19183 25:00:00 through 167:59:59. These are already supported, and this
19184 support will help with version-3 tz-format files.
19186 * manual/time.texi (TZ Variable): Modernize North America example
19187 to reflect current (i.e., 2007-and-later) daylight saving rules.
19189 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19191 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19193 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19194 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19197 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19198 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19199 * sysdeps/unix/bsd/clock.c: Likewise.
19200 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19201 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19202 * sysdeps/unix/bsd/init-posix.c: Likewise.
19203 * sysdeps/unix/bsd/poll.c: Likewise.
19204 * sysdeps/unix/bsd/ptsname.c: Likewise.
19205 * sysdeps/unix/bsd/seekdir.c: Likewise.
19206 * sysdeps/unix/bsd/setegid.c: Likewise.
19207 * sysdeps/unix/bsd/seteuid.c: Likewise.
19208 * sysdeps/unix/bsd/setgid.c: Likewise.
19209 * sysdeps/unix/bsd/setrgid.c: Likewise.
19210 * sysdeps/unix/bsd/setruid.c: Likewise.
19211 * sysdeps/unix/bsd/setsid.c: Likewise.
19212 * sysdeps/unix/bsd/setuid.c: Likewise.
19213 * sysdeps/unix/bsd/sigaction.c: Likewise.
19214 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19215 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19216 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19217 * sysdeps/unix/bsd/telldir.c: Likewise.
19218 * sysdeps/unix/bsd/times.c: Likewise.
19219 * sysdeps/unix/bsd/usleep.c: Likewise.
19221 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19222 ($(objpfx)libbsd-compat.a): Remove rule.
19224 * include/features.h (__FAVOR_BSD): Do not define.
19225 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19226 features conflicting with POSIX.
19227 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19228 (_BSD_SOURCE): Remove description of not being a subset of other
19229 feature test macros.
19230 * manual/job.texi (getpgrp): Do not document BSD version.
19231 (getpgid): Do not document by reference to BSD getpgrp.
19232 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19233 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19234 * signal/signal.h [__FAVOR_BSD]: Likewise.
19235 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19236 instead of making contents conditional on [__FAVOR_BSD].
19237 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19239 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19243 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19246 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19247 values below 2**-450, not 2**-500.
19248 * math/auto-libm-test-in: Don't allow spurious underflow from
19250 * math/auto-libm-test-out: Regenerated.
19254 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19255 values of ha and hb and sort them after adjusting subnormal
19257 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19259 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19260 values of ea and eb and sort them after adjusting subnormal
19262 * math/auto-libm-test-in: Do not expect some hypot tests of
19263 subnormals to fail. Add more hypot tests.
19264 * math/auto-libm-test-out: Regenerated.
19266 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19269 * sysdeps/sh/s_fma.c: New file.
19270 * sysdeps/sh/s_fmaf.c: New file.
19271 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19273 * sysdeps/sh/Implies: Add sh/soft-fp.
19275 2013-12-16 Roland McGrath <roland@hack.frob.com>
19277 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19278 level of indirection to members `objname', `errstring', `malloced'.
19279 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19280 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19281 it as the __longjmp argument (just pass 1 instead).
19282 (_dl_catch_error): Initialize C with argument pointers and address of
19283 volatile local ERRCODE rather than copying values out of C at return.
19285 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19287 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19288 * math/auto-libm-test-out: Regenerated.
19289 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19290 (hypot_test_data): Likewise.
19291 (pow_test_data): Likewise.
19292 (pow_tonearest_test_data): Likewise.
19293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19295 (func_calc_desc): Add mpfr_ff_f union field.
19296 (FUNC_mpfr_ff_f): New macro.
19297 (test_functions): Add atan2, hypot and pow.
19298 (special_fill_min): New function.
19299 (special_fill_minus_min): Likewise.
19300 (special_fill_min_subnorm): Likewise.
19301 (special_fill_minus_min_subnorm): Likewise.
19302 (special_real_inputs): Add min, -min, min_subnorm and
19304 (calc_generic_results): Handle mpfr_ff_f.
19305 * sysdeps/i386/fpu/libm-test-ulps: Update.
19306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19308 2013-12-16 Will Newton <will.newton@linaro.org>
19310 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19311 (Aligned Memory Blocks): Add documentation for aligned_alloc
19312 and suggest it as an alternative to posix_memalign.
19313 (Hooks for Malloc): Document __memalign_hook is also called
19314 for aligned_alloc. (Summary of Malloc): Add summary for
19315 aligned alloc. Document __memalign_hook is also called
19318 2013-12-16 Will Newton <will.newton@linaro.org>
19320 * manual/memory.texi (Malloc Examples): Clarify default
19321 alignment documentation. Suggest posix_memalign rather
19322 than memalign or valloc.
19323 (Aligned Memory Blocks): Remove suggestion to use memalign
19324 or valloc. Remove obsolete comment about BSD.
19325 Document memalign errno values and mark the function obsolete.
19326 Document posix_memalign returned error codes. Mark valloc
19327 as obsolete. (Hooks for Malloc): __memalign_hook is also
19328 called for posix_memalign and valloc.
19329 (Summary of Malloc): Add posix_memalign to function summary.
19330 __memalign_hook is also called for posix_memalign and valloc.
19332 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19334 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19338 (sloww): Use mynumber union. Expand ternary operator into
19339 if-else statements.
19340 (cslow): use mynumber union.
19342 2013-12-16 Allan McRae <allan@archlinux.org>
19344 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19345 * configure: Regenerated.
19347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19350 * configure.ac: Added --enable-maintainer-mode. Check for
19351 autoconf when enabled.
19352 * configure: Regenerated.
19354 * nscd/nscd.service: New file.
19355 * nscd/nscd.tmpfiles: New file.
19357 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19360 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19361 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19362 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19363 (strstr): Add __strstr_sse2_unaligned ifunc.
19364 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19365 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19366 (strcasestr): Remove __strcasestr_sse42 ifunc.
19367 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19371 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19373 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19374 * sysdeps/sh/bits/fenv.h: ... here.
19375 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19377 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19379 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19382 hypotf multiarch implementations.
19383 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19386 multiarch hypot for PPC64.
19387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19389 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19390 multiarch hypotf for PPC64.
19392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19393 modff multiarch implementations.
19394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19397 multiarch modf for PPC64.
19398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19401 multiarch modff for PPC64.
19403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19404 and logl multiarch implementations.
19405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19408 multiarch logb for PPC64.
19409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19412 multiarch logb for PPC64.
19413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19416 multiarch logb for PPC64.
19418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19419 isinff multiarch implementation.
19420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19424 multiarch isinf for PPC64.
19425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19428 multiarch isinff for PPC64.
19430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19431 finitef multiarch implementation.
19432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19436 multiarch finite for PPC64.
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19440 multiarch finitef for PPC64.
19442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19443 lrint multiarch implementation.
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19448 multiarch llrint for PPC64.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19450 multiarch lrint for PPC64.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19453 copysignf multiarch implementation.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19459 multiarch copysign for PPC64.
19460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19461 multiarch copysignf for PPC64.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19464 multiarch implementation.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19473 multiarch llround for PPC64.
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19475 multiarch trunc for PPC64.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19477 multiarch truncf for PPC64.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19480 multiarch implementation.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19489 multiarch llround for PPC64.
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19491 multiarch round for PPC64.
19492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19493 multiarch roundf for PPC64.
19495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19496 multiarch implementation.
19497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19505 multiarch llround for PPC64.
19506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19507 multiarch floor for PPC64.
19508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19509 multiarch floorf for PPC64.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19512 multiarch implementation.
19513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19521 multiarch llround for PPC64.
19522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19523 multiarch ceil for PPC64.
19524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19525 multiarch ceilf for PPC64.
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19528 multiarch implementation.
19529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19536 multiarch llround for PPC64.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19538 multiarch lround for PPC64.
19540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19541 multiarch implementation.
19542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19549 multiarch isnan for PPC64.
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19551 multiarch isnanf for PPC64.
19553 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19554 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19555 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19556 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19557 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19560 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19561 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19566 multiarch implementations.
19567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19568 (__libc_ifunc_impl_list): Likewise.
19569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19571 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19572 multiarch stpcpy for PPC64.
19574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19575 multiarch implementations.
19576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19577 (__libc_ifunc_impl_list): Likewise.
19578 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19579 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19580 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19581 multiarch strcpy for PPC64.
19583 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19584 redefine function name.
19585 (_wordcopy_fwd_dest_aligned): Likewise.
19586 (_wordcopy_bwd_aligned): Likewise.
19587 (_wordcopy_bwd_dest_aligned): Likewise.
19588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19589 multiarch implementations.
19590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19591 (__libc_ifunc_impl_list): Likewise.
19592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19593 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19594 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19595 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19596 multiarch wcscpy for PPC64.
19598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19599 multiarch implementations.
19600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19601 (__libc_ifunc_impl_list): Likewise.
19602 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19603 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19604 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19605 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19606 multiarch wcscpy for PPC64.
19608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19609 multiarch implementations.
19610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19611 (__libc_ifunc_impl_list): Likewise.
19612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19613 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19614 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19615 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19616 multiarch wcsrchr for PPC64.
19618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19619 multiarch implementations.
19620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19621 (__libc_ifunc_impl_list): Likewise.
19622 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19623 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19624 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19625 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19626 multiarch wcschr for PPC64.
19628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19629 multiarch implementations.
19630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19631 (__libc_ifunc_impl_list): Likewise.
19632 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19633 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19634 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19635 multiarch strchrnul for PPC64.
19637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19640 (__libc_ifunc_impl_list): Likewise.
19641 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19642 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19643 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19644 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19650 (__libc_ifunc_impl_list): Likewise.
19651 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19652 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19653 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19654 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19658 multiarch implementations.
19659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19660 (__libc_ifunc_impl_list): Likewise.
19661 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19662 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19663 strncasecmp for PPC64.
19664 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19665 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19666 multiarch strncasecmp_l for PPC64.
19668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19669 multiarch implementations.
19670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19671 (__libc_ifunc_impl_list): Likewise.
19672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19673 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19674 multiarch strcasecmp for PPC64.
19675 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19678 multiarch strcasecmp_l for PPC64.
19680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19683 (__libc_ifunc_impl_list): Likewise.
19684 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19685 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19686 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19692 (__libc_ifunc_impl_list): Likewise.
19693 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19694 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19695 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19701 (__libc_ifunc_impl_list): Likewise.
19702 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19703 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19704 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19705 rawmemrchr for PPC64.
19707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19710 (__libc_ifunc_impl_list): Likewise.
19711 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19712 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19719 (__libc_ifunc_impl_list): Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19721 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19722 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19728 (__libc_ifunc_impl_list): Likewise.
19729 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19730 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19731 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19734 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19735 avoid cretion of __bzero symbol.
19736 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19738 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19740 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19743 multiarch implementations.
19744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19745 (__libc_ifunc_impl_list): Likewise.
19746 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19747 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19748 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19749 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19751 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19752 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19753 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19754 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19755 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19757 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19759 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19763 (__libc_ifunc_impl_list): Likewise.
19764 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19765 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19766 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19767 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19771 multiarch for POWER/PPC64.
19772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19773 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19780 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19783 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19784 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19785 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19787 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19788 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19789 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19790 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19791 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19792 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19793 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19794 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19795 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19796 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19797 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19806 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19810 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19812 * benchtests/Makefile (bench): Add exp2 and log2.
19813 (LDLIBS-bench-exp2): Add -lm.
19814 (LDLIBS-bench-log2): Likewise.
19815 * benchtests/exp2-inputs: New inputs file.
19816 * benchtests/log2-inputs: New inputs file.
19817 * benchtests/log-inputs: Add new inputs.
19818 * benchtests/tan-inputs: Likewise.
19820 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19822 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19824 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19825 (csloww2): ... from here.
19827 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19828 instead of structures.
19829 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19830 (POLYNOMIAL): Likewise.
19831 (TAYLOR_SLOW): Likewise.
19837 (sloww1); Likewise.
19838 (sloww2): Likewise.
19839 (bsloww1): Likewise.
19840 (bsloww2): Likewise.
19841 (cslow2): Likewise.
19842 (csloww): Likewise.
19843 (csloww1): Likewise.
19844 (csloww2): Likewise.
19846 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19848 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19849 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19850 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19851 * malloc/hooks.c (realloc_check): Likewise.
19853 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19854 * malloc/arena.c: Remove PER_THREAD conditional.
19855 [!PER_THREAD]: Remove code.
19856 (ptmalloc_unlock_all2): Likewise.
19857 (ptmalloc_init): Likewise.
19858 (_int_new_arena): Likewise.
19859 (arena_get2): Likewise.
19860 * malloc/hooks.c (__malloc_get_state): Likewise.
19861 (__malloc_set_state): Likewise.
19862 * malloc/malloc.c: Likewise.
19863 (struct malloc_state): Likewise.
19864 (struct malloc_par): Likewise.
19865 (__libc_realloc): Likewise.
19866 (__libc_mallopt): Likewise.
19868 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19872 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19874 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19875 macro to a function. Check for zero perturb_byte.
19876 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19878 * malloc/malloc.c: (force_reg): Remove.
19879 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19880 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19881 force_reg by atomic_forced_read.
19882 * malloc/arena.c (ptmalloc_init): Likewise.
19883 * malloc/hooks.c (top_check): Likewise.
19885 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19889 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19893 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19895 * math/auto-libm-test-in: Add tests of lgamma.
19896 * math/auto-libm-test-out: Regenerated.
19897 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19898 (M_LOG_2_SQRT_PIl): Likewise.
19899 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19902 (func_calc_desc): Add mpfr_f_f1 union field.
19903 (ARGS1): New macro.
19911 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19912 (test_functions): Add lgamma.
19913 (calc_generic_results): Handle mpfr_f_f1.
19914 * sysdeps/i386/fpu/libm-test-ulps: Update.
19915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19917 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19919 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19920 __mpn_add_n for PowerPC64/POWER7.
19921 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19922 __mpn_sub_n for PowerPC64/POWER7.
19924 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19925 __mpn_addmul_1 for PowerPC64.
19926 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19927 __mpn_submul_1 for PowerPC64.
19928 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19930 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19933 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19936 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19938 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19940 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19942 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19943 add multiarch folders.
19944 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19945 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19946 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19947 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19948 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19949 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19950 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19951 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19952 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19953 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19954 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19963 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19969 multiarch __ieee754_hypot for PowerPC32.
19970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19975 multiarch __ieee754_hypotf for PowerPC32.
19977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19978 long_double_symbol only if __logbl is defined.
19979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19980 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19982 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19984 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19986 path for implementation.
19987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19988 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19990 logb, and logbl multiarch implementations for PowerPC32.
19991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19996 multiarch logb for PowerPC32.
19997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20002 multiarch logbf for PowerPC32.
20003 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20007 multiarch logbl implementation for PowerPC32.
20009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20010 and modff multiarch implementations.
20011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20016 multiarch modf for PowerPC32.
20017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20022 multiarch modff for PowerPC32.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20025 and lrintf multiarch implementations.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20031 multiarch lrint for PowerPC32.
20032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20033 file: multiarch lrintf for PowerPC32.
20035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20036 and lroundf multiarch implementations.
20037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20044 multiarch lround for PowerPC32.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20046 file: multiarch lroundf for PowerPC32.
20048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20049 copysign and copysignf multiarch implementations.
20050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20055 file: multiarch copysign for PowerPC32.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20057 file: multiarch copysignf for PowerPC32.
20059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20060 and truncf multiarch implementations.
20061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20066 multiarch trunc for PowerPC32.
20067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20072 multiarch truncf for PowerPC32.
20074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20075 and roundf multiarch implementations.
20076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20081 multiarch round for PowerPC32.
20082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20087 multiarch roundf for PowerPC32.
20089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20090 and floorf multiarch implementations.
20091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20096 multiarch floor for PowerPC32.
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20102 multiarch floorf for PowerPC32.
20104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20105 and ceilf multiarch implementations.
20106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20111 multiarch ceil for PowerPC32.
20112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20117 multiarch ceilf for PowerPC32.
20119 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20121 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20122 FINITEF is defined.
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20124 and finitef multiarch implementations.
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20130 multiarch finite for PowerPC32.
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20134 file: multiarch finitef for PowerPC32.
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20137 and isinff multiarch implementations.
20138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20143 multiarch isinf for PowerPC32.
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20147 multiarch isinff for PowerPC32.
20149 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20150 alias when __isnan is defined.
20151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20152 and isnanf multiarch implementations.
20153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20162 multiarch isnan for PowerPC32.
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20168 multiarch isnanf for PowerPC32.
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20171 and sqrtf multiarch implementations.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20177 multiarch sqrt for PowerPC32.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20183 multiarch sqrtf for PowerPC32.
20185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20186 and llroundf multiarch implementations.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20194 file: multiarch llround for PowerPC32.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20196 file: multiarch llroundf for PowerPC32.
20198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20199 multiarch PowerPC32 fpu implementations.
20200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20205 multiarch llrint for PowerPC32.
20206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20215 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20217 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20219 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20222 multiarch wordcopy for PPC32.
20223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20226 (__libc_ifunc_impl_list): Likewise.
20227 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20228 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20229 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20230 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20231 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20232 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20234 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20242 multiarch wcscpy for PPC32.
20243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20246 (__libc_ifunc_impl_list): Likewise.
20247 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20248 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20249 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20250 sysdeps/powerpc/power6/wcscpy.c.
20252 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20260 multiarch wcsrchr for PPC32.
20261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20264 (__libc_ifunc_impl_list): Likewise.
20265 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20266 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20267 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20268 sysdeps/powerpc/power6/wcsrchr.c.
20270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20276 multiarch wcschr for PPc32.
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20280 (__libc_ifunc_impl_list): Likewise.
20281 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20282 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20283 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20284 sysdeps/powerpc/power6/wcschr.c.
20286 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20287 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20289 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20290 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20291 file: multiarch strchr for PPC32.
20292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20295 (__libc_ifunc_impl_list): Likewise.
20297 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20299 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20304 multiarch strchrnul for PPC32.
20305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20308 (__libc_ifunc_impl_list): Likewise.
20310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20313 multiarch strncasecmp for PPC32.
20314 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20317 multiarch strncasecmp_l for PPC32.
20318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20319 strncasecmp multiarch objects.
20320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20321 (__libc_ifunc_impl_list): Likewise.
20323 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20325 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20326 multiarch strncasecmp for PPC32.
20327 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20330 multiarch strcasecmp_l for PPC32.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20334 (__libc_ifunc_impl_list): Likewise.
20336 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20341 multiarch strncmp for PPC32.
20342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20345 (__libc_ifunc_impl_list): Likewise.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20348 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20355 (__libc_ifunc_impl_list): Likewise.
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20365 (__libc_ifunc_impl_list): Likewise.
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20372 multiarch rawmemchr for PPC32.
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20376 (__libc_ifunc_impl_list): Likewise.
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20383 file: memrchr multiarch for PPC32.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20387 (__libc_ifunc_impl_list): Likewise.
20389 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20394 multiarch memchr for PPC32.
20395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20398 (__libc_ifunc_impl_list): Likewise.
20400 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20405 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20406 file: multiarch mempcpy for PPC32.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20410 (__libc_ifunc_impl_list): Likewise.
20412 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20416 multiarch bzero for PPC32.
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20419 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20421 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20422 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20423 file: multiarch memset for PPC32.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20426 memset multiarch objects.
20427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20428 (__libc_ifunc_impl_list): Likewise.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20439 (__libc_ifunc_impl_list): Likewise.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20450 multiarch memcpy for PPC32.
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20454 (__libc_ifunc_impl_list): Likewise.
20456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20457 support multiarch for POWER/PPC32.
20458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20460 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20462 Implies file to make multiarch folder appers before the fpu and
20463 default folder for power4 configuration.
20465 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20467 * scripts/bench.pl: Append volatile keyword to type.
20469 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20471 * sysdeps/sh/sotruss-lib.c: New file.
20472 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20474 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20478 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20481 * math/w_tgamma.c: Include <errno.h>.
20482 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20483 * math/w_tgammaf.c: Include <errno.h>.
20484 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20485 * math/w_tgammal.c: Include <errno.h>.
20486 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20487 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20488 underflow. Add more tgamma tests.
20489 * math/auto-libm-test-out: Regenerated.
20490 * sysdeps/i386/fpu/libm-test-ulps: Update.
20491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20493 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20494 sin, sinh, tan, tanh, tgamma, y0 and y1.
20495 * math/auto-libm-test-out: Regenerated.
20496 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20497 (TEST_COND_x86): Likewise.
20498 (M_E2l): Remove macro.
20500 (M_2_SQRT_PIl): Likewise.
20501 (M_SQRT_PIl): Likewise.
20502 (M_1_DIV_El): Likewise.
20503 (log_test_data): Use AUTO_TESTS_f_f.
20504 (log10_test_data): Likewise.
20505 (log1p_test_data): Likewise.
20506 (log2_test_data): Likewise.
20507 (sin_test_data): Likewise.
20508 (sin_tonearest_test_data): Likewise.
20509 (sin_towardzero_test_data): Likewise.
20510 (sin_downward_test_data): Likewise.
20511 (sin_upward_test_data): Likewise.
20512 (sinh_test_data): Likewise.
20513 (sinh_tonearest_test_data): Likewise.
20514 (sinh_towardzero_test_data): Likewise.
20515 (sinh_downward_test_data): Likewise.
20516 (sinh_upward_test_data): Likewise.
20517 (tan_test_data): Likewise.
20518 (tan_tonearest_test_data): Likewise.
20519 (tan_towardzero_test_data): Likewise.
20520 (tan_downward_test_data): Likewise.
20521 (tan_upward_test_data): Likewise.
20522 (tanh_test_data): Likewise.
20523 (tgamma_test_data): Likewise.
20524 (y0_test_data): Likewise.
20525 (y1_test_data): Likewise.
20526 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20527 (special_real_inputs): Add pi/4.
20528 * sysdeps/i386/fpu/libm-test-ulps: Update.
20529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20531 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20533 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20534 "longjmp_target" static probes.
20535 (__longjmp): Rename to __longjmp_symbol.
20536 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20537 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20538 on which longjmp to generate.
20539 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20540 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20542 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20543 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20544 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20545 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20546 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20547 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20549 __longjmp_symbol based on which __longjmp to generate.
20550 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20552 (setjmp): Rename to setjmp_symbol.
20553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20554 (_setjmp): Rename to _setjmp_symbol.
20555 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20556 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20557 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20558 which setjmp to generate.
20559 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20560 "longjmp_target" static probes.
20562 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20564 * benchtests/README: Add note about output arguments.
20565 * benchtests/bench-sincos.c: Remove file.
20566 * benchtests/sincos-inputs: New file.
20567 * scripts/bench.pl: Identify output arguments and define
20568 static variables for them.
20570 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20573 * Makefile (INSTALL): Add install-plain.texi as the primary
20575 * manual/install-plain.texi: New file.
20576 * manual/install.texi: Include node directive only for
20577 non-plaintext output.
20579 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20581 * stdlib/longlong.h: Update from GCC.
20585 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20586 * math/w_j0f.c (y0f): Likewise.
20587 * math/w_j0l.c (__y0l): Likewise.
20588 * math/w_j1.c (y1): Likewise.
20589 * math/w_j1f.c (y1f): Likewise.
20590 * math/w_j1l.c (__y1l): Likewise
20591 * math/w_jn.c (yn): Likewise.
20592 * math/w_jnf.c (ynf): Likewise.
20593 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20594 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20595 value for Bessel function domain errors outside _SVID_ mode.
20596 Adjust sign of return value for yn (negative integer, 0).
20597 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20598 by zero in return for negative x and set sign appropriately for
20600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20602 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20603 expectations in error cases.
20604 (y1_test_data): Likewise.
20605 (yn_test_data): Likewise.
20606 * sysdeps/i386/fpu/libm-test-ulps: Update.
20607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20609 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20611 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20612 "64" to "64-v1". Add "64-v2".
20613 (abi-64-options): Rename to ...
20614 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20615 (abi-64-condition): Rename to ...
20616 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20617 (abi-64-ld-soname): Rename to ...
20618 (abi-64-v1-ld-soname): ... this.
20619 (abi-64-v2-options): Define.
20620 (abi-64-v2-condition): Likewise.
20621 (abi-64-v2-ld-soname): Likewise.
20622 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20623 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20628 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20629 Alan Modra <amodra@gmail.com>
20631 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20632 New versions for use with the ELFv2 ABI.
20633 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20634 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20636 (struct La_ppc64v2_retval): Likewise.
20637 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20638 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20639 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20640 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20641 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20643 Do not save or restore CR.
20644 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20645 (_dl_profile_resolve): Do no save or restore CR. Support extended
20646 return values for ELFv2 ABI. Fix location of FPR return registers.
20647 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20648 updated values for _CALL_ELF == 2.
20649 (La_regs, La_retval, int_retval): Likewise.
20651 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20653 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20654 (FRAME_MIN_SIZE_PARM): Likewise.
20655 (FRAME_BACKCHAIN): Likewise.
20656 (FRAME_CR_SAVE): Likewise.
20657 (FRAME_LR_SAVE): Likewise.
20658 (FRAME_TOC_SAVE): Likewise.
20659 (FRAME_PARM_SAVE): Likewise.
20660 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20661 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20662 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20663 (call_mcount_parm_offset): New macro.
20664 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20665 (PROF): Use symbolic stack frame offsets.
20666 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20667 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20668 Redefine in terms of FRAME_MIN_SIZE.
20669 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20670 (_dl_profile_resolve): Likewise. Update comment.
20671 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20672 symbols stack frame offsets.
20673 (__sigsetjmp): Likewise.
20674 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20675 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20676 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20677 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20680 (FRAME_BACKCHAIN): Remove.
20681 (FRAME_CR_SAVE): Likewise.
20682 (FRAME_LR_SAVE): Likewise.
20683 (FRAME_COMPILER_DW): Likewise.
20684 (FRAME_LINKER_DW): Likewise.
20685 (FRAME_TOC_SAVE): Likewise.
20686 (FRAME_PARM_SAVE): Likewise.
20687 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20688 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20689 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20691 (CHECK_SP): Use symbolic stack frame offsets.
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20693 zone" instead of caller's parameter save area for temp storage.
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20695 Likewise. Also, use symbolic stack frame offsets.
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20697 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20698 our own stack frame instead of the caller's.
20699 (__socket): Use symbolic stack frame offsets.
20701 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20702 Alan Modra <amodra@gmail.com>
20704 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20706 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20707 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20708 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20710 (elf_machine_fixup_plt): Call it.
20711 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20713 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20715 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20716 r2 before calling target.
20718 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20719 Alan Modra <amodra@gmail.com>
20721 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20722 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20723 versions of macros to support ELFv2 ABI.
20724 (LOCALENTRY): New macro.
20725 (ENTRY, EALIGN): Use it.
20726 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20727 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20728 fall through into ENTRY entry point.
20729 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20730 Only define if _CALL_ELF != 2.
20732 (elf_machine_matches_host): Verify ABI version matches.
20733 (RTLD_START): Use LOCALENTRY.
20734 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20735 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20736 (PLT_ENTRY_WORDS): New macro.
20737 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20738 (elf_machine_runtime_setup): Support ELFv2 ABI.
20739 (elf_machine_fixup_plt): Likewise.
20740 (elf_machine_plt_conflict): Likewise.
20741 (resolve_ifunc): Likewise.
20742 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20743 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20746 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20748 (makecontext): Support ELFv2 ABI.
20749 * elf/elf.h (EF_PPC64_ABI): Define.
20751 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20753 * sysdeps/powerpc/powerpc64/sysdep.h
20754 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20755 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20756 (ENTRY) [ASSEMBLER]: ... but instead here ...
20757 (EALIGN) [ASSEMBLER]: ... and here.
20758 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20759 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20760 (ENTRY_2) [!ASSEMBLER]: Use it.
20761 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20762 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20763 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20764 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20765 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20767 Use PPC64_LOAD_FUNCPTR.
20769 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20771 2013-12-04 Alan Modra <amodra@gmail.com>
20773 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20774 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20775 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20776 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20779 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20780 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20781 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20782 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20783 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20785 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20788 (__makecontext): Fix incorrect CFI when backtracing out of
20789 context created via makecontext.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20791 (__setcontext): Fix incorrect CFI during switch to new context.
20792 (__novec_setcontext): Likewise.
20794 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20797 * time/strptime_l.c (__strptime_internal): Allow modifiers
20799 * time/tst-strptime.c (day_tests): Add testcase.
20801 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20803 * scripts/bench.pl: Skip over blank lines.
20805 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20808 * manual/time.texi (Calendar Time): Clarify what timezone functions
20811 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20815 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20817 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20819 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20820 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20821 * debug/memset_chk.c (__memset_chk): Likewise.
20822 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20823 * debug/strncpy_chk.c: Likewise.
20825 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20829 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20830 (__ieee754_exp): For possibly underflowing results, check size of
20831 result and force underflow exception if required.
20832 * math/auto-libm-test-in: Add more tests of exp.
20833 * math/auto-libm-test-out: Regenerated.
20834 * sysdeps/i386/fpu/libm-test-ulps: Update.
20835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20838 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20839 * math/w_exp2f.c (__exp2f): Likewise.
20840 * math/w_exp2l.c (__exp2l): Likewise.
20841 * math/auto-libm-test-in: Do not allow missing errno on exp2
20843 * math/auto-libm-test-out: Regenerated.
20845 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20848 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20849 handle filename validation.
20850 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20853 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20856 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20857 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20858 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20860 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20862 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20864 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20866 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20867 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20868 Add more erfc tests.
20869 * math/auto-libm-test-out: Regenerated.
20870 * sysdeps/i386/fpu/libm-test-ulps: Update.
20871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20873 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20874 exp2, expm1, j0 and j1.
20875 * math/auto-libm-test-out: Regenerated.
20876 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20877 (erfc_test_data): Likewise.
20878 (exp_test_data): Likewise.
20879 (exp_tonearest_test_data): Likewise.
20880 (exp_towardzero_test_data): Likewise.
20881 (exp_downward_test_data): Likewise.
20882 (exp_upward_test_data): Likewise.
20883 (exp10_test_data): Likewise.
20884 (exp2_test_data): Likewise.
20885 (expm1_test_data): Likewise.
20886 (j0_test_data): Likewise.
20887 (j1_test_data): Likewise.
20888 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20889 (input_flag_type): Add flag_xfail_rounding.
20890 (input_flags): Add xfail-rounding.
20891 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20892 (output_for_one_input_case): Handle flag_xfail_rounding.
20893 * sysdeps/i386/fpu/libm-test-ulps: Update.
20894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20896 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20899 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20902 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20905 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20906 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20907 (STAP_PROBE0): New macro.
20908 (STAP_PROBE1): Likewise.
20909 (STAP_PROBE2): Likewise.
20910 (STAP_PROBE3): Likewise.
20911 (STAP_PROBE4): Likewise.
20913 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20915 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20917 2013-12-02 Steve Ellcey <sellcey@mips.com>
20919 * benchtests/Makefile (bench): Add sqrt.
20920 (LDLIBS-bench-sqrt): New.
20921 * benchtests/sqrt-input: New.
20923 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20925 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20926 (GAIH_EAI): Likewise.
20927 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20928 (gaih_inet): Likewise.
20929 (getaddrinfo): Don't use GAIH_EAI.
20931 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20932 (struct gaih): Remove definition.
20934 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20936 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20937 Use HERRNOP directly.
20939 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20943 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20945 * math/gen-auto-libm-tests.c (test_functions): Add more
20946 single-argument functions.
20947 (special_fill_pi_2): New function.
20948 (special_fill_minus_pi_2): Likewise.
20949 (special_fill_pi_6): Likewise.
20950 (special_fill_minus_pi_6): Likewise.
20951 (special_fill_pi_3): Likewise.
20952 (special_fill_2pi_3): Likewise.
20953 (special_fill_e): Likewise.
20954 (special_fill_1_e): Likewise.
20955 (special_fill_e_minus_1): Likewise.
20956 (special_real_inputs): Add more special inputs.
20957 (output_for_one_input_case): Do not require ERANGE on underflow to
20958 zero if round-to-nearest result does not underflow to zero, unless
20959 exact results required.
20960 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20961 atan, atanh, cbrt, cos and cosh.
20962 * math/auto-libm-test-out: Regenerated.
20963 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20964 (acos_tonearest_test_data): Likewise.
20965 (acos_towardzero_test_data): Likewise.
20966 (acos_downward_test_data): Likewise.
20967 (acos_upward_test_data): Likewise.
20968 (acosh_test_data): Likewise.
20969 (asin_test_data): Likewise.
20970 (asin_tonearest_test_data): Likewise.
20971 (asin_towardzero_test_data): Likewise.
20972 (asin_upward_test_data): Likewise.
20973 (asinh_test_data): Likewise.
20974 (atan_test_data): Likewise.
20975 (atanh_test_data): Likewise.
20976 (cbrt_test_data): Likewise.
20977 (cos_test_data): Likewise.
20978 (cos_tonearest_test_data): Likewise.
20979 (cos_towardzero_test_data): Likewise.
20980 (cos_downward_test_data): Likewise.
20981 (cos_upward_test_data): Likewise.
20982 (cosh_test_data): Likewise.
20983 (cosh_tonearest_test_data): Likewise.
20984 (cosh_towardzero_test_data): Likewise.
20985 (cosh_downward_test_data): Likewise.
20986 (cosh_upward_test_data): Likewise.
20987 * sysdeps/i386/fpu/libm-test-ulps: Update.
20988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20990 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20993 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20994 * math/w_exp10f.c (__exp10f): Likewise.
20995 * math/w_exp10l.c (__exp10l): Likewise.
20996 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20997 errno settings in existing tests.
21000 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21001 precision control set to double precision.
21002 * sysdeps/i386/fpu/w_sqrt.c: New file.
21003 * math/auto-libm-test-in: Add more tests.
21004 * math/auto-libm-test-out: Update.
21006 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21007 (sqrt_test_tonearest): New function.
21008 (sqrt_towardzero_test_data): New variable.
21009 (sqrt_test_towardzero): New function.
21010 (sqrt_downward_test_data): New variable.
21011 (sqrt_test_downward): New function.
21012 (sqrt_upward_test_data): New variable.
21013 (sqrt_test_upward): New function.
21014 (main): Call the new functions.
21016 * math/gen-auto-libm-tests.c: New file.
21017 * math/auto-libm-test-in: Likewise.
21018 * math/auto-libm-test-out: New generated file.
21019 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21021 (%beautify): Add generated representations of zero.
21022 (top level): Set $auto_input and call parse_auto_input.
21023 (beautify): Remove trailing "f" from hex float constants.
21024 (parse_args): Handle XFAIL_TEST.
21025 (convert_condition): New function.
21026 (or_value): Likewise.
21027 (or_cond_value): Likewise.
21028 (generate_testfile): Handle AUTO_TESTS_* lines.
21029 (parse_auto_input): New function.
21030 * math/libm-test.inc (XFAIL_TEST): New macro.
21031 (ERRNO_UNCHANGED): Update value.
21032 (ERRNO_EDOM): Likewise.
21033 (ERRNO_ERANGE): Likewise.
21034 (IGNORE_RESULT): Likewise.
21035 (TEST_COND_flt_32): New macro.
21036 (TEST_COND_dbl_64): Likewise.
21037 (TEST_COND_ldbl_96_intel): Likewise.
21038 (TEST_COND_ldbl_96_m68k): Likewise.
21039 (TEST_COND_ldbl_128): Likewise.
21040 (TEST_COND_ldbl_128ibm): Likewise.
21041 (TEST_COND_long32): Likewise.
21042 (TEST_COND_long64): Likewise.
21043 (TEST_COND_before_rounding): Likewise.
21044 (TEST_COND_after_rounding): Likewise.
21045 (enable_test): Handle XFAIL_TEST flag.
21046 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21047 with finite results.
21048 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21049 auto-libm-test-out.
21051 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21052 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21055 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21056 __tls_get_addr_internal instead of __tls_get_offset in order to
21057 avoid GOT pointer dependency. Make rtld export
21058 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21059 __tls_get_addr since we are a __tls_get_offset platform.
21060 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21061 GOT pointer being set up before.
21062 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21064 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21066 * manual/math.texi (Errors in Math Functions): Document accuracy
21070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21071 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21087 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21088 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21089 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21090 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21091 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21093 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21095 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21097 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21098 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21099 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21100 atomic-feupdateenv and flt-rounds.
21101 * sysdeps/powerpc/nofpu/Versions (libc): Add
21102 __atomic_feholdexcept, __atomic_feclearexcept,
21103 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21104 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21105 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21107 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21112 * manual/arith.texi (FP Exceptions): Document that exceptions may
21113 not be raised when matherr is used.
21114 (Math Error Reporting): Document overflow in directed rounding
21115 modes. Document that errno may not be set when finite values are
21116 returned on overflow. Document intent to set errno on underflow
21117 only for underflow to zero.
21120 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21121 round-to-nearest then adjust result for other rounding modes.
21122 * include/fenv.h (fegetround): Use libm_hidden_proto.
21123 * math/fegetround.c (fegetround): Use libm_hidden_def.
21124 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21125 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21126 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21127 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21129 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21130 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21131 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21132 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21134 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21137 * nss/Versions (libnss_files): Add
21138 _nss_files_gethostbyname3_r.
21139 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21141 (HOST_DB_LOOKUP): Remove macro.
21142 (_nss_files_gethostbyname_r): Implement function without the
21143 HOST_DB_LOOKUP macro.
21144 (_nss_files_gethostbyname2_r): Likewise.
21146 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21148 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21150 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21152 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21153 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21156 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21158 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21159 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21160 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21161 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21162 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21163 __fe_nomask_env_priv and attribute_hidden.
21164 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21165 (libc_feupdateenv_test_ppc): Likewise.
21166 (libc_feresetround_ppc): Likewise.
21167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21168 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21169 compat_symbol macro.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21171 (__fe_nomask_env): Likewise.
21172 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21174 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21176 * string/Makefile: Remove ifunc tests.
21177 * string/test-string.h: Define TEST_IFUNC.
21178 * string/test-bcopy-ifunc.c: Remove.
21179 * string/test-bzero-ifunc.c: Likewise.
21180 * string/test-memccpy-ifunc.c: Likewise.
21181 * string/test-memchr-ifunc.c: Likewise.
21182 * string/test-memcmp-ifunc.c: Likewise.
21183 * string/test-memcpy-ifunc.c: Likewise.
21184 * string/test-memmem-ifunc.c: Likewise.
21185 * string/test-memmove-ifunc.c: Likewise.
21186 * string/test-mempcpy-ifunc.c: Likewise.
21187 * string/test-memrchr-ifunc.c: Likewise.
21188 * string/test-memset-ifunc.c: Likewise.
21189 * string/test-rawmemchr-ifunc.c: Likewise.
21190 * string/test-stpcpy-ifunc.c: Likewise.
21191 * string/test-stpncpy-ifunc.c: Likewise.
21192 * string/test-strcasecmp-ifunc.c: Likewise.
21193 * string/test-strcasestr-ifunc.c: Likewise.
21194 * string/test-strcat-ifunc.c: Likewise.
21195 * string/test-strchr-ifunc.c: Likewise.
21196 * string/test-strchrnul-ifunc.c: Likewise.
21197 * string/test-strcmp-ifunc.c: Likewise.
21198 * string/test-strcpy-ifunc.c: Likewise.
21199 * string/test-strcspn-ifunc.c: Likewise.
21200 * string/test-strlen-ifunc.c: Likewise.
21201 * string/test-strncasecmp-ifunc.c: Likewise.
21202 * string/test-strncat-ifunc.c: Likewise.
21203 * string/test-strncmp-ifunc.c: Likewise.
21204 * string/test-strncpy-ifunc.c: Likewise.
21205 * string/test-strnlen-ifunc.c: Likewise.
21206 * string/test-strpbrk-ifunc.c: Likewise.
21207 * string/test-strrchr-ifunc.c: Likewise.
21208 * string/test-strspn-ifunc.c: Likewise.
21209 * string/test-strstr-ifunc.c: Likewise.
21211 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21213 * benchtests/Makefile: Remove ifunc tests.
21214 * benchtests/bench-string.h: Define TEST_IFUNC.
21215 * benchtests/bench-bcopy-ifunc.c: Remove.
21216 * benchtests/bench-bzero-ifunc.c: Likewise.
21217 * benchtests/bench-memccpy-ifunc.c: Likewise.
21218 * benchtests/bench-memchr-ifunc.c: Likewise.
21219 * benchtests/bench-memcmp-ifunc.c: Likewise.
21220 * benchtests/bench-memcpy-ifunc.c: Likewise.
21221 * benchtests/bench-memmem-ifunc.c: Likewise.
21222 * benchtests/bench-memmove-ifunc.c: Likewise.
21223 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21224 * benchtests/bench-memrchr-ifunc.c: Likewise.
21225 * benchtests/bench-memset-ifunc.c: Likewise.
21226 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21227 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21228 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21229 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21230 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21231 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21232 * benchtests/bench-strcat-ifunc.c: Likewise.
21233 * benchtests/bench-strchr-ifunc.c: Likewise.
21234 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21235 * benchtests/bench-strcmp-ifunc.c: Likewise.
21236 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21237 * benchtests/bench-strcpy-ifunc.c: Likewise.
21238 * benchtests/bench-strcspn-ifunc.c: Likewise.
21239 * benchtests/bench-strlen-ifunc.c: Likewise.
21240 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21241 * benchtests/bench-strncat-ifunc.c: Likewise.
21242 * benchtests/bench-strncmp-ifunc.c: Likewise.
21243 * benchtests/bench-strncpy-ifunc.c: Likewise.
21244 * benchtests/bench-strnlen-ifunc.c: Likewise.
21245 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21246 * benchtests/bench-strrchr-ifunc.c: Likewise.
21247 * benchtests/bench-strsep-ifunc.c: Likewise.
21248 * benchtests/bench-strspn-ifunc.c: Likewise.
21249 * benchtests/bench-strstr-ifunc.c: Likewise.
21251 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21253 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21255 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21257 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21258 * rt/aio.h: Likewise.
21259 * sysdeps/gnu/bits/utmp.h: Likewise.
21260 * sysdeps/gnu/bits/utmpx.h: Likewise.
21261 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21262 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21263 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21264 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21265 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21266 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21267 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21268 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21269 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21270 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21271 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21272 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21273 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21275 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21276 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21277 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21278 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21279 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21280 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21281 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21282 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21283 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21284 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21285 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21287 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21288 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21289 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21290 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21291 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21293 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21295 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21296 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21297 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21298 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21299 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21300 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21301 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21302 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21304 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21307 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21308 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21310 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21312 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21313 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21316 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21319 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21320 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21321 (__fesetround): Remove define.
21322 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21323 rounding and exceptions handling.
21324 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21325 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21326 (__fe_nomask_env): Likewise.
21327 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21328 __fegetround instead of fegetround.
21329 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21330 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21332 2013-11-21 Roland McGrath <roland@hack.frob.com>
21334 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21337 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21339 2013-11-21 Meador Inge <meadori@codesourcery.com>
21342 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21343 (encrypt_r): Likewise.
21344 * malloc/obstack.h (obstack_free): Likewise.
21345 * posix/unistd.h (encrypt): Likewise.
21347 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21349 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21350 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21351 DL_CALL_DT_FINI() that call the functions directly.
21352 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21353 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21354 * elf/dl-fini.c: Likewise.
21356 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21358 * malloc/hooks.c (memalign_check): Add alignment rounding.
21359 * malloc/malloc.c (_mid_memalign): New function.
21360 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21361 Implement by calling _mid_memalign.
21362 * manual/probes.texi (Memory Allocation Probes): Remove
21363 memory_valloc_retry and memory_pvalloc_retry.
21365 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21367 * locale/programs/locarchive.c (open_archive): Add const
21368 qualifier to ARCHIVEFNAME and copy default fname to
21372 * libio/tst-widetext.input: Rename Oriya to Odia.
21373 * locale/iso-639.def: Likewise.
21375 * manual/probes.texi (Mathematical Function Probes): Add
21376 documentation for sin, cos, asin and acos probes.
21377 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21378 (__sin32): Add slowasin probe.
21379 (__cos32): Add slowacos probe.
21380 (__mpsin): Add slowsin probe.
21381 (__mpcos): Add slowcos probe.
21383 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21386 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21387 thread-local __sim_exceptions_thread and global
21388 __sim_exceptions_global.
21389 (__sim_disabled_exceptions): Change to thread-local
21390 __sim_disabled_exceptions_thread and global
21391 __sim_disabled_exceptions_global.
21392 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21393 and global __sim_round_mode_global.
21394 (__simulate_exceptions): Use thread-local floating-point state and
21395 set global state from it as needed.
21396 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21397 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21398 __sim_round_mode_thread.
21399 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21400 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21401 and global __sim_exceptions_global.
21402 (__sim_disabled_exceptions): Change to thread-local
21403 __sim_disabled_exceptions_thread and global
21404 __sim_disabled_exceptions_global.
21405 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21406 and global __sim_round_mode_global.
21407 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21408 (SIM_SET_GLOBAL): Likewise.
21409 * sysdeps/powerpc/soft-fp/sfp-machine.h
21410 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21411 __sim_round_mode_thread.
21412 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21413 __sim_disabled_exceptions_thread.
21414 (__sim_exceptions): Change to __sim_exceptions_thread.
21415 (__sim_disabled_exceptions): Change to
21416 __sim_disabled_exceptions_thread.
21417 (__sim_round_mode): Change to __sim_round_mode_thread.
21418 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21419 thread-local floating-point state and set global state from it as
21421 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21422 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21423 (__sim_disabled_exceptions): Remove extern declaration.
21424 (feenableexcept): Use thread-local floating-point state and set
21425 global state from it as needed.
21426 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21427 extern declaration.
21428 (__sim_disabled_exceptions): Likewise.
21429 (__sim_round_mode): Likewise.
21430 (__fegetenv): Use thread-local floating-point state.
21431 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21432 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21433 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21434 floating-point state and set global state from it as needed.
21435 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21436 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21437 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21439 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21440 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21442 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21443 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21444 Use __sim_round_mode_thread.
21445 * math/test-fenv-tls.c: New file.
21446 * math/Makefile (tests): Add test-fenv-tls.
21447 ($(objpfx)test-fenv-tls): Depend on
21448 $(common-objpfx)nptl/libpthread.so.
21450 2013-11-19 Andreas Schwab <schwab@suse.de>
21452 * locale/programs/locale.c (show_info): Decode wordarray elements.
21453 * locale/categories.def (LC_MONETARY): Add element for
21454 _NL_MONETARY_CRNCYSTR.
21455 * locale/C-monetary.c (conversion_rate): New variable.
21456 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21459 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21461 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21462 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21464 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21466 * elf/Makefile (tst-auxv): New test.
21467 * elf/tst-auxv.c: New
21468 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21470 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21472 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21473 (hidden_proto): Caller changed.
21474 (hidden_tls_proto): New macro.
21475 (libc_hidden_tls_proto): Likewise.
21476 (rtld_hidden_tls_proto): Likewise.
21477 (libm_hidden_tls_proto): Likewise.
21478 (libresolv_hidden_tls_proto): Likewise.
21479 (librt_hidden_tls_proto): Likewise.
21480 (libdl_hidden_tls_proto): Likewise.
21481 (libnss_files_hidden_tls_proto): Likewise.
21482 (libnsl_hidden_tls_proto): Likewise.
21483 (libnss_nisplus_hidden_tls_proto): Likewise.
21484 (libutil_hidden_tls_proto): Likewise.
21486 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21489 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21490 (decompose_rpath): Defer expansion to fillin_rpath.
21491 (_dl_init_paths): Pass linkmap to fillin_rpath.
21493 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21495 * benchtests/Makefile: Add strsep.
21496 * benchtests/bench-strsep.c: New file: strsep benchtest.
21497 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21499 2013-11-18 Andreas Schwab <schwab@suse.de>
21501 * locale/programs/locale.c (show_info) [case byte]: Check for
21502 '\377' instead of '\177'.
21503 * locale/C-monetary.c (not_available): Always use "\377".
21504 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21505 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21506 detect unavailable sign_posn locale elements.
21507 * locale/localeconv.c (__localeconv): For grouping and
21508 mon_grouping handle "\177" and "\377" like no grouping.
21509 (INT_ELEM): New macro. Use it to set all numeric members.
21510 * locale/programs/ld-monetary.c (monetary_read)
21511 <tok_mon_grouping>: Normalize single -1 to the empty string.
21512 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21515 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21518 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21519 when we match (nil).
21520 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21522 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21524 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21525 (NO_TEST_INLINE): Update value.
21526 (ERRNO_UNCHANGED): Likewise.
21527 (ERRNO_EDOM): Likewise.
21528 (ERRNO_ERANGE): Likewise.
21529 (IGNORE_RESULT): Likewise.
21530 (check_float_internal): Check signs of NaN results if
21531 TEST_NAN_SIGN used.
21532 (check_complex): Pass TEST_NAN_SIGN flag through to second
21533 check_float_internal call.
21534 (copysign_test_data): Add tests with quiet NaNs as second
21535 argument. Use TEST_NAN_SIGN.
21536 (fabs_test_data): Add test of negative quiet NaN argument. Use
21538 (signbit_test_data): Add tests of quiet NaN argument.
21539 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21541 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21543 (parse_args): Handle function results specified as IGNORE.
21544 * math/libm-test.inc (IGNORE_RESULT): New macro.
21545 (check_float_internal): Do not check numerical result if flag
21547 (check_complex): Pass through IGNORE_RESULT to second
21548 check_float_internal call.
21549 (check_int): Do not check numerical result if flag IGNORE_RESULT
21551 (check_long): Likewise.
21552 (check_bool): Likewise.
21553 (check_longlong): Likewise.
21554 (lrint_test_data): Add tests of infinite and NaN arguments.
21555 (lrint_tonearest_test_data): Likewise.
21556 (lrint_towardzero_test_data): Likewise.
21557 (lrint_downward_test_data): Likewise.
21558 (lrint_upward_test_data): Likewise.
21559 (llrint_test_data): Likewise.
21560 (llrint_tonearest_test_data): Likewise.
21561 (llrint_towardzero_test_data): Likewise.
21562 (llrint_downward_test_data): Likewise.
21563 (llrint_upward_test_data): Likewise.
21564 (lround_test_data): Likewise.
21565 (llround_test_data): Likewise.
21567 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21568 (ERRNO_UNCHANGED): Update value.
21569 (ERRNO_EDOM): Likewise.
21570 (ERRNO_ERANGE): Likewise.
21571 (NO_TEST_INLINE_FLOAT): New macro.
21572 (NO_TEST_INLINE_DOUBLE): Likewise.
21573 (enable_test): New function.
21574 (RUN_TEST_f_f): Check enable_test before running test.
21575 (RUN_TEST_2_f): Likewise.
21576 (RUN_TEST_fff_f): Likewise.
21577 (RUN_TEST_c_f): Likewise.
21578 (RUN_TEST_f_f1): Likewise.
21579 (RUN_TEST_fF_f1): Likewise.
21580 (RUN_TEST_fI_f1): Likewise.
21581 (RUN_TEST_ffI_f1): Likewise.
21582 (RUN_TEST_c_c): Likewise.
21583 (RUN_TEST_cc_c): Likewise.
21584 (RUN_TEST_f_i): Likewise.
21585 (RUN_TEST_f_i_tg): Likewise.
21586 (RUN_TEST_ff_i_tg): Likewise.
21587 (RUN_TEST_f_b): Likewise.
21588 (RUN_TEST_f_b_tg): Likewise.
21589 (RUN_TEST_f_l): Likewise.
21590 (RUN_TEST_f_L): Likewise.
21591 (RUN_TEST_fFF_11): Likewise.
21592 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21594 (cosh_test_data): Likewise.
21595 (exp_test_data): Likewise.
21596 (expm1_test_data): Likewise.
21597 (hypot_test_data): Likewise.
21598 (pow_test_data): Likewise.
21599 (sinh_test_data): Likewise.
21600 (tanh_test_data): Likewise.
21601 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21604 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21605 tests with quiet NaN input and output.
21606 (acosh_test_data): Likewise.
21607 (asin_test_data): Likewise.
21608 (asinh_test_data): Likewise.
21609 (atan_test_data): Likewise.
21610 (atanh_test_data): Likewise.
21611 (atan2_test_data): Likewise.
21612 (cbrt_test_data): Likewise.
21613 (cos_test_data): Likewise.
21614 (cosh_test_data): Likewise.
21615 (erf_test_data): Likewise.
21616 (erfc_test_data): Likewise.
21617 (exp_test_data): Likewise.
21618 (exp10_test_data): Likewise.
21619 (exp2_test_data): Likewise.
21620 (expm1_test_data): Likewise.
21621 (hypot_test_data): Likewise.
21622 (j0_test_data): Likewise.
21623 (j1_test_data): Likewise.
21624 (jn_test_data): Likewise.
21625 (lgamma_test_data): Likewise.
21626 (log_test_data): Likewise.
21627 (log10_test_data): Likewise.
21628 (log1p_test_data): Likewise.
21629 (log2_test_data): Likewise.
21630 (pow_test_data): Likewise.
21631 (scalb_test_data): Likewise.
21632 (sin_test_data): Likewise.
21633 (sincos_test_data): Likewise.
21634 (sinh_test_data): Likewise.
21635 (tan_test_data): Likewise.
21636 (tanh_test_data): Likewise.
21637 (tgamma_test_data): Likewise.
21638 (y0_test_data): Likewise.
21639 (y1_test_data): Likewise.
21640 (yn_test_data): Likewise.
21643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21644 argument being NaN and avoid computations with second argument in
21646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21647 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21648 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21650 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21652 * locale/iso-639.def: Add Chitwani Tharu (the).
21654 2013-11-14 Andreas Schwab <schwab@suse.de>
21656 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21657 word instead of empty string.
21659 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21662 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21664 (__fe_nomask_env): Likewise.
21666 2013-11-13 Steve Ellcey <sellcey@mips.com>
21668 * benchtests/bench-timing.h: Include time.h.
21670 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21673 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21675 * sysdeps/unix/sysv/linux/configure: Regenerated.
21677 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21680 * stdlib/strtod_l.c (round_and_return): Do not consider
21681 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21682 exponent one less than half the least subnormal exponent.
21683 * stdlib/test-strtod-round-data: Add more tests.
21684 * stdlib/tst-strtod-round.c (tests): Regenerated.
21686 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21689 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21690 (__fe_mask_env): Likewise.
21691 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21692 libm_hidden_proto and add function prototype.
21693 (__fe_mask_env): Add function prototype.
21694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21695 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21697 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21699 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21701 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21703 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21704 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21706 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21708 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21709 of htab_find_slot().
21711 2013-11-11 David S. Miller <davem@davemloft.net>
21714 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21715 symbol in the non-vis3 case in static builds.
21716 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21717 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21718 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21719 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21721 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21724 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21727 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21729 * benchtests/Makefile: Add bench-strtod.
21730 * benchtests/bench-strtod.c: New file: strtod benchtest
21732 2013-11-11 Andreas Schwab <schwab@suse.de>
21735 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21736 terminating NUL in key length.
21738 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21741 Add artificial ODP entry for vDSO symbol for PPC64.
21742 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21743 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21745 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21748 * nss/getent.c (services_keys): Recognize services starting with digit.
21750 2013-11-06 David S. Miller <davem@davemloft.net>
21753 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21754 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21756 2013-11-06 Will Newton <will.newton@linaro.org>
21758 * manual/memory.texi (Malloc Examples): Remove register
21759 keyword from examples.
21761 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21763 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21765 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21768 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21769 depending on [__GCC_IEC_559 > 0].
21770 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21771 depending on [__GCC_IEC_559_COMPLEX > 0].
21773 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21775 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21778 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21780 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21782 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21785 * malloc/malloc (malloc_info): Do not handle first bin as
21788 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21790 * locale/iso-639.def: Add Central Nahuatl (nhn).
21792 2013-11-01 Bruno Haible <bruno@clisp.org>
21795 * manual/math.texi (BSD Random): Specify range upper bound as
21798 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21800 * locale/iso-639.def: Add Meadow Mari (mhr).
21802 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21804 [BZ #14752], [BZ #15763]
21805 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21807 * rt/tst_shm.c: Add test for escaping directory.
21809 2013-10-31 Andreas Schwab <schwab@suse.de>
21812 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21813 followed by 'x' as part of digit sequence.
21814 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21816 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21819 * configure.ac: allow GNU Make 4.0 and greater.
21820 * configure: Regenerated.
21822 2013-10-30 Will Newton <will.newton@linaro.org>
21825 * malloc/hooks.c (memalign_check): Limit alignment to the
21826 maximum representable power of two.
21827 * malloc/malloc.c (__libc_memalign): Likewise.
21828 * malloc/tst-memalign.c (do_test): Add test for very
21829 large alignment values.
21830 * malloc/tst-posix_memalign.c (do_test): Likewise.
21832 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21835 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21836 (munmap_chunk): Likewise.
21837 (mremap_chunk): Likewise.
21839 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21842 * stdlib/div.c (div): Remove obsolete code.
21843 * stdlib/ldiv.c (ldiv): Likewise.
21844 * stdlib/lldiv.c (lldiv): Likewise.
21846 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21849 * nss/nss_files/files-XXX.c (get_contents_ret): New
21851 (get_contents): New function.
21852 (internal_getent): Use it. Expand size of LINEBUFLEN.
21854 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21856 * configure.in: Moved to ...
21857 * configure.ac: ... here. Change reference to configure.in
21859 * sysdeps/arm/preconfigure.ac: ... here.
21860 configure.in to configure.ac.
21861 * sysdeps/gnu/configure.in: Moved to ...
21862 * sysdeps/gnu/configure.ac: ... here.
21863 * sysdeps/i386/configure.in: Moved to ...
21864 * sysdeps/i386/configure.ac: ... here.
21865 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21866 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21867 * sysdeps/mach/configure.in: Moved to ...
21868 * sysdeps/mach/configure.ac: ... here.
21869 * sysdeps/mach/hurd/configure.in: Moved to ...
21870 * sysdeps/mach/hurd/configure.ac: ... here.
21871 * sysdeps/powerpc/configure.in: Moved to ...
21872 * sysdeps/powerpc/configure.ac: ... here.
21873 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21874 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21875 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21876 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21877 * sysdeps/s390/s390-32/configure.in: Moved to ...
21878 * sysdeps/s390/s390-32/configure.ac: ... here.
21879 * sysdeps/s390/s390-64/configure.in: Moved to ...
21880 * sysdeps/s390/s390-64/configure.ac: ... here.
21881 * sysdeps/sh/configure.in: Moved to ...
21882 * sysdeps/sh/configure.ac: ... here.
21883 * sysdeps/sparc/configure.in: Moved to ...
21884 * sysdeps/sparc/configure.ac: ... here.
21885 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21886 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21887 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21888 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21889 * sysdeps/x86_64/configure.in: Moved to ...
21890 * sysdeps/x86_64/configure.ac: ... here.
21891 * sysdeps/x86_64/preconfigure.in: Moved to ...
21892 * sysdeps/x86_64/preconfigure.ac: ... here.
21893 * aclocal.m4: Change reference to configure.in to configure.ac.
21894 * config.h.in: Likewise.
21895 * manual/install.texi: Likewise.
21896 * manual/maint.texi: Likewise.
21897 * Makefile: Likewise.
21898 * malloc/Makefile: Likewise.
21899 * nscd/Makefile: Likewise.
21900 * Makeconfig: Change reference to configure.in and
21901 preconfigure.in to configure.ac and preconfigure.ac
21903 * INSTALL: Regenerated.
21904 * configure: Likewise.
21905 * sysdeps/gnu/configure: Likewise.
21906 * sysdeps/i386/configure: Likewise.
21907 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21908 * sysdeps/mach/configure: Likewise.
21909 * sysdeps/mach/hurd/configure: Likewise.
21910 * sysdeps/powerpc/configure: Likewise.
21911 * sysdeps/powerpc/powerpc32/configure: Likewise.
21912 * sysdeps/powerpc/powerpc64/configure: Likewise.
21913 * sysdeps/s390/s390-32/configure: Likewise.
21914 * sysdeps/s390/s390-64/configure: Likewise.
21915 * sysdeps/sh/configure: Likewise.
21916 * sysdeps/sparc/configure: Likewise.
21917 * sysdeps/unix/sysv/linux/configure: Likewise.
21918 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21919 * sysdeps/x86_64/configure: Likewise.
21920 * sysdeps/x86_64/preconfigure: Likewise.
21922 2013-10-29 Andreas Schwab <schwab@suse.de>
21924 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21926 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21928 * benchtests/pow-inputs: Add new inputs.
21930 * benchtests/exp-inputs: Add new inputs.
21932 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21933 conditional check for return value.
21934 (__cos32): Likewise.
21936 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21938 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21939 to provide a boost for large inputs with word alignment.
21940 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21941 implementation based on optimized PPC64 strcpy.
21942 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21943 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21944 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21945 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21947 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21950 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21952 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21955 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21956 * time/tst-strptime.c (day_tests): Add testcase.
21958 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21961 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21963 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21966 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21967 MAP_FAILED on error.
21969 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21972 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21973 heap for large requests.
21975 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21978 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21979 result if the result has no associated interface.
21980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21981 interface for all 127.X.Y.Z addresses.
21983 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21985 * locale/iso-639.def: Add Ligurian (lij)
21987 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21990 * sunrpc/rpc_main.c: Document rpcgen -5.
21992 2013-10-19 Michael Stahl <mstahl@redhat.com>
21994 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21996 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21999 * posix/glob.c: Match only directories when trailing slash is present.
22000 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22001 (main): Add testcase.
22003 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22006 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22008 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22010 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22011 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22012 AUTH_DES and cindex for FIPS 140-2.
22013 (DES Encryption): Add cindex FIPS 46-3.
22015 * locale/locarchive.h (struct locarhandle): Add fname.
22016 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22017 if an optional argument was specified to --list-archive,
22019 * locale/programs/locarchive.c (show_archive_content): Take new
22020 argument fname and pass it via ah.fname to open_archive.
22021 * locale/programs/localedef.h: Update decl.
22022 (open_archive): If AH->fname is non-null, open that file
22023 rather than the default file name, and don't ignore ENOENT.
22024 (create_archive): Set AH.fname to NULL.
22025 (delete_locales_from_archive): Likewise.
22026 (add_locales_to_archive): Likewise.
22027 * locale/programs/locfile.c (write_all_categories): Likewise.
22029 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22030 Aldy Hernandez <aldyh@redhat.com>
22032 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22033 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22034 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22035 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22036 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22037 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22038 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22039 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22040 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22041 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22042 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22043 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22044 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22045 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22046 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22048 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22054 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22055 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22057 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22058 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22059 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22060 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22062 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22063 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22064 * sysdeps/powerpc/preconfigure: Likewise.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22067 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22068 Replace contents of file by #include of <fenv_libc.h>.
22069 * sysdeps/powerpc/soft-fp/sfp-machine.h
22070 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22072 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22085 Allow copysignl PLT reference to be missing.
22087 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22088 Joseph Myers <joseph@codesourcery.com
22091 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22093 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22095 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22097 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22098 * elf/tst-tls1.c: Likewise.
22099 * elf/tst-tls10.h: Likewise.
22100 * elf/tst-tls14.c: Likewise.
22101 * elf/tst-tls2.c: Likewise.
22102 * elf/tst-tls3.c: Likewise.
22103 * elf/tst-tls4.c: Likewise.
22104 * elf/tst-tls5.c: Likewise.
22105 * elf/tst-tls6.c: Likewise.
22106 * elf/tst-tls7.c: Likewise.
22107 * elf/tst-tls8.c: Likewise.
22108 * elf/tst-tls9.c: Likewise.
22109 * elf/tst-tlsmod1.c: Likewise.
22110 * elf/tst-tlsmod13.c: Likewise.
22111 * elf/tst-tlsmod13a.c: Likewise.
22112 * elf/tst-tlsmod14a.c: Likewise.
22113 * elf/tst-tlsmod16a.c: Likewise.
22114 * elf/tst-tlsmod16b.c: Likewise.
22115 * elf/tst-tlsmod2.c: Likewise.
22116 * elf/tst-tlsmod3.c: Likewise.
22117 * elf/tst-tlsmod4.c: Likewise.
22118 * elf/tst-tlsmod5.c: Likewise.
22119 * elf/tst-tlsmod6.c: Likewise.
22121 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22124 * malloc/malloc.c: remove checks for statistics.
22126 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22129 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22130 * inet/tst-network.c: Add testcase.
22132 2013-10-17 Andreas Schwab <schwab@suse.de>
22135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22136 to determine canonical name.
22138 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22140 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22141 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22159 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22167 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22169 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22170 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22172 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22173 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22174 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22175 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22177 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22178 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22181 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22182 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22199 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22202 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22203 make result into a quiet NaN.
22205 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22207 * soft-fp/adddf3.c: Fix horizontal whitespace.
22208 * soft-fp/addsf3.c: Likewise.
22209 * soft-fp/addtf3.c: Likewise.
22210 * soft-fp/divdf3.c: Likewise.
22211 * soft-fp/divsf3.c: Likewise.
22212 * soft-fp/divtf3.c: Likewise.
22213 * soft-fp/double.h: Likewise.
22214 * soft-fp/eqdf2.c: Likewise.
22215 * soft-fp/eqsf2.c: Likewise.
22216 * soft-fp/eqtf2.c: Likewise.
22217 * soft-fp/extenddftf2.c: Likewise.
22218 * soft-fp/extended.h: Likewise.
22219 * soft-fp/extendsfdf2.c: Likewise.
22220 * soft-fp/extendsftf2.c: Likewise.
22221 * soft-fp/extendxftf2.c: Likewise.
22222 * soft-fp/fixdfdi.c: Likewise.
22223 * soft-fp/fixdfsi.c: Likewise.
22224 * soft-fp/fixdfti.c: Likewise.
22225 * soft-fp/fixsfdi.c: Likewise.
22226 * soft-fp/fixsfsi.c: Likewise.
22227 * soft-fp/fixsfti.c: Likewise.
22228 * soft-fp/fixtfdi.c: Likewise.
22229 * soft-fp/fixtfsi.c: Likewise.
22230 * soft-fp/fixtfti.c: Likewise.
22231 * soft-fp/fixunsdfdi.c: Likewise.
22232 * soft-fp/fixunsdfsi.c: Likewise.
22233 * soft-fp/fixunsdfti.c: Likewise.
22234 * soft-fp/fixunssfdi.c: Likewise.
22235 * soft-fp/fixunssfsi.c: Likewise.
22236 * soft-fp/fixunssfti.c: Likewise.
22237 * soft-fp/fixunstfdi.c: Likewise.
22238 * soft-fp/fixunstfsi.c: Likewise.
22239 * soft-fp/fixunstfti.c: Likewise.
22240 * soft-fp/floatdidf.c: Likewise.
22241 * soft-fp/floatdisf.c: Likewise.
22242 * soft-fp/floatditf.c: Likewise.
22243 * soft-fp/floatsidf.c: Likewise.
22244 * soft-fp/floatsisf.c: Likewise.
22245 * soft-fp/floatsitf.c: Likewise.
22246 * soft-fp/floattidf.c: Likewise.
22247 * soft-fp/floattisf.c: Likewise.
22248 * soft-fp/floattitf.c: Likewise.
22249 * soft-fp/floatundidf.c: Likewise.
22250 * soft-fp/floatundisf.c: Likewise.
22251 * soft-fp/floatunditf.c: Likewise.
22252 * soft-fp/floatunsidf.c: Likewise.
22253 * soft-fp/floatunsisf.c: Likewise.
22254 * soft-fp/floatunsitf.c: Likewise.
22255 * soft-fp/floatuntidf.c: Likewise.
22256 * soft-fp/floatuntisf.c: Likewise.
22257 * soft-fp/floatuntitf.c: Likewise.
22258 * soft-fp/fmadf4.c: Likewise.
22259 * soft-fp/fmasf4.c: Likewise.
22260 * soft-fp/fmatf4.c: Likewise.
22261 * soft-fp/gedf2.c: Likewise.
22262 * soft-fp/gesf2.c: Likewise.
22263 * soft-fp/getf2.c: Likewise.
22264 * soft-fp/ledf2.c: Likewise.
22265 * soft-fp/lesf2.c: Likewise.
22266 * soft-fp/letf2.c: Likewise.
22267 * soft-fp/muldf3.c: Likewise.
22268 * soft-fp/mulsf3.c: Likewise.
22269 * soft-fp/multf3.c: Likewise.
22270 * soft-fp/negdf2.c: Likewise.
22271 * soft-fp/negsf2.c: Likewise.
22272 * soft-fp/negtf2.c: Likewise.
22273 * soft-fp/op-1.h: Likewise.
22274 * soft-fp/op-2.h: Likewise.
22275 * soft-fp/op-4.h: Likewise.
22276 * soft-fp/op-8.h: Likewise.
22277 * soft-fp/op-common.h: Likewise.
22278 * soft-fp/quad.h: Likewise.
22279 * soft-fp/single.h: Likewise.
22280 * soft-fp/soft-fp.h: Likewise.
22281 * soft-fp/sqrtdf2.c: Likewise.
22282 * soft-fp/sqrtsf2.c: Likewise.
22283 * soft-fp/sqrttf2.c: Likewise.
22284 * soft-fp/subdf3.c: Likewise.
22285 * soft-fp/subsf3.c: Likewise.
22286 * soft-fp/subtf3.c: Likewise.
22287 * soft-fp/truncdfsf2.c: Likewise.
22288 * soft-fp/trunctfdf2.c: Likewise.
22289 * soft-fp/trunctfsf2.c: Likewise.
22290 * soft-fp/trunctfxf2.c: Likewise.
22291 * soft-fp/unorddf2.c: Likewise.
22292 * soft-fp/unordsf2.c: Likewise.
22293 * soft-fp/unordtf2.c: Likewise.
22295 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22297 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22298 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22300 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22302 * elf/dl-libc.c: Clear initfini list after freeing.
22304 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22306 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22307 * soft-fp/addsf3.c: Likewise.
22308 * soft-fp/addtf3.c: Likewise.
22309 * soft-fp/divdf3.c: Likewise.
22310 * soft-fp/divsf3.c: Likewise.
22311 * soft-fp/divtf3.c: Likewise.
22312 * soft-fp/double.h: Likewise.
22313 * soft-fp/eqdf2.c: Likewise.
22314 * soft-fp/eqsf2.c: Likewise.
22315 * soft-fp/eqtf2.c: Likewise.
22316 * soft-fp/extenddftf2.c: Likewise.
22317 * soft-fp/extended.h: Likewise.
22318 * soft-fp/extendsfdf2.c: Likewise.
22319 * soft-fp/extendsftf2.c: Likewise.
22320 * soft-fp/extendxftf2.c: Likewise.
22321 * soft-fp/fixdfdi.c: Likewise.
22322 * soft-fp/fixdfsi.c: Likewise.
22323 * soft-fp/fixdfti.c: Likewise.
22324 * soft-fp/fixsfdi.c: Likewise.
22325 * soft-fp/fixsfsi.c: Likewise.
22326 * soft-fp/fixsfti.c: Likewise.
22327 * soft-fp/fixtfdi.c: Likewise.
22328 * soft-fp/fixtfsi.c: Likewise.
22329 * soft-fp/fixtfti.c: Likewise.
22330 * soft-fp/fixunsdfdi.c: Likewise.
22331 * soft-fp/fixunsdfsi.c: Likewise.
22332 * soft-fp/fixunsdfti.c: Likewise.
22333 * soft-fp/fixunssfdi.c: Likewise.
22334 * soft-fp/fixunssfsi.c: Likewise.
22335 * soft-fp/fixunssfti.c: Likewise.
22336 * soft-fp/fixunstfdi.c: Likewise.
22337 * soft-fp/fixunstfsi.c: Likewise.
22338 * soft-fp/fixunstfti.c: Likewise.
22339 * soft-fp/floatdidf.c: Likewise.
22340 * soft-fp/floatdisf.c: Likewise.
22341 * soft-fp/floatditf.c: Likewise.
22342 * soft-fp/floatsidf.c: Likewise.
22343 * soft-fp/floatsisf.c: Likewise.
22344 * soft-fp/floatsitf.c: Likewise.
22345 * soft-fp/floattidf.c: Likewise.
22346 * soft-fp/floattisf.c: Likewise.
22347 * soft-fp/floattitf.c: Likewise.
22348 * soft-fp/floatundidf.c: Likewise.
22349 * soft-fp/floatundisf.c: Likewise.
22350 * soft-fp/floatunsidf.c: Likewise.
22351 * soft-fp/floatunsisf.c: Likewise.
22352 * soft-fp/floatuntidf.c: Likewise.
22353 * soft-fp/floatuntisf.c: Likewise.
22354 * soft-fp/floatuntitf.c: Likewise.
22355 * soft-fp/fmadf4.c: Likewise.
22356 * soft-fp/fmasf4.c: Likewise.
22357 * soft-fp/fmatf4.c: Likewise.
22358 * soft-fp/gedf2.c: Likewise.
22359 * soft-fp/gesf2.c: Likewise.
22360 * soft-fp/getf2.c: Likewise.
22361 * soft-fp/ledf2.c: Likewise.
22362 * soft-fp/lesf2.c: Likewise.
22363 * soft-fp/letf2.c: Likewise.
22364 * soft-fp/muldf3.c: Likewise.
22365 * soft-fp/mulsf3.c: Likewise.
22366 * soft-fp/multf3.c: Likewise.
22367 * soft-fp/negdf2.c: Likewise.
22368 * soft-fp/negsf2.c: Likewise.
22369 * soft-fp/negtf2.c: Likewise.
22370 * soft-fp/op-1.h: Likewise.
22371 * soft-fp/op-2.h: Likewise.
22372 * soft-fp/op-4.h: Likewise.
22373 * soft-fp/op-8.h: Likewise.
22374 * soft-fp/op-common.h: Likewise.
22375 * soft-fp/quad.h: Likewise.
22376 * soft-fp/single.h: Likewise.
22377 * soft-fp/soft-fp.h: Likewise.
22378 * soft-fp/sqrtdf2.c: Likewise.
22379 * soft-fp/sqrtsf2.c: Likewise.
22380 * soft-fp/sqrttf2.c: Likewise.
22381 * soft-fp/subdf3.c: Likewise.
22382 * soft-fp/subsf3.c: Likewise.
22383 * soft-fp/subtf3.c: Likewise.
22384 * soft-fp/truncdfsf2.c: Likewise.
22385 * soft-fp/trunctfdf2.c: Likewise.
22386 * soft-fp/trunctfsf2.c: Likewise.
22387 * soft-fp/trunctfxf2.c: Likewise.
22388 * soft-fp/unorddf2.c: Likewise.
22389 * soft-fp/unordsf2.c: Likewise.
22390 * soft-fp/unordtf2.c: Likewise.
22392 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22395 * misc/error.c (error_tail): Fix possible buffer overflow.
22397 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22400 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22403 2013-10-14 P. J. McDermott <pj@pehjota.net>
22406 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22407 testing pipefail option.
22409 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22411 * soft-fp/double.h: Indent preprocessor directives inside #if.
22412 * soft-fp/extended.h: Likewise.
22413 * soft-fp/op-2.h: Likewise.
22414 * soft-fp/op-4.h: Likewise.
22415 * soft-fp/op-common.h: Likewise.
22416 * soft-fp/quad.h: Likewise.
22417 * soft-fp/single.h: Likewise.
22418 * soft-fp/soft-fp.h: Likewise.
22420 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22422 * iconv/iconv_prog.c: Fix typos.
22423 * stdio-common/psiginfo-data.h: Likewise.
22425 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22428 * locale/setlocale.c: Fix typo.
22430 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22433 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22434 signaling NaN arguments.
22435 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22436 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22439 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22440 unordered operands.
22441 * soft-fp/gesf2.c (__gesf2): Likewise.
22442 * soft-fp/getf2.c (__getf2): Likewise.
22443 * soft-fp/ledf2.c (__ledf2): Likewise.
22444 * soft-fp/lesf2.c (__lesf2): Likewise.
22445 * soft-fp/letf2.c (__letf2): Likewise.
22447 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22448 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22449 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22450 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22451 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22452 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22453 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22454 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22455 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22456 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22457 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22458 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22459 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22460 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22461 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22462 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22463 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22464 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22465 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22466 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22467 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22468 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22469 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22470 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22471 * soft-fp/floattidf.c (__floattidf): Likewise.
22472 * soft-fp/floattisf.c (__floattisf): Likewise.
22473 * soft-fp/floattitf.c (__floattitf): Likewise.
22474 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22475 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22476 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22477 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22478 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22479 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22480 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22488 Undefine and redefine.
22489 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22490 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22491 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22492 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22493 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22494 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22495 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22496 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22497 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22498 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22499 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22500 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22501 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22502 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22503 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22506 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22507 without decrementing exponent if mantissa >= that for the
22508 denominator, not >.
22509 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22510 denominator, not >. Decrement exponent in < case instead of
22511 incrementing in >= case.
22512 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22513 without decrementing exponent if mantissa >= that for the
22514 denominator, not >.
22516 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22517 computing saturated result for unsigned overflow.
22519 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22520 Jeff Law <law@redhat.com>
22522 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22523 (atan2Mp): Add systemtap probe marker.
22524 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22525 (__ieee754_log): Add systemtap probe marker.
22526 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22527 (atanMp): Add systemtap probe marker.
22528 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22529 (tanMp): Add systemtap probe marker.
22530 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22531 (__slowexp): Add systemtap probe marker.
22532 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22533 (__slowpow): Add systemtap probe marker.
22534 * manual/probes.texi: Document probes.
22536 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22539 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22541 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22543 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22544 written to buffer but not flushed.
22545 * libio/iofwrite_u.c: Likewise.
22546 * libio/iopadn.c: Return bytes returned even if EOF was
22548 * libio/iowpadn.c: Likewise.
22549 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22550 if _IO_padn does not write the whole buffer.
22551 [!COMPILE_WPRINTF] (PAD): Likewise.
22553 2013-10-10 David S. Miller <davem@davemloft.net>
22555 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22558 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22560 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22561 instead of FSF address.
22562 * soft-fp/fixdfti.c: Likewise.
22563 * soft-fp/fixsfti.c: Likewise.
22564 * soft-fp/fixtfti.c: Likewise.
22565 * soft-fp/fixunsdfti.c: Likewise.
22566 * soft-fp/fixunssfti.c: Likewise.
22567 * soft-fp/fixunstfti.c: Likewise.
22568 * soft-fp/floattidf.c: Likewise.
22569 * soft-fp/floattisf.c: Likewise.
22570 * soft-fp/floattitf.c: Likewise.
22571 * soft-fp/floatuntidf.c: Likewise.
22572 * soft-fp/floatuntisf.c: Likewise.
22573 * soft-fp/floatuntitf.c: Likewise.
22574 * soft-fp/trunctfxf2.c: Likewise.
22576 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22577 * soft-fp/fixdfti.c: Likewise.
22578 * soft-fp/fixsfti.c: Likewise.
22579 * soft-fp/fixtfti.c: Likewise.
22580 * soft-fp/fixunsdfti.c: Likewise.
22581 * soft-fp/fixunssfti.c: Likewise.
22582 * soft-fp/fixunstfti.c: Likewise.
22583 * soft-fp/floattidf.c: Likewise.
22584 * soft-fp/floattisf.c: Likewise.
22585 * soft-fp/floattitf.c: Likewise.
22586 * soft-fp/floatuntidf.c: Likewise.
22587 * soft-fp/floatuntisf.c: Likewise.
22588 * soft-fp/floatuntitf.c: Likewise.
22589 * soft-fp/trunctfxf2.c: Likewise.
22591 2013-10-10 David S. Miller <davem@davemloft.net>
22593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22595 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22598 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22599 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22600 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22601 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22602 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22603 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22606 for NaNs before doing comparisons on argument.
22607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22610 2013-10-10 Will Newton <will.newton@linaro.org>
22612 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22613 passed to _int_memalign does not overflow.
22615 2013-10-10 Torvald Riegel <triegel@redhat.com>
22617 * scripts/bench.pl: Add include-sources directive.
22618 * benchtests/README: Update documentation.
22620 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22622 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22623 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22624 instead of FP_INIT_ROUNDMODE.
22625 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22626 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22629 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22630 copy class of input value.
22631 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22632 not handle exceptions.
22633 * soft-fp/negsf2.c (__negsf2): Likewise.
22634 * soft-fp/negtf2.c (__negtf2): Likewise.
22635 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22637 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22639 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22640 semicolon. From Linux kernel.
22642 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22644 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22646 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22649 * manual/socket.texi: Added statement about buffer
22650 for gethostbyname2_r.
22652 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22654 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22655 Use .p2align directive instead, throughout.
22656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22657 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22658 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22661 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22662 * sysdeps/x86_64/strchr.S: Likewise.
22663 * sysdeps/x86_64/strrchr.S: Likewise.
22665 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22667 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22669 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22671 * sysdeps/generic/math_private.h (__mpsin1): Remove
22673 (__mpcos1): Likewise.
22674 (__mpsin): New argument __range_reduce.
22675 (__mpcos): Likewise.
22676 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22677 (slow): Use __mpsin and __mpcos.
22681 (sloww1): Likewise.
22682 (sloww2): Likewise.
22683 (bsloww): Likewise.
22684 (bsloww1): Likewise.
22685 (bsloww2): Likewise.
22686 (cslow2): Likewise.
22687 (csloww): Likewise.
22688 (csloww1): Likewise.
22689 (csloww2): Likewise.
22690 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22691 range_reduce. Merge in __mpsin1.
22692 (__mpcos): Likewise.
22693 (__mpsin1): Remove.
22694 (__mpcos1): Likewise.
22696 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22698 * locale/loadlocale.c (_nl_intern_locale_data): Use
22700 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22701 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22702 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22703 obstack data is appropriately aligned.
22704 (obstack_int32_grow_fast): Likewise.
22705 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22706 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22707 (add_locale_uint32_array): Likewise.
22709 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22711 * benchtests/Makefile: Remove ARGLIST and RET variables.
22712 ($(objpfx)bench-%.c): Pass only function name to the script.
22713 * benchtests/README: Update documentation.
22714 * benchtests/acos-inputs: Add new directives.
22715 * benchtests/acosh-inputs: Likewise.
22716 * benchtests/asin-inputs: Likewise.
22717 * benchtests/asinh-inputs: Likewise.
22718 * benchtests/atan-inputs: Likewise.
22719 * benchtests/atanh-inputs: Likewise.
22720 * benchtests/cos-inputs: Likewise.
22721 * benchtests/cosh-inputs: Likewise.
22722 * benchtests/exp-inputs: Likewise.
22723 * benchtests/log-inputs: Likewise.
22724 * benchtests/pow-inputs: Likewise.
22725 * benchtests/rint-inputs: Likewise.
22726 * benchtests/sin-inputs: Likewise.
22727 * benchtests/sinh-inputs: Likewise.
22728 * benchtests/tan-inputs: Likewise.
22729 * benchtests/tanh-inputs: Likewise.
22730 * scripts/bench.pl: Add support for new directives.
22732 2013-10-07 Alan Modra <amodra@gmail.com>
22734 * README: Fix careless merge.
22736 2013-10-05 Alan Modra <amodra@gmail.com>
22738 * NEWS: Mention powerpc64le support and bugs fixed.
22739 * README: Both big-endian and little-endian powerpc64 supported.
22741 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22743 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22744 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22745 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22746 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22748 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22750 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22753 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22755 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22756 Move -mhard-float appending from
22757 ports/sysdeps/powerpc/powerpc32/Makefile.
22758 [$(with-fp) = yes] (ASFLAGS): Likewise.
22759 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22760 * sysdeps/powerpc/nofpu: Move directory from
22761 ports/sysdeps/powerpc/nofpu.
22762 * sysdeps/powerpc/soft-fp: Move directory from
22763 ports/sysdeps/powerpc/soft-fp.
22764 * sysdeps/powerpc/powerpc32/405: Move directory from
22765 ports/sysdeps/powerpc/powerpc32/405.
22766 * sysdeps/powerpc/powerpc32/440: Move directory from
22767 ports/sysdeps/powerpc/powerpc32/440.
22768 * sysdeps/powerpc/powerpc32/464: Move directory from
22769 ports/sysdeps/powerpc/powerpc32/464.
22770 * sysdeps/powerpc/powerpc32/476: Move directory from
22771 ports/sysdeps/powerpc/powerpc32/476.
22772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22773 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22782 * README: Update for powerpc-*-linux-gnu software floating point
22785 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22786 case to powerpc/powerpc32*.
22787 * sysdeps/unix/sysv/linux/configure: Regenerated.
22789 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22790 (_FPU_MASK_OM): Define as 0x04.
22791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22799 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22802 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22805 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22806 and setcontext_e500.
22808 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22810 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22812 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22814 * manual/threads.texi (Default Thread Attributes): Fix typo.
22816 2013-10-04 Will Newton <will.newton@linaro.org>
22818 * malloc/Makefile: Add tst-memalign.
22819 * malloc/tst-memalign.c: New file.
22821 * malloc/tst-posix_memalign.c: Add comments.
22822 (do_test): Add comments and call free on all potentially
22823 allocated pointers. Add space after cast.
22825 * malloc/tst-pvalloc.c: Add comments.
22826 (do_test): Add comments and call free on all potentially
22827 allocated pointers. Remove duplicate check for NULL pointer.
22828 Add space after cast.
22830 * malloc/tst-valloc.c: Add comments.
22831 (do_test): Add comments and call free on all potentially
22832 allocated pointers. Remove duplicate check for NULL pointer.
22833 Add space after cast.
22835 2013-10-04 Alan Modra <amodra@gmail.com>
22837 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22838 Use stdint types in rather than __attribute__((mode())).
22839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22841 2013-10-04 Alan Modra <amodra@gmail.com>
22843 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22844 Correct handling of unaligned relocs for little-endian.
22845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22847 2013-10-04 Alan Modra <amodra@gmail.com>
22849 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22850 * configure: Regenerate.
22851 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22852 * shlib-versions: Likewise.
22854 2013-10-04 Alan Modra <amodra@gmail.com>
22856 * string/tester.c (test_memrchr): Increment reported test cycle.
22858 2013-10-04 Alan Modra <amodra@gmail.com>
22860 * string/test-memcpy.c (do_one_test): When reporting errors, print
22861 string address and don't overrun end of string.
22863 2013-10-04 Alan Modra <amodra@gmail.com>
22865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22866 insrdi. Make better use of reg selection to speed exit slightly.
22867 Schedule entry path a little better. Remove useless "are we done"
22868 checks on entry to main loop. Handle wrapping around zero address.
22869 Correct main loop count. Handle single left-over word from main
22870 loop inline rather than by using loop_small. Remove extra word
22871 case in loop_small caused by wrong loop count. Add little-endian
22873 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22874 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22876 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22877 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22878 support. Avoid rlwimi.
22879 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22881 2013-10-04 Alan Modra <amodra@gmail.com>
22883 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22884 insrdi. Formatting.
22885 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22886 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22887 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22888 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22889 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22890 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22892 2013-10-04 Alan Modra <amodra@gmail.com>
22894 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22898 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22899 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22901 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22902 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22903 use of regs. Use power7 mtocrf. Tidy function tails.
22905 2013-10-04 Alan Modra <amodra@gmail.com>
22907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22908 Formatting. Consistently use rXXX register defines or rN defines.
22909 Use early exit labels that avoid restoring unused non-volatile regs.
22910 Make cr field use more consistent with rWORDn compares. Rename
22911 regs used as shift registers for unaligned loop, using rN defines
22912 for short lifetime/multiple use regs.
22913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22915 addi 1,1,64 to pop stack frame. Simplify return value code.
22916 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22918 2013-10-04 Alan Modra <amodra@gmail.com>
22920 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22921 support. Correct typos, formatting. Optimize tail. Use insrdi
22922 rather than rlwimi.
22923 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22924 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22925 little-endian support. Correct typos.
22926 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22927 rather than rlwimi.
22928 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22929 in loop and entry code to keep "and." results.
22930 (strchr): Add little-endian support. Comment. Move cntlzd
22932 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22934 2013-10-04 Alan Modra <amodra@gmail.com>
22936 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22937 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22938 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22939 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22941 2013-10-04 Alan Modra <amodra@gmail.com>
22943 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22944 (rTMP): Define as r11.
22945 (strcmp): Add little-endian support. Optimise tail.
22946 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22947 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22948 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22949 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22950 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22954 2013-10-04 Alan Modra <amodra@gmail.com>
22956 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22957 little-endian support. Remove unnecessary "are we done" tests.
22958 Handle "s" wrapping around zero and extremely large "size".
22959 Correct main loop count. Handle single left-over word from main
22960 loop inline rather than by using small_loop. Correct comments.
22961 Delete "zero" tail, use "end_max" instead.
22962 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22964 2013-10-04 Alan Modra <amodra@gmail.com>
22966 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22967 support. Don't branch over align.
22968 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22969 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22970 support. Rearrange tmp reg use to suit. Comment.
22971 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22973 2013-10-04 Alan Modra <amodra@gmail.com>
22975 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22977 2013-10-04 Alan Modra <amodra@gmail.com>
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22980 conditional form of branch and link when obtaining pc.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22983 2013-10-04 Alan Modra <amodra@gmail.com>
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22990 2013-10-04 Alan Modra <amodra@gmail.com>
22992 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22993 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22994 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22996 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22997 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22998 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22999 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23000 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23001 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23003 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23004 Alistair Popple <alistair@ozlabs.au.ibm.com>
23005 Alan Modra <amodra@gmail.com>
23008 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23010 _dl_hwcap access for little-endian.
23011 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23012 destroy vmx regs when saving unaligned.
23013 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23014 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23015 destroy vmx regs when saving unaligned.
23017 2013-10-04 Alan Modra <amodra@gmail.com>
23019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23020 Don't use a union to pack hi/low value.
23022 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23024 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23026 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23029 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23030 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23032 2013-10-04 Alan Modra <amodra@gmail.com>
23034 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23035 constants to usual value for .cst8 section, and remove redundant
23037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23038 constant for 0x1p52. Load little-endian words of double from
23039 correct stack offsets.
23041 2013-10-04 Alan Modra <amodra@gmail.com>
23043 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23044 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23045 words of double from correct stack offsets.
23046 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23047 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23048 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23049 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23050 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23053 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23054 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23058 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23059 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23060 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23061 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23062 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23064 2013-10-04 Alan Modra <amodra@gmail.com>
23066 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23067 64-bit int/double union.
23068 (_FPU_SETCW): Likewise.
23069 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23070 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23072 2013-10-04 Alan Modra <amodra@gmail.com>
23074 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23075 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23077 2013-10-04 Alan Modra <amodra@gmail.com>
23079 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23080 use vector int constants.
23081 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23083 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23085 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23086 array with long long.
23087 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23088 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23089 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23090 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23091 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23092 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23093 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23094 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23095 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23096 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23097 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23098 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23099 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23101 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23103 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23104 (__signbit): Likewise. Correct for little-endian.
23105 (__signbitl): Call __signbit.
23106 (lrint): Correct for little-endian.
23107 (lrintf): Call lrint.
23109 2013-10-04 Alan Modra <amodra@gmail.com>
23111 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23112 union 32-bit int array member with 64-bit int array.
23113 (t515, tm256): Double rather than long double.
23114 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23116 2013-10-04 Alan Modra <amodra@gmail.com>
23118 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23120 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23122 version of math_ldbl.h.
23124 2013-10-04 Alan Modra <amodra@gmail.com>
23126 [BZ #15734], [BZ #15735]
23127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23128 all uses of ieee875 long double macros and unions. Simplify test
23129 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23130 ldbl_extract_mantissa value for ix,iy exponents. Properly
23131 normalize after ldbl_extract_mantissa, and don't add hidden bit
23132 already handled. Don't treat low word of ieee854 mantissa like
23133 low word of IBM long double and mask off bit when testing for
23135 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23136 all uses of ieee875 long double macros and unions. Simplify tests
23137 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23138 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23139 two1022, instead use their values. Recognise that tests for large
23140 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23142 Rewrite all uses of ieee875 long double macros and unions. Simplify
23143 test for 0.0L and nan. Correct negation.
23144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23145 ieee875 long double macros and unions. Correct output for large
23146 magnitude x. Correct absolute value calculation.
23147 (__erfcl): Likewise.
23148 * math/libm-test.inc: Add tests for errors discovered in IBM long
23149 double versions of fmodl, remainderl, erfl and erfcl.
23151 2013-10-04 Alan Modra <amodra@gmail.com>
23153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23154 all uses of ieee854 long double macros and unions. Simplify tests
23155 for long doubles that are fully specified by the high double.
23156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23158 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23159 Remove dead code too.
23160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23161 (__ieee754_ynl): Likewise.
23162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23165 Remove dead code too.
23166 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23167 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23169 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23173 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23176 Comment on variable precision.
23177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23186 2013-10-04 Alan Modra <amodra@gmail.com>
23188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23190 all uses of ieee854 long double macros and unions.
23191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23204 Simplify sign and nan test too.
23205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23210 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23220 2013-10-04 Alan Modra <amodra@gmail.com>
23222 * stdio-common/printf_size.c (__printf_size): Don't use
23223 union ieee854_long_double in fpnum union.
23224 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23225 signbit macro to retrieve sign from long double.
23226 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23227 retrieve sign from long double.
23228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23229 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23230 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23231 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23232 * math/test-misc.c (main): Don't use union ieee854_long_double.
23234 2013-10-04 Alan Modra <amodra@gmail.com>
23237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23238 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23239 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23240 calculation. Remove unnecessary test for denormal exponent.
23241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23242 Correct handling of denormals. Avoid undefined shift behaviour.
23243 Correct normalisation of low mantissa when low double is denormal.
23244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23245 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23246 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23247 Correct normalisation of low mantissa. Test for overflow of high
23248 mantissa and normalise.
23249 (ldbl_nearbyint): Use more readable constant for two52.
23250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23251 (__mpn_construct_long_double): Fix test for overflow of high
23252 mantissa and correct normalisation. Avoid undefined shift.
23254 2013-10-04 Alan Modra <amodra@gmail.com>
23256 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23257 (union ibm_extended_long_double): Define as an array of ieee754_double.
23258 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23259 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23260 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23261 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23270 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23272 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23273 page size instead of calling getpagesize.
23275 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23276 (LOCFILE_ALIGN_MASK): Likewise.
23277 (LOCFILE_ALIGN_UP): Likewise.
23278 (LOCFILE_ALIGNED_P): Likewise.
23279 * locale/programs/ld-collate.c (collate_output): Use the new
23280 macros instead of __alignof__ (int32_t).
23281 * locale/weight.h (findidx): Likewise.
23283 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23286 * manual/string.texi: Fix strncat and wcsncat.
23288 2013-10-03 Brooks Moses <bmoses@google.com>
23291 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23292 * Makerules: ...here, and adjust associated comments.
23294 2013-10-02 Will Newton <will.newton@linaro.org>
23296 * malloc/Makefile: Add tst-pvalloc.
23297 * malloc/tst-pvalloc.c: New file.
23299 2013-10-02 Will Newton <will.newton@linaro.org>
23301 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23302 improve test coverage.
23304 2013-10-02 Will Newton <will.newton@linaro.org>
23306 * malloc/Makefile: Add tst-posix_memalign.
23307 * malloc/tst-posix_memalign.c: New file.
23309 2013-10-01 Eric Blake <eblake@redhat.com>
23311 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23312 Use __THROWNL rather than __THROW on static functions.
23314 2013-09-30 Petr Machata <pmachata@redhat.com>
23316 * elf/elf.h (R_AARCH64_ABS16): New macro.
23317 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23318 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23319 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23320 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23321 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23322 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23323 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23324 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23325 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23326 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23327 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23328 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23329 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23330 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23331 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23332 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23333 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23334 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23335 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23336 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23337 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23338 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23339 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23340 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23341 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23342 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23343 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23344 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23345 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23346 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23347 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23348 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23349 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23350 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23351 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23352 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23353 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23354 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23355 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23356 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23357 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23358 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23359 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23360 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23361 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23362 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23363 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23364 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23365 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23366 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23367 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23368 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23369 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23370 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23371 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23372 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23373 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23374 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23375 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23376 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23377 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23378 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23379 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23380 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23381 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23382 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23383 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23384 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23385 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23386 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23387 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23388 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23389 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23390 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23391 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23392 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23393 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23394 (R_AARCH64_TLSDESC_LDR): Likewise.
23395 (R_AARCH64_TLSDESC_ADD): Likewise.
23396 (R_AARCH64_TLSDESC_CALL): Likewise.
23398 2013-09-30 Andreas Schwab <schwab@suse.de>
23401 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23402 the nss database lookup.
23403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23406 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23408 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23410 2013-09-28 P. J. McDermott <pj@pehjota.net>
23412 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23413 ${Bash-specific parameter/pattern/string} parameter expansion.
23414 * sysdeps/unix/make-syscalls.sh: Likewise.
23416 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23418 * sysdeps/sh/stackguard-macros.h: New file.
23420 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23424 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23425 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23427 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23429 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23431 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23432 Fix thread ID register.
23434 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23436 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23437 [POSIX || UNIX98]: Require rather than permitting all symbols from
23439 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23440 element of struct sched_param.
23441 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23442 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23443 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23444 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23447 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23449 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23450 argument calculation.
23452 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23454 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23456 [POSIX] (pthread_attr_t): Do not require type.
23457 [POSIX] (pthread_cond_t): Likewise.
23458 [POSIX] (pthread_condattr_t): Likewise.
23459 [POSIX] (pthread_key_t): Likewise.
23460 [POSIX] (pthread_mutex_t): Likewise.
23461 [POSIX] (pthread_mutexattr_t): Likewise.
23462 [POSIX] (pthread_once_t): Likewise.
23463 [POSIX] (pthread_t): Likewise.
23464 [POSIX-based standards] (pthread_atfork): Expect function.
23466 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23467 Richard Sandiford <richard@codesourcery.com>
23469 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23470 (swap_endianness_p): New extern variable.
23471 (set_big_endian): New inline function.
23472 (maybe_swap_uint32): Likewise.
23473 (maybe_swap_uint32_array): Likewise.
23474 (maybe_swap_uint32_obstack): Likewise.
23475 * locale/programs/locfile.c: Include <stdbool.h>.
23476 (swap_endianness_p): New variable.
23477 (add_locale_uint32): Call maybe_swap_uint32.
23478 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23479 (write_locale_data): Call maybe_swap_uint32_array.
23480 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23482 (obstack_int32_grow_fast): Likewise.
23483 (output_weightwc): Call maybe_swap_uint32_obstack.
23484 (collate_output): Likewise.
23485 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23486 (OPT_LITTLE_ENDIAN): Likewise.
23487 (options): Add --little-endian and --big-endian options.
23488 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23489 * locale/programs/locarchive.c: Include "locfile.h".
23493 (create_archive): Use the new macros to access fields of
23494 structures directly mapped from or written to locale archives.
23495 (oldlocrecentcmp): Likewise.
23496 (enlarge_archive): Likewise.
23497 (insert_name): Likewise.
23498 (add_alias): Likewise.
23499 (add_locale): Likewise.
23500 (delete_locales_from_archive): Likewise.
23501 (show_archive_content): Likewise.
23502 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23505 2013-09-24 Roland McGrath <roland@hack.frob.com>
23507 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23508 http://www.gnu.org/doc/freemanuals.texi.
23509 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23511 2013-09-24 Will Newton <will.newton@linaro.org>
23513 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23516 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23518 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23521 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23523 * manual/threads.texi (POSIX Threads): Fix a typo.
23525 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23528 * string/tst-strcoll-overflow.c: New test case.
23529 * string/Makefile (xtests): Add tst-strcoll-overflow.
23530 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23531 cache if string sizes may cause integer overflow.
23534 * string/strcoll_l.c (coll_seq): New members rule, idx,
23535 save_idx and back_us.
23536 (get_next_seq_nocache): New function.
23537 (do_compare_nocache): New function.
23538 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23541 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23544 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23545 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23546 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23549 * elf/Makefile (tests): Add tst-ptrguard1.
23550 (tests-static): Add tst-ptrguard1-static.
23551 (tst-ptrguard1-ARGS): Define.
23552 (tst-ptrguard1-static-ARGS): Define.
23553 * elf/tst-ptrguard1.c: New file.
23554 * elf/tst-ptrguard1-static.c: New file.
23555 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23556 * sysdeps/i386/stackguard-macros.h: Likewise.
23557 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23558 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23559 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23561 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23562 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23564 2013-09-23 Hector Marco <hecmargi@upv.es>
23565 Ismael Ripoll <iripoll@disca.upv.es>
23566 Carlos O'Donell <carlos@redhat.com>
23569 * sysdeps/generic/stackguard-macros.h: Define
23570 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23571 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23572 Define __pointer_chk_guard_local.
23573 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23574 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23576 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23579 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23581 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23583 * include/string.h (__ffs): Declare as hidden.
23584 * string/ffs.c (__ffs): Define as hidden.
23585 * sysdeps/i386/ffs.c (__ffs): Likewise.
23586 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23587 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23588 * sysdeps/s390/ffs.c (__ffs): Likewise.
23589 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23591 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23593 * NEWS: Mention malloc probes.
23595 * malloc/arena.c (new_heap): New memory_heap_new probe.
23596 (grow_heap): New memory_heap_more probe.
23597 (shrink_heap): New memory_heap_less probe.
23598 (heap_trim): New memory_heap_free probe.
23599 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23600 (systrim): New memory_sbrk_less probe.
23601 * manual/probes.texi: Document them.
23603 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23604 * manual/probes.texi: Document it.
23606 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23607 (__libc_realloc): Add memory_realloc_retry probe.
23608 (__libc_memalign): Add memory_memalign_retry probe.
23609 (__libc_valloc): Add memory_valloc_retry probe.
23610 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23611 (__libc_calloc): Add memory_calloc_retry probe.
23612 * manual/probes.texi: Document them.
23614 * malloc/arena.c (get_free_list): Add probe
23615 memory_arena_reuse_free_list.
23616 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23617 and memory_arena_reuse.
23618 (arena_get2) [!PER_THREAD]: Likewise.
23619 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23620 memory_arena_reuse_realloc.
23621 * manual/probes.texi: Document them.
23623 * malloc/malloc.c (__libc_free): Add
23624 memory_mallopt_free_dyn_thresholds probe.
23625 (__libc_mallopt): Add multiple memory_mallopt probes.
23626 * manual/probes.texi: Document them.
23628 * malloc/malloc.c: Include stap-probe.h.
23629 (__libc_mallopt): Add memory_mallopt probe.
23630 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23631 * manual/probes.texi: New.
23632 * manual/Makefile (chapters): Add probes.
23633 * manual/threads.texi: Set next node.
23635 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23637 [BZ #15963, #13985]
23638 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23639 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23640 Add `Chinese' to `nan' entry name.
23642 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23644 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23645 (POLYNOMIAL): Likewise.
23646 (TAYLOR_SINCOS): Likewise.
23647 (TAYLOR_SLOW): Likewise.
23648 (__sin): Use TAYLOR_SINCOS.
23650 (slow): Use TAYLOR_SLOW.
23652 (bsloww): Likewise.
23653 (csloww): Likewise.
23655 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23657 * stdlib/strtod_l.c: Fix buffer overrun.
23659 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23661 * benchtests/Makefile (bench): Add sincos.
23662 * benchtests/bench-sincos.c: New file.
23664 * math/libm-test.inc (cos_test_data): New test inputs.
23665 (sin_test_data): Likewise.
23667 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23673 (sloww1): Likewise.
23674 (sloww2): Likewise.
23675 (bsloww1): Likewise.
23676 (bsloww2): Likewise.
23677 (cslow2): Likewise.
23678 (csloww1): Likewise.
23679 (csloww2): Likewise.
23681 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23686 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23690 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23692 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23693 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23694 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23695 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23696 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23697 * elf/cache.c (print_entry): Handle the new cache flags.
23699 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23700 Aldy Hernandez <aldyh@redhat.com>
23702 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23703 Change condition to [_SOFT_FLOAT].
23704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23716 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23719 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23722 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23724 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23725 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23726 (__longjmp): Use LOAD_GP to load saved GPRs.
23727 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23728 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23729 (__sigsetjmp): Use SAVE_GP to save GPRs.
23731 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23732 Do not append -msoft-float.
23733 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23735 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23737 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23739 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23743 (_FPU_GETCW): Use initial "__" on variable and field names but not
23744 on macro parameter name.
23745 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23746 parentheses around reference to macro parameter.
23748 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23750 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23752 (ctype_startup): Use uint32_t in cast and sizeof for
23755 2013-09-11 Jia Liu <proljc@gmail.com>
23757 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23759 [__FreeBSD__]: Likewise.
23761 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23764 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23765 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23766 (strchr): Remove __strchr_sse42 ifunc selection.
23767 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23768 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23770 2013-09-11 Will Newton <will.newton@linaro.org>
23772 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23773 parameter to RES. Remove hardcoded 1000 value.
23774 * benchtests/bench-skeleton.c (main): Pass RES parameter
23775 to TIMING_INIT and multiply result by 1000.
23777 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23781 2013-09-11 Andreas Schwab <schwab@suse.de>
23783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23785 (O_TMPFILE) [__USE_GNU]: Define.
23786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23789 2013-09-11 Will Newton <will.newton@linaro.org>
23792 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23795 2013-09-11 Will Newton <will.newton@linaro.org>
23798 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23801 2013-09-11 Will Newton <will.newton@linaro.org>
23804 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23807 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23809 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23813 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23815 2013-09-10 Allan McRae <allan@archlinux.org>
23818 * manual/arith.texi (Parsing of Floats): Clarify
23822 * manual/install.texi (Running make install): Mention
23824 * INSTALL: Regenerated.
23826 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23828 * csu/init-first.c (_init): Remove the !SHARED condition around
23829 FPU control word initialization.
23830 * elf/dl-support.c (_dl_fpu_control): New variable.
23831 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23832 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23833 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23834 * math/test-fpucw-static.c: New file.
23835 * math/test-fpucw-ieee.c: New file.
23836 * math/test-fpucw-ieee-static.c: New file.
23837 * math/Makefile (tests): Add `test-fpucw-ieee' and
23839 (tests-static): New variable.
23840 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23842 [($(build-shared),yes)]
23843 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23845 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23848 2013-09-09 Allan McRae <allan@archlinux.org>
23851 * manual/string.texi (Collation Functions): Fix typo in
23853 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23856 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23859 * libio/memstream.c (open_memstream): Fix memory leak.
23860 * libio/wmemstream.c (open_wmemstream): Likewise.
23863 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23865 2013-09-09 Will Newton <will.newton@linaro.org>
23867 * malloc/Makefile: Add tst-realloc to tests.
23868 * malloc/tst-realloc.c: New file.
23870 2013-09-09 Allan McRae <allan@archlinux.org>
23873 * COPYING: Update from GNU website to fix FSF address.
23874 * COPYING.LIB: Likewise.
23876 2013-09-06 David S. Miller <davem@davemloft.net>
23878 * po/zh_TW.po: Update Chinese (traditional) translation from
23879 translation project.
23881 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23882 Joseph Myers <joseph@codesourcery.com>
23884 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23886 (obstack_chunk_alloc): New macro.
23887 (obstack_chunk_free): Likewise.
23888 (record_offset): New function.
23889 (init_locale_data): Likewise.
23890 (align_locale_data): Likewise.
23891 (add_locale_empty): Likewise.
23892 (add_locale_raw_data): Likewise.
23893 (add_locale_raw_obstack): Likewise.
23894 (add_locale_string): Likewise.
23895 (add_locale_wstring): Likewise.
23896 (add_locale_uint32): Likewise.
23897 (add_locale_uint32_array): Likewise.
23898 (add_locale_char): Likewise.
23899 (start_locale_structure): Likewise.
23900 (end_locale_structure): Likewise.
23901 (start_locale_prelude): Likewise.
23902 (end_locale_prelude): Likewise.
23903 (write_locale_data): Take locale_file structure rather than an
23905 * locale/programs/locfile.h: Include "obstack.h".
23906 (struct locale_file): Change to store locale file contents instead
23908 (init_locale_data): New prototype.
23909 (align_locale_data): Likewise.
23910 (add_locale_empty): Likewise.
23911 (add_locale_raw_data): Likewise.
23912 (add_locale_raw_obstack): Likewise.
23913 (add_locale_string): Likewise.
23914 (add_locale_wstring): Likewise.
23915 (add_locale_uint32): Likewise.
23916 (add_locale_uint32_array): Likewise.
23917 (add_locale_char): Likewise.
23918 (start_locale_structure): Likewise.
23919 (end_locale_structure): Likewise.
23920 (start_locale_prelude): Likewise.
23921 (end_locale_prelude): Likewise.
23922 (write_locale_data): Update prototype.
23923 * locale/programs/3level.h (struct TABLE): Remove result field.
23924 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23925 Use new locale_file interface.
23926 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23927 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23928 * locale/programs/ld-address.c (address_output): Use new
23929 locale_file interface.
23930 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23932 (collate_finish): Don't call collseq_table_finalize.
23933 (collate_output): Use new locale_file interface.
23934 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23936 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23937 (TABLE): Move defines earlier in file.
23938 (ELEMENT): Likewise.
23939 (DEFAULT): Likewise.
23940 (wctrans_table_add): Move macro and inline function earlier in
23942 (struct wctype_table): Move type earlier in file.
23943 (add_locale_wctype_table): New static prototype.
23944 (struct locale_ctype_t): Use logical types instead of struct iovec
23945 pointers for members.
23946 (ctype_output): Use new locale_file interface.
23947 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23948 new locale_file interface.
23949 (allocate_arrays): Update for use of new locale_file interface.
23950 * locale/programs/ld-identification.c (identification_output): Use
23951 new locale_file interface.
23952 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23953 * locale/programs/ld-messages.c (messages_output): Likewise.
23954 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23955 * locale/programs/ld-name.c (name_output): Likewise.
23956 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23957 * locale/programs/ld-paper.c (paper_output): Likewise.
23958 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23959 * locale/programs/ld-time.c (time_output): Likewise.
23961 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23963 * benchtests/Makefile: Add memrchr benchmark.
23964 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23965 benchmark as memrchr.
23966 * benchtests/bench-memrchr-ifunc.c: New file.
23967 * benchtests/bench-memrchr.c: New file.
23969 2013-09-06 Will Newton <will.newton@linaro.org>
23971 * benchtests/Makefile (string-bench): Add memcpy.
23973 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23974 Cong Wang <amwang@redhat.com>
23977 * sysdeps/unix/sysv/linux/bits/in.h
23978 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23979 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23980 before __USE_KERNEL_IPV6_DEFS uses.
23981 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23983 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23984 sockaddr_in6, or ipv6_mreq.
23986 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23988 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23989 memory access for final bytes in some large inputs.
23990 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23992 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23994 * string/test-memrchr.c: New file.
23995 * string/test-memrchr-ifunc.c: New file.
23996 * string/Makefile: Add new memrchr testcase.
23998 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24000 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24001 fanotify_init returns EPERM.
24003 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24005 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24007 (top level): Treat second token from macro or constant entries for
24008 allowed headers as allowed.
24009 * include/complex.h: Condition internal declarations on
24011 * include/fenv.h: Condition include of <stdbool.h> and internal
24012 declarations on [!_ISOMAC].
24014 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24017 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24019 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24021 * configure.in (--enable-versioning): Remove configure option.
24022 (libc_cv_asm_symver_directive): Remove configure test.
24023 (libc_cv_ld_version_script_option): Likewise.
24024 (VERSIONING): Remove variable and AC_SUBST.
24025 (DO_VERSIONING): Remove AC_DEFINE.
24026 * configure: Regenerated.
24027 * config.h.in (DO_VERSIONING): Remove macro.
24028 * Makerules [$(versioning) = yes]: Change conditionals to
24029 [$(build-shared) = yes].
24030 * config.make.in (versioning): Remove variable.
24031 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24032 [$(build-shared) = yes].
24033 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24034 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24035 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24036 [$(build-shared) = yes].
24037 * extra-lib.mk [$(versioning) = yes]: Likewise.
24038 * hurd/Makefile [$(versioning) = yes]: Likewise.
24039 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24041 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24043 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24044 [SHARED && !NO_HIDDEN].
24045 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24047 [SHARED && DO_VERSIONING]: Likewise..
24048 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24049 [$(build-shared) = yes].
24050 * manual/install.texi (--disable-versioning): Remove
24052 * INSTALL: Regenerated.
24053 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24055 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24056 [$(build-shared) = yes].
24057 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24058 * sysdeps/i386/i686/multiarch/strstr-c.c
24059 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24060 [SHARED && !NO_HIDDEN].
24061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24062 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24063 * sysdeps/powerpc/powerpc32/dl-machine.c
24064 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24065 * sysdeps/powerpc/powerpc32/sysdep.h
24066 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24067 to [SHARED && PIC && !NO_HIDDEN].
24068 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24069 conditional to [SHARED].
24071 2013-09-04 Will Newton <will.newton@linaro.org>
24073 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24074 * benchtests/bench-string.h: Include bench-timing.h instead
24075 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24076 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24077 call to HP_TIMING_DIFF_INIT.
24078 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24079 instead of hp-timing.h macros.
24080 * benchtests/bench-memchr.c: Likewise.
24081 * benchtests/bench-memcmp.c: Likewise.
24082 * benchtests/bench-memcpy.c: Likewise.
24083 * benchtests/bench-memmem.c: Likewise.
24084 * benchtests/bench-memmove.c: Likewise.
24085 * benchtests/bench-memset.c: Likewise.
24086 * benchtests/bench-rawmemchr.c: Likewise.
24087 * benchtests/bench-strcasecmp.c: Likewise.
24088 * benchtests/bench-strcasestr.c: Likewise.
24089 * benchtests/bench-strcat.c: Likewise.
24090 * benchtests/bench-strchr.c: Likewise.
24091 * benchtests/bench-strcmp.c: Likewise.
24092 * benchtests/bench-strcpy.c: Likewise.
24093 * benchtests/bench-strcpy_chk.c: Likewise.
24094 * benchtests/bench-strlen.c: Likewise.
24095 * benchtests/bench-strncasecmp.c: Likewise.
24096 * benchtests/bench-strncat.c: Likewise.
24097 * benchtests/bench-strncmp.c: Likewise.
24098 * benchtests/bench-strncpy.c: Likewise.
24099 * benchtests/bench-strnlen.c: Likewise.
24100 * benchtests/bench-strpbrk.c: Likewise.
24101 * benchtests/bench-strrchr.c: Likewise.
24102 * benchtests/bench-strspn.c: Likewise.
24103 * benchtests/bench-strstr.c: Likewise.
24105 2013-09-04 Will Newton <will.newton@linaro.org>
24107 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24109 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24112 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24113 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24114 * math/libm-test.inc (lgamma_test_data): Add more tests.
24115 * sysdeps/i386/fpu/libm-test-ulps: Update.
24116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24118 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24120 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24124 Add strcmp-sse2-unaligned
24125 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24127 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24129 * Versions.def (libc): Add GLIBC_2.19.
24131 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24133 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24134 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24136 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24139 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24140 intermediate calculations in recurrence.
24141 (__ieee754_ynf): Likewise.
24142 * math/libm-test.inc (jn_test_data): Do not allow spurious
24143 underflow exception. Add more tests.
24144 (yn_test_data): Add more tests.
24145 * sysdeps/i386/fpu/libm-test-ulps: Update.
24146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24148 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24152 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24154 * csu/init-first.c: Fix then/than typos.
24155 * locale/programs/ld-collate.c: Likewise.
24156 * locale/programs/linereader.h: Likewise.
24157 * manual/charset.texi: Likewise.
24158 * manual/filesys.texi: Likewise.
24159 * manual/stdio.texi: Likewise.
24160 * manual/string.texi: Likewise.
24161 * stdlib/fmtmsg.c: Likewise.
24162 * sysdeps/i386/stpncpy.S: Likewise.
24163 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24166 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24168 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24170 * elf/dl-open.c: Fix typos.
24171 * iconvdata/gbbig5.c: Likewise.
24172 * iconvdata/iso-2022-jp.c: Likewise.
24173 * iconv/gconv_int.h: Likewise.
24174 * iconv/loop.c: Likewise.
24175 * nis/rpcsvc/nis.h: Likewise.
24176 * resolv/ns_name.c: Likewise.
24177 * stdio-common/vfscanf.c: Likewise.
24178 * streams/stropts.h: Likewise.
24179 * sunrpc/rpc_thread.c: Likewise.
24180 * sysdeps/i386/strpbrk.S: Likewise.
24181 * sysdeps/ieee754/k_standard.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24184 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24185 * sysdeps/mach/hurd/profil.c: Likewise.
24186 * sysdeps/s390/dl-procinfo.h: Likewise.
24187 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24188 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24189 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24190 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24191 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24193 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24195 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24198 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24201 aix specific files.
24202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24204 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24205 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24206 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24207 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24208 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24209 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24211 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24212 Roland McGrath <roland@hack.frob.com>
24214 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24215 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24217 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24219 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24220 __executable_start symbol instead of _start.
24222 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24224 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24225 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24227 * sysdeps/gnu/ldsodefs.h: ... this new file.
24229 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24230 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24231 instead of ELFOSABI_LINUX.
24233 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24234 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24235 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24236 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24238 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24239 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24242 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24243 (ibm_extended_long_double): Add ieee_nan member.
24244 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24245 (do_test): New function.
24247 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24249 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24250 functions, renamed from truncdfsf_test, trunctfsf_test,
24252 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24254 (do_test): Run all these.
24256 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24258 * argp/argp-help.c: Fix typos.
24259 * argp/argp-parse.c: Likewise.
24260 * debug/backtracesyms.c: Likewise.
24261 * elf/elf.h: Likewise.
24262 * malloc/malloc.c: Likewise.
24263 * nis/nis_print.c: Likewise.
24264 * resolv/res_comp.c: Likewise.
24265 * stdlib/stdlib.h: Likewise.
24266 * sunrpc/clnt_tcp.c: Likewise.
24267 * sunrpc/clnt_udp.c: Likewise.
24268 * sunrpc/clnt_unix.c: Likewise.
24269 * sysdeps/unix/bsd/ptsname.c: Likewise.
24270 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24271 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24278 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24280 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24285 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24288 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24289 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24290 ($(objpfx)bug-dl-leaf): New rule.
24291 ($(objpfx)bug-dl-leaf.so): Likewise.
24292 ($(objpfx)bug-dl-leaf.out): Likewise.
24293 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24294 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24295 * dlfcn/bug-dl-leaf.c: New test.
24296 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24297 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24298 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24299 (dlclose): Likewise.
24300 (dlmopen): Likewise.
24302 2013-08-27 Roland McGrath <roland@hack.frob.com>
24304 * include/netdb.h [!_ISOMAC]:
24305 Don't include <tls.h>.
24306 (h_errno, __libc_h_errno): Move declaration and macros out of
24309 * include/resolv.h [_RESOLV_H_]:
24310 Don't include <tls.h>.
24311 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24312 * resolv/res_libc.c: Don't include <tls.h>.
24313 (_res): Use __attribute__ ((nocommon)) in place of
24314 __attribute__ ((section (".bss"))).
24316 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24317 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24319 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24321 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24322 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24324 * resolv/res_mkquery.c: Include <sys/time.h>.
24326 * inet/ifreq.c: Moved to ...
24327 * sysdeps/unix/ifreq.c: ... here.
24328 * inet/ifreq.c: New file, true stub version.
24330 * socket/sa_len.c: New file.
24331 * socket/Makefile (aux): Add it.
24332 * sysdeps/unix/sysv/linux/Makefile
24333 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24334 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24335 and #include <socket/sa_len.c>.
24336 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24337 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24339 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24340 * bits/socket.h: ... here.
24342 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24343 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24344 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24346 2013-08-27 Andreas Schwab <schwab@suse.de>
24349 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24350 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24351 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24352 * string/test-strcasecmp.c (test_main): Run tests in several
24354 * string/test-strncasecmp.c (test_main): Likewise.
24356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24357 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24358 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24360 (__strncasecmp_ssse3) [PIC]: Likewise.
24362 2013-08-26 Roland McGrath <roland@hack.frob.com>
24364 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24366 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24367 instead of explicitly declaring xdecrypt.
24368 * nis/nss_nis/nis-publickey.c: Likewise.
24370 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24373 * nscd/aicache.c: Include res_hconf.h.
24374 (addhstaiX): Initialize res_hconf.
24376 2013-08-26 Andreas Schwab <schwab@suse.de>
24378 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24379 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24381 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24383 * nscd/aicache.c (addhstaiX): Fix indentation.
24385 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24387 * configure.ac: Quote $build_pt_chown test.
24388 * configure: Regenerated.
24390 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24393 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24394 * math/s_cexpf.c (__cexpf): Likewise.
24395 * math/s_cexpl.c (__cexpl): Likewise.
24396 * math/libm-test.inc (cexp_test_data): Correct expected return
24397 value for NaN + i0. Add another test.
24399 2013-08-22 David S. Miller <davem@davemloft.net>
24401 * po/ca.po: Update Catalan translation from translation project.
24402 * po/uk.po: Add Ukrainian translations from translation project.
24404 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24407 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24408 is infinite, not alongside NaN test.
24409 * math/s_fdimf.c (__fdimf): Likewise.
24410 * math/s_fdiml.c (__fdiml): Likewise.
24411 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24412 errno is unchanged.
24414 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24416 * argp/argp-help.c: Fix typos.
24417 * crypt/speeds.c: Likewise.
24418 * csu/check_fds.c: Likewise.
24419 * elf/dl-load.c: Likewise.
24420 * elf/dl-open.c: Likewise.
24421 * elf/reldep3.c: Likewise.
24422 * elf/reldep.c: Likewise.
24423 * elf/sprof.c: Likewise.
24424 * iconv/iconv_charmap.c: Likewise.
24425 * iconv/skeleton.c: Likewise.
24426 * iconv/strtab.c: Likewise.
24427 * io/lockf64.c: Likewise.
24428 * libio/libioP.h: Likewise.
24429 * resolv/gai_notify.c: Likewise.
24430 * resolv/ns_name.c: Likewise.
24431 * resolv/ns_samedomain.c: Likewise.
24432 * resolv/res_send.c: Likewise.
24433 * stdlib/random.c: Likewise.
24434 * sunrpc/rpc/xdr.h: Likewise.
24435 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24443 * sysdeps/mach/hurd/check_fds.c: Likewise.
24444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24449 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24450 * sysdeps/pthread/aio_notify.c: Likewise.
24451 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24452 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24454 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24455 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24457 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24459 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24460 version if bit_Slow_SSE4_2 is set.
24461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24462 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24464 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24467 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24468 trampoline stack frame information.
24469 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24471 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24472 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24473 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24474 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24475 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24476 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24478 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24479 interrupting a syscall and set with option SA_SIGINFO.
24481 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24484 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24485 argument is infinite.
24486 * math/s_cprojf.c (__cprojf): Likewise.
24487 * math/s_cprojl.c (__cprojl): Likewise.
24488 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24489 * math/libm-test.inc (cproj_test_data): Add more tests.
24491 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24493 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24494 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24495 size. Use __ffs to determine corresponding shift.
24497 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24498 Roland McGrath <roland@hack.frob.com>
24500 * Makefile (INSTALL): Remove trailing blank lines from output of
24503 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24505 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24506 Align 32 bit compat elf_greg to 8 bytes.
24508 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24510 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24512 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24514 * string/strcoll_l.c (coll_seq): New structure.
24515 (get_next_seq_cached): New function.
24516 (get_next_seq): New function.
24517 (do_compare): New function.
24518 (STRCOLL): Use GNU style definition. Simplify implementation
24519 by using get_next_seq, get_next_seq_cached and do_compare.
24521 2013-08-16 Florian Weimer <fweimer@redhat.com>
24525 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24527 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24529 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24530 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24531 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24533 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24534 GETDENTS_64BIT_ALIGNED.
24535 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24536 * manual/filesys.texi (Reading/Closing Directory): Document
24537 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24539 * manual/conf.texi (Limits for Files): Add portability note to
24540 NAME_MAX, PATH_MAX.
24541 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24543 2013-08-13 Andreas Schwab <schwab@suse.de>
24546 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24548 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24549 LDBL_MAX_EXP >= 16384]: Add tests for it.
24551 2013-08-12 David S. Miller <davem@davemloft.net>
24553 * version.h (RELEASE): Set to "development".
24554 (VERSION): Set to "2.18.90".
24555 * NEWS: Add 2.19 section.
24557 2013-08-03 David S. Miller <davem@davemloft.net>
24559 * po/ko.po: Update Korean translation from translation project.
24561 2013-08-01 David S. Miller <davem@davemloft.net>
24563 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24564 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24567 2013-07-30 David S. Miller <davem@davemloft.net>
24569 * po/fr.po: Update French translation from translation project.
24571 2013-07-28 David S. Miller <davem@davemloft.net>
24573 * po/cs.po: Update Czech translation from translation project.
24575 * po/sv.po: Update Swedish translation from translation project.
24577 2013-07-27 David S. Miller <davem@davemloft.net>
24579 * po/eo.po: Update Esperanto translation from translation project.
24581 * po/vi.po: Update Vietnamese translation from translation project.
24583 * po/de.po: Update German translation from translation project.
24585 2013-07-26 David S. Miller <davem@davemloft.net>
24587 * po/bg.po: Update Bulgarian translation from translation project.
24589 * po/nl.po: Update Dutch translation from translation project.
24590 * po/pl.po: Update Polish translation from translation project.
24591 * po/ru.po: Update Russian translation from translation project.
24593 2013-07-24 David S. Miller <davem@davemloft.net>
24595 * po/libc.pot: Update.
24597 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24599 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24600 variable page size.
24601 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24602 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24603 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24605 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24607 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24609 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24610 Andreas Schwab <schwab@suse.de>
24611 Roland McGrath <roland@hack.frob.com>
24612 Joseph Myers <joseph@codesourcery.com>
24613 Carlos O'Donell <carlos@redhat.com>
24616 * config.h.in: Define HAVE_PT_CHOWN.
24617 * config.make.in (build-pt-chown): New variable.
24618 * configure.in (--enable-pt_chown): New configure option.
24619 * configure: Regenerate.
24620 * login/Makefile: Include Makeconfig. Build pt_chown only if
24621 build-pt-chown is enabled.
24622 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24623 pt_chown to fix pty ownership.
24624 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24626 * manual/install.texi (Configuring and compiling): Mention
24627 --enable-pt_chown. Add @findex for grantpt.
24628 * INSTALL: Regenerate.
24630 2013-07-20 David S. Miller <davem@davemloft.net>
24632 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24633 difference between 32-bit and 64-bit.
24635 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24638 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24639 Avoid system header dependency with -ffreestanding.
24640 ($(objpfx)bits/syscall%d): Likewise.
24642 2013-07-13 David S. Miller <davem@davemloft.net>
24644 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24645 underflows from atanl/atan2l due to bug 15319.
24646 (casinh_test_data): Likewise.
24648 2013-07-07 David S. Miller <davem@davemloft.net>
24650 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24652 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24654 * sysdeps/i386/fpu/libm-test-ulps: Update.
24655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24657 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24659 * configure.in (--enable-lock-elision): Fix message text.
24660 * INSTALL: Regenerate.
24661 * configure: Regenerate.
24663 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24667 2013-07-03 Andreas Jaeger <aj@suse.de>
24669 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24671 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24672 (ptrace_peeksiginfo_args): Add.
24673 (__ptrace_peeksiginfo_flags): Add.
24674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24678 2013-07-03 Allan McRae <allan@archlinux.org>
24680 * sysdeps/i386/fpu/libm-test-ulps: Update.
24682 2013-07-02 David S. Miller <davem@davemloft.net>
24684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24686 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24690 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24692 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24695 2013-07-02 Andi Kleen <ak@linux.intel.com>
24697 * config.h.in (ENABLE_LOCK_ELISION): Add.
24698 * configure.in (--enable-lock-elision): Add option.
24699 * manual/install.texi: Document --enable lock elision.
24700 * configure: Regenerate
24701 * INSTALL: Regenerate.
24703 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24705 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24706 SSE4.2 strcasecmp for libc.a.
24707 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24709 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24712 * soft-fp/op-common.h (_FP_FMA): New macro.
24713 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24714 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24715 (_FP_MUL_MEAT_1_imm): ... here.
24716 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24717 (_FP_MUL_MEAT_1_wide): ... here.
24718 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24719 (_FP_MUL_MEAT_1_hard): ... here.
24720 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24721 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24722 (_FP_MUL_MEAT_2_wide): ... here.
24723 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24724 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24725 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24726 (_FP_MUL_MEAT_2_gmp): ... here.
24727 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24728 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24729 (_FP_MUL_MEAT_4_wide): ... here.
24730 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24731 (_FP_MUL_MEAT_4_gmp): ... here.
24732 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24733 (_FP_WFRACBITS_DW_S): Likewise.
24734 (_FP_WFRACXBITS_DW_S): Likewise.
24735 (_FP_HIGHBIT_DW_S): Likewise.
24736 (FP_FMA_S): Likewise.
24737 (_FP_FRAC_HIGH_DW_S): Likewise.
24738 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24739 (_FP_WFRACBITS_DW_D): Likewise.
24740 (_FP_WFRACXBITS_DW_D): Likewise.
24741 (_FP_HIGHBIT_DW_D): Likewise.
24742 (FP_FMA_D): Likewise.
24743 (_FP_FRAC_HIGH_DW_D): Likewise.
24744 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24745 (_FP_WFRACBITS_DW_E): Likewise.
24746 (_FP_WFRACXBITS_DW_E): Likewise.
24747 (_FP_HIGHBIT_DW_E): Likewise.
24748 (FP_FMA_E): Likewise.
24749 (_FP_FRAC_HIGH_DW_E): Likewise.
24750 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24751 (_FP_WFRACBITS_DW_Q): Likewise.
24752 (_FP_WFRACXBITS_DW_Q): Likewise.
24753 (_FP_HIGHBIT_DW_Q): Likewise.
24754 (FP_FMA_Q): Likewise.
24755 (_FP_FRAC_HIGH_DW_Q): Likewise.
24756 * soft-fp/fmasf4.c: New file.
24757 * soft-fp/fmadf4.c: Likewise.
24758 * soft-fp/fmatf4.c: Likewise.
24760 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24763 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24767 (index_Slow_SSE4_2): Likewise.
24768 (index_Prefer_PMINUB_for_stringop): Likewise.
24769 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24770 bit_Slow_SSE4_2 is set.
24771 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24774 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24776 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24777 rtld_global._dl_hwcap2.
24778 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24781 POWER8 feature descriptions defined in _dl_hwcap2.
24782 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24783 string handling for POWER8 feature bits.
24784 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24785 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24786 _dl_powerpc_cap_flags.
24787 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24788 * sysdeps/powerpc/rtld-global-offsets.sym
24789 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24790 _dl_hwcap2 in the rtld_global_ro structure.
24792 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24794 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24795 hardware capabilities in support of AT_HWCAP2.
24796 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24797 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24799 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24800 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24801 explicitly the unknown a_type display mechanism is used.
24802 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24803 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24805 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24806 to macro prototype for AT_HWCAP2 support.
24807 * sysdeps/i386/dl-procinfo.h: Likewise.
24808 * sysdeps/s390/dl-procinfo.h: Likewise.
24809 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24810 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24811 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24812 return -1 for unknown a_type display fallback.
24813 * sysdeps/sparc/dl-procinfo.h: Likewise.
24814 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24815 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24817 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24819 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24820 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24822 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24825 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24826 mprotect making __stack_prot writable.
24828 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24829 Joseph Myers <joseph@codesourcery.com>
24831 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24832 as being properly aligned.
24834 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24836 * dlfcn/modstatic5.c: New file.
24837 * dlfcn/tststatic5.c: New file.
24838 * dlfcn/Makefile (tests): Add tststatic5.
24839 (tests-static): Likewise.
24840 (modules-names): Add modstatic5.
24841 (tststatic5-ENV): New variable.
24842 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24845 * elf/dl-support.c (_dl_main_map): New variable.
24846 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24847 (_dl_nns, _dl_load_adds): Set to 1.
24848 (_dl_initial_searchlist): Refer to _dl_main_map.
24849 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24850 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24851 call to _dl_get_origin.
24852 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24854 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24855 * dlfcn/modstatic3.c: New file.
24856 * dlfcn/tststatic3.c: New file.
24857 * dlfcn/tststatic4.c: New file.
24858 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24859 (tests-static): Likewise.
24860 (modules-names): Add modstatic3.
24861 (tststatic3-ENV, tststatic4-ENV): New variables.
24862 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24863 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24865 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24867 * configure.in (CC): Require GCC version 4.4 or later.
24868 * configure: Regenerated.
24869 * manual/install.texi (Tools for Compilation): Update GCC version
24871 * INSTALL: Regenerated.
24873 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24876 * string/test-memcmp.c (check2): New.
24877 (main): Call check2.
24879 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24881 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24884 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24886 (dl_open_worker) [!SHARED]: ... here.
24888 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24890 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24892 2013-06-25 Richard Henderson <rth@redhat.com>
24894 * locale/programs/locarchive.c: Include <libc-internal.h>
24896 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24898 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24899 trailing whitespace removed.
24901 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24904 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24905 * locale/programs/locarchive.c: Include libc-mmap.h.
24906 (prepare_address_space): Take two new outputs (the mmap base and len).
24907 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24909 (create_archive): Declare new mmap base and len values for
24910 prepare_address_space, and store the result in ah.
24911 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24912 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24913 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24914 Declare new mmap base and len values for
24915 prepare_address_space, and store the result in new_ah.
24916 (open_archive): Declare new mmap base and len values for
24917 prepare_address_space, and store the result in ah.
24918 (close_archive): If ah->mmap_base is not NULL, use that and
24919 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24920 * sysdeps/generic/libc-mmap.h: New file.
24922 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24924 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24925 (ALIGN_UP): Likewise.
24926 (PTR_ALIGN_DOWN): Likewise.
24927 (PTR_ALIGN_UP): Likewise.
24929 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24931 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24932 entry mapped to PPC_PLATFORM_POWER8.
24933 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24935 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24936 (_dl_string_platform): Add case for exporting platform position for
24938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24939 search path to sysdeps/powerpc/powerpc32/power8 directory.
24940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24941 search path to sysdeps/powerpc/powerpc64/power8 directory.
24942 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24943 power7 directories.
24944 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24945 power7 directories.
24947 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24949 * INSTALL: Regenerate.
24951 * nscd/connections.c (nscd_init): Fix comment.
24953 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24955 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24958 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24959 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24961 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24963 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24965 (DL_DST_REQ_STATIC): Remove macro.
24967 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24970 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24971 with a shift of 0 bits.
24973 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24975 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24978 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24981 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24983 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24985 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24986 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24987 accepts -fno-tree-loop-distribute-patterns.
24988 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24989 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24991 * string/memset.c (memset): Likewise.
24992 * string/test-memmove.c (simple_memmove): Disable loop transformation
24994 * string/test-memset.c (simple_memset): Likewise.
24995 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24996 * benchtests/bench-memset.c (simple_memset): Likewise.
24997 * configure: Regenerated.
24999 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25001 * math/test-misc.c (main): Ignore fesetround failure when failures
25002 of subsequent rounding tests would be ignored.
25005 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25006 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25007 * math/fegetenv.c (__fegetenv): Return 0.
25008 * math/fegetexcept.c (fegetexcept): Return 0.
25009 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25011 * math/feholdexcpt.c (feholdexcept): Return 0.
25012 * math/fesetenv.c (__fesetenv): Return 0.
25013 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25014 argument FE_TONEAREST.
25015 * math/feupdateenv.c (__feupdateenv): Return 0.
25016 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25018 2013-06-18 Roland McGrath <roland@hack.frob.com>
25020 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25021 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25022 ($(objpfx)rtld-%.os rules): Use them.
25024 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25026 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25029 2013-06-17 Roland McGrath <roland@hack.frob.com>
25031 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25032 length of target pattern, then descending length of dependency pattern.
25033 * configure.in (AWK): Require gawk 3.1.2 or newer.
25034 * manual/install.texi (Tools for Compilation): Say that we do.
25035 * configure: Regenerated.
25037 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25038 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25039 * scripts/sysd-rules.awk: ... this new script.
25040 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25041 than a glob-style pattern.
25043 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25045 * math/test-misc.c (main): Do not treat incorrectly rounded
25046 conversions as failure unless ROUNDING_TESTS passes.
25048 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25051 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25052 restore exception state around main square root computation, then
25053 check for inexactness explicitly.
25055 * math/libm-test.inc (fma_test_data): Add another test.
25057 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25059 * manual/threads.texi (Non-POSIX Extensions): New document
25060 node. Document pthread_getattr_default_np and
25061 pthread_setattr_default_np.
25063 * Versions.def (libpthread): Add GLIBC_2.18.
25064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25073 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25084 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25087 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25089 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 H.J. Lu <hjl.tools@gmail.com>
25093 * sysdeps/x86_64/rtld-memset.c: Remove file.
25094 * sysdeps/x86_64/rtld-memset.S: New file.
25096 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25098 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25099 (test_in_one_mode): Take arguments for whether the rounding mode
25100 is supported for each floating-point type.
25101 (do_test): Pass new arguments to test_in_one_mode using
25104 2013-06-13 Roland McGrath <roland@hack.frob.com>
25106 * posix/tst-waitid.c (do_test): Distinguish different instances of
25107 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25108 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25109 before entering the kernel for waitpid.
25111 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25113 * NEWS: Fix note on clock function precision. Text by Roland
25116 2013-06-13 Roland McGrath <roland@hack.frob.com>
25118 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25119 it into place only when and if the sanity check passes.
25121 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25123 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25124 output for whether conversion result is exact. Take argument
25125 indicating whether type is IBM long double.
25126 (round_for_all): Change need_exact field to ibm_ld.
25127 * stdlib/tst-strtod-round.c (struct exactness): New type.
25128 (struct test): Change bool ld_ok field to struct exactness exact.
25129 (TEST): Update all definitions for change to field.
25130 (tests): Regenerate array contents.
25131 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25132 field value. Check for IBM long double here.
25133 (do_test): Update calls to test_in_one_mode.
25135 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25138 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25139 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25141 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25144 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25145 generated by the compiler on loop optimizations.
25146 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25147 general definitions.
25149 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25151 * math/bug-nextafter.c: Include <math-tests.h>.
25152 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25154 * math/bug-nexttoward.c: Include <math-tests.h>.
25155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25157 * math/test-misc.c: Include <math-tests.h>.
25158 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25161 2013-06-12 Andreas Jaeger <aj@suse.de>
25163 * po/ia.po: Update Interlingua translation from translation
25166 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25168 * include/fenv.h: Include stdbool.h.
25169 (struct rm_ctx): New structure.
25170 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25172 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25173 (SET_RESTORE_ROUNDF): Likewise.
25174 (SET_RESTORE_ROUNDL): Likewise.
25175 (SET_RESTORE_ROUND_NOEX): Likewise.
25176 (SET_RESTORE_ROUND_NOEXF): Likewise.
25177 (SET_RESTORE_ROUND_NOEXL): Likewise.
25178 (SET_RESTORE_ROUND_53BIT): Likewise.
25179 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25180 (libc_feresetround_noexf_ctx): Likewise.
25181 (libc_feresetround_noexl_ctx): Likewise.
25182 (libc_feholdsetround_53bit_ctx): Likewise.
25183 (libc_feresetround_53bit_ctx): Likewise.
25184 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25185 (libc_feholdexcept_setround_sse_ctx): New function.
25186 (libc_fesetenv_sse_ctx): Likewise.
25187 (libc_feupdateenv_sse_ctx): Likewise.
25188 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25189 (libc_feholdexcept_setround_387_ctx): Likewise.
25190 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25191 (libc_feholdsetround_387_prec_ctx): Likewise.
25192 (libc_feholdsetround_387_ctx): Likewise.
25193 (libc_feholdsetround_387_53bit_ctx): Likewise.
25194 (libc_feholdsetround_sse_ctx): Likewise.
25195 (libc_feresetround_sse_ctx): Likewise.
25196 (libc_feresetround_387_ctx): Likewise.
25197 (libc_feupdateenv_387_ctx): Likewise.
25198 (libc_feholdexcept_setroundf_ctx): Define macro.
25199 (libc_fesetenvf_ctx): Likewise.
25200 (libc_feupdateenvf_ctx): Likewise.
25201 (libc_feholdsetroundf_ctx): Likewise.
25202 (libc_feresetroundf_ctx): Likewise.
25203 (libc_feholdexcept_setround_ctx): Likewise.
25204 (libc_fesetenv_ctx): Likewise.
25205 (libc_feupdateenv_ctx): Likewise.
25206 (libc_feholdsetround_ctx): Likewise.
25207 (libc_feresetround_ctx): Likewise.
25208 (libc_feholdexcept_setroundl_ctx): Likewise.
25209 (libc_feupdateenvl_ctx): Likewise.
25210 (libc_feholdsetroundl_ctx): Likewise.
25211 (libc_feresetroundl_ctx): Likewise.
25212 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25213 (libc_feresetround_53bit_ctx): Likewise.
25215 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25217 * locale/iso-639.def: Convert to UTF-8.
25219 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25221 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25222 (EXCEPTION_TESTS_double): Likewise.
25223 (EXCEPTION_TESTS_long_double): Likewise.
25224 (EXCEPTION_TESTS): Likewise.
25225 * math/libm-test.inc (test_exceptions): Only test exceptions if
25226 EXCEPTION_TESTS (FLOAT).
25228 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25230 * benchtests/Makefile (string-bench): Add strcpy_chk and
25232 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25233 * benchtests/bench-stpcpy_chk.c: New file.
25234 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25235 * benchtests/bench-strcpy_chk.c: New file.
25236 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25238 (do_test): Likewise.
25240 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25242 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25243 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25244 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25245 with tabs where appropriate.
25246 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25248 [PPC_PLATFORM_PPC440]: Likewise.
25249 [PPC_PLATFORM_PPC464]: Likewise.
25250 [PPC_PLATFORM_PPC476]: Likewise.
25251 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25252 ppc464, and ppc476 platform strings merging from ports/
25255 2013-06-11 Andreas Schwab <schwab@suse.de>
25258 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25259 (from_ucs4_idx): Regenerate.
25260 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25261 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25262 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25263 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25264 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25265 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25266 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25267 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25268 from FROM_LOOP and TO_LOOP specific macros.
25269 (BODY): Handle combining characters.
25270 * iconvdata/BIG5HKSCS.irreversible: Update.
25271 * iconvdata/BIG5HKSCS.precomposed: New file.
25272 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25274 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25276 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25278 * include/sys/time.h: Fix indentation and add copyright header.
25280 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25281 (do_test): Likewise.
25282 * string/test-memchr.c (do_one_test): Likewise.
25283 (do_test): Likewise.
25284 * string/test-memcmp.c (do_one_test): Likewise.
25285 (do_test): Likewise.
25286 * string/test-memcpy.c (do_one_test): Likewise.
25287 (do_test): Likewise.
25288 * string/test-memmem.c (do_one_test): Likewise.
25289 (do_test): Likewise.
25290 (do_random_tests): Likewise.
25291 * string/test-memmove.c (do_one_test): Likewise.
25292 (do_test): Likewise.
25293 * string/test-memset.c (do_one_test): Likewise.
25294 (do_test): Likewise.
25295 * string/test-rawmemchr.c (do_one_test): Likewise.
25296 (do_test): Likewise.
25297 * string/test-strcasecmp.c (do_one_test): Likewise.
25298 (do_test): Likewise.
25299 * string/test-strcasestr.c (do_one_test): Likewise.
25300 (do_test): Likewise.
25301 * string/test-strcat.c (do_one_test): Likewise.
25302 (do_test): Likewise.
25303 * string/test-strchr.c (do_one_test): Likewise.
25304 (do_test): Likewise.
25305 * string/test-strcmp.c (do_one_test): Likewise.
25306 (do_test): Likewise.
25307 * string/test-strcpy.c (do_one_test): Likewise.
25308 (do_test): Likewise.
25309 * string/test-string.h: Likewise.
25310 (test_init): Likewise.
25311 * string/test-strlen.c (do_one_test): Likewise.
25312 (do_test): Likewise.
25313 * string/test-strncasecmp.c (do_one_test): Likewise.
25314 (do_test): Likewise.
25315 * string/test-strncat.c (do_one_test): Likewise.
25316 (do_test): Likewise.
25317 * string/test-strncmp.c (do_one_test): Likewise.
25318 (do_test_limit): Likewise.
25319 (do_test): Likewise.
25320 * string/test-strncpy.c (do_one_test): Likewise.
25321 (do_test): Likewise.
25322 * string/test-strnlen.c (do_one_test): Likewise.
25323 (do_test): Likewise.
25324 * string/test-strpbrk.c (do_one_test): Likewise.
25325 (do_test): Likewise.
25326 * string/test-strrchr.c (do_one_test): Likewise.
25327 (do_test): Likewise.
25328 * string/test-strspn.c (do_one_test): Likewise.
25329 (do_test): Likewise.
25330 * string/test-strstr.c (do_one_test): Likewise.
25331 (do_test): Likewise.
25333 * benchtests/Makefile (string-bench): Add string benchmarks.
25334 * benchtests/bench-bcopy-ifunc.c: New file.
25335 * benchtests/bench-bcopy.c: New file.
25336 * benchtests/bench-bzero-ifunc.c: New file.
25337 * benchtests/bench-bzero.c: New file.
25338 * benchtests/bench-memccpy-ifunc.c: New file.
25339 * benchtests/bench-memccpy.c: New file.
25340 * benchtests/bench-memchr-ifunc.c: New file.
25341 * benchtests/bench-memchr.c: New file.
25342 * benchtests/bench-memcmp-ifunc.c: New file.
25343 * benchtests/bench-memcmp.c: New file.
25344 * benchtests/bench-memmem-ifunc.c: New file.
25345 * benchtests/bench-memmem.c: New file.
25346 * benchtests/bench-memmove-ifunc.c: New file.
25347 * benchtests/bench-memmove.c: New file.
25348 * benchtests/bench-mempcpy-ifunc.c: New file.
25349 * benchtests/bench-mempcpy.c: New file.
25350 * benchtests/bench-memset-ifunc.c: New file.
25351 * benchtests/bench-memset.c: New file.
25352 * benchtests/bench-rawmemchr-ifunc.c: New file.
25353 * benchtests/bench-rawmemchr.c: New file.
25354 * benchtests/bench-stpcpy-ifunc.c: New file.
25355 * benchtests/bench-stpcpy.c: New file.
25356 * benchtests/bench-stpncpy-ifunc.c: New file.
25357 * benchtests/bench-stpncpy.c: New file.
25358 * benchtests/bench-strcasecmp-ifunc.c: New file.
25359 * benchtests/bench-strcasecmp.c: New file.
25360 * benchtests/bench-strcasestr-ifunc.c: New file.
25361 * benchtests/bench-strcasestr.c: New file.
25362 * benchtests/bench-strcat-ifunc.c: New file.
25363 * benchtests/bench-strcat.c: New file.
25364 * benchtests/bench-strchr-ifunc.c: New file.
25365 * benchtests/bench-strchr.c: New file.
25366 * benchtests/bench-strchrnul-ifunc.c: New file.
25367 * benchtests/bench-strchrnul.c: New file.
25368 * benchtests/bench-strcmp-ifunc.c: New file.
25369 * benchtests/bench-strcmp.c: New file.
25370 * benchtests/bench-strcpy-ifunc.c: New file.
25371 * benchtests/bench-strcpy.c: New file.
25372 * benchtests/bench-strcspn-ifunc.c: New file.
25373 * benchtests/bench-strcspn.c: New file.
25374 * benchtests/bench-strlen-ifunc.c: New file.
25375 * benchtests/bench-strlen.c: New file.
25376 * benchtests/bench-strncasecmp-ifunc.c: New file.
25377 * benchtests/bench-strncasecmp.c: New file.
25378 * benchtests/bench-strncat-ifunc.c: New file.
25379 * benchtests/bench-strncat.c: New file.
25380 * benchtests/bench-strncmp-ifunc.c: New file.
25381 * benchtests/bench-strncmp.c: New file.
25382 * benchtests/bench-strncpy-ifunc.c: New file.
25383 * benchtests/bench-strncpy.c: New file.
25384 * benchtests/bench-strnlen-ifunc.c: New file.
25385 * benchtests/bench-strnlen.c: New file.
25386 * benchtests/bench-strpbrk-ifunc.c: New file.
25387 * benchtests/bench-strpbrk.c: New file.
25388 * benchtests/bench-strrchr-ifunc.c: New file.
25389 * benchtests/bench-strrchr.c: New file.
25390 * benchtests/bench-strspn-ifunc.c: New file.
25391 * benchtests/bench-strspn.c: New file.
25392 * benchtests/bench-strstr-ifunc.c: New file.
25393 * benchtests/bench-strstr.c: New file.
25395 * benchtests/Makefile: Disable parallel execution of targets.
25396 (string-bench): Add memcpy.
25397 (benchset): New variable to store a list of benchmark sets.
25398 (bench-func): Renamed from bench.
25399 (bench-set): New target.
25400 (bench): Depend on bench-func and bench-set.
25401 * benchtests/README: Add section on benchmark sets.
25402 * benchtests/bench-memcpy-ifunc.c: New file.
25403 * benchtests/bench-memcpy.c: New file.
25404 * benchtests/bench-string.h: New file.
25406 2013-06-11 Andreas Schwab <schwab@suse.de>
25409 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25410 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25411 values in the triple.
25412 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25413 terminator in the group key.
25415 2013-06-11 Andreas Jaeger <aj@suse.de>
25417 * po/zh_TW.po: Update Chinese (traditional) translation from
25418 translation project.
25420 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25422 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25423 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25424 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25425 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25426 (clock_getcpuclockid): Likewise.
25427 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25428 Add weak_alias and libc_hidden_def.
25429 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25430 * rt/clock_gettime.c (clock_gettime): Rename to
25431 __clock_gettime. Add weak_alias and libc_hidden_def.
25432 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25433 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25434 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25435 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25436 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25438 * rt/clock_settime.c (clock_settime): Rename to
25439 __clock_settime. Add weak_alias and libc_hidden_def.
25440 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25442 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25444 * mach/err_boot.sub: Remove trailing whitespace.
25445 * mach/err_ipc.sub: Likewise.
25446 * mach/err_mach.sub: Likewise.
25448 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25449 (ROUNDING_TESTS_double): Likewise.
25450 (ROUNDING_TESTS_long_double): Likewise.
25451 (ROUNDING_TESTS): Likewise.
25452 * math/libm-test.inc: Include <math-tests.h>.
25453 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25454 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25455 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25456 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25458 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25460 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25463 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25465 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25466 otherwise empty TRANS lines.
25467 * sysdeps/gnu/errlist.c: Regenerated.
25469 * catgets/gencat.c (error_print): Use (void) in function
25471 * crypt/crypt_util.c (__init_des): Likewise.
25472 * crypt/speeds.c (Stop): Likewise.
25474 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25475 * inet/ruserpass.c (token): Likewise.
25476 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25477 * intl/localealias.c (extend_alias_table): Likewise.
25478 * intl/plural-exp.c (init_germanic_plural): Likewise.
25479 * libio/fcloseall.c (__fcloseall): Likewise.
25480 * libio/genops.c (_IO_flush_all): Likewise.
25481 (_IO_flush_all_linebuffered): Likewise.
25482 (_IO_cleanup): Likewise.
25483 (_IO_iter_begin): Likewise.
25484 (_IO_iter_end): Likewise.
25485 (_IO_list_lock): Likewise.
25486 (_IO_list_unlock): Likewise.
25487 (_IO_list_resetlock): Likewise.
25488 * libio/getchar.c (getchar): Likewise.
25489 * libio/getchar_u.c (getchar_unlocked): Likewise.
25490 * libio/getwchar.c (getwchar): Likewise.
25491 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25492 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25493 * login/getpt.c (__getpt): Likewise.
25494 * login/tst-utmp.c (main): Likewise.
25495 * malloc/hooks.c (__malloc_check_init): Likewise.
25496 * malloc/malloc.c (__malloc_stats): Likewise.
25497 * malloc/mtrace.c (tr_break): Likewise.
25498 (mtrace): Likewise.
25499 (muntrace): Likewise.
25500 * misc/fstab.c (endfsent): Likewise.
25501 * misc/getclktck.c (__getclktck): Likewise.
25502 * misc/getdtsz.c (__getdtablesize): Likewise.
25503 * misc/gethostid.c (gethostid): Likewise.
25504 * misc/getpagesize.c (__getpagesize): Likewise.
25505 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25506 (__get_nprocs): Likewise.
25507 (__get_phys_pages): Likewise.
25508 (__get_avphys_pages): Likewise.
25509 * misc/getttyent.c (getttyent): Likewise.
25510 (setttyent): Likewise.
25511 (endttyent): Likewise.
25512 * misc/getusershell.c (getusershell): Likewise.
25513 (endusershell): Likewise.
25514 (setusershell): Likewise.
25515 (initshells): Likewise.
25516 * misc/hsearch.c (__hdestroy): Likewise.
25517 * misc/sync.c (sync): Likewise.
25518 * misc/syslog.c (closelog_internal): Likewise.
25519 (closelog): Likewise.
25520 * misc/ttyslot.c (ttyslot): Likewise.
25521 * misc/vhangup.c (vhangup): Likewise.
25522 * posix/fork.c (__fork): Likewise.
25523 * posix/getegid.c (__getegid): Likewise.
25524 * posix/geteuid.c (__geteuid): Likewise.
25525 * posix/getgid.c (__getgid): Likewise.
25526 * posix/getpid.c (__getpid): Likewise.
25527 * posix/getppid.c (__getppid): Likewise.
25528 * posix/getuid.c (__getuid): Likewise.
25529 * posix/pause.c (pause): Likewise.
25530 * posix/setpgrp.c (setpgrp): Likewise.
25531 * posix/setsid.c (__setsid): Likewise.
25532 * posix/test-vfork.c (noop): Likewise.
25533 * resolv/gethnamaddr.c (_endhtent): Likewise.
25534 (_gethtent): Likewise.
25535 (ht_endhostent): Likewise.
25536 (gethostent): Likewise.
25537 (dns_service): Likewise.
25538 * stdlib/drand48.c (drand48): Likewise.
25539 * stdlib/lrand48.c (lrand48): Likewise.
25540 * stdlib/mrand48.c (mrand48): Likewise.
25541 * stdlib/rand.c (rand): Likewise.
25542 * stdlib/random.c (__random): Likewise.
25543 * stdlib/setenv.c (clearenv): Likewise.
25544 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25545 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25546 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25547 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25548 (__get_nprocs): Likewise.
25549 (__get_phys_pages): Likewise.
25550 (__get_avphys_pages): Likewise.
25551 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25552 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25553 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25554 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25555 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25556 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25557 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25558 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25559 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25560 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25561 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25562 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25563 * sysdeps/posix/clock.c (clock): Likewise.
25564 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25565 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25566 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25567 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25568 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25570 (__get_nprocs_conf): Likewise.
25571 (__get_phys_pages): Likewise.
25572 (__get_avphys_pages): Likewise.
25573 * time/clock.c (clock): Likewise.
25574 * time/tzset.c (__tzname_max): Likewise.
25576 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25578 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25579 (__bswap_32): Do not use "register".
25580 * crypt/crypt.c (_ufc_doit_r): Likewise.
25581 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25582 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25583 * gmon/gmon.c (__monstartup): Likewise.
25584 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25585 * hurd/hurdmalloc.c (more_memory): Likewise.
25586 (malloc): Likewise.
25588 (realloc): Likewise.
25589 (malloc_fork_prepare): Likewise.
25590 (malloc_fork_parent): Likewise.
25591 (malloc_fork_child): Likewise.
25592 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25593 (_svcauth_des): Likewise.
25594 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25595 * inet/inet_net.c (inet_network): Likewise.
25596 * inet/inet_netof.c (inet_netof): Likewise.
25597 * inet/rcmd.c (__validuser2_sa): Likewise.
25598 * io/fts.c (fts_open): Likewise.
25599 (fts_load): Likewise.
25600 (fts_close): Likewise.
25601 (fts_read): Likewise.
25602 (fts_children): Likewise.
25603 (fts_build): Likewise.
25604 (fts_stat): Likewise.
25605 (fts_sort): Likewise.
25606 (fts_alloc): Likewise.
25607 (fts_lfree): Likewise.
25608 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25609 (_IO_file_xsgetn): Likewise.
25610 (_IO_file_xsgetn_mmap): Likewise.
25611 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25612 (_IO_cookie_write): Likewise.
25613 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25614 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25615 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25616 * malloc/obstack.c (_obstack_begin): Likewise.
25617 (_obstack_begin_1): Likewise.
25618 (_obstack_newchunk): Likewise.
25619 (_obstack_allocated_p): Likewise.
25620 (obstack_free): Likewise.
25621 (_obstack_memory_used): Likewise.
25622 * misc/getttyent.c (getttynam): Likewise.
25623 (getttyent): Likewise.
25626 * misc/getusershell.c (initshells): Likewise.
25627 * misc/syslog.c (__vsyslog_chk): Likewise.
25628 * misc/ttyslot.c (ttyslot): Likewise.
25629 * nis/nis_hash.c (__nis_hash): Likewise.
25630 * posix/fnmatch_loop.c (FCT): Likewise.
25631 * posix/getconf.c (print_all): Likewise.
25633 * posix/getopt.c (exchange): Likewise.
25634 * posix/glob.c (globfree): Likewise.
25635 (prefix_array): Likewise.
25636 (__glob_pattern_type): Likewise.
25637 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25638 (NS_GET32): Likewise.
25639 (NS_PUT16): Likewise.
25640 (NS_PUT32): Likewise.
25641 * resolv/gethnamaddr.c (getanswer): Likewise.
25642 (gethostbyname2): Likewise.
25643 (gethostbyaddr): Likewise.
25644 (_gethtent): Likewise.
25645 (_gethtbyname2): Likewise.
25646 (_gethtbyaddr): Likewise.
25647 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25648 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25649 * resolv/res_init.c (__res_vinit): Likewise.
25650 (net_mask): Likewise.
25651 * resolv/res_mkquery.c (outchar): Likewise.
25653 * stdio-common/printf_fp.c (outchar): Likewise.
25655 * stdio-common/printf_fphex.c (outchar): Likewise.
25657 * stdio-common/printf_size.c (outchar): Likewise.
25659 * stdio-common/test_rdwr.c (main): Likewise.
25660 * stdio-common/tfformat.c (matches): Likewise.
25661 * stdio-common/vfprintf.c (outchar): Likewise.
25662 (printf_unknown): Likewise.
25663 (buffered_vfprintf): Likewise.
25664 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25665 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25666 (ReadFile): Likewise.
25667 * stdlib/qsort.c (SWAP): Likewise.
25668 (_quicksort): Likewise.
25669 * stdlib/setenv.c (__add_to_environ): Likewise.
25670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25671 * stdlib/strtol_l.c (__strtol_l): Likewise.
25672 * stdlib/tst-strtod.c (main): Likewise.
25673 * stdlib/tst-strtol.c (main): Likewise.
25674 * stdlib/tst-strtoll.c (main): Likewise.
25675 * string/bits/string2.h (__strcmp_cc): Likewise.
25676 (__strcmp_cg): Likewise.
25677 (__strcspn_c1): Likewise.
25678 (__strcspn_c2): Likewise.
25679 (__strcspn_c3): Likewise.
25680 (__strspn_c1): Likewise.
25681 (__strspn_c2): Likewise.
25682 (__strspn_c3): Likewise.
25683 (__strsep_1c): Likewise.
25684 (__strsep_2c): Likewise.
25685 (__strsep_3c): Likewise.
25686 * string/memccpy.c (__memccpy): Likewise.
25687 * string/stpcpy.c (__stpcpy): Likewise.
25688 * string/strcmp.c (strcmp): Likewise.
25689 * string/strrchr.c (strrchr): Likewise.
25690 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25692 * sysdeps/mach/hurd/getcwd.c
25693 (_hurd_canonicalize_directory_name_internal): Likewise.
25694 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25695 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25696 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25697 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25698 Likewise, in both definitions.
25699 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25701 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25702 64] (__bswap_64): Likewise.
25703 * time/test_time.c (main): Likewise.
25704 * time/tzfile.c (__tzfile_read): Likewise.
25705 (__tzfile_compute): Likewise.
25706 * time/tzset.c (__tzset_parse_tz): Likewise.
25707 (tzset_internal): Likewise.
25708 (compute_change): Likewise.
25709 * wcsmbs/wcscat.c (__wcscat): Likewise.
25710 * wcsmbs/wcschr.c (wcschr): Likewise.
25711 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25712 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25713 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25714 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25715 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25716 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25717 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25718 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25719 * wcsmbs/wmemset.c (wmemset): Likewise.
25721 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25723 * scripts/config.guess: Update to version 2013-05-16.
25724 * scripts/config.sub: Update to version 2013-04-24.
25725 * scripts/install-sh: Update to version 2011-11-20.07.
25726 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25727 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25729 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25731 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25732 * elf/sln.c: Likewise.
25733 * hurd/hurd/ioctl.h: Likewise.
25734 * hurd/hurdmalloc.c: Likewise.
25735 * hurd/xattr.c: Likewise.
25736 * include/shlib-compat.h: Likewise.
25737 * inet/ruserpass.c: Likewise.
25738 * libio/iofgets_u.c: Likewise.
25739 * libio/iofgetws_u.c: Likewise.
25740 * locale/programs/ld-identification.c: Likewise.
25741 * locale/programs/ld-time.c: Likewise.
25742 * mach/msg-destroy.c: Likewise.
25743 * nss/nss_files/files-netgrp.c: Likewise.
25744 * resolv/res_data.c: Likewise.
25745 * soft-fp/op-1.h: Likewise.
25746 * soft-fp/op-2.h: Likewise.
25747 * soft-fp/op-4.h: Likewise.
25748 * soft-fp/op-common.h: Likewise.
25749 * stdio-common/printf_fphex.c: Likewise.
25750 * stdlib/strtod_l.c: Likewise.
25751 * sunrpc/rpc/clnt.h: Likewise.
25752 * sysdeps/generic/framestate.c: Likewise.
25753 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25754 * sysdeps/i386/bsd-setjmp.S: Likewise.
25755 * sysdeps/i386/__longjmp.S: Likewise.
25756 * sysdeps/i386/setjmp.S: Likewise.
25757 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25758 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25759 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25767 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25768 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25773 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25775 * sysdeps/ieee754/support.c: Likewise.
25776 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25777 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25778 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25779 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25780 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25781 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25782 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25783 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25784 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25785 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25786 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25787 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25789 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25790 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25791 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25792 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25795 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25797 * posix/transbug.c: Remove executable mode.
25799 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25801 * crypt/speeds.c: Remove trailing whitespace.
25802 * dlfcn/default.c: Likewise.
25803 * elf/ifuncdep2.c: Likewise.
25804 * elf/ifuncmain1.c: Likewise.
25805 * elf/ifuncmain1vis.c: Likewise.
25806 * elf/testobj.h: Likewise.
25807 * elf/tst-stackguard1.c: Likewise.
25808 * gmon/sys/gmon.h: Likewise.
25809 * hurd/hurdmsg.c: Likewise.
25810 * hurd/new-fd.c: Likewise.
25811 * hurd/ports-get.c: Likewise.
25812 * iconvdata/ibm1008_420.c: Likewise.
25813 * inet/tst-getni1.c: Likewise.
25814 * inet/tst-getni2.c: Likewise.
25815 * libio/ioungetc.c: Likewise.
25816 * libio/wfiledoalloc.c: Likewise.
25817 * manual/libm-err-tab.pl: Likewise.
25818 * math/w_dremf.c: Likewise.
25819 * misc/ftruncate.c: Likewise.
25820 * posix/bug-glob2.c: Likewise.
25821 * posix/tst-pcre.c: Likewise.
25822 * posix/wait4.c: Likewise.
25823 * resolv/README: Likewise.
25824 * resolv/res_debug.h: Likewise.
25825 * resolv/tst-inet_ntop.c: Likewise.
25826 * setjmp/bug269-setjmp.c: Likewise.
25827 * soft-fp/extended.h: Likewise.
25828 * soft-fp/op-1.h: Likewise.
25829 * soft-fp/op-2.h: Likewise.
25830 * soft-fp/op-4.h: Likewise.
25831 * soft-fp/op-8.h: Likewise.
25832 * soft-fp/testit.c: Likewise.
25833 * stdio-common/bug16.c: Likewise.
25834 * stdlib/random.c: Likewise.
25835 * sunrpc/rpcsvc/rquota.x: Likewise.
25836 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25837 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25839 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25840 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25841 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25842 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25845 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25846 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25863 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25865 * sysdeps/ieee754/s_lib_version.c: Likewise.
25866 * sysdeps/mach/hurd/check_fds.c: Likewise.
25867 * sysdeps/mach/hurd/getsockname.c: Likewise.
25868 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25869 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25870 * sysdeps/powerpc/bits/link.h: Likewise.
25871 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25872 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25873 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25874 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25875 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25876 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25877 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25878 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25879 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25880 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25881 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25882 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25883 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25884 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25885 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25886 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25889 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25891 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25892 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25894 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25895 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25897 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25902 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25903 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25904 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25905 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25906 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25907 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25908 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25909 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25910 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25911 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25913 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25914 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25916 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25917 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25918 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25920 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25923 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25929 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25931 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25933 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25934 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25935 * sysdeps/powerpc/sysdep.h: Likewise.
25936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25937 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25938 * sysdeps/sh/dl-trampoline.S: Likewise.
25939 * sysdeps/sh/memset.S: Likewise.
25940 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25941 * sysdeps/sh/strlen.S: Likewise.
25942 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25943 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25944 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25945 * sysdeps/sparc/sparc32/rem.S: Likewise.
25946 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25947 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25948 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25949 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25950 * sysdeps/sparc/sparc32/urem.S: Likewise.
25951 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25952 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25953 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25954 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25956 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25957 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25958 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25959 * sysdeps/unix/bsd/times.c: Likewise.
25960 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25961 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25965 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25966 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25967 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25968 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25969 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25970 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25971 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25972 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25973 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25974 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25975 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25976 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25977 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25978 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25979 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25980 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25981 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25982 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25983 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25984 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25985 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25986 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25988 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25989 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25990 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25991 * sysdeps/x86_64/strcspn.S: Likewise.
25993 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25995 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25996 generated file. Regenerate properly from gen-translit.pl.
25997 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25998 locale/C-translit.h.
26000 2013-06-05 Andreas Schwab <schwab@suse.de>
26003 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26004 week as 6 instead of -1.
26005 * time/tst-strptime.c (day_tests): Add test case.
26007 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26009 * sysdeps/generic/math_private.h
26010 (libc_feholdexcept_setround_53bit): Replace with
26011 libc_feholdsetround_53bit.
26012 (libc_feupdateenv_53bit): Replace with
26013 libc_feresetround_53bit.
26014 (SET_RESTORE_ROUND_53BIT): Adjust.
26016 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26018 * string/test-strchrnul.c: Add copyright header.
26020 * posix/tst-getaddrinfo4.c: Increase test timeout.
26022 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26025 * math/libm-test.inc (MAX_EXP): Remove
26027 (ulp): Use MIN_EXP - MANT_DIG.
26028 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26030 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26032 * po/be.po: Revert last change.
26033 * po/zh_CN.po: Likewise.
26034 * po/header.pot: Likewise.
26036 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26038 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26039 link-libc-deps to empty as target-specific variable.
26040 * Makerules (link-libc-args): New variable.
26041 (libc-for-link): Likewise.
26042 (link-libc-deps): Likewise.
26043 (lib%.so): Depend on $(link-libc-deps). Link with
26045 (build-module): Link with $(link-libc-args).
26046 (build-module-asneeded): Likewise.
26047 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26049 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26050 target-specific variable.
26051 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26052 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26053 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26055 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26057 ($(objpfx)libpcprofile.so): Likewise.
26058 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26060 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26061 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26062 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26064 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26065 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26066 * login/Makefile ($(objpfx)libutil.so): Likewise.
26067 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26068 * math/Makefile ($(objpfx)libm.so): Likewise.
26069 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26070 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26071 variable instead of depending directly on libc.
26072 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26073 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26075 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26077 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26078 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26079 ($(objpfx)libanl.so): Likewise.
26080 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26082 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26084 * sysdeps/i386/fpu/Makefile: Remove file.
26085 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26086 ($(objpfx)libm.so): Remove dependency on ld.so.
26088 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26091 * nis/yp_xdr.c (XDRMAXNAME): Define.
26092 (XDRMAXRECORD): Define.
26093 (xdr_domainname): Use XDRMAXNAME.
26094 (xdr_mapname): Likewise.
26095 (xdr_peername): Likewise.
26096 (xdr_keydat): Use XDRMAXRECORD.
26097 (xdr_valdat): Likewise.
26099 2013-05-30 Jeff Law <law@redhat.com>
26102 * manual/errno.texi (ESTALE): Update to account for more than
26103 just NFS file systems.
26104 * sysdeps/gnu/errlist.c: Regenerated.
26106 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26109 * elf/Makefile (tests): Add tst-null-argv.
26110 (modules-names): Add tst-null-argv-lib.
26111 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26112 (tst-null-argv-ENV): Set environment for tst-null-argv.
26113 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26114 (RTLD_PROGNAME): New macro.
26115 * elf/tst-null-argv.c: New test case.
26116 * elf/tst-null-argv-lib.c: Library for test case.
26117 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26118 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26119 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26120 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26121 * elf/dl-init.c (call_init): Likewise.
26122 (_dl_init): Likewise.
26123 * elf/dl-load.c (print_search_path): Likewise.
26124 (_dl_map_object): Likewise.
26125 * elf/dl-lookup.c (do_lookup_x): Likewise.
26126 (add_dependency): Likewise.
26127 (_dl_lookup_symbol_x): Likewise.
26128 (_dl_debug_bindings): Likewise.
26129 * elf/dl-open.c (_dl_show_scope): Likewise.
26130 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26131 * elf/dl-version.c (match_symbol): Likewise.
26132 (_dl_check_map_versions): Likewise.
26133 * elf/rtld.c (dl_main): Likewise.
26134 (print_unresolved): Use RTLD_PROGNAME.
26135 (print_missing_version): Likewise.
26136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26137 (elf_machine_rela): Likewise.
26138 * sysdeps/powerpc/powerpc32/dl-machine.c
26139 (__process_machine_rela): Likewise.
26140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26146 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26153 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26155 * po/be.po: Add descriptive title.
26156 * po/zh_CN.po: Likewise.
26157 * po/header.pot: Likewise.
26159 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26161 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26163 (enlarge_archive): Likewise.
26165 2013-05-28 Ben North <ben@redfrontdoor.org>
26167 * manual/arith.texi (frexp): It is the magnitude of the return
26168 value which lies in [0.5, 1), not the return value itself.
26170 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26174 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26176 * stdio-common/bug26.c (main): Correct fscanf template.
26178 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26179 declare _dl_skip_args.
26181 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26184 * manual/platform.texi: Add missing @end deftypefun.
26186 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26189 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26190 bit of mantissa of 2^16382.
26191 * math/libm-test.inc (hypot_test_data): Add more tests.
26193 * math/libm-test.inc: Add drem and pow10 to list of tested
26195 (pow10_test): New function.
26196 (drem_test): Likewise.
26197 (drem_test_tonearest): Likewise.
26198 (drem_test_towardzero): Likewise.
26199 (drem_test_downward): Likewise.
26200 (drem_test_upward): Likewise.
26201 (main): Call the new functions.
26203 * math/libm-test.inc (finite_test_data): Remove.
26204 (finite_test): Run tests from isfinite_test_data.
26205 (gamma_test_data): Remove.
26206 (gamma_test): Run tests from lgamma_test_data.
26207 * sysdeps/i386/fpu/libm-test-ulps: Update.
26208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26210 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26212 * manual/platform.texi: Add PowerPC PPR function set documentation.
26213 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26216 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26218 * math/libm-test.inc (MAX_EXP): Define.
26220 (ulp): New function.
26221 (check_float_internal): Use ULPDIFF.
26222 (cpow_test): Disable failing test.
26223 (check_ulp): Test ulp() implemetnation.
26224 (main): Call check_ulp before starting tests.
26226 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26228 * math/gen-libm-test.pl (generate_testfile): Do not handle
26229 START_DATA and END_DATA.
26230 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26232 (acos_tonearest_test_data): Likewise.
26233 (acos_towardzero_test_data): Likewise.
26234 (acos_downward_test_data): Likewise.
26235 (acos_upward_test_data): Likewise.
26236 (acosh_test_data): Likewise.
26237 (asin_test_data): Likewise.
26238 (asin_tonearest_test_data): Likewise.
26239 (asin_towardzero_test_data): Likewise.
26240 (asin_downward_test_data): Likewise.
26241 (asin_upward_test_data): Likewise.
26242 (asinh_test_data): Likewise.
26243 (atan_test_data): Likewise.
26244 (atanh_test_data): Likewise.
26245 (atan2_test_data): Likewise.
26246 (cabs_test_data): Likewise.
26247 (cacos_test_data): Likewise.
26248 (cacosh_test_data): Likewise.
26249 (carg_test_data): Likewise.
26250 (casin_test_data): Likewise.
26251 (casinh_test_data): Likewise.
26252 (catan_test_data): Likewise.
26253 (catanh_test_data): Likewise.
26254 (cbrt_test_data): Likewise.
26255 (ccos_test_data): Likewise.
26256 (ccosh_test_data): Likewise.
26257 (ceil_test_data): Likewise.
26258 (cexp_test_data): Likewise.
26259 (cimag_test_data): Likewise.
26260 (clog_test_data): Likewise.
26261 (clog10_test_data): Likewise.
26262 (conj_test_data): Likewise.
26263 (copysign_test_data): Likewise.
26264 (cos_test_data): Likewise.
26265 (cos_tonearest_test_data): Likewise.
26266 (cos_towardzero_test_data): Likewise.
26267 (cos_downward_test_data): Likewise.
26268 (cos_upward_test_data): Likewise.
26269 (cosh_test_data): Likewise.
26270 (cosh_tonearest_test_data): Likewise.
26271 (cosh_towardzero_test_data): Likewise.
26272 (cosh_downward_test_data): Likewise.
26273 (cosh_upward_test_data): Likewise.
26274 (cpow_test_data): Likewise.
26275 (cproj_test_data): Likewise.
26276 (creal_test_data): Likewise.
26277 (csin_test_data): Likewise.
26278 (csinh_test_data): Likewise.
26279 (csqrt_test_data): Likewise.
26280 (ctan_test_data): Likewise.
26281 (ctan_tonearest_test_data): Likewise.
26282 (ctan_towardzero_test_data): Likewise.
26283 (ctan_downward_test_data): Likewise.
26284 (ctan_upward_test_data): Likewise.
26285 (ctanh_test_data): Likewise.
26286 (ctanh_tonearest_test_data): Likewise.
26287 (ctanh_towardzero_test_data): Likewise.
26288 (ctanh_downward_test_data): Likewise.
26289 (ctanh_upward_test_data): Likewise.
26290 (erf_test_data): Likewise.
26291 (erfc_test_data): Likewise.
26292 (exp_test_data): Likewise.
26293 (exp_tonearest_test_data): Likewise.
26294 (exp_towardzero_test_data): Likewise.
26295 (exp_downward_test_data): Likewise.
26296 (exp_upward_test_data): Likewise.
26297 (exp10_test_data): Likewise.
26298 (exp2_test_data): Likewise.
26299 (expm1_test_data): Likewise.
26300 (fabs_test_data): Likewise.
26301 (fdim_test_data): Likewise.
26302 (finite_test_data): Likewise.
26303 (floor_test_data): Likewise.
26304 (fma_test_data): Likewise.
26305 (fma_towardzero_test_data): Likewise.
26306 (fma_downward_test_data): Likewise.
26307 (fma_upward_test_data): Likewise.
26308 (fmax_test_data): Likewise.
26309 (fmin_test_data): Likewise.
26310 (fmod_test_data): Likewise.
26311 (fpclassify_test_data): Likewise.
26312 (frexp_test_data): Likewise.
26313 (gamma_test_data): Likewise.
26314 (hypot_test_data): Likewise.
26315 (ilogb_test_data): Likewise.
26316 (isfinite_test_data): Likewise.
26317 (isgreater_test_data): Likewise.
26318 (isgreaterequal_test_data): Likewise.
26319 (isinf_test_data): Likewise.
26320 (isless_test_data): Likewise.
26321 (islessequal_test_data): Likewise.
26322 (islessgreater_test_data): Likewise.
26323 (isnan_test_data): Likewise.
26324 (isnormal_test_data): Likewise.
26325 (issignaling_test_data): Likewise.
26326 (isunordered_test_data): Likewise.
26327 (j0_test_data): Likewise.
26328 (j1_test_data): Likewise.
26329 (jn_test_data): Likewise.
26330 (ldexp_test_data): Likewise.
26331 (lgamma_test_data): Likewise.
26332 (lrint_test_data): Likewise.
26333 (lrint_tonearest_test_data): Likewise.
26334 (lrint_towardzero_test_data): Likewise.
26335 (lrint_downward_test_data): Likewise.
26336 (lrint_upward_test_data): Likewise.
26337 (llrint_test_data): Likewise.
26338 (llrint_tonearest_test_data): Likewise.
26339 (llrint_towardzero_test_data): Likewise.
26340 (llrint_downward_test_data): Likewise.
26341 (llrint_upward_test_data): Likewise.
26342 (log_test_data): Likewise.
26343 (log10_test_data): Likewise.
26344 (log1p_test_data): Likewise.
26345 (log2_test_data): Likewise.
26346 (logb_test_data): Likewise.
26347 (logb_downward_test_data): Likewise.
26348 (lround_test_data): Likewise.
26349 (llround_test_data): Likewise.
26350 (modf_test_data): Likewise.
26351 (nearbyint_test_data): Likewise.
26352 (nextafter_test_data): Likewise.
26353 (nexttoward_test_data): Likewise.
26354 (pow_test_data): Likewise.
26355 (pow_tonearest_test_data): Likewise.
26356 (pow_towardzero_test_data): Likewise.
26357 (pow_downward_test_data): Likewise.
26358 (pow_upward_test_data): Likewise.
26359 (remainder_test_data): Likewise.
26360 (remainder_tonearest_test_data): Likewise.
26361 (remainder_towardzero_test_data): Likewise.
26362 (remainder_downward_test_data): Likewise.
26363 (remainder_upward_test_data): Likewise.
26364 (remquo_test_data): Likewise.
26365 (rint_test_data): Likewise.
26366 (rint_tonearest_test_data): Likewise.
26367 (rint_towardzero_test_data): Likewise.
26368 (rint_downward_test_data): Likewise.
26369 (rint_upward_test_data): Likewise.
26370 (round_test_data): Likewise.
26371 (scalb_test_data): Likewise.
26372 (scalbn_test_data): Likewise.
26373 (scalbln_test_data): Likewise.
26374 (signbit_test_data): Likewise.
26375 (sin_test_data): Likewise.
26376 (sin_tonearest_test_data): Likewise.
26377 (sin_towardzero_test_data): Likewise.
26378 (sin_downward_test_data): Likewise.
26379 (sin_upward_test_data): Likewise.
26380 (sincos_test_data): Likewise.
26381 (sinh_test_data): Likewise.
26382 (sinh_tonearest_test_data): Likewise.
26383 (sinh_towardzero_test_data): Likewise.
26384 (sinh_downward_test_data): Likewise.
26385 (sinh_upward_test_data): Likewise.
26386 (sqrt_test_data): Likewise.
26387 (tan_test_data): Likewise.
26388 (tan_tonearest_test_data): Likewise.
26389 (tan_towardzero_test_data): Likewise.
26390 (tan_downward_test_data): Likewise.
26391 (tan_upward_test_data): Likewise.
26392 (tanh_test_data): Likewise.
26393 (tgamma_test_data): Likewise.
26394 (trunc_test_data): Likewise.
26395 (y0_test_data): Likewise.
26396 (y1_test_data): Likewise.
26397 (yn_test_data): Likewise.
26398 (significand_test_data): Likewise.
26400 * math/gen-libm-test.pl (@functions): Remove variable.
26401 (generate_testfile): Don't handle START and END lines.
26402 * math/libm-test.inc (START): New macro.
26404 (END_COMPLEX): Likewise.
26405 (acos_test): Use END macro without arguments.
26406 (acos_test_tonearest): Likewise.
26407 (acos_test_towardzero): Likewise.
26408 (acos_test_downward): Likewise.
26409 (acos_test_upward): Likewise.
26410 (acosh_test): Likewise.
26411 (asin_test): Likewise.
26412 (asin_test_tonearest): Likewise.
26413 (asin_test_towardzero): Likewise.
26414 (asin_test_downward): Likewise.
26415 (asin_test_upward): Likewise.
26416 (asinh_test): Likewise.
26417 (atan_test): Likewise.
26418 (atanh_test): Likewise.
26419 (atan2_test): Likewise.
26420 (cabs_test): Likewise.
26421 (cacos_test): Use END_COMPLEX macro without arguments.
26422 (cacosh_test): Likewise.
26423 (carg_test): Use END macro without arguments.
26424 (casin_test): Use END_COMPLEX macro without arguments.
26425 (casinh_test): Likewise.
26426 (catan_test): Likewise.
26427 (catanh_test): Likewise.
26428 (cbrt_test): Use END macro without arguments.
26429 (ccos_test): Use END_COMPLEX macro without arguments.
26430 (ccosh_test): Likewise.
26431 (ceil_test): Use END macro without arguments.
26432 (cexp_test): Use END_COMPLEX macro without arguments.
26433 (cimag_test): Use END macro without arguments.
26434 (clog_test): Use END_COMPLEX macro without arguments.
26435 (clog10_test): Likewise.
26436 (conj_test): Likewise.
26437 (copysign_test): Use END macro without arguments.
26438 (cos_test): Likewise.
26439 (cos_test_tonearest): Likewise.
26440 (cos_test_towardzero): Likewise.
26441 (cos_test_downward): Likewise.
26442 (cos_test_upward): Likewise.
26443 (cosh_test): Likewise.
26444 (cosh_test_tonearest): Likewise.
26445 (cosh_test_towardzero): Likewise.
26446 (cosh_test_downward): Likewise.
26447 (cosh_test_upward): Likewise.
26448 (cpow_test): Use END_COMPLEX macro without arguments.
26449 (cproj_test): Likewise.
26450 (creal_test): Use END macro without arguments.
26451 (csin_test): Use END_COMPLEX macro without arguments.
26452 (csinh_test): Likewise.
26453 (csqrt_test): Likewise.
26454 (ctan_test): Likewise.
26455 (ctan_test_tonearest): Likewise.
26456 (ctan_test_towardzero): Likewise.
26457 (ctan_test_downward): Likewise.
26458 (ctan_test_upward): Likewise.
26459 (ctanh_test): Likewise.
26460 (ctanh_test_tonearest): Likewise.
26461 (ctanh_test_towardzero): Likewise.
26462 (ctanh_test_downward): Likewise.
26463 (ctanh_test_upward): Likewise.
26464 (erf_test): Use END macro without arguments.
26465 (erfc_test): Likewise.
26466 (exp_test): Likewise.
26467 (exp_test_tonearest): Likewise.
26468 (exp_test_towardzero): Likewise.
26469 (exp_test_downward): Likewise.
26470 (exp_test_upward): Likewise.
26471 (exp10_test): Likewise.
26472 (exp2_test): Likewise.
26473 (expm1_test): Likewise.
26474 (fabs_test): Likewise.
26475 (fdim_test): Likewise.
26476 (finite_test): Likewise.
26477 (floor_test): Likewise.
26478 (fma_test): Likewise.
26479 (fma_test_towardzero): Likewise.
26480 (fma_test_downward): Likewise.
26481 (fma_test_upward): Likewise.
26482 (fmax_test): Likewise.
26483 (fmin_test): Likewise.
26484 (fmod_test): Likewise.
26485 (fpclassify_test): Likewise.
26486 (frexp_test): Likewise.
26487 (gamma_test): Likewise.
26488 (hypot_test): Likewise.
26489 (ilogb_test): Likewise.
26490 (isfinite_test): Likewise.
26491 (isgreater_test): Likewise.
26492 (isgreaterequal_test): Likewise.
26493 (isinf_test): Likewise.
26494 (isless_test): Likewise.
26495 (islessequal_test): Likewise.
26496 (islessgreater_test): Likewise.
26497 (isnan_test): Likewise.
26498 (isnormal_test): Likewise.
26499 (issignaling_test): Likewise.
26500 (isunordered_test): Likewise.
26501 (j0_test): Likewise.
26502 (j1_test): Likewise.
26503 (jn_test): Likewise.
26504 (ldexp_test): Likewise.
26505 (lgamma_test): Likewise.
26506 (lrint_test): Likewise.
26507 (lrint_test_tonearest): Likewise.
26508 (lrint_test_towardzero): Likewise.
26509 (lrint_test_downward): Likewise.
26510 (lrint_test_upward): Likewise.
26511 (llrint_test): Likewise.
26512 (llrint_test_tonearest): Likewise.
26513 (llrint_test_towardzero): Likewise.
26514 (llrint_test_downward): Likewise.
26515 (llrint_test_upward): Likewise.
26516 (log_test): Likewise.
26517 (log10_test): Likewise.
26518 (log1p_test): Likewise.
26519 (log2_test): Likewise.
26520 (logb_test): Likewise.
26521 (logb_test_downward): Likewise.
26522 (lround_test): Likewise.
26523 (llround_test): Likewise.
26524 (modf_test): Likewise.
26525 (nearbyint_test): Likewise.
26526 (nextafter_test): Likewise.
26527 (nexttoward_test): Likewise.
26528 (pow_test): Likewise.
26529 (pow_test_tonearest): Likewise.
26530 (pow_test_towardzero): Likewise.
26531 (pow_test_downward): Likewise.
26532 (pow_test_upward): Likewise.
26533 (remainder_test): Likewise.
26534 (remainder_test_tonearest): Likewise.
26535 (remainder_test_towardzero): Likewise.
26536 (remainder_test_downward): Likewise.
26537 (remainder_test_upward): Likewise.
26538 (remquo_test): Likewise.
26539 (rint_test): Likewise.
26540 (rint_test_tonearest): Likewise.
26541 (rint_test_towardzero): Likewise.
26542 (rint_test_downward): Likewise.
26543 (rint_test_upward): Likewise.
26544 (round_test): Likewise.
26545 (scalb_test): Likewise.
26546 (scalbn_test): Likewise.
26547 (scalbln_test): Likewise.
26548 (signbit_test): Likewise.
26549 (sin_test): Likewise.
26550 (sin_test_tonearest): Likewise.
26551 (sin_test_towardzero): Likewise.
26552 (sin_test_downward): Likewise.
26553 (sin_test_upward): Likewise.
26554 (sincos_test): Likewise.
26555 (sinh_test): Likewise.
26556 (sinh_test_tonearest): Likewise.
26557 (sinh_test_towardzero): Likewise.
26558 (sinh_test_downward): Likewise.
26559 (sinh_test_upward): Likewise.
26560 (sqrt_test): Likewise.
26561 (tan_test): Likewise.
26562 (tan_test_tonearest): Likewise.
26563 (tan_test_towardzero): Likewise.
26564 (tan_test_downward): Likewise.
26565 (tan_test_upward): Likewise.
26566 (tanh_test): Likewise.
26567 (tgamma_test): Likewise.
26568 (trunc_test): Likewise.
26569 (y0_test): Likewise.
26570 (y1_test): Likewise.
26571 (yn_test): Likewise.
26572 (significand_test): Likewise.
26574 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26577 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26579 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26582 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26583 __ppc_mdoio and __ppc_mdoom.
26584 * manual/platform.texi: Document new functions __ppc_yield,
26585 __ppc_mdoio and __ppc_mdoom.
26587 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26589 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26590 (main): Mention "tls" pseudo-hwcap is legacy.
26591 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26593 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26595 * math/gen-libm-test.pl (parse_args): Output only string of
26596 arguments as text for test name, not full call or descriptions of
26597 tests for extra outputs.
26598 (generate_testfile): Do not pass function name to parse_args.
26599 Generate this_func variable from START.
26600 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26602 (struct test_ff_f_data): Likewise.
26603 (test_ff_f_data_nexttoward): Likewise.
26604 (struct test_fi_f_data): Likewise.
26605 (struct test_fl_f_data): Likewise.
26606 (struct test_if_f_data): Likewise.
26607 (struct test_fff_f_data): Likewise.
26608 (struct test_c_f_data): Likewise.
26609 (struct test_f_f1_data): Likewise. Remove field extra_name.
26610 (struct test_fF_f1_data): Likewise.
26611 (struct test_ffI_f1_data): Likewise.
26612 (struct test_c_c_data): Rename test_name field to arg_str.
26613 (struct test_cc_c_data): Likewise.
26614 (struct test_f_i_data): Likewise.
26615 (struct test_ff_i_data): Likewise.
26616 (struct test_f_l_data): Likewise.
26617 (struct test_f_L_data): Likewise.
26618 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26620 (COMMON_TEST_SETUP): New macro.
26621 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26622 (COMMON_TEST_CLEANUP): Likewise.
26623 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26624 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26626 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26627 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26629 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26630 (RUN_TEST_fff_f): Take argument string. Call new setup and
26632 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26633 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26635 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26636 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26638 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26639 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26641 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26642 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26644 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26645 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26647 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26648 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26650 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26651 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26653 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26654 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26656 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26657 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26659 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26660 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26662 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26663 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26665 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26666 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26668 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26669 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26671 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26672 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26674 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26675 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26677 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26679 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26681 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26682 to _sifields.sigfault.
26683 (si_addr_lsb): Define new macro.
26684 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26685 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26688 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26691 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26693 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26695 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26696 loading the domain.
26698 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26700 * math/gen-libm-test.pl (parse_args): Do not include expected
26701 result in test name.
26702 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26706 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26711 * benchtests/Makefile: Sort function entries.
26713 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26714 tanh, asinh, acosh, atanh.
26715 * benchtests/acos-inputs: New file.
26716 * benchtests/acosh-inputs: New file.
26717 * benchtests/asin-inputs: New file.
26718 * benchtests/asinh-inputs: New file.
26719 * benchtests/atanh-inputs: New file.
26720 * benchtests/cosh-inputs: New file.
26721 * benchtests/log-inputs: New file.
26722 * benchtests/sinh-inputs: New file.
26723 * benchtests/tanh-inputs: New file.
26725 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26728 * posix/tst-getaddrinfo4.c: New test.
26729 * posix/Makefile (tests): Add it.
26731 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26734 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26735 when no services were used.
26736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26737 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26739 2013-05-21 Andreas Schwab <schwab@suse.de>
26742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26743 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26745 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26746 redundant variable declarations and reallocation of buffer when
26747 parsing as IPv6 address. Always set NSS status when called from
26748 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26749 buffer too small. Correct computation of needed size.
26750 * nss/Makefile (tests): Add test-digits-dots.
26751 * nss/test-digits-dots.c: New test.
26753 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26755 * benchtests/Makefile: Remove instructions for adding
26757 * benchtests/README: New file to explain how to execute and
26758 enhance the benchmark tests.
26760 2013-05-21 Andreas Schwab <schwab@suse.de>
26763 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26764 * setjmp/tst-sigsetjmp.c: New test.
26766 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26768 * sysdeps/x86_64/memset.S (memset): New implementation.
26769 (__bzero): Likewise.
26770 (__memset_tail): New function.
26772 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26774 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26775 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26776 __memcpy_sse2_unaligned ifunc selection.
26777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26778 Add memcpy-sse2-unaligned.S.
26779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26780 Add: __memcpy_sse2_unaligned.
26782 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26785 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26786 math_force_eval before restoring floating-point envrionment.
26787 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26792 (__nearbyintl): Use math_force_eval before restoring
26793 floating-point environment.
26794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26796 * math/gen-libm-test.pl (special_functions): Remove.
26797 (parse_args): Don't handle TEST_extra. Handle functions with no
26799 * math/libm-test.inc (struct test_sincos_data): Replace with
26800 struct test_fFF_11_data.
26801 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26802 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26803 (sincos_test_data): Change element type to struct
26804 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26805 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26806 RUN_TEST_LOOP_sincos.
26807 * math/README.libm-test: Don't mention special handling of
26808 individual functions.
26809 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26811 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26813 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26816 * math/gen-libm-test.pl (get_variable): Remove function.
26817 (parse_args): Don't show pointer parameters to call in test
26818 names. Use "extra output N" in test names for extra outputs
26819 rather than naming variables.
26821 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26824 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26825 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26826 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26828 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26830 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26833 * math/gen-libm-test.pl (@tests): Remove variable.
26834 ($count): Likewise.
26835 (new_test): Remove function.
26836 (show_exceptions): New function.
26837 (special_functions): Use show_exceptions instead of new_test.
26838 (parse_args): Likewise.
26839 (generate_testfile): Pass only function name in generated call to
26840 print_max_error or print_complex_max_error.
26841 (get_ulps): Do not handle complex tests specially.
26842 (output_test): Rename to ...
26843 (get_all_ulps_for_test): ... this. Return a string rather than
26844 printing to a file. Require ulps to be present.
26845 (output_ulps): Generate arrays rather than #defines.
26846 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26847 (struct ulp_data): New type.
26848 (BUILD_COMPLEX_ULP): Remove macro.
26849 (compare_ulp_data): New function.
26850 (find_ulps): Likewise.
26851 (find_test_ulps): Likewise.
26852 (find_function_ulps): Likewise.
26853 (find_complex_function_ulps): Likewise.
26854 (print_max_error): Determine allowed ulps using
26855 find_function_ulps.
26856 (print_complex_max_error): Determine allowed ulps using
26857 find_complex_function_ulps.
26858 (check_float_internal): Determine max ulps using find_test_ulps.
26859 (check_float): Do not take max_ulp parameter. Update call to
26860 check_float_internal.
26861 (check_complex): Likewise.
26862 (check_int): Do not take max_ulp parameter.
26863 (check_long): Likewise.
26864 (check_bool): Likewise.
26865 (check_longlong): Likewise.
26866 (struct test_f_f_data): Remove max_ulp field.
26867 (struct test_ff_f_data): Likewise.
26868 (struct test_ff_f_data_nexttoward): Likewise.
26869 (struct test_fi_f_data): Likewise.
26870 (struct test_fl_f_data): Likewise.
26871 (struct test_if_f_data): Likewise.
26872 (struct test_fff_f_data): Likewise.
26873 (struct test_c_f_data): Likewise.
26874 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26875 (struct test_fF_f1_data): Likewise.
26876 (struct test_ffI_f1_data): Likewise.
26877 (struct test_c_c_data): Remove max_ulp field.
26878 (struct test_cc_c_data): Likewise.
26879 (struct test_f_i_data): Likewise.
26880 (struct test_ff_i_data): Likewise.
26881 (struct test_f_l_data): Likewise.
26882 (struct test_f_L_data): Likewise.
26883 (struct test_sincos_data): Likewise.
26884 (RUN_TEST_f_f): Do not handle ulps.
26885 (RUN_TEST_LOOP_f_f): Likewise.
26886 (RUN_TEST_2_f): Likewise.
26887 (RUN_TEST_LOOP_2_f): Likewise.
26888 (RUN_TEST_fff_f): Likewise.
26889 (RUN_TEST_LOOP_fff_f): Likewise.
26890 (RUN_TEST_c_f): Likewise.
26891 (RUN_TEST_LOOP_c_f): Likewise.
26892 (RUN_TEST_f_f1): Likewise.
26893 (RUN_TEST_LOOP_f_f1): Likewise.
26894 (RUN_TEST_fF_f1): Likewise.
26895 (RUN_TEST_LOOP_fF_f1): Likewise.
26896 (RUN_TEST_fI_f1): Likewise.
26897 (RUN_TEST_LOOP_fI_f1): Likewise.
26898 (RUN_TEST_ffI_f1): Likewise.
26899 (RUN_TEST_LOOP_ffI_f1): Likewise.
26900 (RUN_TEST_c_c): Likewise.
26901 (RUN_TEST_LOOP_c_c): Likewise.
26902 (RUN_TEST_cc_c): Likewise.
26903 (RUN_TEST_LOOP_cc_c): Likewise.
26904 (RUN_TEST_f_i): Likewise.
26905 (RUN_TEST_LOOP_f_i): Likewise.
26906 (RUN_TEST_f_i_tg): Likewise.
26907 (RUN_TEST_LOOP_f_i_tg): Likewise.
26908 (RUN_TEST_ff_i_tg): Likewise.
26909 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26910 (RUN_TEST_f_b): Likewise.
26911 (RUN_TEST_LOOP_f_b): Likewise.
26912 (RUN_TEST_f_b_tg): Likewise.
26913 (RUN_TEST_LOOP_f_b_tg): Likewise.
26914 (RUN_TEST_f_l): Likewise.
26915 (RUN_TEST_LOOP_f_l): Likewise.
26916 (RUN_TEST_f_L): Likewise.
26917 (RUN_TEST_LOOP_f_L): Likewise.
26918 (RUN_TEST_sincos): Likewise.
26919 (RUN_TEST_LOOP_sincos): Likewise.
26921 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26925 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26926 main case of finite arguments, set rounding mode to FE_TONEAREST
26927 and discard exceptions.
26928 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26930 (remainder_tonearest_test_data): New variable.
26931 (remainder_test_tonearest): New function.
26932 (remainder_towardzero_test_data): New variable.
26933 (remainder_test_towardzero): New function.
26934 (remainder_downward_test_data): New variable.
26935 (remainder_test_downward): New function.
26936 (remainder_upward_test_data): New variable.
26937 (remainder_test_upward): New function.
26938 (main): Call the new test functions.
26940 * math/libm-test.inc (struct test_f_f1_data): Remove field
26942 (struct test_fF_f1_data): Likewise.
26943 (struct test_ffI_f1_data): Likewise.
26944 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26945 based on value of EXTRA_EXPECTED.
26946 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26947 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26948 EXTRA_VAR based on value of EXTRA_EXPECTED.
26949 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26950 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26951 EXTRA_VAR based on value of EXTRA_EXPECTED.
26952 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26953 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26954 EXTRA_VAR based on value of EXTRA_EXPECTED.
26955 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26956 * math/gen-libm-test.pl (parse_args): Don't output initializers
26957 for extra output values.
26959 * math/libm-test.inc (check_int): Expect result to be exactly
26960 equal to expected value and do not handle ulps.
26961 (check_long): Likewise.
26962 (check_longlong): Likewise.
26964 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26966 (cimag_test_data): Likewise.
26967 (conj_test_data): Likewise.
26968 (copysign_test_data): Likewise.
26969 (cproj_test_data): Likewise.
26970 (creal_test_data): Likewise.
26971 (fabs_test_data): Likewise.
26972 (fdim_test_data): Likewise.
26973 (finite_test_data): Likewise.
26974 (floor_test_data): Likewise.
26975 (fmax_test_data): Likewise.
26976 (fmin_test_data): Likewise.
26977 (fmod_test_data): Likewise.
26978 (fpclassify_test_data): Likewise.
26979 (frexp_test_data): Likewise.
26980 (ilogb_test_data): Likewise.
26981 (isfinite_test_data): Likewise.
26982 (isgreater_test_data): Likewise.
26983 (isgreaterequal_test_data): Likewise.
26984 (isinf_test_data): Likewise.
26985 (isless_test_data): Likewise.
26986 (islessequal_test_data): Likewise.
26987 (islessgreater_test_data): Likewise.
26988 (isnan_test_data): Likewise.
26989 (isnormal_test_data): Likewise.
26990 (issignaling_test_data): Likewise.
26991 (isunordered_test_data): Likewise.
26992 (ldexp_test_data): Likewise.
26993 (lrint_test_data): Likewise.
26994 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26995 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26996 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26997 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26998 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26999 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27001 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27002 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27003 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27004 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27006 (lrint_downward_test_data): Test for "inexact" exceptions.
27007 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27008 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27009 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27011 (lrint_upward_test_data): Test for "inexact" exceptions.
27012 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27014 (llrint_test_data): Test for "inexact" exceptions.
27015 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27016 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27017 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27018 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27019 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27020 (llrint_downward_test_data): Test for "inexact" exceptions.
27021 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27022 (llrint_upward_test_data): Test for "inexact" exceptions.
27023 (logb_test_data): Likewise.
27024 (logb_downward_test_data): Likewise.
27025 (nextafter_test_data): Likewise.
27026 (nexttoward_test_data): Likewise.
27027 (remainder_test_data): Likewise.
27028 (remquo_test_data): Likewise.
27029 (scalbn_test_data): Likewise.
27030 (scalbln_test_data): Likewise.
27031 (signbit_test_data): Likewise.
27032 (sqrt_test_data): Likewise.
27033 (significand_test_data): Likewise.
27035 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27038 * benchtests/bench-modf.c (struct args): Mark arg0 as
27040 * scripts/bench.pl: Mark members of struct args as volatile.
27042 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27045 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27046 negative infinity on POWER6 or lower.
27047 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27049 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27052 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27053 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27054 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27055 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27056 (_FP_SETQNAN): New macro.
27057 (_FP_SETQNAN_SEMIRAW): Likewise.
27058 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27059 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27060 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27061 (FP_EXTEND): Use _FP_FRAC_SNANP.
27062 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27063 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27065 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27067 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27070 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27072 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27073 with DIVIDE_BY_ZERO_EXCEPTION.
27074 (gamma_test_data): Likewise.
27075 (lgamma_test_data): Likewise.
27076 (log_test_data): Likewise.
27077 (log10_test_data): Likewise.
27078 (log2_test_data): Likewise.
27079 (tgamma_test_data): Likewise.
27081 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27082 (acos_test_tonearest): Likewise.
27083 (acos_test_towardzero): Likewise.
27084 (acos_test_downward): Likewise.
27085 (acos_test_upward): Likewise.
27086 (acosh_test): Likewise.
27087 (asin_test): Likewise.
27088 (asin_test_tonearest): Likewise.
27089 (asin_test_towardzero): Likewise.
27090 (asin_test_downward): Likewise.
27091 (asin_test_upward): Likewise.
27092 (asinh_test): Likewise.
27093 (atan_test): Likewise.
27094 (atanh_test): Likewise.
27095 (atan2_test): Likewise.
27096 (cabs_test): Likewise.
27097 (cacos_test): Likewise.
27098 (cacosh_test): Likewise.
27099 (casin_test): Likewise.
27100 (casinh_test): Likewise.
27101 (catan_test): Likewise.
27102 (catanh_test): Likewise.
27103 (cbrt_test): Likewise.
27104 (ccos_test): Likewise.
27105 (ccosh_test): Likewise.
27106 (cexp_test): Likewise.
27107 (clog_test): Likewise.
27108 (clog10_test): Likewise.
27109 (cos_test): Likewise.
27110 (cos_test_tonearest): Likewise.
27111 (cos_test_towardzero): Likewise.
27112 (cos_test_downward): Likewise.
27113 (cos_test_upward): Likewise.
27114 (cosh_test): Likewise.
27115 (cosh_test_tonearest): Likewise.
27116 (cosh_test_towardzero): Likewise.
27117 (cosh_test_downward): Likewise.
27118 (cosh_test_upward): Likewise.
27119 (cpow_test): Likewise.
27120 (csin_test): Likewise.
27121 (csinh_test): Likewise.
27122 (csqrt_test): Likewise.
27123 (ctan_test): Likewise.
27124 (ctan_test_tonearest): Likewise.
27125 (ctan_test_towardzero): Likewise.
27126 (ctan_test_downward): Likewise.
27127 (ctan_test_upward): Likewise.
27128 (ctanh_test): Likewise.
27129 (ctanh_test_tonearest): Likewise.
27130 (ctanh_test_towardzero): Likewise.
27131 (ctanh_test_downward): Likewise.
27132 (ctanh_test_upward): Likewise.
27133 (erf_test): Likewise.
27134 (erfc_test): Likewise.
27135 (exp_test): Likewise.
27136 (exp_test_tonearest): Likewise.
27137 (exp_test_towardzero): Likewise.
27138 (exp_test_downward): Likewise.
27139 (exp_test_upward): Likewise.
27140 (exp10_test): Likewise.
27141 (exp2_test): Likewise.
27142 (expm1_test): Likewise.
27143 (fmod_test): Likewise.
27144 (gamma_test): Likewise.
27145 (hypot_test): Likewise.
27146 (j0_test): Likewise.
27147 (j1_test): Likewise.
27148 (jn_test): Likewise.
27149 (lgamma_test): Likewise.
27150 (log_test): Likewise.
27151 (log10_test): Likewise.
27152 (log1p_test): Likewise.
27153 (log2_test): Likewise.
27154 (logb_test_downward): Likewise.
27155 (pow_test): Likewise.
27156 (pow_test_tonearest): Likewise.
27157 (pow_test_towardzero): Likewise.
27158 (pow_test_downward): Likewise.
27159 (pow_test_upward): Likewise.
27160 (remainder_test): Likewise.
27161 (remquo_test): Likewise.
27162 (sin_test): Likewise.
27163 (sin_test_tonearest): Likewise.
27164 (sin_test_towardzero): Likewise.
27165 (sin_test_downward): Likewise.
27166 (sin_test_upward): Likewise.
27167 (sincos_test): Likewise.
27168 (sinh_test): Likewise.
27169 (sinh_test_tonearest): Likewise.
27170 (sinh_test_towardzero): Likewise.
27171 (sinh_test_downward): Likewise.
27172 (sinh_test_upward): Likewise.
27173 (sqrt_test): Likewise.
27174 (tan_test): Likewise.
27175 (tan_test_tonearest): Likewise.
27176 (tan_test_towardzero): Likewise.
27177 (tan_test_downward): Likewise.
27178 (tan_test_upward): Likewise.
27179 (tanh_test): Likewise.
27180 (tgamma_test): Likewise.
27181 (y0_test): Likewise.
27182 (y1_test): Likewise.
27183 (yn_test): Likewise.
27185 * math/gen-libm-test.pl (adjust_arg): Remove function.
27186 (special_function): Remove argument $in_func. Only handle
27187 generating output for tables of tests, not inside functions.
27188 (parse_args): Likewise.
27189 (generate_testfile): Remove variable $in_func. Update call to
27191 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27192 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27193 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27194 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27195 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27196 (MAX_VALUE_INIT): Rename macro to max_value.
27197 (MIN_VALUE_INIT): Rename macro to min_value.
27198 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27199 (plus_zero): Remove variable.
27200 (minus_zero): Likewise.
27201 (plus_infty): Likewise.
27202 (minus_infty): Likewise.
27203 (qnan_value): Likewise.
27204 (max_value): Likewise.
27205 (min_value): Likewise.
27206 (min_subnorm_value): Likewise.
27208 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27210 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27211 uint64_t or uint32_t usage.
27212 * crypt/sha256-block.c: Likewise.
27213 * crypt/sha256-crypt.c: Likewise.
27214 * crypt/sha256.c: Likewise.
27215 * crypt/sha512-block.c: Likewise.
27216 * crypt/sha512-crypt.c: Likewise.
27217 * crypt/sha512.c: Likewise.
27218 * debug/backtrace-tst.c: Likewise.
27219 * debug/pcprofiledump.c: Likewise.
27220 * elf/cache.c: Likewise.
27221 * elf/dl-cache.c: Likewise.
27222 * elf/dl-misc.c: Likewise.
27223 * elf/dl-profile.c: Likewise.
27224 * elf/dl-support.c: Likewise.
27225 * elf/ldconfig.c: Likewise.
27226 * elf/sprof.c: Likewise.
27227 * iconv/dummy-repertoire.c: Likewise.
27228 * iconv/iconv_charmap.c: Likewise.
27229 * iconv/skeleton.c: Likewise.
27230 * iconvdata/8bit-generic.c: Likewise.
27231 * iconvdata/cp737.h: Likewise.
27232 * iconvdata/cp775.h: Likewise.
27233 * iconvdata/ibm1008.h: Likewise.
27234 * iconvdata/ibm1025.h: Likewise.
27235 * iconvdata/ibm1046.h: Likewise.
27236 * iconvdata/ibm1097.h: Likewise.
27237 * iconvdata/ibm1112.h: Likewise.
27238 * iconvdata/ibm1122.h: Likewise.
27239 * iconvdata/ibm1123.h: Likewise.
27240 * iconvdata/ibm1124.h: Likewise.
27241 * iconvdata/ibm1129.h: Likewise.
27242 * iconvdata/ibm1130.h: Likewise.
27243 * iconvdata/ibm1132.h: Likewise.
27244 * iconvdata/ibm1133.h: Likewise.
27245 * iconvdata/ibm1137.h: Likewise.
27246 * iconvdata/ibm1140.h: Likewise.
27247 * iconvdata/ibm1141.h: Likewise.
27248 * iconvdata/ibm1142.h: Likewise.
27249 * iconvdata/ibm1143.h: Likewise.
27250 * iconvdata/ibm1144.h: Likewise.
27251 * iconvdata/ibm1145.h: Likewise.
27252 * iconvdata/ibm1146.h: Likewise.
27253 * iconvdata/ibm1147.h: Likewise.
27254 * iconvdata/ibm1148.h: Likewise.
27255 * iconvdata/ibm1149.h: Likewise.
27256 * iconvdata/ibm1153.h: Likewise.
27257 * iconvdata/ibm1154.h: Likewise.
27258 * iconvdata/ibm1155.h: Likewise.
27259 * iconvdata/ibm1156.h: Likewise.
27260 * iconvdata/ibm1157.h: Likewise.
27261 * iconvdata/ibm1158.h: Likewise.
27262 * iconvdata/ibm1160.h: Likewise.
27263 * iconvdata/ibm1161.h: Likewise.
27264 * iconvdata/ibm1162.h: Likewise.
27265 * iconvdata/ibm1163.h: Likewise.
27266 * iconvdata/ibm1164.h: Likewise.
27267 * iconvdata/ibm1166.h: Likewise.
27268 * iconvdata/ibm1167.h: Likewise.
27269 * iconvdata/ibm12712.h: Likewise.
27270 * iconvdata/ibm1390.h: Likewise.
27271 * iconvdata/ibm1399.h: Likewise.
27272 * iconvdata/ibm16804.h: Likewise.
27273 * iconvdata/ibm4517.h: Likewise.
27274 * iconvdata/ibm4899.h: Likewise.
27275 * iconvdata/ibm4909.h: Likewise.
27276 * iconvdata/ibm4971.h: Likewise.
27277 * iconvdata/ibm5347.h: Likewise.
27278 * iconvdata/ibm803.h: Likewise.
27279 * iconvdata/ibm856.h: Likewise.
27280 * iconvdata/ibm901.h: Likewise.
27281 * iconvdata/ibm902.h: Likewise.
27282 * iconvdata/ibm9030.h: Likewise.
27283 * iconvdata/ibm9066.h: Likewise.
27284 * iconvdata/ibm921.h: Likewise.
27285 * iconvdata/ibm922.h: Likewise.
27286 * iconvdata/ibm9448.h: Likewise.
27287 * iconvdata/isiri-3342.h: Likewise.
27288 * iconvdata/jis0201.h: Likewise.
27289 * include/link.h: Likewise.
27290 * include/netdb.h: Likewise.
27291 * inet/check_native.c: Likewise.
27292 * inet/check_pf.c: Likewise.
27293 * inet/getipv4sourcefilter.c: Likewise.
27294 * inet/getnameinfo.c: Likewise.
27295 * inet/getsourcefilter.c: Likewise.
27296 * inet/htonl.c: Likewise.
27297 * inet/setipv4sourcefilter.c: Likewise.
27298 * inet/setsourcefilter.c: Likewise.
27299 * inet/test-inet6_opt.c: Likewise.
27300 * inet/tst-network.c: Likewise.
27301 * locale/C-collate.c: Likewise.
27302 * locale/C-ctype.c: Likewise.
27303 * locale/C-time.c: Likewise.
27304 * locale/C-translit.h: Likewise.
27305 * locale/loadarchive.c: Likewise.
27306 * locale/programs/3level.h: Likewise.
27307 * locale/programs/charmap.c: Likewise.
27308 * locale/programs/charmap.h: Likewise.
27309 * locale/programs/ld-address.c: Likewise.
27310 * locale/programs/ld-collate.c: Likewise.
27311 * locale/programs/ld-ctype.c: Likewise.
27312 * locale/programs/ld-identification.c: Likewise.
27313 * locale/programs/ld-measurement.c: Likewise.
27314 * locale/programs/ld-messages.c: Likewise.
27315 * locale/programs/ld-monetary.c: Likewise.
27316 * locale/programs/ld-name.c: Likewise.
27317 * locale/programs/ld-numeric.c: Likewise.
27318 * locale/programs/ld-paper.c: Likewise.
27319 * locale/programs/ld-telephone.c: Likewise.
27320 * locale/programs/ld-time.c: Likewise.
27321 * locale/programs/linereader.c: Likewise.
27322 * locale/programs/locale.c: Likewise.
27323 * locale/programs/locarchive.c: Likewise.
27324 * locale/programs/locfile.h: Likewise.
27325 * locale/programs/repertoire.c: Likewise.
27326 * locale/programs/simple-hash.c: Likewise.
27327 * locale/programs/simple-hash.h: Likewise.
27328 * malloc/memusage.c: Likewise.
27329 * malloc/memusagestat.c: Likewise.
27330 * nis/nis_defaults.c: Likewise.
27331 * nis/nis_hash.c: Likewise.
27332 * nis/nis_print.c: Likewise.
27333 * nis/nis_xdr.c: Likewise.
27334 * nscd/connections.c: Likewise.
27335 * nscd/hstcache.c: Likewise.
27336 * nscd/nscd_gethst_r.c: Likewise.
27337 * nscd/nscd_getserv_r.c: Likewise.
27338 * nscd/nscd_helper.c: Likewise.
27339 * nscd/servicescache.c: Likewise.
27340 * nss/makedb.c: Likewise.
27341 * nss/nss_db/db-XXX.c: Likewise.
27342 * nss/nss_db/db-initgroups.c: Likewise.
27343 * nss/nss_db/db-netgrp.c: Likewise.
27344 * nss/nss_files/files-network.c: Likewise.
27345 * nss/nss_files/files-parse.c: Likewise.
27346 * posix/bug-regex5.c: Likewise.
27347 * posix/fnmatch_loop.c: Likewise.
27348 * posix/regcomp.c: Likewise.
27349 * posix/regexec.c: Likewise.
27350 * posix/tst-rfc3484-2.c: Likewise.
27351 * posix/tst-rfc3484-3.c: Likewise.
27352 * posix/tst-rfc3484.c: Likewise.
27353 * resolv/nss_dns/dns-canon.c: Likewise.
27354 * resolv/nss_dns/dns-network.c: Likewise.
27355 * resolv/res_init.c: Likewise.
27356 * resolv/res_mkquery.c: Likewise.
27357 * resolv/tst-aton.c: Likewise.
27358 * stdlib/cxa_atexit.c: Likewise.
27359 * stdlib/cxa_finalize.c: Likewise.
27360 * stdlib/gen-fpioconst.c: Likewise.
27361 * stdlib/strtol_l.c: Likewise.
27362 * string/tst-endian.c: Likewise.
27363 * sunrpc/auth_des.c: Likewise.
27364 * sunrpc/clnt_udp.c: Likewise.
27365 * sunrpc/rtime.c: Likewise.
27366 * sunrpc/svcauth_des.c: Likewise.
27367 * sunrpc/xdr.c: Likewise.
27368 * sunrpc/xdr_intXX_t.c: Likewise.
27369 * sunrpc/xdr_rec.c: Likewise.
27370 * sysdeps/generic/ldconfig.h: Likewise.
27371 * sysdeps/generic/ldsodefs.h: Likewise.
27372 * sysdeps/generic/memusage.h: Likewise.
27373 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27375 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27376 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27383 * sysdeps/posix/getaddrinfo.c: Likewise.
27384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27386 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27387 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27388 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27389 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27390 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27391 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27392 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27393 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27394 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27395 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27396 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27397 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27398 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27399 * sysdeps/x86_64/dl-tls.h: Likewise.
27400 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27401 * time/alt_digit.c: Likewise.
27402 * time/era.c: Likewise.
27403 * wcsmbs/tst-c16c32-1.c: Likewise.
27405 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27407 * math/libm-test.inc (struct test_sincos_data): New type.
27408 (RUN_TEST_LOOP_sincos): New macro.
27409 (sincos_test_data): New variable.
27410 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27412 2013-05-16 Richard Henderson <rth@redhat.com>
27414 * math/atest-exp2.c (LIMB64): New macro.
27415 (CONSTSZ): New macro.
27416 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27418 (print_mpn_fp): ... to function scope.
27419 (read_mpn_hex): Remove.
27420 (get_log2): Remove.
27421 (exp2_mpn): Use mp_log2.
27422 (main): Use mp_exp1.
27424 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27426 * math/libm-test.inc: Remove comment about not testing "inexact"
27428 (INEXACT_EXCEPTION): New macro.
27429 (NO_INEXACT_EXCEPTION): Likewise.
27430 (INVALID_EXCEPTION_OK): Update value.
27431 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27432 (OVERFLOW_EXCEPTION_OK): Likewise.
27433 (UNDERFLOW_EXCEPTION_OK): Likewise.
27434 (IGNORE_ZERO_INF_SIGN): Likewise.
27435 (ERRNO_UNCHANGED): Likewise.
27436 (ERRNO_EDOM): Likewise.
27437 (ERRNO_ERANGE): Likewise.
27438 (test_exceptions): Handle testing "inexact" exceptions.
27439 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27440 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27441 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27442 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27444 (rint_towardzero_test_data): Likewise.
27445 (rint_downward_test_data): Likewise.
27446 (rint_upward_test_data): Likewise.
27448 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27449 with OVERFLOW_EXCEPTION.
27450 (exp10_test_data): Likewise.
27451 (exp2_test_data): Likewise.
27452 (expm1_test_data): Likewise.
27453 (lgamma_test_data): Likewise.
27454 (pow_test_data): Likewise.
27455 (tgamma_test_data): Likewise.
27456 (yn_test_data): Remove duplicate test of overflow.
27458 * math/libm-test.inc (struct test_cc_c_data): New type.
27459 (RUN_TEST_LOOP_cc_c): New macro.
27460 (cpow_test_data): New variable.
27461 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27463 * math/libm-test.inc (struct test_f_L_data): New type.
27464 (RUN_TEST_LOOP_f_L): New macro.
27465 (llrint_test_data): New variable.
27466 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27467 (llrint_tonearest_test_data): New variable.
27468 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27469 (llrint_towardzero_test_data): New variable.
27470 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27471 (llrint_downward_test_data): New variable.
27472 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27473 (llrint_upward_test_data): New variable.
27474 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27475 (llround_test_data): New variable.
27476 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27478 2013-05-13 Peter Collingbourne <pcc@google.com>
27480 * math/atest-exp2.c (get_log2): Remove const attribute.
27482 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27484 * math/libm-test.inc (struct test_f_l_data): New type.
27485 (RUN_TEST_LOOP_f_l): New macro.
27486 (lrint_test_data): New variable.
27487 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27488 (lrint_tonearest_test_data): New variable.
27489 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27490 (lrint_towardzero_test_data): New variable.
27491 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27492 (lrint_downward_test_data): New variable.
27493 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27494 (lrint_upward_test_data): New variable.
27495 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27496 (lround_test_data): New variable.
27497 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27499 2013-05-15 Peter Collingbourne <pcc@google.com>
27501 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27502 (EXTRACT_WORDS64) Use where appropriate.
27503 (INSERT_WORDS64) Likewise.
27505 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27506 constraints with x constraints.
27507 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27509 * malloc/obstack.c (_obstack_compat): Add initializer.
27511 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27513 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27514 si_trapno and add si_addr_lsb to _sifields.sigfault.
27515 (si_trapno): Remove macro.
27516 (si_addr_lsb): Define new macro.
27517 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27519 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27521 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27522 instead of TEST_f_l.
27523 (llrint_test_tonearest): Likewise.
27524 (llrint_test_towardzero): Likewise.
27525 (llrint_test_downward): Likewise.
27526 (llrint_test_upward): Likewise.
27527 (llround_test): Likewise.
27529 * math/libm-test.inc (struct test_f_i_data): Add comment.
27530 (RUN_TEST_LOOP_f_b): New macro.
27531 (RUN_TEST_LOOP_f_b_tg): Likewise.
27532 (finite_test_data): New variable.
27533 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27534 (isfinite_test_data): New variable.
27535 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27536 (isinf_test_data): New variable.
27537 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27538 (isnan_test_data): New variable.
27539 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27540 (isnormal_test_data): New variable.
27541 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27542 (issignaling_test_data): New variable.
27543 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27544 (signbit_test_data): New variable.
27545 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27547 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27548 with INVALID_EXCEPTION.
27549 (acosh_test_data): Likewise.
27550 (asin_test_data): Likewise.
27551 (atanh_test_data): Likewise.
27552 (fmod_test_data): Likewise.
27553 (log_test_data): Likewise.
27554 (log10_test_data): Likewise.
27555 (log2_test_data): Likewise.
27556 (pow_test_data): Likewise.
27557 (sqrt_test_data): Likewise.
27558 (y0_test_data): Likewise.
27559 (y1_test_data): Likewise.
27560 (yn_test_data): Likewise.
27562 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27565 * math/libm-test.inc (struct test_ff_i_data): New type.
27566 (RUN_TEST_LOOP_ff_i_tg): New macro.
27567 (isgreater_test_data): New variable.
27568 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27569 (isgreaterequal_test_data): New variable.
27570 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27571 (isless_test_data): New variable.
27572 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27573 (islessequal_test_data): New variable.
27574 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27575 (islessgreater_test_data): New variable.
27576 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27577 (isunordered_test_data): New variable.
27578 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27580 2013-05-14 David S. Miller <davem@davemloft.net>
27582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27584 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27586 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27588 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27590 (struct test_f_i_data): Change type of max_ulp to int.
27592 * math/libm-test.inc (test_ffI_f1_data): New type.
27593 (RUN_TEST_LOOP_ffI_f1): New macro.
27594 (remquo_test_data): New variable.
27595 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27597 * setjmp/tst-setjmp-fp.c: New file.
27598 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27599 (link-libm): New variable.
27600 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27602 * math/libm-test.inc (struct test_f_i_data): New type.
27603 (RUN_TEST_LOOP_f_i): New macro.
27604 (RUN_TEST_LOOP_f_i_tg): Likewise.
27605 (fpclassify_test_data): New variable.
27606 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27607 (ilogb_test_data): New variable.
27608 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27610 * math/libm-test.inc (scalbln_test): Correct function name in END
27613 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27614 (RUN_TEST_LOOP_fI_f1): New macro.
27615 (frexp_test_data): New variable.
27616 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27618 * math/libm-test.inc (struct test_fF_f1_data): New type.
27619 (RUN_TEST_LOOP_fF_f1): New macro.
27620 (modf_test_data): New variable.
27621 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27623 * math/libm-test.inc (struct test_f_f1_data): New type.
27624 (RUN_TEST_LOOP_f_f1): New macro.
27625 (gamma_test_data): New variable.
27626 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27627 (lgamma_test_data): New variable.
27628 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27630 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27632 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27633 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27634 (main): Comment "tls" pseudo-hwcap.
27636 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27638 * math/libm-test.inc (struct test_fl_f_data): New type.
27639 (RUN_TEST_LOOP_fl_f): New variable.
27640 (scalbln_test_data): New variable.
27641 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27643 * math/libm-test.inc (struct test_fi_f_data): New type.
27644 (RUN_TEST_LOOP_fi_f): New macro.
27645 (ldexp_test_data): New variable.
27646 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27647 (scalbn_test_data): New variable.
27648 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27650 * math/libm-test.inc (struct test_c_f_data): New type.
27651 (RUN_TEST_LOOP_c_f): New macro.
27652 (cabs_test_data): New variable.
27653 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27654 (carg_test_data): New variable.
27655 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27656 (cimag_test_data): New variable.
27657 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27658 (creal_test_data): New variable.
27659 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27661 * math/libm-test.inc (struct test_if_f_data): New type.
27662 (RUN_TEST_LOOP_if_f): New macro.
27663 (jn_test_data): New variable.
27664 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27665 (yn_test_data): New variable.
27666 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27668 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27670 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27672 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27673 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27675 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27677 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27678 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27679 (bench-deps): Add bench-timing.h.
27680 * benchtests-bench-skeleton.c: Include bench-timing.h.
27681 (main): Use TIMING_* macros instead of clock_gettime.
27682 * benchtests/bench-timing.h: New file.
27685 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27686 Renamed from _LIB_VERSION.
27687 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27689 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27691 * math/libm-test.inc (struct test_fff_f_data): New type.
27692 (RUN_TEST_LOOP_fff_f): New macro.
27693 (fma_test_data): New variable.
27694 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27695 (fma_towardzero_test_data): New variable.
27696 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27697 (fma_downward_test_data): New variable.
27698 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27699 (fma_upward_test_data): New variable.
27700 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27702 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27703 (struct test_c_c_data): New type.
27704 (RUN_TEST_LOOP_c_c): New macro.
27705 (cacos_test_data): New variable.
27706 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27707 (cacosh_test_data): New variable.
27708 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27709 (casin_test_data): New variable.
27710 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27711 (casinh_test_data): New variable.
27712 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27713 (catan_test_data): New variable.
27714 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27715 (catanh_test_data): New variable.
27716 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27717 (ccos_test_data): New variable.
27718 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27719 (ccosh_test_data): New variable.
27720 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27721 (cexp_test_data): New variable.
27722 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27723 (clog_test_data): New variable.
27724 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27725 (clog10_test_data): New variable.
27726 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27727 (conj_test_data): New variable.
27728 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27729 (cproj_test_data): New variable.
27730 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27731 (csin_test_data): New variable.
27732 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27733 (csinh_test_data): New variable.
27734 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27735 (csqrt_test_data): New variable.
27736 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27737 (ctan_test_data): New variable.
27738 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27739 (ctan_tonearest_test_data): New variable.
27740 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27741 (ctan_towardzero_test_data): New variable.
27742 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27743 (ctan_downward_test_data): New variable.
27744 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27745 (ctan_upward_test_data): New variable.
27746 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27747 (ctanh_test_data): New variable.
27748 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27749 (ctanh_tonearest_test_data): New variable.
27750 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27751 (ctanh_towardzero_test_data): New variable.
27752 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27753 (ctanh_downward_test_data): New variable.
27754 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27755 (ctanh_upward_test_data): New variable.
27756 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27757 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27760 * math/libm-test.inc (struct test_ff_f_data): New type.
27761 (struct test_ff_f_data_nexttoward): Likewise.
27762 (RUN_TEST_LOOP_2_f): New macro.
27763 (RUN_TEST_LOOP_ff_f): Likewise.
27764 (atan2_test_data): New variable.
27765 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27766 (copysign_test_data): New variable.
27767 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27768 (fdim_test_data): New variable.
27769 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27770 (fmax_test_data): New variable.
27771 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27772 (fmin_test_data): New variable.
27773 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27774 (fmod_test_data): New variable.
27775 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27776 (hypot_test_data): New variable.
27777 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27778 (nextafter_test_data): New variable.
27779 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27780 (nexttoward_test_data): New variable.
27781 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27782 (pow_test_data): New variable.
27783 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27784 (pow_tonearest_test_data): New variable.
27785 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27786 (pow_towardzero_test_data): New variable.
27787 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27788 (pow_downward_test_data): New variable.
27789 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27790 (pow_upward_test_data): New variable.
27791 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27792 (remainder_test_data): New variable.
27793 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27794 (scalb_test_data): New variable.
27795 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27796 * sysdeps/i386/fpu/libm-test-ulps: Update.
27798 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27800 * math/libm-test.inc (fma_test): Use max_value instead of local
27802 (nextafter_test): Likewise.
27804 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27805 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27806 (acos_downward_test_data): New variable.
27807 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27808 (acos_upward_test_data): New variable.
27809 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27810 (acosh_test_data): New variable.
27811 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27812 (asin_test_data): New variable.
27813 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27814 (asin_tonearest_test_data): New variable.
27815 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27816 (asin_towardzero_test_data): New variable.
27817 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27818 (asin_downward_test_data): New variable.
27819 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27820 (asin_upward_test_data): New variable.
27821 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27822 (asinh_test_data): New variable.
27823 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27824 (atan_test_data): New variable.
27825 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27826 (atanh_test_data): New variable.
27827 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27828 (cbrt_test_data): New variable.
27829 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27830 (ceil_test_data): New variable.
27831 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27832 (cos_test_data): New variable.
27833 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27834 (cos_tonearest_test_data): New variable.
27835 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27836 (cos_towardzero_test_data): New variable.
27837 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27838 (cos_downward_test_data): New variable.
27839 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27840 (cos_upward_test_data): New variable.
27841 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27842 (cosh_test_data): New variable.
27843 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27844 (cosh_tonearest_test_data): New variable.
27845 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27846 (cosh_towardzero_test_data): New variable.
27847 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27848 (cosh_downward_test_data): New variable.
27849 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27850 (cosh_upward_test_data): New variable.
27851 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27852 (erf_test_data): New variable.
27853 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27854 (erfc_test_data): New variable.
27855 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27856 (exp_test_data): New variable.
27857 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27858 (exp_tonearest_test_data): New variable.
27859 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27860 (exp_towardzero_test_data): New variable.
27861 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27862 (exp_downward_test_data): New variable.
27863 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27864 (exp_upward_test_data): New variable.
27865 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27866 (exp10_test_data): New variable.
27867 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27868 (exp2_test_data): New variable.
27869 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27870 (expm1_test_data): New variable.
27871 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27872 (fabs_test_data): New variable.
27873 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27874 (floor_test_data): New variable.
27875 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27876 (j0_test_data): New variable.
27877 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27878 (j1_test_data): New variable.
27879 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27880 (log_test_data): New variable.
27881 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27882 (log10_test_data): New variable.
27883 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27884 (log1p_test_data): New variable.
27885 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27886 (log2_test_data): New variable.
27887 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27888 (logb_test_data): New variable.
27889 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27890 (logb_downward_test_data): New variable.
27891 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27892 (nearbyint_test_data): New variable.
27893 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27894 (rint_test_data): New variable.
27895 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27896 (rint_tonearest_test_data): New variable.
27897 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27898 (rint_towardzero_test_data): New variable.
27899 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27900 (rint_downward_test_data): New variable.
27901 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27902 (rint_upward_test_data): New variable.
27903 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27904 (round_test_data): New variable.
27905 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27906 (sin_test_data): New variable.
27907 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27908 (sin_tonearest_test_data): New variable.
27909 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27910 (sin_towardzero_test_data): New variable.
27911 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27912 (sin_downward_test_data): New variable.
27913 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27914 (sin_upward_test_data): New variable.
27915 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27916 (sinh_test_data): New variable.
27917 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27918 (sinh_tonearest_test_data): New variable.
27919 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27920 (sinh_towardzero_test_data): New variable.
27921 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27922 (sinh_downward_test_data): New variable.
27923 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27924 (sinh_upward_test_data): New variable.
27925 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27926 (sqrt_test_data): New variable.
27927 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (tan_test_data): New variable.
27929 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (tan_tonearest_test_data): New variable.
27931 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27932 (tan_towardzero_test_data): New variable.
27933 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27934 (tan_downward_test_data): New variable.
27935 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27936 (tan_upward_test_data): New variable.
27937 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27938 (tanh_test_data): New variable.
27939 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27940 (tgamma_test_data): New variable.
27941 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27942 (trunc_test_data): New variable.
27943 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27944 (y0_test_data): New variable.
27945 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27946 (y1_test_data): New variable.
27947 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27948 (significand_test_data): New variable.
27949 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27951 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27954 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27956 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27958 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27960 2013-05-10 Andreas Jaeger <aj@suse.de>
27963 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27964 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27966 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27968 * math/gen-libm-test.pl (adjust_arg): New function.
27969 (special_functions): Handle generating output in both functions
27971 (parse_args): Likewise.
27972 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27973 $in_func argument to parse_args.
27974 * math/libm-test.inc (struct test_f_f_data): New type.
27975 (IF_ROUND_INIT_): New macro.
27976 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27977 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27978 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27979 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27980 (ROUND_RESTORE_): Likewise.
27981 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27982 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27983 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27984 (ROUND_RESTORE_FE_UPWARD): Likewise.
27985 (RUN_TEST_LOOP_f_f): New macro.
27986 (acos_test_data): New variable.
27987 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27988 (acos_tonearest_test_data): New variable.
27989 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27991 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27993 * benchtests/bench-skeleton.c (startup): Fix coding style.
27995 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27998 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27999 negative infinity argument.
28000 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28001 negative infinity argument.
28002 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28003 negative infinity argument.
28004 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28007 2013-05-10 Florian Weimer <fweimer@redhat.com>
28009 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28010 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28011 * iconv/iconv_prog.c (main): Likewise.
28012 * locale/programs/charmap-dir.c (charmap_readdir)
28013 (fopen_uncompressed): Likewise.
28014 * locale/programs/locfile.c (siblings_uncached)
28015 (write_locale_data): Use lstat64 instead of lstat.
28016 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28019 2013-05-10 Andreas Jaeger <aj@suse.de>
28022 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28024 Include <locale.h>.
28026 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28028 * elf/dl-close.c (_dl_close_worker): Add comments.
28030 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28035 (__ieee754_rem_pio2l): Update comments.
28038 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28040 (__ieee754_rem_pio2l): Update comments.
28042 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28043 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28045 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28048 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28049 (M_PI_34_LOG10El): Likewise.
28050 (M_PI2_LOG10El): Likewise.
28051 (M_PI4_LOG10El): Likewise.
28052 (M_PI_LOG10El): Likewise.
28054 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28058 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28060 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28061 (MINUS_ZERO_INIT): Likewise.
28062 (PLUS_INFTY_INIT): Likewise.
28063 (MINUS_INFTY_INIT): Likewise.
28064 (QNAN_VALUE_INIT): Likewise.
28065 (MAX_VALUE_INIT): Likewise.
28066 (MIN_VALUE_INIT): Likewise.
28067 (MIN_SUBNORM_VALUE_INIT): Likewise.
28068 (plus_zero): Initialize with PLUS_ZERO_INIT.
28069 (minus_zero): Initialize with MINUS_ZERO_INIT.
28070 (plus_infty): Initialize with PLUS_INFTY_INIT.
28071 (minus_infty): Initialize with MINUS_INFTY_INIT.
28072 (qnan_value): Initialize with QNAN_VALUE_INIT.
28073 (max_value): Initialize with MAX_VALUE_INIT.
28074 (min_value): Initialize with MIN_VALUE_INIT.
28075 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28077 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28078 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28079 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28080 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28082 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28083 (RUN_TEST_2_f): Likewise.
28084 (RUN_TEST_ff_f): Likewise.
28085 (RUN_TEST_fi_f): Likewise.
28086 (RUN_TEST_fl_f): Likewise.
28087 (RUN_TEST_fff_f): Likewise.
28088 (RUN_TEST_c_f): Likewise.
28089 (RUN_TEST_f_f1): Likewise.
28090 (RUN_TEST_fF_f1): Likewise.
28091 (RUN_TEST_fI_f1): Likewise.
28092 (RUN_TEST_ffI_f1): Likewise.
28093 (RUN_TEST_c_c): Likewise.
28094 (RUN_TEST_cc_c): Likewise.
28095 (RUN_TEST_f_i): Likewise.
28096 (RUN_TEST_f_i_tg): Likewise.
28097 (RUN_TEST_ff_i_tg): Likewise.
28098 (RUN_TEST_f_b): Likewise.
28099 (RUN_TEST_f_b_tg): Likewise.
28100 (RUN_TEST_f_l): Likewise.
28101 (RUN_TEST_f_L): Likewise.
28102 (RUN_TEST_sincos): Likewise.
28103 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28104 whether to show exceptions. Do not include ");\n" in return
28106 (special_functions): Output call to RUN_TEST_sincos instead of
28107 check_float calls. Update calls to new_test.
28108 (parse_args): Output call to single RUN_TEST_* macro instead of
28109 check_* calls and other assignments. Update calls to new_test.
28115 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28116 input to result for tgamma overflow.
28117 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28118 (gamma_coeff): New variable.
28119 (NCOEFF): New macro.
28120 (gamma_positive): New function.
28121 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28122 underflow here. Use gamma_positive instead of exp (lgamma) for
28124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28125 (gamma_coeff): New variable.
28126 (NCOEFF): New macro.
28127 (gammaf_positive): New function.
28128 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28129 underflow here. Use gamma_positive instead of exp (lgamma) for
28131 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28132 (gamma_coeff): New variable.
28133 (NCOEFF): New macro.
28134 (gammal_positive): New function.
28135 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28136 underflow here. Use gamma_positive instead of exp (lgamma) for
28138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28139 (gamma_coeff): New variable.
28140 (NCOEFF): New macro.
28141 (gammal_positive): New function.
28142 (__ieee754_gammal_r): Handle positive infinity, overflow and
28143 underflow here. Handle NaN the same as positive infinity. Remove
28144 check x < 0xffffffff for negative integers. Use gamma_positive
28145 instead of exp (lgamma) for other arguments.
28146 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28147 (gamma_coeff): New variable.
28148 (NCOEFF): New macro.
28149 (gammal_positive): New function.
28150 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28151 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28155 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28156 * sysdeps/generic/math_private.h (__gamma_productf): New
28158 (__gamma_product): Likewise.
28159 (__gamma_productl): Likewise.
28160 * math/Makefile (libm-calls): Add gamma_product.
28161 * math/libm-test.inc (tgamma_test): Add more tests.
28162 * sysdeps/i386/fpu/libm-test-ulps: Update.
28163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28167 * benchtests/bench-skeleton.c (main): Preheat CPU.
28169 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28171 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28173 2013-05-07 Roland McGrath <roland@hack.frob.com>
28175 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28176 and _dl_skip_args_internal.
28178 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28180 * manual/message.texi (Message Translation): Talk about users.
28181 Message to key mapping impacts design.
28183 2013-05-06 Roland McGrath <roland@hack.frob.com>
28185 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28187 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28189 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28190 * sysdeps/wordsize-64/glob64.c: ... here.
28192 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28193 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28196 * debug/getlogin_r_chk.c: Moved to ...
28197 * login/getlogin_r_chk.c: ... here.
28198 * debug/Makefile (routines): Move getlogin_r_chk to ...
28199 * login/Makefile (routines): ... here.
28200 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28201 * login/Versions (libc: GLIBC_2.4): ... here.
28203 * io/poll.c (__poll): Renamed from poll.
28204 Add libc_hidden_def.
28205 (poll): Define as weak alias.
28207 * debug/ptsname_r_chk.c: Moved to ...
28208 * login/ptsname_r_chk.c: ... here.
28209 * debug/Makefile (routines): Move ptsname_r_chk to ...
28210 * login/Makefile (routines): ... here.
28211 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28212 * login/Versions (libc: GLIBC_2.4): ... here.
28214 * posix/getlogin.c: Moved to ...
28215 * login/getlogin.c: ... here.
28216 * posix/getlogin_r.c: Moved to ...
28217 * login/getlogin_r.c: ... here.
28218 * posix/getlogin_r.c: Moved to ...
28219 * login/getlogin_r.c: ... here.
28220 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28221 * login/Makefile (routines): ... here.
28222 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28223 * login/Versions (libc: GLIBC_2.0): ... here.
28225 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28226 (setrlimit): Define as weak alias.
28228 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28229 Call __ names for open, ftruncate, and close.
28230 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28231 (truncate): Define as weak alias.
28233 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28235 * math/gen-libm-test.pl (parse_args): Initialize x before each
28236 test of frexp, modf and remquo.
28238 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28239 test signgam value.
28241 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28245 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28249 2013-05-06 Roland McGrath <roland@hack.frob.com>
28251 * elf/dl-writev.h: New file.
28252 * elf/dl-misc.c: Include it.
28253 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28254 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28256 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28258 * math/libm-test.inc (noXFails): Remove variable.
28259 (noXPasses): Likewise.
28260 (BUILD_COMPLEX_INT): Remove macro.
28261 (print_screen): Remove xfail argument.
28262 (print_screen_max_error): Likewise.
28263 (update_stats): Likewise.
28264 (print_max_error): Likewise. Update calls to other affected
28266 (print_complex_max_error): Likewise.
28267 (test_single_exception): Update calls to print_screen.
28268 (test_single_errno): Likewise.
28269 (check_float_internal): Remove xfail argument. Update calls to
28270 other affected functions.
28271 (check_float): Likewise.
28272 (check_complex): Likewise.
28273 (check_int): Likewise.
28274 (check_long): Likewise.
28275 (check_bool): Likewise.
28276 (check_longlong): Likewise.
28277 (main): Don't print noXFails and noXPasses.
28278 * math/gen-libm-test.pl (top level): Don't mention expected
28279 failure handling in comment.
28280 (new_test): Don't handle expected failures.
28281 (parse_args): Don't mention expected failure handling in comment.
28282 (generate_testfile): Don't handle expected failures.
28283 (parse_ulps): Likewise.
28284 (print_ulps_file): Likewise.
28285 (get_failure): Remove function.
28286 (output_test): Don't handle expected failures.
28287 * make/README.libm-test: Don't mention expected failure handling.
28289 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28290 (minus_zero): Likewise.
28291 (plus_infty): Likewise.
28292 (minus_infty): Likewise.
28293 (qnan_value): Likewise.
28294 (max_value): Likewise.
28295 (min_value): Likewise.
28296 (min_subnorm_value): Likewise.
28297 (initialize): Do not initialize those variables dynamically.
28299 2013-05-03 Roland McGrath <roland@hack.frob.com>
28301 * io/open.c (__open_2): Moved to ...
28302 * io/open_2.c: ... this new file.
28303 * io/open64.c (__open64_2): Moved to ...
28304 * io/open64_2.c: ... this new file.
28305 * io/openat.c (__openat_2): Moved to ...
28306 * io/openat_2.c: ... this new file.
28307 * io/openat64.c (__openat64_2): Moved to ...
28308 * io/openat64_2.c: ... this new file.
28309 * io/Makefile (routines): Add them.
28310 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28311 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28312 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28313 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28314 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28315 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28316 (__openat64): Add hidden_ver.
28317 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28318 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28320 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28321 Separately conditionalize setting of GLRO(dl_sysinfo) so
28322 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28323 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28325 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28327 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28328 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28330 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28331 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28332 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28333 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28334 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28336 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28338 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28339 test signgam value.
28341 * math/libm-test.inc (hypot_test): Do not use
28342 IGNORE_ZERO_INF_SIGN.
28344 2013-05-03 Andreas Jaeger <aj@suse.de>
28346 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28348 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28349 (PF_MAX): Adjust for VSOCK change.
28351 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28355 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28358 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28359 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28360 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28362 2013-05-02 David S. Miller <davem@davemloft.net>
28364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28366 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28368 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28370 2013-05-01 Roland McGrath <roland@hack.frob.com>
28372 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28374 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28377 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28378 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28379 Use __attribute__ ((__gnu_inline__)).
28380 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28381 Don't use __attribute__ ((__gnu_inline__)).
28383 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28386 * math/s_catan.c (__catan): Handle small real or imaginary part of
28387 input specially to avoid spurious underflow.
28388 * math/s_catanf.c (__catanf): Likewise.
28389 * math/s_catanh.c (__catanh): Likewise.
28390 * math/s_catanhf.c (__catanhf): Likewise.
28391 * math/s_catanhl.c (__catanhl): Likewise.
28392 * math/s_catanl.c (__catanl): Likewise.
28393 * math/libm-test.inc (catan_test): Add more tests.
28394 (catanh_test): Likewise.
28395 * sysdeps/i386/fpu/libm-test-ulps: Update.
28396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28398 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28402 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28405 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28406 accurately for denominator in atan2.
28407 * math/s_catanf.c (__catanf): Likewise.
28408 * math/s_catanh.c (__catanh): Likewise.
28409 * math/s_catanhf.c (__catanhf): Likewise.
28410 * math/s_catanhl.c (__catanhl): Likewise.
28411 * math/s_catanl.c (__catanl): Likewise.
28412 * math/libm-test.inc (catan_test): Add more tests.
28413 (catanh_test): Likewise.
28414 * sysdeps/i386/fpu/libm-test-ulps: Update.
28415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28417 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28419 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28421 * benchtests/Makefile (bench): Remove slow benchmarks.
28422 * benchtests/atan-inputs: Add slow benchmark inputs.
28423 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28424 (BENCH_FUNC): Accept variant offset.
28426 * benchtests/bench-skeleton.c (main): Run benchmark for each
28428 * benchtests/cos-inputs: Add slow benchmark inputs.
28429 * benchtests/exp-inputs: Likewise.
28430 * benchtests/pow-inputs: Likewise.
28431 * benchtests/sin-inputs: Likewise.
28432 * benchtests/slowatan-inputs: Remove.
28433 * benchtests/slowatan.c: Remove.
28434 * benchtests/slowcos-inputs: Remove.
28435 * benchtests/slowcos.c: Remove.
28436 * benchtests/slowexp-inputs: Remove.
28437 * benchtests/slowexp.c: Remove.
28438 * benchtests/slowpow-inputs: Remove.
28439 * benchtests/slowpow.c: Remove.
28440 * benchtests/slowsin-inputs: Remove.
28441 * benchtests/slowsin.c: Remove.
28442 * benchtests/slowtan-inputs: Remove.
28443 * benchtests/slowtan.c: Remove.
28444 * benchtests/tan-inputs: Add slow benchmark inputs.
28445 * scripts/bench.pl: Parse comments and directives.
28447 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28449 ($(objpfx)bench-%.c): Remove *-ITER.
28450 * benchtests/bench-modf.c: Remove definition of ITER.
28451 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28452 (main): Loop for DURATION seconds instead of fixed number of
28454 * scripts/bench.pl: Don't expect iterations in parameters.
28456 2013-04-29 Roland McGrath <roland@hack.frob.com>
28458 * io/fchdir.c (__fchdir): Renamed from fchdir.
28459 (fchdir): Define as weak alias.
28461 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28463 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28464 (ERRNO_EDOM): Likewise.
28465 (ERRNO_ERANGE): Likewise.
28466 (noErrnoTests): New variable.
28467 (init_max_error): Set errno to 0.
28468 (test_single_errno): New function.
28469 (test_errno): Likewise.
28470 (check_float_internal): Call test_errno. Set errno to 0.
28471 (check_complex): Refer to errno tests in comment.
28472 (check_int): Call test_errno. Set errno to 0.
28473 (check_long): Likewise.
28474 (check_bool): Likewise.
28475 (check_longlong): Likewise.
28476 (cos_test): Use ERRNO_* flags for errno tests instead of
28478 (expm1_test): Likewise.
28479 (fmod_test): Likewise.
28480 (ilogb_test): Likewise.
28481 (lgamma_test): Likewise.
28482 (pow_test): Likewise.
28483 (remainder_test): Likewise.
28484 (sin_test): Likewise.
28485 (tan_test): Likewise.
28486 (yn_test): Likewise.
28487 (initialize): Set errno to 0.
28488 (main): Print number of errno tests.
28489 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28491 2013-04-29 Andreas Jaeger <aj@suse.de>
28494 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28498 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28499 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28503 * stdlib/random.c (__initstate): Return NULL if
28507 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28508 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28511 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28515 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28517 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28518 of individual tests.
28519 (casin_test): Likewise.
28520 (casinh_test): Likewise.
28522 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28525 * math/s_catan.c (__catan): Handle arguments with large real or
28526 imaginary part separately without squaring.
28527 * math/s_catanf.c (__catanf): Likewise.
28528 * math/s_catanh.c (__catanh): Likewise.
28529 * math/s_catanhf.c (__catanhf): Likewise.
28530 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28532 (__catanhl): Handle arguments with large real or imaginary part
28533 separately without squaring.
28534 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28536 (__catanl): Handle arguments with large real or imaginary part
28537 separately without squaring.
28538 * math/libm-test.inc (catan_test): Add more tests.
28539 (catanh_test): Likewise.
28540 * sysdeps/i386/fpu/libm-test-ulps: Update.
28541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28543 2013-04-27 Andreas Jaeger <aj@suse.de>
28546 * stdlib/stdlib.h: Update guards for qecvt.
28547 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28550 2013-04-27 Allan McRae <allan@archlinux.org>
28552 * sysdeps/i386/fpu/libm-test-ulps: Update.
28554 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28557 * math/s_catan.c: Include <float.h>.
28558 (__catan): Ensure underflow exception occurs for underflowed
28560 * math/s_catanf.c: Include <float.h>.
28561 (__catanf): Ensure underflow exception occurs for underflowed
28563 * math/s_catanh.c: Include <float.h>.
28564 (__catanh): Ensure underflow exception occurs for underflowed
28566 * math/s_catanhf.c: Include <float.h>.
28567 (__catanhf): Ensure underflow exception occurs for underflowed
28569 * math/s_catanhl.c: Include <float.h>.
28570 (__catanhl): Ensure underflow exception occurs for underflowed
28572 * math/s_catanl.c: Include <float.h>.
28573 (__catanl): Ensure underflow exception occurs for underflowed
28575 * math/libm-test.inc (catan_test): Add more tests.
28576 (catanh_test): Likewise.
28579 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28580 underflowed result.
28581 * math/s_ccoshf.c (__ccoshf): Likewise.
28582 * math/s_ccoshl.c (__ccoshl): Likewise.
28583 * math/s_csin.c (__csin): Likewise.
28584 * math/s_csinf.c (__csinf): Likewise.
28585 * math/s_csinh.c (__csinh): Likewise.
28586 * math/s_csinhf.c (__csinhf): Likewise.
28587 * math/s_csinhl.c (__csinhl): Likewise.
28588 * math/s_csinl.c (__csinl): Likewise.
28589 * math/libm-test.inc (ccos_test): Add more tests.
28590 (ccosh_test): Likewise.
28591 (csin_test): Likewise.
28592 (csinh_test): Likewise.
28594 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28596 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28597 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28598 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28599 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28600 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28601 powerpc/power5+/fpu folders.
28602 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28605 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28609 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28611 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28612 additions to variable.
28613 [$(config-machine) = x86_64] (modules-names): Likewise.
28614 ($(objpfx)tst-audit3): Remove dependency.
28615 ($(objpfx)tst-audit3.out): Likewise.
28616 ($(objpfx)tst-audit4): Likewise.
28617 ($(objpfx)tst-audit4.out): Likewise.
28618 ($(objpfx)tst-audit5): Likewise.
28619 ($(objpfx)tst-audit5.out): Likewise.
28620 ($(objpfx)tst-audit6): Likewise.
28621 ($(objpfx)tst-audit6.out): Likewise.
28622 ($(objpfx)tst-audit7): Likewise.
28623 ($(objpfx)tst-audit7.out): Likewise.
28624 (tst-audit3-ENV): Remove variable.
28625 (tst-audit4-ENV): Likewise.
28626 (tst-audit5-ENV): Likewise.
28627 (tst-audit6-ENV): Likewise.
28628 (tst-audit7-ENV): Likewise.
28629 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28630 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28631 addition to variable.
28632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28637 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28638 tst-audit3, tst-audit4 and tst-audit5.
28639 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28640 tst-audit6 and tst-audit7.
28641 [$(subdir) = elf] (modules-names): Add audit modules for those
28643 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28644 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28645 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28646 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28647 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28648 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28649 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28650 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28651 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28652 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28653 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28654 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28655 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28656 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28657 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28658 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28660 [$(subdir) = elf && $(config-cflags-avx) = yes]
28661 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28662 [$(subdir) = elf && $(config-cflags-avx) = yes]
28663 (CFLAGS-tst-auditmod4a.c): Likewise.
28664 [$(subdir) = elf && $(config-cflags-avx) = yes]
28665 (CFLAGS-tst-auditmod4b.c): Likewise.
28666 [$(subdir) = elf && $(config-cflags-avx) = yes]
28667 (CFLAGS-tst-auditmod6b.c): Likewise.
28668 [$(subdir) = elf && $(config-cflags-avx) = yes]
28669 (CFLAGS-tst-auditmod6c.c): Likewise.
28670 [$(subdir) = elf && $(config-cflags-avx) = yes]
28671 (CFLAGS-tst-auditmod7b.c): Likewise.
28672 * elf/tst-audit3.c: Move to ...
28673 * sysdeps/x86_64/tst-audit3.c: ... here.
28674 * elf/tst-audit4.c: Move to ...
28675 * sysdeps/x86_64/tst-audit4.c: ... here.
28676 * elf/tst-audit5.c: Move to ...
28677 * sysdeps/x86_64/tst-audit5.c: ... here.
28678 * elf/tst-audit6.c: Move to ...
28679 * sysdeps/x86_64/tst-audit6.c: ... here.
28680 * elf/tst-audit7.c: Move to ...
28681 * sysdeps/x86_64/tst-audit7.c: ... here.
28682 * elf/tst-auditmod3a.c: Move to ...
28683 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28684 * elf/tst-auditmod3b.c: Move to ...
28685 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28686 * elf/tst-auditmod4a.c: Move to ...
28687 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28688 * elf/tst-auditmod4b.c: Move to ...
28689 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28690 * elf/tst-auditmod5a.c: Move to ...
28691 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28692 * elf/tst-auditmod5b.c: Move to ...
28693 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28694 * elf/tst-auditmod6a.c: Move to ...
28695 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28696 * elf/tst-auditmod6b.c: Move to ...
28697 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28698 * elf/tst-auditmod6c.c: Move to ...
28699 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28700 * elf/tst-auditmod7a.c: Move to ...
28701 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28702 * elf/tst-auditmod7b.c: Move to ...
28703 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28705 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28708 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28709 define unconditionally.
28710 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28711 define unconditionally.
28712 (INT8_C, INT16_C, etc.): Likewise.
28714 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28716 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28717 __ehdr_start with hidden visibility.
28719 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28721 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28723 * math/libm-test.inc (cos_test): Use accurate hex constants.
28724 (sincost_test): Likewise.
28726 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28728 * math/libm-test.inc (catan_test): Add more tests.
28729 (catanh_test): Likewise.
28731 * math/s_catanf.c (__catanf): Use suffixed floating-point
28733 * math/s_catanhf.c (__catanhf): Likewise.
28734 * math/s_catanhl.c (__catanhl): Likewise.
28735 * math/s_catanl.c (__catanl): Likewise.
28738 * math/s_catan.c (__catan): Calculate imaginary part of result
28739 with log1p not log unless computing log of number close to 0.
28740 * math/s_catanf.c (__catanf): Likewise.
28741 * math/s_catanl.c (__catanl): Likewise.
28742 * math/s_catanh.c (__catanh): Calculate real part of result with
28743 log1p not log unless computing log of number close to 0.
28744 * math/s_catanhf.c (__catanhf): Likewise.
28745 * math/s_catanhl.c (__catanhl): Likewise.
28746 * math/libm-test.inc (catan_test): Add more tests.
28747 (catanh_test): Likewise.
28748 * sysdeps/i386/fpu/libm-test-ulps: Update.
28749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28751 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28753 * benchtests/Makefile: Mention files in which fast and slow
28754 paths of math functions are implemented.
28756 2013-04-23 Roland McGrath <roland@hack.frob.com>
28758 * sysdeps/posix/timespec_get.c: New file.
28760 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28762 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28764 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28766 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28767 powerpc/power5/fpu folders.
28768 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28769 * benchtests/Makefile: Add modf testcase.
28770 * benchtests/bench-modf.c: New file: Benchmark test for mo
28772 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28775 * time/Makefile (tests): Add tst-strptime-whitespace.
28776 * time/strptime_l.c (get_number): Use ISSPACE.
28777 (__strptime_internal): Likewise.
28778 * time/tst-strptime-whitespace.c: New test case.
28780 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28782 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28784 (_nss_files_init): Set it here.
28786 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28788 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28789 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28792 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28794 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28796 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28801 2013-04-21 David S. Miller <davem@davemloft.net>
28803 * po/ru.po: Update Russion translation from translation project.
28805 2013-04-17 Adam Conrad <adconrad@0c3.net>
28807 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28810 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28812 * configure.in: Remove i386 configure warning. Remove i386 case.
28813 * configure: Regenerate.
28814 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28815 Add example to error message.
28816 * sysdeps/i386/configure: Regenerate.
28818 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28820 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28822 * benchtests/cos-inputs: New file.
28823 * benchtests/slowcos-inputs: New file.
28824 * benchtests/slowcos.c: New file.
28825 * benchtests/slowtan-inputs: New file.
28826 * benchtests/slowtan.c: New file.
28827 * benchtests/tan-inputs: New file.
28829 2013-04-16 Roland McGrath <roland@hack.frob.com>
28831 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28834 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28836 * benchtests/Makefile: Include cppflags-iterator.mk to add
28837 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28839 * Makefile.in (bench-clean): New target.
28840 * benchtests/Makefile (bench-clean): Likewise.
28842 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28844 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28846 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28848 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28850 2013-04-15 Andreas Schwab <schwab@suse.de>
28852 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28853 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28854 * nscd/pwdcache.c (cache_addpw): Likewise.
28855 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28858 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28860 * benchtests/Makefile (bench): Write all output to
28861 bench-out.tmp together.
28863 2013-04-15 Andreas Schwab <schwab@suse.de>
28865 * nscd/nscd.c (main): Don't fork again after closing files.
28867 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28869 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28871 * benchtests/Rules (bench-deps): Collect dependencies into a
28872 single variable. Add Makefile to dependencies.
28873 ($(objpfx)bench-%.c): Depend on bench-deps.
28875 2013-04-12 Roland McGrath <roland@hack.frob.com>
28876 Xavier Roche <roche+kml2@exalead.com>
28879 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28880 just that it's a file descriptor.
28881 * manual/llio.texi (Synchronizing AIO Operations): Update description
28882 for EBADF error from aio_fsync.
28884 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28886 * Rules (bench): Move target definition...
28887 * benchtests/Makefile: ... here.
28889 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28891 * math/libm-test.inc (cos_test): Fix PI/2 test.
28892 (sincos_test): Likewise.
28893 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28894 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28896 2013-04-11 Andreas Schwab <schwab@suse.de>
28899 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28900 accept exponent character only when digits were seen.
28901 * stdio-common/Makefile (tests): Add bug26.
28902 * stdio-common/bug26.c: New file.
28905 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28908 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28910 * Makeconfig (rtld-prefix): Define built linker prefix.
28911 * Rules (run-bench): Use it.
28912 * math/Makefile (run-regen-ulps): Likewise.
28914 * Rules (bench): Remove eval.
28916 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28917 Roland McGrath <roland@hack.frob.com>
28918 Ondrej Bilka <neleai@seznam.cz>
28921 * time/getdate.c: Include ctype.h and alloca.h.
28922 (__getdate_r): Trim leading and trailing spaces of input.
28923 * time/tst-getdate.c (tests): Add tests with leading and
28926 2013-04-08 Roland McGrath <roland@hack.frob.com>
28929 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28930 when computing value.
28932 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28934 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28935 Use testrun.sh to run libm tests.
28938 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28940 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28943 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28945 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28947 * Makefile.in (regen-ulps): New target.
28948 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28949 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28950 [ifneq (no,$(PERL)] (regen-ulps): New target.
28951 [ifeq (no,$(PERL)] (regen-ulps): New target.
28952 * math/libm-test.inc (ulps_file_name): Define.
28953 (output_dir): New variable.
28954 (options): Add "output-dir" option.
28955 (parse_opt): Handle 'o' case.
28956 (main): If output_dir is non-NULL use it as a prefix
28958 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28960 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28962 [BZ #10060, #10062]
28963 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28964 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28965 fail configure if __sync_val_compare_and_swap is not inlined.
28966 * sysdeps/i386/configure: Regenerate.
28967 * configure.in: Build for i686 when configured for i386.
28968 * configure: Regenerate.
28969 * README: Remove i386 reference.
28971 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28973 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28974 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28976 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28978 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28979 (lmsnanval): New variables.
28980 (F): Add conversion tests.
28981 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28982 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28984 * stdio-common/tstdiomisc.c (F): Properly collect individual
28987 [BZ #14686, #15336]
28988 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28989 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28990 Instead, use input NaN values or generate a qNaN by arithmetic
28991 operation. Also fix bugs to comply with the standard.
28992 * math/libm-test.inc (remainder_test): Add more tests.
28994 [BZ #15335, #15342]
28995 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28997 input NaN values or generate a qNaN by arithmetic operation.
28999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29002 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29005 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29008 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29009 underflowed result.
29010 * math/s_cexpf.c (__cexpf): Likewise.
29011 * math/s_cexpl.c (__cexpl): Likewise.
29012 * math/libm-test.inc (cexp_test): Add more tests.
29014 2013-04-03 Andreas Schwab <schwab@suse.de>
29017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29018 order arrays from heap if bigger than alloca cutoff.
29020 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29022 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29023 (SNAN_TESTS_double): Refer to GCC PR56831.
29024 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29027 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29029 * Rules (bench): Move bench.out after the run is complete.
29031 * Rules (bench): Echo currently running benchmark.
29033 * benchtests/Makefile (bench): Add atan and slowatan.
29034 * benchtests/atan-inputs: New file.
29035 * benchtests/slowatan-inputs: New file.
29036 * benchtests/slowatan.c: New file.
29038 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29043 * sysdeps/unix/sysv/linux/kernel-features.h
29044 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29045 __ASSUME_XFS_RESTRICTED_CHOWN.
29046 * sysdeps/unix/sysv/linux/pathconf.c
29047 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29048 Save and restore errno.
29050 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29053 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29054 arguments using __kernel_casinh.
29055 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29056 arguments using __kernel_casinhf.
29057 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29058 arguments using __kernel_casinhl.
29059 * math/libm-test.inc (cacosh_test): Add more tests.
29060 * sysdeps/i386/fpu/libm-test-ulps: Update.
29061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29063 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29065 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29068 * bench/Makefile (bench): Add sin and slowsin.
29069 * benchtests/sin-inputs: New file.
29070 * benchtests/slowsin-inputs: New file.
29071 * benchtests/slowsin.c: New file.
29073 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29074 (bench): Add slowexp and slowpow.
29075 (exp-ITER): Increase iterations.
29076 (pow-ITER): Likewise.
29077 * benchtests/exp-inputs: Change input.
29078 * benchtests/pow-inputs: Likewise.
29079 * benchtests/slowexp-inputs: New file.
29080 * benchtests/slowexp.c: New file.
29081 * benchtests/slowpow-inputs: New file.
29082 * benchtests/slowpow.c: New file.
29084 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29086 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29088 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29089 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29090 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29091 * benchtests/Makefile: Add rint benchtest.
29092 * benchtests/rint-inputs: Input for rint benchtest.
29094 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29096 * Versions.def (libm): Add GLIBC_2.18.
29097 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29098 hidden libm prototypes.
29099 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29100 * math/Makefile (libm-calls): Add s_issignaling.
29101 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29102 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29103 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29105 * math/math.h [__USE_GNU] (issignaling): New macro.
29106 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29107 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29109 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29112 * manual/arith.texi (issignaling): New section.
29113 * manual/libm-err-tab.pl (@all_functions): Update comment.
29114 * math/gen-libm-test.pl (parse_args): Apply special handling for
29116 * math/libm-test.inc (print_float, issignaling_test): New
29118 (check_float_internal): Add issignaling checks.
29119 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29120 default definition.
29121 * sysdeps/powerpc/math-tests.h: New file.
29122 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29124 * math/test-snan.c (TEST_FUNC): Likewise.
29126 2013-03-30 David S. Miller <davem@davemloft.net>
29128 * po/de.po: Update from translation team.
29130 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29133 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29134 imaginary part less than 1.0 and real part less than 0.5
29136 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29137 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29138 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29139 (cacos_test): Add more tests.
29140 (casin_test): Likewise.
29141 (casinh_test): Likewise.
29142 * sysdeps/i386/fpu/libm-test-ulps: Update.
29143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29145 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29147 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29148 ONE with its value.
29150 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29151 (__pow_mp): Replace ONE and MONE with their values.
29152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29153 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29154 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29155 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29156 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29157 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29159 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29161 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29162 (__pow_mp): Replace ZERO and MZERO with their values.
29163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29164 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29165 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29167 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29168 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29171 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29173 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29175 2013-03-28 Roland McGrath <roland@hack.frob.com>
29177 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29178 Declare with __attribute__ ((weak)).
29179 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29180 Call __call_tls_dtors only if it's not NULL.
29182 2013-03-28 Roland McGrath <roland@hack.frob.com>
29184 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29185 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29186 magic __ehdr_start linker symbol if it's defined.
29187 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29188 them up here if it was already done.
29190 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29191 (_dl_aux_init): Use const in cast when setting it.
29192 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29193 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29194 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29196 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29198 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29199 * csu/libc-tls.c: Nor here.
29200 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29202 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29203 (__libc_message): Never call vsyslog.
29205 2013-03-28 Alan Modra <amodra@gmail.com>
29207 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29209 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29212 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29215 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29219 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29222 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29223 Don't add gid passed as argument.
29225 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29227 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29230 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29231 imaginary part between 1.0 and 1.5 and real part less than 0.5
29233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29235 * math/libm-test.inc (cacos_test): Add more tests.
29236 (casin_test): Likewise.
29237 (casinh_test): Likewise.
29238 * sysdeps/i386/fpu/libm-test-ulps: Update.
29239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29241 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29243 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29246 (denorm): Likewise.
29247 (__dbl_mp): Likewise.
29248 (add_magnitudes): Likewise.
29249 (sub_magnitudes): Likewise.
29257 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29259 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29260 (__dubcos): Likewise.
29261 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29262 (__ieee754_acos): Likewise.
29263 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29265 (__exp1): Likewise.
29266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29269 (my_log2): Likewise.
29270 (checkint): Likewise.
29271 * sysdeps/ieee754/dbl-64/e_remainder.c
29272 (__ieee754_remainder): Likewise.
29273 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29275 (bsloww): Likewise.
29276 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29278 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29279 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29280 MANTISSA_STORE_T to store computations on mantissa. Use
29281 macros for rounding and division.
29282 (denorm): Likewise.
29283 (__dbl_mp): Likewise.
29284 (add_magnitudes): Likewise.
29285 (sub_magnitudes): Likewise.
29288 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29289 powers of two in terms of TWOPOW macro.
29290 (mp_no): Make type of mantissa as MANTISSA_T.
29291 [!RADIXI]: Define RADIXI.
29292 [!TWO52]: Define TWO52.
29293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29295 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29297 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29298 llroundl symbol when building for PPC32.
29300 2013-03-24 Mark H Weaver <mhw@netris.org>
29302 * manual/arith.texi (Normalization Functions): Fix prototypes for
29303 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29305 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29309 high value to check if expl overflow.
29310 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29311 to check for underflow and overflow.
29312 * math/libm-test.inc: Add exp test.
29314 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29317 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29320 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29322 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29325 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29327 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29328 wrap blocks consisting of several statements.
29330 * sysdeps/generic/math-tests.h: New file.
29331 * sysdeps/i386/fpu/math-tests.h: Likewise.
29332 * math/test-snan.c: Include it.
29333 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29335 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29338 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29339 (__ieee754_j0l): Do not improve calculations using cos of twice
29340 input for inputs above LDBL_MAX / 2.0L.
29341 (__ieee754_y0l): Likewise.
29342 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29343 (__ieee754_j1l): Do not improve calculations using cos of twice
29344 input for inputs above LDBL_MAX / 2.0L.
29345 (__ieee754_y1l): Likewise.
29346 * math/libm-test.inc (j0_test): Add another test.
29347 (j1_test): Likewise.
29348 (y0_test): Likewise.
29349 (y1_test): Likewise.
29350 * sysdeps/i386/fpu/libm-test-ulps: Update.
29352 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29354 * Rules ($(objpfx)bench-%.c): Include code from a C source
29357 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29360 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29361 imaginary part 1.0 and real part less than 0.5 specially.
29362 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29363 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29364 * math/libm-test.inc (cacos_test): Add more tests.
29365 (casin_test): Likewise.
29366 (casinh_test): Likewise.
29367 * sysdeps/i386/fpu/libm-test-ulps: Update.
29368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29370 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29373 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29375 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29377 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29378 * config.make.in (config-cflags-sse4): Remove variable.
29379 (config-cflags-avx): Likewise.
29380 (config-cflags-sse2avx): Likewise.
29381 (config-cflags-novzeroupper): Likewise.
29382 (config-asflags-i686): Likewise.
29383 (have-mfma4): Likewise.
29384 (have-as-vis3): Likewise.
29386 * configure.in (MIG): Do not AC_SUBST.
29387 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29388 (libc_cv_cc_sse4): Do not AC_SUBST.
29389 (libc_cv_cc_avx): Likewise.
29390 (libc_cv_cc_sse2avx): Likewise.
29391 (libc_cv_cc_novzeroupper): Likewise.
29392 (libc_cv_cc_fma4): Likewise.
29393 (libc_cv_as_i686): Likewise.
29394 (libc_cv_sparc_as_vis3): Likewise.
29395 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29397 (config-asflags-i686): Likewise.
29398 (config-cflags-avx): Likewise.
29399 (config-cflags-sse2avx): Likewise.
29400 (have-mfma4): Likewise.
29401 (config-cflags-novzeroupper): Likewise.
29402 * sysdeps/mach/configure.in (MIG): Likewise.
29403 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29404 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29406 (config-cflags-avx): Likewise.
29407 (config-cflags-sse2avx): Likewise.
29408 (have-mfma4): Likewise.
29409 (config-cflags-novzeroupper): Likewise.
29410 * configure: Regenerated.
29411 * sysdeps/i386/configure: Likewise.
29412 * sysdeps/mach/configure: Likewise.
29413 * sysdeps/sparc/configure: Likewise.
29414 * sysdeps/x86_64/configure: Likewise.
29416 2013-03-20 Roland McGrath <roland@hack.frob.com>
29419 * locale/programs/localedef.c (options): Put N_ translation marker
29420 on argument names, not just descriptions.
29422 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29424 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29426 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29429 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29431 2013-03-19 Roland McGrath <roland@hack.frob.com>
29433 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29434 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29435 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29436 [!BEFORE_ABORT] (before_abort): New function.
29437 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29438 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29439 (writev_for_fatal): New function.
29440 (WRITEV_FOR_FATAL): New macro; call that.
29441 (backtrace_and_maps): New function.
29442 (BEFORE_ABORT): New macro; call that.
29443 (struct str_list): Type removed.
29444 (__libc_message, __libc_fatal): Functions removed.
29445 Include <sysdeps/posix/libc_fatal.c> instead.
29447 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29449 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29451 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29454 2013-03-19 Andreas Schwab <schwab@suse.de>
29456 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29457 * sysdeps/gnu/configure: Regenerate.
29459 * configure.in: Substitute libc_cv_rtlddir.
29460 * configure: Regenerate.
29461 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29462 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29463 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29464 * elf/Makefile (install-others, CFLAGS-interp.c)
29465 (ldso_install, common-ldd-rewrite): Likewise.
29466 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29467 $(inst_slibdir)/$(rtld-installed-name).
29468 * scripts/rellns-sh: Add -p option.
29469 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29472 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29474 * manual/nptl.texi: Renamed to ...
29475 * manual/threads.texi: ... this.
29476 * manual/Makefile (chapters): Update.
29478 2013-03-18 Roland McGrath <roland@hack.frob.com>
29481 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29482 on argument names, not just descriptions.
29483 * malloc/memusagestat.c (options): Likewise.
29484 * nss/getent.c (options): Likewise.
29486 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29489 * iconv/iconv_prog.c (options): Put N_ translation marker
29490 on argument names, not just descriptions.
29491 * iconv/iconvconfig.c (options): Likewise.
29493 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29495 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29496 implementation which is faster on all x86_64 architectures.
29497 Tested on AMD, Intel Nehalem, SNB, IVB.
29498 * sysdeps/x86_64/strnlen.S: Likewise.
29500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29501 Remove all multiarch strlen and strnlen versions.
29502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29503 Remove strlen and strnlen related parts.
29505 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29506 Inline strlen part.
29507 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29509 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29510 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29512 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29513 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29514 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29516 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29518 * manual/memory.texi (Malloc Tunable Parameters):
29519 Sort parameters alphabetically. Add comments for missing entries.
29521 2013-03-17 David S. Miller <davem@davemloft.net>
29523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29525 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29528 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29529 for arguments at most half maximum finite value.
29530 * math/libm-test.inc (j0_test): Add more tests.
29531 (j1_test): Likewise.
29532 (y0_test): Likewise.
29533 (y1_test): Likewise.
29534 * sysdeps/i386/fpu/libm-test-ulps: Update.
29535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29538 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29539 1 / x and functions P and Q for arguments above 0x1p256L.
29540 (__ieee754_y0l): Likewise.
29541 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29542 (__ieee754_y1l): Likewise.
29543 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29544 (j1_test): Likewise.
29545 (y0_test): Likewise.
29546 (y1_test): Likewise.
29548 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29550 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29553 2013-03-15 Roland McGrath <roland@hack.frob.com>
29555 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29556 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29557 zero since it's initialized to EXEC_PAGESIZE.
29559 * sysdeps/unix/sysv/linux/ldsodefs.h
29560 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29561 * sysdeps/generic/ldsodefs.h: ... here.
29563 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29565 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29567 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29569 * math/test-snan.c: Renamed from
29570 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29571 * math/Makefile (tests): Add test-snan.
29572 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29575 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29576 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29578 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29579 __builtin_nan family of functions.
29580 * math/libm-test.inc (initialize): Initialize qnan_value with
29581 __builtin_nan family of functions.
29582 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29584 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29586 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29587 storage class. Initialize qNaN_var and sNaN_var with
29588 __builtin_nan and __builtin_nans families of functions,
29591 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29592 (sqrt_test): Remove duplicate test with qNaN input.
29593 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29594 (round_test, signbit_test, significand_test): Note missing +/-Inf
29595 as well as qNaN tests.
29597 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29598 qNaN_var. Fix a few strings, too.
29599 * math/libm-test.inc (nan_value): Rename to qnan_value.
29600 * math/gen-libm-test.pl (%beautify): Adjust to that.
29601 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29602 * math/test-misc.c (main): Likewise.
29603 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29604 to __qnan_bytes, and __qnan_union, respectively.
29605 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29607 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29608 and lqnanval, respectively.
29609 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29610 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29611 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29612 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29614 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29615 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29618 * math/test-misc.c (main): Fix copy'n'pastos.
29619 * misc/tst-efgcvt.c (special): Likewise.
29621 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29622 Remove declarations.
29624 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29626 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29627 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29628 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29629 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29631 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29633 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29634 macro to return vdso values correctly in IFUNC implementations.
29635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29636 Optimization by using IFUNC.
29638 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29639 Richard Henderson <rth@redhat.com>
29640 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29642 * Makefile.in (bench): New target.
29643 * NEWS: Mention the benchmark framework.
29644 * Rules (bench): Likewise.
29645 (binaries-bench): Generate binaries for functions to
29647 * benchtests/Makefile: New makefile for benchmark tests.
29648 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29650 * benchtests/exp-inputs: New input file for EXP function.
29651 * benchtests/pow-inputs: New input file for POW function.
29652 * scripts/bench.pl: New script to generate source files for
29653 benchmark programs.
29655 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29657 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29658 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29659 computations on mantissa. Use macros for rounding and
29661 (denorm): Likewise.
29662 (__dbl_mp): Likewise.
29663 (add_magnitudes): Likewise.
29664 (sub_magnitudes): Likewise.
29667 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29668 powers of two in terms of TWOPOW macro.
29669 (mp_no): Make type of mantissa as MANTISSA_T.
29670 [!RADIXI]: Define RADIXI.
29671 [!TWO52]: Define TWO52.
29672 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29674 * manual/nptl.texi (cindex): Modify threads to pthreads.
29676 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29678 * sysdeps/x86_64/preconfigure: Regenerated.
29680 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29683 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29685 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29686 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29688 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29689 * math/libm-test.inc (j0_test): Do not allow one spurious
29690 underflow exception.
29691 (y1_test): Likewise.
29693 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29695 * manual/Makefile (chapters): Add nptl.
29696 * manual/debug.texi (Debugging Support): Add link to Threads
29698 * manual/nptl.texi: New file.
29700 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29702 2013-03-14 Petr Baudis <pasky@ucw.cz>
29704 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29705 for non-NULL pointer before the memory validity test. Pointed
29706 out by Holger Brunck <holger.brunck@keymile.com>.
29708 2013-03-13 Andreas Schwab <schwab@suse.de>
29710 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29713 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29715 * timezone/zic.c: Update from tzcode 2013b.
29717 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29719 * manual/install.texi (Configuring and compiling):
29720 Mention i686 and i586.
29721 * INSTALL: Regenerate.
29723 2013-03-12 Roland McGrath <roland@hack.frob.com>
29725 * sysdeps/init_array/elf-init.c: New file.
29727 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29728 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29730 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29731 __gmon_start__ as global, but as static with a .preinit_array pointer.
29732 * sysdeps/init_array/gmon-start.c: New file. Use that.
29733 * sysdeps/init_array/crti.S: New file, empty except for comments.
29734 * sysdeps/init_array/crtn.S: Likewise.
29736 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29738 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29741 Remove Prefer_SSE_for_memop.
29742 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29743 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29744 HAS_PREFER_SSE_FOR_MEMOP.
29745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29748 Remove bzero, memset ifunc support.
29749 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29750 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29751 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29752 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29754 2013-03-11 Andreas Schwab <schwab@suse.de>
29757 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29760 (GLIBC_2.16): Remove pthread_atfork.
29762 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29764 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29765 (ptestcases.h): Likewise.
29767 2013-03-08 Roland McGrath <roland@hack.frob.com>
29769 * Makeconfig ($(common-objpfx)config.status): Depend on
29770 sysdeps/*/preconfigure{,.in} too.
29772 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29774 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29775 (__free_hook): Use void * instead of __malloc_ptr_t.
29776 (__malloc_hook): Likewise.
29777 (__realloc_hook): Likewise.
29778 (__memalign_hook): Likewise.
29779 (__after_morecore_hook): Likewise.
29780 * malloc/arena.c (save_malloc_hook): Likewise.
29781 (save_free_hook): Likewise.
29782 * malloc/hooks.c (malloc_hook_ini): Likewise.
29783 (realloc_hook_ini): Likewise.
29784 (memalign_hook_ini): Likewise.
29785 * malloc/malloc.c (malloc_hook_ini): Likewise.
29786 (realloc_hook_ini): Likewise.
29787 (memalign_hook_ini): Likewise.
29788 (__free_hook): Likewise.
29789 (__malloc_hook): Likewise.
29790 (__realloc_hook): Likewise.
29791 (__memalign_hook): Likewise.
29792 (__libc_malloc): Likewise.
29793 (__libc_free): Likewise.
29794 (__libc_realloc): Likewise.
29795 (__libc_memalign): Likewise.
29796 (__libc_valloc): Likewise.
29797 (__libc_pvalloc): Likewise.
29798 (__libc_calloc): Likewise.
29799 (__posix_memalign): Likewise.
29800 * malloc/morecore.c (__sbrk): Likewise.
29801 (__default_morecore): Likewise.
29803 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29805 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29806 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29807 __malloc_ptrdiff_t.
29809 * malloc/malloc.h (__malloc_size_t): Remove macro.
29810 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29812 (old_memalign_hook): Likewise.
29813 (old_realloc_hook): Likewise.
29814 (struct hdr): Likewise.
29816 (mallochook): Likewise.
29817 (memalignhook): Likewise.
29818 (reallochook): Likewise.
29819 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29820 (tr_old_realloc_hook): Likewise.
29821 (tr_old_memalign_hook): Likewise.
29822 (tr_mallochook): Likewise.
29823 (tr_reallochook): Likewise.
29824 (tr_memalignhook): Likewise.
29826 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29829 default_ldbl_pack and using as default implementation.
29830 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29832 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29833 redundant definition.
29834 (ldbl_insert_mantissa): Likewise.
29835 (ldbl_canonicalize): Likewise.
29836 (ldbl_nearbyint): Likewise.
29837 (ldbl_pack): Rename to ldbl_pack_ppc.
29838 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29839 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29840 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29842 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29845 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29847 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29850 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29851 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29853 2013-03-07 Andreas Jaeger <aj@suse.de>
29855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29858 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29860 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29861 Include mpa.h and declare __MPEXP.
29862 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29864 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29867 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29870 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29871 (__slowpow): Use long double EXPL and LOGL functions to
29873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29874 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29875 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29877 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29878 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29881 intermediate variable to calculate exponent.
29883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29887 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29888 [!NO__SQR]: Define __sqr.
29889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29890 and NO__SQR. Remove all code except __mul and __sqr. Include
29891 sysdeps/ieee754/dbl-64/mpa.c.
29892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29895 * posix/Makefile (tests): Add tst-pathconf.
29896 * posix/tst-pathconf.c: New test case.
29897 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29899 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29901 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29903 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29905 2013-03-06 Andreas Jaeger <aj@suse.de>
29907 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29908 definition via __MAP_ANONYMOUS.
29910 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29911 it's not part of Linux headers.
29913 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29914 (MAP_HUGE_MASK): Define.
29916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29922 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29925 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29929 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29930 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29931 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29932 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29933 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29934 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29939 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29940 Handle f2fs and efivarfs.
29942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29945 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29946 (EFIVARFS_MAGIC): Add.
29947 (F2FS_LINK_MAX): Add.
29949 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29951 * stdio-common/vfprintf.c: Replace __builtin_expect with
29954 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29957 * sysdeps/generic/bp-sym.h: Remove file.
29958 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29959 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29960 <bp-sym.h> and <bp-asm.h>.
29961 (__longjmp): Don't use BP_SYM.
29962 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29964 (memcpy): Don't use BP_SYM.
29965 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29966 <bp-sym.h> and <bp-asm.h>.
29967 (memcpy): Don't use BP_SYM.
29968 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29970 (memcpy): Don't use BP_SYM.
29971 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29973 (memset): Don't use BP_SYM.
29974 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29975 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29976 (__bzero): Don't use BP_SYM.
29977 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29978 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29980 <bp-sym.h> and <bp-asm.h>.
29981 (memcmp): Don't use BP_SYM. Remove comment about bounded
29983 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29984 <bp-sym.h> and <bp-asm.h>.
29985 (memcpy): Don't use BP_SYM.
29986 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29987 <bp-sym.h> and <bp-asm.h>.
29988 (memset): Don't use BP_SYM.
29989 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29990 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29991 (__bzero): Don't use BP_SYM.
29992 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29993 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29995 <bp-sym.h> and <bp-asm.h>.
29996 (strncmp): Don't use BP_SYM. Remove comment about bounded
29998 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29999 <bp-sym.h> and <bp-asm.h>.
30000 (memcpy): Don't use BP_SYM.
30001 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30002 <bp-sym.h> and <bp-asm.h>.
30003 (memset): Don't use BP_SYM.
30004 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30005 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30006 (__bzero): Don't use BP_SYM.
30007 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30008 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30010 <bp-sym.h> and <bp-asm.h>.
30011 (__memchr): Don't use BP_SYM.
30012 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30013 <bp-sym.h> and <bp-asm.h>.
30014 (memcmp): Don't use BP_SYM. Remove comment about bounded
30016 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30017 <bp-sym.h> and <bp-asm.h>.
30018 (memcpy): Don't use BP_SYM.
30019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30020 <bp-sym.h> and <bp-asm.h>.
30021 (__mempcpy): Don't use BP_SYM.
30022 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30023 <bp-sym.h> and <bp-asm.h>.
30024 (__memrchr): Don't use BP_SYM.
30025 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30026 <bp-sym.h> and <bp-asm.h>.
30027 (memset): Don't use BP_SYM.
30028 (__bzero): Likewise.
30029 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30030 <bp-sym.h> and <bp-asm.h>.
30031 (__rawmemchr): Don't use BP_SYM.
30032 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30033 <bp-sym.h> and <bp-asm.h>.
30034 (__STRCMP): Don't use BP_SYM.
30035 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30036 <bp-sym.h> and <bp-asm.h>.
30037 (strchr): Don't use BP_SYM.
30038 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30039 <bp-sym.h> and <bp-asm.h>.
30040 (__strchrnul): Don't use BP_SYM.
30041 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30042 <bp-sym.h> and <bp-asm.h>.
30043 (strlen): Don't use BP_SYM.
30044 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30045 <bp-sym.h> and <bp-asm.h>.
30046 (strncmp): Don't use BP_SYM. Remove comment about bounded
30048 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30049 <bp-sym.h> and <bp-asm.h>.
30050 (__strnlen): Don't use BP_SYM.
30051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30052 <bp-sym.h> and <bp-asm.h>.
30053 (__GI__setjmp): Don't use BP_SYM.
30054 (_setjmp): Likewise.
30055 (__sigsetjmp): Likewise.
30056 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30057 (L(start_addresses)): Don't use BP_SYM.
30058 (_start): Likewise.
30059 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30061 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30062 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30063 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30064 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30065 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30067 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30068 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30069 about bounded pointers.
30070 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30071 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30072 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30074 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30075 about bounded pointers. Remove GKM FIXME comments.
30076 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30077 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30079 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30080 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30081 Remove GKM FIXME comments.
30082 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30083 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30084 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30086 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30087 about bounded pointers. Remove GKM FIXME comment.
30088 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30090 (strncmp): Don't use BP_SYM. Remove comment about bounded
30092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30093 <bp-sym.h> and <bp-asm.h>.
30094 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30096 <bp-sym.h> and <bp-asm.h>.
30097 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30100 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30102 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30105 2013-03-05 David S. Miller <davem@davemloft.net>
30107 * po/es.po: Update from translation team.
30109 2013-03-05 Andreas Jaeger <aj@suse.de>
30111 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30112 <bits/mman-linux.h>.
30113 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30115 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30116 <bits/mman-linux.h> to end of file.
30117 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30119 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30120 <bits/mman-linux.h> to end of file.
30121 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30124 <bits/mman-linux.h> to end of file.
30126 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30127 (MCL_CURRENT, MCL_FUTURE): Define here.
30129 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30132 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30134 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30136 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30138 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30139 fourth parameter needed for rt_sigprocmask syscall.
30140 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30141 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30142 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30143 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30144 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30145 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30147 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30150 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30151 comment about bounded pointers.
30152 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30153 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30155 2013-03-04 Andreas Jaeger <aj@suse.de>
30157 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30158 common definitions.
30160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30161 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30162 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30167 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30171 __ieee754_sqrl instead of __sqrl.
30173 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30175 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30176 * sysdeps/powerpc/fpu_control.h: ... here.
30177 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30178 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30179 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30180 * sysdeps/powerpc/bits/mathinline.h: ... here.
30182 2013-03-01 Roland McGrath <roland@hack.frob.com>
30184 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30185 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30186 to just [NEED_DL_SYSINFO_DSO].
30187 * elf/dl-support.c: Likewise.
30188 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30189 * elf/rtld.c (dl_main): Likewise.
30190 * elf/setup-vdso.h (setup_vdso): Likewise.
30191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30192 * sysdeps/unix/sysv/linux/dl-sysdep.c
30193 (_dl_discover_osversion): Likewise.
30195 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30197 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30198 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30200 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30202 * NEWS: Mention libm performance improvements and non-x86 PI
30205 * csu/libc-start.c (__pthread_initialize_minimal): Change
30206 function arguments.
30207 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30209 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30212 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30213 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30214 <bp-sym.h> and <bp-asm.h>.
30215 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30218 (memcpy): Don't use BP_SYM.
30219 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30221 (__mpn_add_n): Don't use BP_SYM.
30222 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30223 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30225 (__mpn_addmul_1): Don't use BP_SYM.
30226 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30227 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30229 (_setjmp): Don't use BP_SYM.
30230 (__novmx_setjmp): Likewise.
30231 (__GI__setjmp): Likewise.
30232 (__vmx_setjmp): Likewise.
30233 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30235 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30236 (__bzero): Don't use BP_SYM.
30237 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30238 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30239 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30240 <bp-sym.h> and <bp-asm.h>.
30241 (memcpy): Don't use BP_SYM.
30242 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30243 <bp-sym.h> and <bp-asm.h>.
30244 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30245 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30246 <bp-sym.h> and <bp-asm.h>.
30247 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30248 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30250 (__mpn_lshift): Don't use BP_SYM.
30251 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30252 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30254 (memset): Don't use BP_SYM.
30255 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30256 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30257 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30259 (__mpn_mul_1): Don't use BP_SYM.
30260 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30261 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30262 <bp-sym.h> and <bp-asm.h>.
30263 (memcmp): Don't use BP_SYM.
30264 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30265 <bp-sym.h> and <bp-asm.h>.
30266 (memcpy): Don't use BP_SYM.
30267 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30268 <bp-sym.h> and <bp-asm.h>.
30269 (memset): Don't use BP_SYM.
30270 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30271 <bp-sym.h> and <bp-asm.h>.
30272 (strncmp): Don't use BP_SYM.
30273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30274 <bp-sym.h> and <bp-asm.h>.
30275 (memcpy): Don't use BP_SYM.
30276 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30277 <bp-sym.h> and <bp-asm.h>.
30278 (memset): Don't use BP_SYM.
30279 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30280 <bp-sym.h> and <bp-asm.h>.
30281 (__memchr): Don't use BP_SYM.
30282 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30283 <bp-sym.h> and <bp-asm.h>.
30284 (memcmp): Don't use BP_SYM.
30285 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30286 <bp-sym.h> and <bp-asm.h>.
30287 (memcpy): Don't use BP_SYM.
30288 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30289 <bp-sym.h> and <bp-asm.h>.
30290 (__mempcpy): Don't use BP_SYM.
30291 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30292 <bp-sym.h> and <bp-asm.h>.
30293 (__memrchr): Don't use BP_SYM.
30294 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30295 <bp-sym.h> and <bp-asm.h>.
30296 (memset): Don't use BP_SYM.
30297 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30298 <bp-sym.h> and <bp-asm.h>.
30299 (__rawmemchr): Don't use BP_SYM.
30300 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30301 <bp-sym.h> and <bp-asm.h>.
30302 (__STRCMP): Don't use BP_SYM.
30303 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30304 <bp-sym.h> and <bp-asm.h>.
30305 (strchr): Don't use BP_SYM.
30306 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30307 <bp-sym.h> and <bp-asm.h>.
30308 (__strchrnul): Don't use BP_SYM.
30309 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30310 <bp-sym.h> and <bp-asm.h>.
30311 (strlen): Don't use BP_SYM.
30312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30313 <bp-sym.h> and <bp-asm.h>.
30314 (strncmp): Don't use BP_SYM.
30315 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30316 <bp-sym.h> and <bp-asm.h>.
30317 (__strnlen): Don't use BP_SYM.
30318 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30320 (__mpn_rshift): Don't use BP_SYM.
30321 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30322 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30323 <bp-sym.h> and <bp-asm.h>.
30324 (__sigsetjmp): Don't use BP_SYM.
30325 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30326 (L(start_addresses)): Don't use BP_SYM.
30327 (_start): Likewise.
30328 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30330 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30331 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30332 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30333 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30335 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30336 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30337 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30338 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30340 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30342 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30343 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30345 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30347 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30348 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30349 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30351 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30353 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30355 (strncmp): Don't use BP_SYM,
30356 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30358 (__mpn_sub_n): Don't use BP_SYM.
30359 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30360 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30362 (__mpn_submul_1): Don't use BP_SYM.
30363 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30365 <bp-sym.h> and <bp-asm.h>.
30366 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30368 <bp-sym.h> and <bp-asm.h>.
30369 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30372 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30375 Use ZK to minimize writes to Z.
30376 (sub_magnitudes): Simplify code a bit.
30377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30378 Use ZK to minimize writes to Z.
30379 (sub_magnitudes): Simplify code a bit.
30381 2013-02-27 Roland McGrath <roland@hack.frob.com>
30383 * csu/gmon-start.c: Add special exception to license text.
30385 2013-02-27 Richard Henderson <rth@redhat.com>
30387 * scripts/config.guess: Update from config.git.
30388 * scripts/config.sub: Likewise.
30390 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30394 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30396 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30398 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30400 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30402 2013-02-26 Roland McGrath <roland@hack.frob.com>
30404 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30405 [$(build-shared = yes].
30407 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30409 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30410 (__mul): Reduce iterations for calculating mantissa.
30412 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30414 (__mpranred): Likewise.
30417 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30418 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30420 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30422 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30423 Define __attribute__.
30425 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30427 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30429 * posix/regex_internal.h (__attribute): Remove.
30430 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30431 (re_string_context_at): Likewise.
30432 (bitset_not): Use __attribute__ and mark function as possibly
30434 (bitset_merge): Likewise.
30435 (bitset_mask): Likewise.
30436 (re_string_char_size_at): Likewise.
30437 (re_string_wchar_at): Likewise.
30438 (re_string_elem_size_at): Likewise.
30440 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30442 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30446 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30450 (denorm): Likewise.
30451 (__dbl_mp): Likewise.
30452 (add_magnitudes): Likewise.
30453 (sub_magnitudes): Likewise.
30457 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30460 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30463 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30467 up changes with default code.
30468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30471 2013-02-24 Allan McRae <allan@archlinux.org>
30473 * manual/socket.texi (The Internet Namespace): Order menu items
30474 to match that in the file.
30476 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30477 node listing of the info page menu.
30479 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30482 * sysdeps/i386/bp-asm.h: Remove file.
30483 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30484 (PARMS): Do not use macros from bp-asm.h.
30488 (__mpn_add_n): Do not use BP_SYM
30489 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30491 (PARMS): Do not use macros from bp-asm.h.
30494 (__mpn_addmul_1): Do not use BP_SYM
30495 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30497 (PARMS): Do not use macros from bp-asm.h.
30498 (SIGMSK): Likewise.
30499 (_setjmp): Likewise. Do not use BP_SYM.
30500 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30502 (PARMS): Do not use macros from bp-asm.h.
30503 (SIGMSK): Likewise.
30504 (setjmp): Likewise. Do not use BP_SYM.
30505 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30507 (PARMS): Do not use macros from bp-asm.h.
30508 (__frexp): Do not use BP_SYM.
30510 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30512 (PARMS): Do not use macros from bp-asm.h.
30513 (__frexpf): Do not use BP_SYM.
30514 (frexpf): Likewise.
30515 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30517 (PARMS): Do not use macros from bp-asm.h.
30518 (__frexpl): Do not use BP_SYM.
30519 (frexpl): Likewise.
30520 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30522 (PARMS): Do not use macros from bp-asm.h.
30523 (__remquo): Do not use BP_SYM.
30524 (remquo): Likewise.
30525 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30527 (PARMS): Do not use macros from bp-asm.h.
30528 (__remquof): Do not use BP_SYM.
30529 (remquof): Likewise.
30530 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30532 (PARMS): Do not use macros from bp-asm.h.
30533 (__remquol): Do not use BP_SYM.
30534 (remquol): Likewise.
30535 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30537 (PARMS): Do not use macros from bp-asm.h.
30540 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30541 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30543 (PARMS): Do not use macros from bp-asm.h.
30544 (strlen): Do not use BP_SYM.
30545 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30547 (PARMS): Do not use macros from bp-asm.h.
30551 (__mpn_add_n): Do not use BP_SYM.
30552 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30554 (PARMS): Do not use macros from bp-asm.h.
30557 (__mpn_addmul_1): Do not use BP_SYM.
30558 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30561 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30563 (PARMS): Do not use macros from bp-asm.h.
30566 (__mpn_lshift): Do not use BP_SYM.
30567 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30569 (PARMS): Do not use macros from bp-asm.h.
30573 (memcpy): Likewise. Do not use BP_SYM.
30574 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30575 libc_hidden_def and weak_alias.
30576 (mempcpy): Do not use BP_SYM in weak_alias.
30577 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30579 (PARMS): Do not use macros from bp-asm.h.
30582 [!BZERO_P] (CHR): Likewise.
30583 (memset): Likewise. Do not use BP_SYM.
30584 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30586 (PARMS): Do not use macros from bp-asm.h.
30589 (__mpn_mul_1): Do not use BP_SYM.
30590 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30592 (PARMS): Do not use macros from bp-asm.h.
30595 (__mpn_rshift): Do not use BP_SYM.
30596 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30598 (PARMS): Do not use macros from bp-asm.h.
30601 (strchr): Likewise. Do not use BP_SYM.
30602 (index): Do not use BP_SYM in weak_alias.
30603 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30605 (PARMS): Do not use macros from bp-asm.h.
30608 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30609 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30611 (PARMS): Do not use macros from bp-asm.h.
30612 (strlen): Do not use BP_SYM.
30613 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30615 (PARMS): Do not use macros from bp-asm.h.
30619 (__mpn_sub_n): Do not use BP_SYM.
30620 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30622 (PARMS): Do not use macros from bp-asm.h.
30625 (__mpn_submul_1): Do not use BP_SYM.
30626 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30628 (PARMS): Do not use macros from bp-asm.h.
30632 (__mpn_add_n): Do not use BP_SYM.
30633 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30636 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30638 (PARMS): Do not use macros from bp-asm.h.
30641 (memcmp): Do not use BP_SYM.
30642 (bcmp): Do not use BP_SYM in weak_alias.
30643 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30645 (PARMS): Do not use macros from bp-asm.h.
30649 (memcpy): Likewise. Do not use BP_SYM.
30650 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30652 (PARMS): Do not use macros from bp-asm.h.
30656 (memmove): Likewise. Do not use BP_SYM.
30657 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30659 (PARMS): Do not use macros from bp-asm.h.
30663 (__mempcpy): Likewise. Do not use BP_SYM.
30664 (mempcpy): Do not use BP_SYM in weak_alias.
30665 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30667 (PARMS): Do not use macros from bp-asm.h.
30670 [!BZERO_P] (CHR): Likewise.
30671 (memset): Likewise. Do not use BP_SYM.
30672 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30674 (PARMS): Do not use macros from bp-asm.h.
30676 (strcmp): Do not use BP_SYM.
30677 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30679 (PARMS): Do not use macros from bp-asm.h.
30682 [USE_AS_STRTOK_R] (SAVE): Likewise.
30683 (FUNCTION): Likewise. Do not use BP_SYM.
30684 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30686 (strtok_r): Likewise.
30687 (__GI___strtok_r): Likewise.
30688 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30689 (PARMS): Do not use macros from bp-asm.h.
30692 (__mpn_lshift): Do not use BP_SYM.
30693 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30694 (PARMS): Do not use macros from bp-asm.h.
30697 (__memchr): Do not use BP_SYM.
30698 (memchr): Do not use BP_SYM in weak_alias.
30699 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30700 (PARMS): Do not use macros from bp-asm.h.
30703 (memcmp): Do not use BP_SYM.
30704 (bcmp): Do not use BP_SYM in weak_alias.
30705 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30706 (PARMS): Do not use macros from bp-asm.h.
30709 (__mpn_mul_1): Do not use BP_SYM.
30710 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30712 (PARMS): Do not use macros from bp-asm.h.
30715 (__rawmemchr): Do not use BP_SYM.
30716 (rawmemchr): Do not use BP_SYM in weak_alias.
30717 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30718 (PARMS): Do not use macros from bp-asm.h.
30721 (__mpn_rshift): Do not use BP_SYM.
30722 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30723 (PARMS): Do not use macros from bp-asm.h.
30724 (SIGMSK): Likewise.
30725 (__sigsetjmp): Likewise. Do not use BP_SYM.
30726 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30727 (_start): Do not use BP_SYM.
30728 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30729 (PARMS): Do not use macros from bp-asm.h.
30732 (__stpcpy): Likewise. Do not use BP_SYM.
30733 (stpcpy): Do not use BP_SYM in weak_alias.
30734 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30736 (PARMS): Do not use macros from bp-asm.h.
30740 (__stpncpy): Likewise. Do not use BP_SYM.
30741 (stpncpy): Do not use BP_SYM in weak_alias.
30742 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30743 (PARMS): Do not use macros from bp-asm.h.
30746 (strchr): Likewise. Do not use BP_SYM.
30747 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30749 (PARMS): Do not use macros from bp-asm.h.
30752 (__strchrnul): Likewise. Do not use BP_SYM.
30753 (strchrnul): Do not use BP_SYM in weak_alias.
30754 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30756 (PARMS): Do not use macros from bp-asm.h.
30758 (strcspn): Do not use BP_SYM.
30759 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30761 (PARMS): Do not use macros from bp-asm.h.
30764 (strpbrk): Likewise. Do not use BP_SYM.
30765 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30767 (PARMS): Do not use macros from bp-asm.h.
30770 (strrchr): Likewise. Do not use BP_SYM.
30771 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30772 (PARMS): Do not use macros from bp-asm.h.
30774 (strspn): Do not use BP_SYM.
30775 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30776 (PARMS): Do not use macros from bp-asm.h.
30780 (FUNCTION): Likewise. Do not use BP_SYM.
30781 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30783 (strtok_r): Likewise.
30784 (__GI___strtok_r): Likewise.
30785 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30786 (PARMS): Do not use macros from bp-asm.h.
30790 (__mpn_sub_n): Do not use BP_SYM.
30791 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30793 (PARMS): Do not use macros from bp-asm.h.
30796 (__mpn_submul_1): Do not use BP_SYM.
30797 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30799 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30801 (PARMS): Do not use macros from bp-asm.h.
30806 (__clone): Do not use BP_SYM.
30807 (clone): Do not use BP_SYM in weak_alias.
30808 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30810 (PARMS): Do not use macros from bp-asm.h.
30812 (__mmap64): Do not use BP_SYM.
30813 (mmap64): Do not use BP_SYM in weak_alias.
30814 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30815 <bp-sym.h> and <bp-asm.h>.
30816 (PARMS): Do not use macros from bp-asm.h.
30817 (__posix_fadvise64_l64): Do not use BP_SYM.
30818 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30819 (PARMS): Do not use macros from bp-asm.h.
30821 (semtimedop): Do not use BP_SYM.
30822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30825 2013-02-21 Allan McRae <allan@archlinux.org>
30827 * manual/message.texi (Charset conversion in gettext):
30828 Move @end statement to beginning of line.
30830 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30837 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30838 (denorm): Likewise.
30839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30842 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30844 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30845 tail-call to the resolved function if pltexit isn't needed.
30847 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30850 or Y being zero as being unlikely.
30851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30854 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30856 * manual/nss.texi (System Databases and Name Service Switch):
30857 Remove frobnicate @pxref.
30859 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30861 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30862 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30864 2013-02-20 Petr Machata <pmachata@redhat.com>
30866 * elf/elf.h (R_ARM_TARGET1): New macro.
30867 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30868 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30869 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30870 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30871 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30872 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30873 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30874 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30875 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30876 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30877 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30878 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30879 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30880 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30881 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30882 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30883 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30884 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30885 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30886 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30887 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30888 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30889 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30890 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30891 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30892 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30893 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30894 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30895 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30896 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30897 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30898 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30899 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30900 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30901 (R_ARM_THM_GOT_BREL12): Likewise.
30902 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30903 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30904 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30905 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30906 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30907 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30908 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30909 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30910 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30912 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30914 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30915 __attribute_used__ to __attribute__ ((unused)).
30917 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30919 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30922 comment formatting.
30923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30925 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30928 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30930 (ENTER): Remove both macro definitions.
30932 (CHECK_BOUNDS_LOW): Likewise.
30933 (CHECK_BOUNDS_HIGH): Likewise.
30934 (CHECK_BOUNDS_BOTH): Likewise.
30935 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30936 (RETURN_BOUNDED_POINTER): Likewise.
30937 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30938 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30939 (POP_ERRNO_LOCATION_RETURN): Likewise.
30940 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30941 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30942 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30944 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30945 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30946 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30947 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30948 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30949 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30950 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30951 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30952 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30953 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30954 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30955 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30956 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30957 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30959 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30960 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30962 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30963 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30964 * sysdeps/i386/i586/memset.S (memset): Likewise.
30965 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30967 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30969 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30970 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30971 Change uses of L(2) to L(out).
30972 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30973 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30974 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30975 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30976 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30978 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30979 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30982 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30983 (RETURN): Do not use macro LEAVE.
30984 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30985 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30986 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30987 * sysdeps/i386/i686/memset.S (memset): Likewise.
30988 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30989 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30990 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30991 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30993 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30994 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30995 L(1_2) and L(1_3) into L(1).
30996 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30997 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30998 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30999 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31000 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31001 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31002 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31003 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31004 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31006 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31007 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31008 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31009 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31010 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31011 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31012 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31013 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31014 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31015 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31016 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31017 * sysdeps/i386/strspn.S (strspn): Likewise.
31018 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31020 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31021 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31022 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31023 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31024 L(1_3) into L(1_1).
31025 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31027 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31029 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31031 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31033 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31036 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31038 * math/atest-exp.c (exp_mpn): Remove ROUND.
31039 * math/atest-exp2.c (exp_mpn): Likewise.
31040 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31042 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31043 * stdlib/tst-tls-atexit-lib.c: Likewise.
31044 * stdlib/tst-tls-atexit.c: Likewise.
31046 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31048 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31049 and __attribute_alloc_size__.
31051 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31053 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31054 __attribute_alloc_size__.
31055 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31056 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31058 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31060 * include/programs/xmalloc.h: New file.
31061 * catgets/gencat.c: Include it.
31062 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31063 * elf/pldd.c: Likewise.
31064 * iconv/iconv_charmap.c: Likewise.
31065 * iconv/iconvconfig.c: Likewise.
31066 * iconv/strtab.c: Likewise.
31067 * locale/programs/locale.c: Likewise.
31068 * locale/programs/localedef.h: Likewise.
31069 * locale/programs/simple-hash.c: Likewise.
31070 * nscd/nscd.h: Likewise.
31071 * nss/makedb.c: Likewise.
31072 * sysdeps/generic/ldconfig.h: Likewise.
31074 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31076 * Versions.def: Add GLIBC_2.18.
31077 * include/link.h (struct link_map): New member l_tls_dtor_count.
31078 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31079 (__call_tls_dtors): Likewise.
31080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31081 __cxa_thread_atexit_impl.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31098 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31099 (tests): Add test case tst-tls-atexit.
31100 (modules-names): Add shared library for tst-tls-atexit.
31101 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31102 (GLIBC_PRIVATE): Add __call_tls_dtors.
31103 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31105 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31106 * stdlib/tst-tls-atexit.c: New test case.
31107 * stdlib/tst-tls-atexit-lib.c: New test case.
31109 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31111 * elf/Versions (ld): Add _dl_find_dso_for_object.
31112 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31113 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31114 (dl_open_worker): Use _dl_find_dso_for_object.
31115 * elf/dl-sym.c (do_sym): Likewise.
31116 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31118 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31120 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31121 Syntactic changes only.
31122 (_dl_runtime_profile): Do a tail-call to the resolved function.
31124 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31127 * sysdeps/x86_64/bp-asm.h: Remove file.
31128 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31129 <bp-sym.h> and <bp-asm.h>.
31130 (__clone): Do not use BP_SYM.
31131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31132 <bp-sym.h> and <bp-asm.h>.
31133 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31134 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31136 (_setjmp): Do not use BP_SYM.
31137 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31139 (setjmp): Do not use BP_SYM.
31140 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31142 (mempcpy): Do not use BP_SYM in weak_alias.
31143 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31145 (strchr): Do not use BP_SYM.
31146 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31148 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31149 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31150 (_start): Do not use BP_SYM.
31151 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31153 (strcat): Do not use BP_SYM.
31154 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31156 (STRCMP): Do not use BP_SYM.
31157 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31159 (STRCPY): Do not use BP_SYM.
31160 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31162 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31164 (FUNCTION): Do not use BP_SYM.
31165 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31167 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31169 2013-02-17 Andreas Jaeger <aj@suse.de>
31171 * time/Versions: Sort entries.
31172 * string/Versions: Likewise.
31173 * resolv/Versions: Likewise.
31174 * posix/Versions: Likewise.
31175 * iconv/Versions: Likewise.
31176 * elf/Versions: Likewise.
31177 * wcsmbs/Versions: Likewise.
31179 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31181 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31182 loop termination condition.
31184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31185 variable to calculate EZ.
31188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31189 the lower precision input.
31191 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31194 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31195 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31196 (run-via-rtld-prefix): Do not handle %-bp tests.
31197 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31198 (all-object-suffixes): Remove .ob.
31199 (bppfx): Remove variable.
31200 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31201 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31202 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31203 [$(build-bounded) = yes] (libtype.ob): Likewise.
31204 * Makerules (elide-routines.ob): Remove variable.
31205 (do-tests-clean): Do not handle *-bp.out.
31206 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31207 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31208 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31209 (tests): Do not include $(tests-bp.out).
31210 (xtests): Do not include $(xtests-bp.out).
31211 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31212 [$(build-bounded) = yes] ($(addprefix
31213 $(objpfx),$(binaries-bounded))): Remove rule.
31214 ($(objpfx)%-bp.out): Remove rule.
31215 * config.make.in (build-bounded): Remove variable.
31216 * crypt/Makefile [$(build-bounded) = yes]
31217 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31218 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31219 append to variable.
31220 [$(build-bounded) = yes] (install-lib): Likewise.
31221 [$(build-bounded) = yes] (generated): Likewise.
31222 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31224 * intl/Makefile [$(build-bounded) = yes]
31225 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31226 * math/Makefile [$(build-bounded) = yes]
31227 ($(tests:%=$(objpfx)%-bp): Likewise.
31228 * misc/Makefile [$(build-bounded) = yes]
31229 ($(objpfx)tst-tsearch-bp): Likewise.
31230 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31231 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31233 * string/Makefile (o-objects.ob): Remove variable.
31234 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31235 (CFLAGS-.ob): Remove variable.
31236 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31237 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31238 both definitions of variable.
31239 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31240 (ASFLAGS-.ob): Remove variable.
31242 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31245 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31246 Remove __BOUNDED_POINTERS__ from condition.
31247 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31248 * string/bits/string2.h [!__NO_STRING_INLINES &&
31249 !__BOUNDED_POINTERS__]: Likewise.
31250 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31252 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31253 Remove conditional code.
31254 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31255 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31256 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31260 * csu/libc-start.c: Do not include <bp-sym.h>.
31261 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31262 * elf/dl-open.c: Do not include <bp-sym.h>.
31263 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31264 * math/fegetenv.c: Do not include <bp-sym.h>.
31265 (fegetenv): Do not use BP_SYM in versioned symbols.
31266 * nptl/sysdeps/pthread/bits/libc-lockP.h
31267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31270 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31272 (__pthread_mutex_destroy): Likewise.
31273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31274 (__pthread_mutex_lock): Likewise.
31275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31276 (__pthread_mutex_trylock): Likewise.
31277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31278 (__pthread_mutex_unlock): Likewise.
31279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31280 (__pthread_mutexattr_init): Likewise.
31281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31282 (__pthread_mutexattr_destroy): Likewise.
31283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31284 (__pthread_mutexattr_settype): Likewise.
31285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31286 (__pthread_rwlock_init): Likewise.
31287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31288 (__pthread_rwlock_destroy): Likewise.
31289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31290 (__pthread_rwlock_rdlock): Likewise.
31291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31292 (__pthread_rwlock_tryrdlock): Likewise.
31293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31294 (__pthread_rwlock_wrlock): Likewise.
31295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31296 (__pthread_rwlock_trywrlock): Likewise.
31297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31298 (__pthread_rwlock_unlock): Likewise.
31299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31300 (__pthread_key_create): Likewise.
31301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31302 (__pthread_setspecific): Likewise.
31303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31304 (__pthread_getspecific): Likewise.
31305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31308 (_pthread_cleanup_push_defer): Likewise.
31309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31310 (_pthread_cleanup_pop_restore): Likewise.
31311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31312 (pthread_setcancelstate): Likewise.
31313 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31315 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31316 (memchr): Do not use BP_SYM in weak_alias.
31317 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31318 (fegetenv): Do not use BP_SYM in versioned symbols.
31319 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31320 (fesetenv): Do not use BP_SYM in versioned symbols.
31321 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31322 (feupdateenv): Do not use BP_SYM in versioned symbols.
31323 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31324 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31325 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31326 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31327 (open64): Do not use BP_SYM in weak_alias.
31328 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31329 (fegetenv): Do not use BP_SYM in versioned symbols.
31330 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31331 (fesetenv): Do not use BP_SYM in versioned symbols.
31332 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31333 (feupdateenv): Do not use BP_SYM in versioned symbols.
31334 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31335 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31336 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31337 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31338 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31339 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31340 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31342 (__libc_start_main): Do not use BP_SYM.
31344 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31347 redundant return line.
31349 (denorm): Likewise.
31350 (dbl_mp): Likewise.
31351 (sub_magnitudes): Likewise.
31357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31359 (denorm): Likewise.
31360 (dbl_mp): Likewise.
31361 (sub_magnitudes): Likewise.
31368 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31370 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31371 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31374 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31375 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31377 of __mul for squares.
31378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31382 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31383 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31385 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31388 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31390 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31391 prototype or function definition. Rename ubp_* variables and
31392 parameters. Remove argv definitions conditional on
31393 [__BOUNDED_POINTERS__].
31394 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31395 * elf/dl-runtime.c (_dl_fixup): Likewise.
31396 * include/set-hooks.h (RUN_HOOK): Likewise.
31397 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31399 * string/strcpy.c (strcpy): Do not use __unbounded.
31400 * sysdeps/generic/frame.h (struct layout): Likewise.
31401 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31402 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31403 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31404 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31405 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31406 (__backtrace): Likewise.
31407 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31409 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31410 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31411 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31413 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31414 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31415 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31416 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31417 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31418 Do not use __unbounded.
31419 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31420 Rename __unboundedrlimits parameter to rlimits in prototype.
31421 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31422 Do not use __unbounded.
31423 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31424 not use __ptrvalue.
31425 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31426 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31427 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31428 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31429 __ptrvalue or __unbounded.
31430 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31431 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31433 (__new_msgctl): Do not use __ptrvalue.
31434 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31436 (__libc_msgrcv): Do not use __ptrvalue.
31437 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31438 startup_info): Do not use __unbounded.
31439 (__libc_start_main): Likewise. Rename ubp_* variables and
31440 parameters. Remove argv definitions conditional on
31441 [__BOUNDED_POINTERS__].
31442 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31444 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31446 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31448 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31450 (__new_shmctl): Do not use __ptrvalue.
31451 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31452 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31454 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31455 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31456 (__libc_sigaction): Likewise.
31457 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31458 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31460 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31462 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31464 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31466 * string/mempcpy.c: Implement by calling memcpy.
31468 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31475 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31476 values in the mantissa.
31478 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31479 minimize writes to Z.
31480 (sub_magnitudes): Simplify code a bit.
31482 2013-02-12 Roland McGrath <roland@hack.frob.com>
31484 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31485 from the message. The linker prefixes all warnings with that already.
31487 2013-02-12 Andreas Schwab <schwab@suse.de>
31490 * posix/regexec.c (extend_buffers): Add parameter min_len.
31491 (check_matching): Pass minimum needed length.
31492 (clean_state_log_if_needed): Likewise.
31493 (get_subexp): Likewise.
31494 * posix/Makefile (tests): Add bug-regex34.
31495 (bug-regex34-ENV): Define.
31496 * posix/bug-regex34.c: New file.
31499 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31500 elements compare against the byte sequence of it, not its name.
31501 * posix/Makefile (tests): Add bug-regex35.
31502 (bug-regex35-ENV): Define.
31503 * posix/bug-regex35.c: New file.
31505 2013-02-11 Tom de Vries <tom@codesourcery.com>
31507 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31509 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31510 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31511 (CHECK_EOL): Add undef.
31513 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31515 * bits/stdlib-bsearch.h: New file.
31516 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31517 * stdlib/stdlib.h: Likewise.
31519 2013-02-11 Roland McGrath <roland@hack.frob.com>
31521 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31522 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31524 * manual/search.texi (Array Search Function): Add missing const in
31526 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31527 declaration to use rlim_t.
31528 (Basic Scheduling Functions): Remove erroneous const from
31529 sched_getparam prototype. Remove erroneous * from
31530 sched_get_priority_max and sched_get_priority_min prototypes.
31531 (Resource Usage): Fix summary @comment on vtimes to refer to
31532 sys/vtimes.h rather than vtimes.h.
31533 Add missing *s in vtimes prototype.
31534 (Limits on Resources): Fix ulimit prototype to return long int.
31535 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31536 prototypes to use long int rather than double.
31537 (BSD Random): Fix initstate and setstate to use char *, not void *.
31538 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31539 prototype to make second argument 'struct aiocb64 *const[]'.
31540 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31541 (Status of AIO Operations): Remove erroneous const in aio_return and
31542 aio_return64 prototypes.
31543 (Synchronizing I/O): Fix sync prototype to return void.
31544 * manual/startup.texi (Suboptions): Remove an erroneous const in
31545 getsubopt prototype.
31546 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31547 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31548 use size_t rather than int.
31549 (Scanning All Users): Likewise for getpwent_r.
31550 (Setting Groups): Add missing const to setgroups prototype.
31551 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31552 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31553 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31554 'const void *' rather than 'const char *'.
31555 (Host Address Functions): Likewise for inet_ntop.
31556 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31557 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31558 ssize_t for return value.
31559 (Sending Data): Likewise for send, sendto, sendmsg.
31560 (Socket Option Functions): Add a missing const in setsockopt prototype.
31561 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31562 use wchar_t for the argument.
31563 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31564 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31566 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31567 double/float/long double for second argument.
31568 Fix return types of significand, significandf, significandl.
31569 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31570 argument in fchmod prototype.
31571 (File Owner): Use uid_t and gid_t in fchown prototype.
31572 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31573 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31574 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31575 use 'const struct dirent **' as argument types to CMP function pointer
31577 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31578 (File Times): Fix summary magic @comment for struct utimbuf and utime
31579 to refer to utime.h, not time.h.
31580 * manual/string.texi (Argz Functions): Add missing const in
31581 argz_extract and argz_next prototypes.
31582 (Finding Tokens in a String): Likewise for basename.
31583 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31584 (Copying and Concatenation): Fix typo in wmemmove prototype.
31585 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31586 (Signal Stack): Remove erroneous const in sigstack prototype.
31587 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31589 (Simple Calendar Time): Likewise for stime.
31590 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31592 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31593 say sys/sysctl.h instead.
31594 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31595 and vsyslog prototypes.
31597 2013-02-11 Tom de Vries <tom@codesourcery.com>
31599 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31602 2013-02-11 Roland McGrath <roland@hack.frob.com>
31604 * misc/sys/mman.h: Fix typo in mremap comment.
31606 2013-02-08 Roland McGrath <roland@hack.frob.com>
31608 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31609 the '\0' terminator.
31611 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31614 * debug/segfault.c: Don't include <bp-checks.h>.
31615 * sysdeps/generic/bp-checks.h: Remove file.
31616 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31617 (__GETDENTS): Don't use CHECK_N.
31618 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31619 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31620 (__getgroups): Don't use CHECK_N.
31621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31622 (setgroups): Don't use CHECK_N.
31623 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31624 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31625 (__libc_msgrcv): Don't use CHECK_N.
31626 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31627 (__libc_msgsnd): Don't use CHECK_N.
31628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31630 (__libc_pread): Don't use CHECK_N.
31631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31632 include <bp-checks.h>.
31633 (__libc_pread64): Don't use CHECK_N.
31634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31635 include <bp-checks.h>.
31636 (__libc_pwrite): Don't use CHECK_N.
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31638 include <bp-checks.h>.
31639 (__libc_pwrite64): Don't use CHECK_N.
31640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31642 (__libc_pread): Don't use CHECK_N.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31644 include <bp-checks.h>.
31645 (__libc_pread64): Don't use CHECK_N.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31647 include <bp-checks.h>.
31648 (__libc_pwrite): Don't use CHECK_N.
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31650 include <bp-checks.h>.
31651 (__libc_pwrite64): Don't use CHECK_N.
31652 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31653 (do_pread): Don't use CHECK_N.
31654 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31655 (do_pread64): Don't use CHECK_N.
31656 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31657 (do_pwrite): Don't use CHECK_N.
31658 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31659 (do_pwrite64): Don't use CHECK_N.
31660 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31661 (__libc_readv): Don't use CHECK_N.
31662 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31663 (semop): Don't use CHECK_N.
31664 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31666 (semtimedop): Don't use CHECK_N.
31667 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31668 (__libc_pread): Don't use CHECK_N.
31669 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31671 (__libc_pread64): Don't use CHECK_N.
31672 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31674 (__libc_pwrite): Don't use CHECK_N.
31675 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31677 (__libc_pwrite64): Don't use CHECK_N.
31678 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31680 (__libc_msgrcv): Don't use CHECK_N.
31681 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31682 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31683 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31684 (__libc_writev): Don't use CHECK_N.
31686 2013-02-08 Roland McGrath <roland@hack.frob.com>
31688 * string/strcpy.c: Removed unused variable.
31690 * Makeconfig (+sysdep-includes): Define with := rather than =.
31691 Use an existing include/ subdir of each sysdeps dir before it.
31693 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31695 * nscd/connection.c (register_traced_file): Comment function.
31696 [HAVE_INOTIFY] (union __inev): Define.
31697 [HAVE_INOTIFY] (inotify_check_files): New function.
31698 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31699 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31701 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31703 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31705 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31706 loaded if not already and that a failure is permanent.
31708 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31711 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31712 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31714 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31717 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31718 (CHECK_1_NULL_OK): Likewise.
31719 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31720 (__fxstat): Do not use CHECK_1.
31721 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31723 (___fxstat64): Do not use CHECK_1.
31724 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31726 (__fxstatat): Do not use CHECK_1.
31727 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31729 (__fxstatat64): Do not use CHECK_1.
31730 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31732 (__fxstat): Do not use CHECK_1.
31733 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31735 (__fxstatat): Do not use CHECK_1.
31736 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31738 (__getresgid): Do not use CHECK_1.
31739 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31741 (__getresuid): Do not use CHECK_1.
31742 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31744 (__lxstat): Do not use CHECK_1.
31745 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31747 (__old_msgctl): Do not use CHECK_1.
31748 (__new_msgctl): Likewise.
31749 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31751 (__new_setrlimit): Do not use CHECK_1.
31752 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31754 (__old_shmctl): Do not use CHECK_1.
31755 (__new_shmctl): Likewise.
31756 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31758 (__xstat): Do not use CHECK_1.
31759 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31760 (__lxstat): Do not use CHECK_1.
31761 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31763 (___lxstat64): Do not use CHECK_1.
31764 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31765 (__old_msgctl): Do not use CHECK_1.
31766 (__new_msgctl): Likewise.
31767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31769 (__gettimeofday): Do not use CHECK_1.
31770 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31771 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31772 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31774 (__gettimeofday): Do not use CHECK_1.
31775 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31776 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31777 (__new_shmctl): Do not use CHECK_1.
31778 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31780 (do_sigtimedwait): Do not use CHECK_1.
31781 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31783 (do_sigwaitinfo): Do not use CHECK_1.
31784 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31786 (msgctl): Do not use CHECK_1.
31787 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31789 (shmctl): Do not use CHECK_1.
31790 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31791 (ustat): Do not use CHECK_1.
31792 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31794 (__fxstat): Do not use CHECK_1.
31795 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31797 (__fxstatat): Do not use CHECK_1.
31798 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31800 (__lxstat): Do not use CHECK_1.
31801 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31803 (__xstat): Do not use CHECK_1.
31804 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31805 (__xstat): Do not use CHECK_1.
31806 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31807 (___xstat64): Do not use CHECK_1.
31810 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31812 (CHECK_BOUNDS_HIGH): Likewise.
31813 * string/strcpy.c: Do not include <bp-checks.h>.
31814 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31816 2013-02-07 Roland McGrath <roland@hack.frob.com>
31818 * nscd/nscd-client.h (__nscd_drop_map_ref):
31819 Add __attribute__ ((unused)).
31820 * nis/nss-nisplus.h (niserr2nss): Likewise.
31822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31823 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31825 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31826 Remove inline keyword.
31827 * include/rounding-mode.h (round_away): Likewise.
31828 * libio/wfileops.c (adjust_wide_data): Likewise.
31829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31830 (__m128i_strloadu_tolower): Likewise.
31831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31832 (__m128i_strloadu_tolower): Likewise.
31833 * time/mktime.c (ydhms_diff): Likewise.
31834 * locale/elem-hash.h (elem_hash): Likewise.
31835 * locale/setlocale.c (setdata): Likewise.
31836 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31837 (re_string_wchar_at): Likewise.
31838 (bitset_not, bitset_merge, bitset_mask): Likewise.
31839 [!(__GNUC__ > 3)] (inline): Remove macro.
31840 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31841 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31842 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31843 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31844 * string/memcmp.c (memcmp_bytes): Likewise.
31845 * locale/programs/locarchive.c (compute_hashval): Likewise.
31846 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31847 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31848 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31849 * nss/getent.c (print_rpc, print_protocols): Likewise.
31850 (print_passwd, print_group, print_aliases): Likewise.
31851 * nis/nss-nisplus.h (niserr2nss): Likewise.
31852 * nscd/connections.c (restart_p): Likewise.
31853 Change return type to bool.
31855 2013-02-05 Roland McGrath <roland@hack.frob.com>
31857 * Makeconfig (all-Depend-files): Add existing
31858 $(sorted-subdirs:=/Depend) files.
31859 (all-subdirs): Remove nss.
31860 * sysdeps/unix/inet/Subdirs: Add it here instead.
31861 * hesiod/Depend: New file.
31863 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31864 instead of calling alloca.
31866 * io/lseek.c (__lseek): Rename to __libc_lseek.
31867 Define __lseek as an alias.
31869 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31871 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31873 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31874 else clause and remove check for non-standard endianness.
31876 2013-02-04 David S. Miller <davem@davemloft.net>
31878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31880 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31883 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31884 (__ubp_memchr): Remove prototype.
31885 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31886 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31887 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31888 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31889 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31891 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31892 (__ubp_memchr): Likewise.
31893 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31894 (__ubp_memchr): Likewise.
31895 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31896 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31897 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31898 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31900 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31901 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31902 (__getcwd): Do not use CHECK_STRING.
31903 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31905 (__real_chown): Do not use CHECK_STRING.
31906 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31908 (fchownat): Do not use CHECK_STRING.
31909 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31911 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31913 (__lchown): Do not use CHECK_STRING.
31914 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31915 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31916 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31917 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31919 include <bp-checks.h>.
31920 (truncate64): Do not use CHECK_STRING.
31921 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31923 (__real_chown): Do not use CHECK_STRING.
31924 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31926 (__lchown): Do not use CHECK_STRING.
31927 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31929 (__chown): Do not use CHECK_STRING.
31930 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31932 (truncate64): Do not use CHECK_STRING.
31933 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31935 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31936 (__xmknod): Do not use CHECK_STRING.
31937 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31939 (__xmknodat): Do not use CHECK_STRING.
31940 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31941 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31943 2013-02-04 Andreas Schwab <schwab@suse.de>
31946 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31947 * include/netdb.h: Likewise for h_errno.
31948 * elf/tst-stackguard1.c: Include <tls.h>.
31950 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31952 * elf/link.h (struct link_map): Extend the l_addr comment.
31953 * include/link.h (struct link_map): Likewise.
31955 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31958 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31959 (BOUNDED_1): Remove macro.
31960 * debug/backtrace.c: Don't include <bp-checks.h>.
31961 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31962 (__backtrace): Likewise.
31963 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31965 (__backtrace): Don't use BOUNDED_1.
31966 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31968 (__backtrace): Don't use BOUNDED_1.
31969 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31970 (__backtrace): Don't use BOUNDED_1.
31971 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31972 (shmat): Don't use BOUNDED_N.
31974 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31977 * sysdeps/generic/bp-start.h: Remove file.
31978 * csu/libc-start.c: Don't include <bp-start.h>.
31979 (LIBC_START_MAIN): Set up __environ directly instead of using
31980 INIT_ARGV_and_ENVIRON.
31981 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31985 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31987 (CHECK_FCNTL): Likewise.
31988 (CHECK_N_PAGES): Likewise.
31991 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31993 (CHECK_SIGSET_NULL_OK): Likewise.
31994 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31996 (sigpending): Don't use CHECK_SIGSET.
31997 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31999 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32000 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32002 (do_sigsuspend): Don't use CHECK_SIGSET.
32003 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32005 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32006 (do_sigwait): Don't use CHECK_SIGSET.
32007 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32010 include <bp-checks.h>.
32011 (sigpending): Don't use CHECK_SIGSET.
32012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32013 include <bp-checks.h>.
32014 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32015 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32017 (sigpending): Don't use CHECK_SIGSET.
32018 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32020 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32023 * sysdeps/generic/bp-semctl.h: Remove file.
32024 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32025 <bp-checks.h> and <bp-semctl.h>.
32026 (__old_semctl): Don't use CHECK_SEMCTL.
32027 (__new_semctl): Likewise.
32028 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32030 (__old_semctl): Don't use CHECK_SEMCTL.
32031 (__new_semctl): Likewise.
32032 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32033 <bp-checks.h> and <bp-semctl.h>.
32034 (__old_semctl): Don't use CHECK_SEMCTL.
32035 (__new_semctl): Likewise.
32036 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32037 <bp-checks.h> and <bp-semctl.h>.
32038 (semctl): Don't use CHECK_SEMCTL.
32041 * Makerules (elide-bp-thunks): Remove variable.
32042 (elide-routines.oS): Don't use $(elide-bp-thunks).
32043 (elide-routines.os): Likewise.
32044 (elide-routines.o): Likewise.
32045 (elide-routines.op): Likewise.
32046 (elide-routines.og): Likewise.
32047 (objects): Don't use $(bp-thunks).
32048 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32050 (common-generated): Do not add s-proto-bp.d.
32051 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32054 Do not generate makefile rules for bounded-pointer thunks.
32055 * sysdeps/generic/bp-thunks.h: Remove file.
32056 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32057 * sysdeps/unix/s-proto-bp.S: Likewise.
32060 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32061 parts of result separately when argument is not close to line from
32062 -i to i and one part of argument is small.
32063 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32064 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32065 * math/libm-test.inc (cacos_test): Add more tests.
32066 (casin_test): Likewise.
32067 (casinh_test): Likewise.
32068 * sysdeps/i386/fpu/libm-test-ulps: Update.
32069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32071 2013-01-31 David S. Miller <davem@davemloft.net>
32073 * po/de.po: Update from translation team.
32075 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32077 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32079 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32081 * configure.in (_AC_PROG_CC_C89): New definition.
32082 * configure: Regenerate.
32084 * configure.in (AC_PROG_CPP): New definition.
32085 * configure: Regenerate.
32087 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32089 * debug/tst-backtrace.h: New file.
32090 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32091 (ret): Remove variable.
32093 (FAIL): Remove macro.
32094 (NO_INLINE): Likewise.
32095 (fn1): Use match function instead of strstr.
32096 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32097 (ret): Remove variable.
32099 (FAIL): Remove macro.
32100 (NO_INLINE): Likewise.
32101 (fn): Use match function instead of strstr.
32102 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32103 (ret): Remove variable.
32105 (FAIL): Remove macro.
32106 (NO_INLINE): Likewise.
32107 (handle_signal): Use match function instead of strstr.
32108 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32109 (ret): Remove variable.
32111 (FAIL): Remove macro.
32112 (NO_INLINE): Likewise.
32113 (handle_signal): Use match function instead of strstr.
32115 2013-01-23 Roland McGrath <roland@hack.frob.com>
32117 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32119 2013-01-23 David S. Miller <davem@davemloft.net>
32121 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32122 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32123 argument of CAS if possible.
32124 * sysdeps/sparc/sparc64/bits/atomic.h
32125 (__arch_compare_and_exchange_val_32_acq): Likewise.
32126 (__arch_compare_and_exchange_val_64_acq): Likewise.
32128 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32130 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32131 * sysdeps/posix/ulimit.c: ... this.
32132 Include <limits.h>.
32133 * sysdeps/unix/bsd/ulimit.c: Remove file.
32135 2013-01-23 Adam Conrad <adconrad@0c3.net>
32137 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32138 (LDFLAGS-tst-array5): Likewise.
32140 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32143 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32144 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32145 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32146 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32148 2013-01-21 David S. Miller <davem@davemloft.net>
32150 * sysdeps/sparc/backtrace.c: New file.
32151 * sysdeps/sparc/sparc32/backtrace.h: New file.
32152 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32153 * sysdeps/sparc/sparc64/backtrace.h: New file.
32154 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32155 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32158 2013-01-21 Andreas Schwab <schwab@suse.de>
32161 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32164 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32170 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32171 Mark Mitchell <mark@codesourcery.com>
32172 Tom de Vries <tom@codesourcery.com>
32173 Paul Pluzhnikov <ppluzhnikov@google.com>
32175 * debug/tst-backtrace2.c: New file.
32176 * debug/tst-backtrace3.c: Likewise.
32177 * debug/tst-backtrace4.c: Likewise.
32178 * debug/tst-backtrace5.c: Likewise.
32179 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32180 (CFLAGS-tst-backtrace3.c): Likewise.
32181 (CFLAGS-tst-backtrace4.c): Likewise.
32182 (CFLAGS-tst-backtrace5.c): Likewise.
32183 (LDFLAGS-tst-backtrace2): Likewise.
32184 (LDFLAGS-tst-backtrace3): Likewise.
32185 (LDFLAGS-tst-backtrace4): Likewise.
32186 (LDFLAGS-tst-backtrace5): Likewise.
32187 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32188 tst-backtrace4 and tst-backtrace5.
32190 2013-01-18 Anton Blanchard <anton@samba.org>
32191 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32193 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32194 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32195 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32196 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32198 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32199 "+r" and remove output regs list as redundant. Add explicit inline
32200 asm to specify register of return val to work around compiler codegen
32201 bug. Remove (int) cast on return value. Add return type parameter to
32202 use in macro so that this macro does not truncate return value for
32204 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32205 pass to INTERNAL_VSYSCALL_NCS.
32206 (INLINE_VSYSCALL): Add 'long int' as return type to
32207 INTERNAL_VSYSCALL_NCS macro invocation.
32208 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32209 INTERNAL_VSYSCALL_NCS macro invocation.
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32212 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32215 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32216 Fix application of SIMD FP exception mask.
32218 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32219 mp_no from a power of two.
32220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32221 __mpexp_twomm1. Use __pow_mp.
32223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32226 2013-01-17 David S. Miller <davem@davemloft.net>
32228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32230 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32233 * include/complex.h: Condition contents on [!_COMPLEX_H].
32234 (__kernel_casinhf): New prototype.
32235 (__kernel_casinh): Likewise.
32236 (__kernel_casinhl): Likewise.
32237 * math/Makefile (libm_calls): Add k_casinh.
32238 * math/k_casinh.c: New file.
32239 * math/k_casinhf.c: Likewise.
32240 * math/k_casinhl.c: Likewise.
32241 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32242 finite nonzero arguments.
32243 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32244 finite nonzero arguments.
32245 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32246 finite nonzero arguments.
32247 * math/s_casinh.c: Do not include <float.h>.
32248 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32249 * math/s_casinhf.c: Do not include <float.h>.
32250 (__casinhf): Move code for finite nonzero arguments to
32252 * math/s_casinhl.c: Do not include <float.h>.
32253 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32255 (__casinhl): Move code for finite nonzero arguments to
32257 * math/libm-test.inc (cacos_test): Add more tests.
32258 * sysdeps/i386/fpu/libm-test-ulps: Update.
32259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32261 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32263 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32264 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32265 [!HAVE_MREMAP]: Remove [defined linux] case.
32266 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32268 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32270 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32272 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32274 * elf/elf.h (R_386_SIZE32): New relocation.
32275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32277 (elf_machine_rela): Likewise.
32278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32279 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32281 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32283 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32284 (FP_FAST_FMA): Do not define.
32285 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32286 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32287 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32288 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32289 !_SOFT_FLOAT]: Likewise.
32290 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32291 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32294 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32296 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32297 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32298 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32301 2013-01-16 Andreas Schwab <schwab@suse.de>
32304 * include/stdlib.h (__mktemp): Add declaration.
32305 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32306 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32308 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32310 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32312 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32313 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32314 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32316 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32317 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32319 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32321 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32322 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32323 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32325 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32326 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32328 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32330 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32332 2013-01-15 David S. Miller <davem@davemloft.net>
32334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32335 trunc{,f} to libm-sysdep_routes.
32336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32346 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32347 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32348 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32349 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32350 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32351 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32354 nearbyint{,f} to libm-sysdep_routes.
32355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32372 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32373 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32375 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32376 libc_feholdexcept and libc_fesetenv.
32378 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32380 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32382 2013-01-14 David S. Miller <davem@davemloft.net>
32384 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32385 (SPARC_ASM_VIS2_IFUNC): Likewise.
32386 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32388 use of 'siam' instruction.
32389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32422 routines to libm-sysdep_routines.
32423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32426 fdim/fdimf to libm-sysdep_routines.
32427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32435 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32436 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32437 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32438 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32440 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32443 to optimize copies.
32445 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32450 local variable MPTWO.
32451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32454 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32456 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32459 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32461 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32463 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32465 * manual/pattern.texi (glob_t): Document gl_flags.
32466 (glob64_t): Likewise.
32468 2013-01-11 David S. Miller <davem@davemloft.net>
32470 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32471 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32472 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32473 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32474 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32475 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32476 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32477 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32478 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32479 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32480 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32481 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32482 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32484 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32485 sparc V9 rather than using V8 code.
32486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32491 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32494 2013-01-11 Roland McGrath <roland@hack.frob.com>
32496 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32497 not in the main loop.
32498 * configure: Regenerated.
32500 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32502 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32503 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32505 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32506 [!__GLIBC_HAVE_LONG_LONG] case.
32507 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32508 condition to just #else.
32509 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32510 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32511 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32512 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32514 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32515 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32516 #elif condition to just #else.
32517 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32518 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32519 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32520 #elif condition to just #else.
32522 2013-01-11 Steve Ellcey <sellcey@mips.com>
32524 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32525 (EF_MIPS_ARCH_64): Fix value.
32526 (EF_MIPS_ARCH_32R2): New.
32527 (EF_MIPS_ARCH_64R2): New.
32529 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32531 * Makeconfig (+link-pie-before-libc): New.
32532 (+link-pie-after-libc): Likewise.
32533 (+link-pie-tests): Likewise.
32534 (+link-pie): Rewritten.
32535 (link-before-libc): Remove $(config-LDFLAGS).
32536 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32537 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32538 (config-LDFLAGS): Renamed to ...
32539 (rtld-LDFLAGS): This.
32540 (rtld-tests-LDFLAGS): New macro.
32541 (link-libc-rpath-link): Likewise.
32542 (link-libc-tests-rpath-link): Likewise.
32543 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32544 (link-libc): Prepand $(link-libc-rpath-link).
32545 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32546 (test-program-prefix): New macro.
32547 (test-via-rtld-prefix): Likewise.
32548 (test-program-cmd): Likewise.
32549 (host-test-program-cmd): Likewise.
32550 * Makefile ($(common-objpfx)testrun.sh): Replace
32551 $(run-program-prefix) with $(test-program-prefix).
32552 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32554 ($(common-objpfx)shlib.lds): Likewise.
32555 (build-module-helper): Likewise.
32556 ($(common-objpfx)format.lds): Likewise.
32557 * Rules (binaries-pie-tests): New.
32558 (binaries-pie-notests): Likewise.
32559 (binaries-pie): Rewritten.
32560 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32561 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32562 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32563 (make-test-out): Replace $(host-built-program-cmd) with
32564 $(host-test-program-cmd).
32565 * config.make.in (build-hardcoded-path-in-tests): New variable.
32566 * configure.in (--enable-hardcoded-path-in-tests): New configure
32568 (hardcoded_path_in_tests): New AC_SUBST.
32569 * configure: Regenerated.
32570 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32571 $(built-program-cmd) with $(test-program-cmd).
32572 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32573 (test_program_cmd): This.
32574 * elf/Makefile ($(objpfx)order.out): Run test with
32575 $(test-program-prefix).
32576 ($(objpfx)order2.out): Likewise.
32577 ($(objpfx)tst-initorder.out): Likewise.
32578 ($(objpfx)tst-initorder2.out): Likewise.
32579 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32580 $(test-program-cmd).
32581 ($(objpfx)tst-array1-static.out): Likewise.
32582 ($(objpfx)tst-array2.out): Likewise.
32583 ($(objpfx)tst-array3.out): Likewise.
32584 ($(objpfx)tst-array4.out): Likewise.
32585 ($(objpfx)tst-array5.out): Likewise.
32586 ($(objpfx)tst-array5-static.out): Likewise.
32587 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32588 $(test-program-cmd).
32589 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32590 $(run-program-prefix) with $(test-program-prefix).
32591 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32592 (test_program_prefix): This.
32593 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32594 $(run-program-prefix) with $(test-program-prefix).
32595 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32596 (test_program_prefix): This.
32597 * iconvdata/tst-tables.sh: Likewise.
32598 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32599 $(run-program-prefix) with $(test-program-prefix).
32600 ($(objpfx)tst-translit.out): Likewise.
32601 ($(objpfx)tst-gettext2.out): Likewise.
32602 ($(objpfx)tst-gettext4.out): Likewise.
32603 ($(objpfx)tst-gettext6.out): Likewise.
32604 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32605 (test_program_prefix): This.
32606 * intl/tst-gettext2.sh: Likewise.
32607 * intl/tst-gettext4.sh Likewise.
32608 * intl/tst-gettext6.sh: Likewise.
32609 * intl/tst-translit.sh: Likewise.
32610 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32611 with $(test-program-cmd).
32612 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32613 $(run-program-prefix) with $(test-program-prefix).
32614 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32615 (test_program_prefix): This.
32616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32617 $(run-program-prefix) with $(test-program-prefix).
32618 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32619 (test_program_prefix): This.
32620 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32621 * posix/Makefile ($(objpfx)globtest.out): Replace
32622 $(run-via-rtld-prefix) and $(test-wrapper) with
32623 $(test-program-prefix) and $(test-via-rtld-prefix).
32624 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32625 $(test-program-prefix).
32626 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32627 $(host-test-program-cmd).
32628 (tst-spawn-ARGS): Likewise.
32629 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32630 $(test-program-prefix).
32631 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32632 (test_via_rtld_prefix): This.
32633 (test_wrapper): Renamed to ...
32634 (test_program_prefix): This.
32635 (run_program_prefix): Replaced by test_program_prefix.
32636 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32637 (test_program_prefix): This.
32638 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32639 with $(host-test-program-cmd).
32640 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32641 $(run-program-prefix) with $(test-program-prefix).
32642 ($(objpfx)tst-printf.out): Likewise.
32643 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32644 $(test-program-cmd).
32645 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32646 (test_program_prefix): This.
32647 * stdio-common/tst-unbputc.sh: Likewise.
32648 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32649 $(run-program-prefix) with $(test-program-prefix).
32650 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32651 (test_program_prefix): This.
32652 * string/Makefile ($(objpfx)tst-svc.out): Replace
32653 $(built-program-cmd) with $(test-program-cmd).
32655 2013-01-11 Andreas Jaeger <aj@suse.de>
32658 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32659 value. Sync with Linux 3.7.
32661 2013-01-10 David S. Miller <davem@davemloft.net>
32663 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32664 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32665 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32667 2013-01-10 Roland McGrath <roland@hack.frob.com>
32669 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32671 * configure: Regenerated.
32673 2013-01-10 David S. Miller <davem@davemloft.net>
32675 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32676 sparc V9 rather than using V8 code.
32677 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32678 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32680 2013-01-10 Roland McGrath <roland@hack.frob.com>
32682 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32683 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32684 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32685 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32686 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32687 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32688 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32689 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32690 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32691 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32692 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32693 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32694 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32695 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32696 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32697 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32698 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32699 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32700 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32701 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32702 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32703 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32704 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32705 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32706 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32707 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32708 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32710 2013-01-10 David S. Miller <davem@davemloft.net>
32712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32714 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32716 * posix/Makefile (tests-static): New variable.
32717 (tests): Add $(tests-static).
32718 (tst-exec-static-ARGS): New variable.
32719 (tst-spawn-static-ARGS): Likewise.
32720 * posix/tst-exec-static.c: New file.
32721 * posix/tst-spawn-static.c: Likewise.
32722 * posix/tst-exec.c: Support run directly.
32723 * posix/tst-spawn.c: Likewise.
32725 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32727 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32729 * math/bits/mathcalls.h (llrint): Likewise.
32730 (llround): Likewise.
32731 * stdlib/stdlib.h (struct drand48_data): Likewise.
32732 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32733 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32734 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32736 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32738 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32739 (elf_greg_t): Likewise.
32740 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32741 (__jmp_buf): Likewise.
32742 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32744 (llrint): Likewise, for all definitions.
32745 (llrintl): Likewise.
32747 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32748 Remove [__GNUC__] condition.
32749 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32750 condition to just [__USE_ISOC99].
32751 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32753 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32756 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32757 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32759 (_POSIX_V6_ILP32_OFF32): Likewise.
32760 (_XBS5_ILP32_OFF32): Likewise.
32761 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32762 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32764 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32766 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32769 doubles __mpexp_twomm1. Adjust usage.
32770 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32773 2013-01-10 Andreas Schwab <schwab@suse.de>
32776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32777 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32779 2013-01-09 David S. Miller <davem@davemloft.net>
32782 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32783 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32784 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32785 (TCP_FASTOPEN): Define.
32786 (tcp_repair_opt): New structure.
32787 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32789 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32790 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32791 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32792 (tcp_cookie_transactions): New structure.
32794 2013-01-09 Anton Blanchard <anton@samba.org>
32796 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32797 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32798 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32799 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32801 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32803 * include/features.h (__USE_ANSI): Remove.
32805 2013-01-09 Roland McGrath <roland@hack.frob.com>
32807 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32809 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32811 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32813 * sysdeps/s390/fpu/libm-test-ulps: Update.
32815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32817 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32821 (denorm): Likewise.
32822 (__mp_dbl): Likewise.
32823 (__dbl_mp): Likewise.
32824 (add_magnitudes): Likewise.
32825 (sub_magnitudes): Likewise.
32831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32835 (denorm): Likewise.
32836 (__mp_dbl): Likewise.
32837 (__dbl_mp): Likewise.
32838 (add_magnitudes): Likewise.
32839 (sub_magnitudes): Likewise.
32845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32849 (denorm): Likewise.
32850 (__mp_dbl): Likewise.
32851 (__dbl_mp): Likewise.
32852 (add_magnitudes): Likewise.
32853 (sub_magnitudes): Likewise.
32860 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32862 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32863 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32864 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32865 2 && __USE_EXTERN_INLINES]: Likewise.
32867 2013-01-08 Andreas Jaeger <aj@suse.de>
32870 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32872 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32873 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32875 2013-01-07 Anton Blanchard <anton@samba.org>
32877 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32878 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32879 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32880 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32881 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32882 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32883 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32884 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32889 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32893 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32895 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32896 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32897 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32898 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32900 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32901 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32902 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32903 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32904 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32906 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32907 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32910 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32911 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32915 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32916 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32917 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32919 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32921 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32923 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32924 (__MALLOC_PMT): Likewise.
32925 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32926 [__GNUC__], only on [_LIBC].
32927 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32928 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32929 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32930 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32931 forward declaration.
32932 (realloc_hook_ini): Likewise.
32933 (memalign_hook_ini): Likewise.
32934 (__libc_memalign): Do not use __MALLOC_PMT in variable
32936 (__libc_valloc): Likewise.
32937 (__libc_pvalloc): Likewise.
32938 (__libc_calloc): Likewise.
32939 (__posix_memalign): Likewise.
32942 * math/s_casinh.c: Include <float.h>.
32943 (__casinh): Do not do computation with squaring and square root
32944 for large arguments.
32945 * math/s_casinhf.c: Include <float.h>.
32946 (__casinhf): Do not do computation with squaring and square root
32947 for large arguments.
32948 * math/s_casinhl.c: Include <float.h>.
32949 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32950 (__casinhl): Do not do computation with squaring and square root
32951 for large arguments.
32952 * math/libm-test.inc (casin_test): Add more tests.
32953 (casinh_test): Likewise.
32954 * sysdeps/i386/fpu/libm-test-ulps: Update.
32955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32957 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32959 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32960 (__x86_64_raw_data_cache_size): Likewise.
32961 (__x86_64_data_cache_size_half): Likewise.
32962 (__x86_64_raw_data_cache_size_half): Likewise.
32963 (__x86_64_shared_cache_size): Likewise.
32964 (__x86_64_raw_shared_cache_size): Likewise.
32965 (__x86_64_shared_cache_size_half): Likewise.
32966 (__x86_64_raw_shared_cache_size_half): Likewise.
32967 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32969 (__x86_data_cache_size): This.
32970 (__x86_64_raw_data_cache_size): Renamed to ...
32971 (__x86_raw_data_cache_size): This.
32972 (__x86_64_data_cache_size_half): Renamed to ...
32973 (__x86_data_cache_size_half): This.
32974 (__x86_64_raw_data_cache_size_half): Renamed to ...
32975 (__x86_raw_data_cache_size_half): This.
32976 (__x86_64_shared_cache_size): Renamed to ...
32977 (__x86_shared_cache_size): This.
32978 (__x86_64_raw_shared_cache_size): Renamed to ...
32979 (__x86_raw_shared_cache_size): This.
32980 (__x86_64_shared_cache_size_half): Renamed to ...
32981 (__x86_shared_cache_size_half): This.
32982 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32983 (__x86_raw_shared_cache_size_half): This.
32984 * sysdeps/x86_64/memcpy.S: Updated.
32985 * sysdeps/x86_64/memset.S: Likewise.
32986 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32987 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32990 2013-01-04 David S. Miller <davem@davemloft.net>
32992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32994 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32996 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32997 1 to avoid redefinition warning.
32998 (__USE_GNU): Don't define.
32999 (init_signaling_nan): Protoize.
33001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33003 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33005 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33007 (__cpymn): Likewise.
33008 (norm): Remove commented code.
33009 (denorm): Likewise.
33010 (__mp_dbl): Likewise.
33012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33013 (__cpymn): Likewise.
33014 (norm): Remove commented code.
33015 (denorm): Likewise.
33016 (__mp_dbl): Likewise.
33019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33020 mp_no value for 1.0 and 2.0.
33021 (norm): Use RADIXI instead of radixi.d.
33022 (denorm): Likewise.
33023 (__mul): Use 0.0 instead of zero.d.
33024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33025 mp_no value for 1.0 and 2.0.
33026 (norm): Use RADIXI instead of radixi.d.
33027 (denorm): Likewise.
33028 (__mul): Use 0.0 instead of zero.d.
33030 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33033 * math/s_casinh.c (__casinh): Reduce finite argument to first
33034 quadrant then set signs of results at the end.
33035 * math/s_casinhf.c (__casinhf): Likewise.
33036 * math/s_casinhl.c (__casinhl): Likewise.
33037 * math/libm-test.inc (casin_test): Add more tests.
33038 (casinh_test): Likewise.
33039 * sysdeps/i386/fpu/libm-test-ulps: Update.
33040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33042 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33044 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33046 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33048 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33050 (denorm): Likewise.
33051 (__mp_dbl): Likewise.
33054 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33055 and adjust the header comment.
33057 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33058 variable name from declaration.
33060 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33063 Initialize COMMON_CPUID_INDEX_7 element.
33064 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33065 (CPUID_RTM): Likewise.
33066 (HAS_RTM): Likewise.
33067 (COMMON_CPUID_INDEX_7): New enum.
33069 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33072 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33073 size is zero, record memory as freed.
33075 2013-01-03 Andreas Jaeger <aj@suse.de>
33077 * po/ia.po: Add new Interlingua translation.
33079 2012-01-03 Allan McRae <allan@archlinux.org>
33081 * locale/programs/localedef.c: Fix description of '--posix' flag.
33083 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33085 * NEWS: Update dates in second copyright notice.
33086 * README: Update copyright dates in example.
33087 * manual/libc.texinfo: Update copyright dates.
33088 * scripts/test-installation.pl: Update copyright date in --version
33091 * hurd/ctty-input.c: Fix copyright notice formatting.
33092 * hurd/ctty-output.c: Likewise.
33093 * hurd/dtable.c: Likewise.
33094 * hurd/hurd-raise.c: Likewise.
33095 * hurd/hurdprio.c: Likewise.
33096 * hurd/msgportdemux.c: Likewise.
33097 * misc/sys/file.h: Likewise.
33098 * misc/sys/ioctl.h: Likewise.
33099 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33100 * sysdeps/mach/hurd/chdir.c: Likewise.
33101 * sysdeps/mach/hurd/fchdir.c: Likewise.
33102 * sysdeps/mach/hurd/rename.c: Likewise.
33103 * sysdeps/mach/hurd/rmdir.c: Likewise.
33104 * sysdeps/mach/hurd/seekdir.c: Likewise.
33105 * sysdeps/mach/hurd/setsid.c: Likewise.
33106 * sysdeps/posix/wait3.c: Likewise.
33108 * All files with FSF copyright notices: Update copyright dates
33109 using scripts/update-copyrights.
33110 * intl/plural.c: Regenerated.
33111 * locale/programs/charmap-kw.h: Likewise.
33112 * locale/programs/locfile-kw.h: Likewise.
33114 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33116 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33119 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33120 calculation loop and add branch prediction.
33122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33123 check access beyond bounds of m1np.
33125 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33127 (__inv): Remove local variable MPTWO to use the global
33129 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33130 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33132 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33133 MP3HALFS static const.
33135 2013-01-01 David S. Miller <davem@davemloft.net>
33137 * po/ca.po: Update from translation team.
33139 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33141 * scripts/update-copyrights: New file.
33142 * Makeconfig: Reformat copyright notice.
33143 * ctype/ctype.h: Likewise.
33144 * debug/swprintf_chk.c: Likewise.
33145 * elf/dl-cache.c: Likewise.
33146 * elf/dl-debug.c: Likewise.
33147 * elf/dl-object.c: Likewise.
33148 * grp/initgroups.c: Likewise.
33149 * hurd/Makefile: Likewise.
33150 * hurd/hurd/signal.h: Likewise.
33151 * hurd/hurdfault.c: Likewise.
33152 * hurd/hurdioctl.c: Likewise.
33153 * hurd/hurdlookup.c: Likewise.
33154 * hurd/intr-msg.c: Likewise.
33155 * iconv/gconv_open.c: Likewise.
33156 * libio/swprintf.c: Likewise.
33157 * locale/lc-ctype.c: Likewise.
33158 * locale/nl_langinfo.c: Likewise.
33159 * mach/Machrules: Likewise.
33160 * mach/Makefile: Likewise.
33161 * malloc/obstack.h: Likewise.
33162 * manual/Makefile: Likewise.
33163 * manual/tsort.awk: Likewise.
33164 * misc/bits/stab.def: Likewise.
33165 * nis/nis_print_group_entry.c: Likewise.
33166 * nis/nis_table.c: Likewise.
33167 * nis/nss_compat/compat-pwd.c: Likewise.
33168 * nis/nss_compat/compat-spwd.c: Likewise.
33169 * po/Makefile: Likewise.
33170 * posix/fnmatch.c: Likewise.
33171 * posix/regex.h: Likewise.
33172 * resolv/Makefile: Likewise.
33173 * resolv/nss_dns/dns-network.c: Likewise.
33174 * resolv/res_hconf.c: Likewise.
33175 * scripts/gen-sorted.awk: Likewise.
33176 * soft-fp/soft-fp.h: Likewise.
33177 * stdio-common/printf.h: Likewise.
33178 * stdlib/monetary.h: Likewise.
33179 * stdlib/random.c: Likewise.
33180 * stdlib/random_r.c: Likewise.
33181 * sysdeps/generic/Makefile: Likewise.
33182 * sysdeps/gnu/Makefile: Likewise.
33183 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33191 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33193 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33194 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33195 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33196 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33197 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33198 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33199 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33203 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33204 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33205 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33211 * sysdeps/mach/hurd/errnos.awk: Likewise.
33212 * sysdeps/mach/hurd/fork.c: Likewise.
33213 * sysdeps/mach/hurd/getcwd.c: Likewise.
33214 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33215 * sysdeps/mach/hurd/mmap.c: Likewise.
33216 * sysdeps/mach/hurd/utimes.c: Likewise.
33217 * sysdeps/mach/hurd/xmknod.c: Likewise.
33218 * sysdeps/posix/profil.c: Likewise.
33219 * sysdeps/posix/readdir_r.c: Likewise.
33220 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33221 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33222 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33223 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33225 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33227 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33229 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33230 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33231 * sysdeps/pthread/lio_listio.c: Likewise.
33232 * sysdeps/sparc/dl-procinfo.h: Likewise.
33233 * sysdeps/unix/i386/sysdep.S: Likewise.
33234 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33235 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33236 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33237 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33239 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33240 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33241 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33242 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33243 * sysdeps/wordsize-32/divdi3.c: Likewise.
33244 * time/sys/time.h: Likewise.
33245 * wcsmbs/Makefile: Likewise.
33247 2013-01-01 David S. Miller <davem@davemloft.net>
33249 * po/fr.po: Update from translation team.
33251 * catgets/gencat.c: Update copyright year.
33252 * csu/version.c: Likewise.
33253 * debug/catchsegv.sh: Likewise.
33254 * debug/pcprofiledump.c: Likewise.
33255 * debug/xtrace.sh: Likewise.
33256 * elf/ldconfig.c: Likewise.
33257 * elf/ldd.bash.in: Likewise.
33258 * elf/pldd.c: Likewise.
33259 * elf/sotruss.ksh: Likewise.
33260 * elf/sprof.c: Likewise.
33261 * iconv/iconv_prog.c: Likewise.
33262 * iconv/iconvconfig.c: Likewise.
33263 * locale/programs/locale.c: Likewise.
33264 * locale/programs/localedef.c: Likewise.
33265 * login/programs/pt_chown.c: Likewise.
33266 * malloc/memusage.sh: Likewise.
33267 * malloc/memusagestat.c: Likewise.
33268 * malloc/mtrace.pl: Likewise.
33269 * nscd/nscd.c: Likewise.
33270 * nss/getent.c: Likewise.
33271 * nss/makedb.c: Likewise.
33272 * posix/getconf.c: Likewise.
33274 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33276 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33279 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33281 * math/bits/mathcalls.h (modf): Use __nonnull.
33283 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33285 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33286 (split): Use macro CN instead of the bare value.
33287 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33290 instead of the bare value.
33291 (power1): Likewise.
33293 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33297 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33299 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33301 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33302 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33303 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33304 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33306 2012-12-28 Andreas Jaeger <aj@suse.de>
33308 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33309 values are from Linux 3.7.
33311 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33312 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33314 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33316 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33321 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33322 variables with preprocessor constants.
33323 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33324 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33327 2012-12-27 Bruno Haible <bruno@clisp.org>
33330 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33333 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33336 and use variable directly.
33337 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33339 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33341 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33344 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33346 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33347 include directive. Remove local variable MPONE.
33348 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33350 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33352 2012-12-25 David S. Miller <davem@davemloft.net>
33354 * version.h (RELEASE): Set to "development".
33355 (VERSION): Set to "2.17.90".
33356 * NEWS: Add 2.18 section.
33358 2012-12-21 David S. Miller <davem@davemloft.net>
33360 * po/hr.po: Update from translation team.
33362 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33364 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33366 2012-12-19 Steve Ellcey <sellcey@mips.com>
33368 * NEWS: Mention new memcpy for MIPS.
33370 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33372 * manual/contrib.texi (Contributors): Spelling correction.
33374 2012-12-15 David S. Miller <davem@davemloft.net>
33376 * po/ru.po: Update from translation team.
33378 2012-12-13 David S. Miller <davem@davemloft.net>
33380 * NEWS: Mention IFUNC testsuite enhancements.
33382 * po/pl.po: Update from translation team.
33383 * po/bg.po: Likewise.
33385 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33386 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33388 2012-12-11 David S. Miller <davem@davemloft.net>
33390 * po/sv.po: Update from translation team.
33392 * po/vi.po: Update from translation team.
33394 * po/cs.po: Update from translation team.
33396 * po/de.po: Update from translation team.
33397 * po/eo.po: Likewise.
33398 * po/nl.po: Likewise.
33400 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33403 * manual/argp.texi (Argp Helper Functions): Move node to follow
33404 Argp Parsing State.
33407 * manual/conf.texi (Limits on File System Capacity): Mention if
33408 terminating null is included in the max size.
33410 2012-12-10 Andreas Jaeger <aj@suse.de>
33412 * po/cs.po: Update from translation team.
33414 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33416 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33417 void pointer and cast to uintptr_t.
33418 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33420 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33421 * sysdeps/s390/s390-64/memset.S: Likewise.
33423 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33426 * menual/message.texi (Message Translation): Fix typos.
33427 (Helper programs for gettext): Likewise.
33429 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33432 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33435 2012-12-07 David S. Miller <davem@davemloft.net>
33437 * po/libc.pot: Update.
33439 2012-12-07 Richard Henderson <rth@redhat.com>
33442 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33443 normal/normal case to before the switch.
33444 (_FP_DIV): Likewise.
33446 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33447 Mike Frysinger <vapier@gentoo.org>
33449 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33450 check for __NR_fadvise64_64.
33452 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33454 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33455 0, not just to plain "0" as a statement.
33456 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33459 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33461 * NEWS: Use sourceware.org in Bugzilla URL.
33463 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33466 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33468 * stdio-common/tst-put-error.c (do_test): Add newline to the
33469 padded test to ensure flush.
33471 2012-12-05 Jeff Law <law@redhat.com>
33473 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33475 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33477 * README: Don't refer to ports add-on as distributed separately.
33478 Mention AArch64 in list of systems supported in the ports add-on.
33480 * LICENSES: Add more non-FSF copyright and license notices.
33482 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33485 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33487 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33488 10000 as width of padded output.
33490 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33492 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33494 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33495 variable LX with __attribute__ ((unused)).
33496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33498 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33501 with __attribute__ ((unused)).
33503 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33505 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33507 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33509 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33510 (CFLAGS-nldbl-acos.c): New variable.
33511 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33512 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33513 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33514 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33515 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33516 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33517 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33518 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33519 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33520 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33521 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33522 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33523 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33524 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33525 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33526 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33527 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33528 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33529 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33530 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33531 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33532 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33533 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33534 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33535 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33536 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33537 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33538 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33539 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33540 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33541 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33542 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33543 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33544 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33545 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33546 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33547 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33548 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33549 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33550 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33551 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33552 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33553 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33554 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33555 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33556 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33557 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33558 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33559 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33560 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33561 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33562 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33563 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33564 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33565 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33566 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33567 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33610 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33613 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33614 whole low double instead of just low 47 bits when splitting values
33617 2012-12-03 Allan McRae <allan@archlinux.org>
33619 * manual/stdio.texi (Predefined Printf Handlers): Remove
33620 @hsep and @vsep usage.
33622 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33624 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33625 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33627 2012-12-03 Jeff Law <law@redhat.com>
33629 * time/sys/time.h (settimeofday): Do not mark TV argument
33632 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33634 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33635 when currently writing and seek to current position when not.
33636 * libio/Makefile (tests): Remove bug-fclose1.
33637 * libio/bug-fclose1.c: Delete.
33639 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33641 * manual/arith.texi (feenableexcept): Fix typo.
33642 (fedisableexcept): Likewise.
33644 2012-11-30 Roland McGrath <roland@hack.frob.com>
33646 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33647 second, differently-typed declaration, rather than a cast.
33649 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33651 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33652 * include/rpc/svc.h: ... here.
33654 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33657 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33658 depending n and resplen2 to catch cases where answer
33661 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33663 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33664 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33666 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33670 2012-11-29 Roland McGrath <roland@hack.frob.com>
33672 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33674 2012-11-28 Jeff Law <law@redhat.com>
33677 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33678 dataset_temporary. Track alloca usage into alloca_used.
33679 If dataset is large allocate and release it via malloc/free.
33681 2012-06-04 Florian Weimer <fweimer@redhat.com>
33684 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33686 2012-11-28 David S. Miller <davem@davemloft.net>
33688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33690 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33693 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33694 of pi/2 rounded to nearest to 64 bits.
33695 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33696 nearest to 64 bits.
33697 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33700 2012-11-28 Jeff Law <law@redhat.com>
33701 Martin Osvald <mosvald@redhat.com>
33704 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33705 * sunrpc/svc.c: Include time.h.
33706 (__svc_accept_failed): New function.
33707 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33708 any reason other than EINTR, call __svc_accept_failed.
33709 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33710 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33712 2012-11-28 Andreas Schwab <schwab@suse.de>
33714 * scripts/abilist.awk: Also handle indirect functions in .opd
33717 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33720 * sysdeps/x86/fpu/powl_helper.c: New file.
33721 * sysdeps/x86/fpu/Makefile: Likewise.
33722 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33724 (__ieee754_powl): Use __powl_helper for finite arguments except
33725 integer exponents below 8.
33726 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33728 (__ieee754_powl): Use __powl_helper for finite arguments except
33729 integer exponents below 8.
33730 * math/libm-test.inc (pow_test): Add more tests and enable some
33731 previously disabled tests.
33732 * sysdeps/i386/fpu/libm-test-ulps: Update.
33733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33735 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33736 Carlos O'Donell <carlos_odonell@mentor.com>
33738 * nss/makedb.c (is_prime): Assert that input is odd and greater
33739 than 4. Note that fact in a comment too.
33740 (next_prime): Add 4 to input.
33742 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33745 * libio/Makefile (tests): Add test case tst-fwrite-error.
33746 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33747 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33748 * libio/tst-fwrite-error.c: New test case.
33750 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33752 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33753 before casting to void *.
33754 * include/libc-internal.h (__pointer_type): New macro.
33755 (__integer_if_pointer_type_sub): Likewise.
33756 (__integer_if_pointer_type): Likewise.
33757 (cast_to_integer): Likewise.
33758 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33759 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33760 before casting to atomic64_t.
33761 (atomic_exchange_acq): Likewise.
33762 (__arch_exchange_and_add_body): Likewise.
33763 (__arch_add_body): Likewise.
33764 (atomic_add_negative): Likewise.
33765 (atomic_add_zero): Likewise.
33767 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33769 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33770 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33771 (add_fdes): Likewise.
33772 (linear_search_fdes): Likewise.
33773 (binary_search_unencoded_fdes): Likewise.
33775 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33777 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33779 2012-11-24 Adam Conrad <adconrad@0c3.net>
33781 * configure.in: Autodetect C++ header directories.
33782 * configure: Regenerated.
33784 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33786 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33788 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33792 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33794 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33795 LDBL_MANT_DIG == 106]: Disable some tests.
33796 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33798 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33802 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33803 input for small inputs. Return +/- pi/2 for large inputs.
33804 * math/libm-test.inc (atan_test): Add more tests.
33806 * sysdeps/generic/unwind-dw2-fde-glibc.c
33807 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33808 __attribute__ ((unused)).
33811 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33812 x * y if x and y are nonzero and z is zero.
33815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33816 nonzero exponents with absolute value below 0x1p-117 to +/-
33820 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33821 up arguments below 2**-450, not just those below 2**-500.
33822 * math/libm-test.inc (hypot_test): Add another test.
33825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33826 Return a+b for ratio over 2**120, not 2**60.
33827 * math/libm-test.inc (hypot_test): Add another test.
33829 * math/libm-test.inc (clog_test): Use
33830 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33831 (clog10_test): Likewise.
33834 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33836 2012-11-22 Andreas Schwab <schwab@suse.de>
33838 * sysdeps/i386/fpu/libm-test-ulps: Update.
33840 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33842 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33843 printf output with newline.
33845 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33848 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33849 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33850 -z nodlopen, -z initfirst and -z execstack support.
33851 * configure: Regenerated.
33853 * elf/elf.h (DF_1_NODIRECT): New macro.
33854 (DF_1_IGNMULDEF): Likewise.
33855 (DF_1_NOKSYMS): Likewise.
33856 (DF_1_NOHDR): Likewise.
33857 (DF_1_EDITED): Likewise.
33858 (DF_1_NORELOC): Likewise.
33859 (DF_1_SYMINTPOSE): Likewise.
33860 (DF_1_GLOBAUDIT): Likewise.
33861 (DF_1_SINGLETON): Likewise.
33862 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33863 DT_1_SUPPORTED_MASK bits.
33864 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33866 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33868 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33870 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33872 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33875 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33876 (sendmmsg): Move declarations...
33877 * socket/sys/socket.h: ... here.
33878 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33879 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33881 * socket/recvmmsg.c: ... this new file.
33882 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33883 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33884 definition of __sendmmsg hidden.
33885 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33886 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33887 Move ENOSYS stub into and include it from...
33888 * socket/sendmmsg.c: ... this new file.
33889 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33890 (sysdep_routines): Move recvmmsg and sendmmsg...
33891 * socket/Makefile (routines): ... here.
33892 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33893 (GLIBC_PRIVATE): Add __sendmmsg.
33894 * include/sys/socket.h (__sendmmsg): Add declarations.
33895 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33898 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33901 variable I1 with __attribute__ ((unused)).
33902 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33904 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33906 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33907 DUMMY variables with __attribute__ ((unused)).
33909 * bits/byteswap.h: Include <bits/types.h>.
33910 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33912 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33914 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33915 string_t. Do not manually set errno.
33916 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33917 length with __strnlen. Make sure to both set errno and return it on
33920 2012-11-19 David S. Miller <davem@davemloft.net>
33922 With help from Joseph Myers.
33923 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33924 very large arguments properly.
33925 * math/libm-test.inc (atan_test): New tests.
33926 (atan2_test): New tests.
33927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33930 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33933 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33936 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33937 [POSIX] (EADDRNOTAVAIL): Likewise.
33938 [POSIX] (EAFNOSUPPORT): Likewise.
33939 [POSIX] (EALREADY): Likewise.
33940 [POSIX] (ECONNABORTED): Likewise.
33941 [POSIX] (ECONNREFUSED): Likewise.
33942 [POSIX] (ECONNRESET): Likewise.
33943 [POSIX] (EDESTADDRREQ): Likewise.
33944 [POSIX] (EDQUOT): Likewise.
33945 [POSIX] (EHOSTUNREACH): Likewise.
33946 [POSIX] (EIDRM): Likewise.
33947 [POSIX] (EISCONN): Likewise.
33948 [POSIX] (ELOOP): Likewise.
33949 [POSIX] (EMULTIHOP): Likewise.
33950 [POSIX] (ENETDOWN): Likewise.
33951 [POSIX] (ENETUNREACH): Likewise.
33952 [POSIX] (ENOBUFS): Likewise.
33953 [POSIX] (ENODATA): Likewise.
33954 [POSIX] (ENOLINK): Likewise.
33955 [POSIX] (ENOMSG): Likewise.
33956 [POSIX] (ENOPROTOOPT): Likewise.
33957 [POSIX] (ENOSR): Likewise.
33958 [POSIX] (ENOSTR): Likewise.
33959 [POSIX] (ENOTCONN): Likewise.
33960 [POSIX] (ENOTSOCK): Likewise.
33961 [POSIX] (EOPNOTSUPP): Likewise.
33962 [POSIX] (EOVERFLOW): Likewise.
33963 [POSIX] (EPROTO): Likewise.
33964 [POSIX] (EPROTONOSUPPORT): Likewise.
33965 [POSIX] (EPROTOTYPE): Likewise.
33966 [POSIX] (ESTALE): Likewise.
33967 [POSIX] (ETIME): Likewise.
33968 [POSIX] (ETXTBSY): Likewise.
33969 [POSIX] (EWOULDBLOCK): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33971 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33972 [POSIX] (SEEK_CUR): Likewise.
33973 [POSIX] (SEEK_END): Likewise.
33974 [POSIX || UNIX98] (mode_t): Do not require.
33975 [POSIX] (off_t): Likewise.
33976 [POSIX] (pid_t): Likewise.
33977 [POSIX] (sys/stat.h): Do not allow header.
33978 [POSIX] (unistd.h): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33980 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33982 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33984 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33985 sigevent): Specify elements.
33986 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33988 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33989 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33991 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33992 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33993 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33994 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33995 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33996 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33997 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33998 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34000 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34001 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34002 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34003 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34006 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34008 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34010 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34014 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34015 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34017 Specify lower bound on value.
34018 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34024 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34025 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34027 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34029 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34044 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34046 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34048 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34049 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34050 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34051 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34052 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34055 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34056 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34057 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34058 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34059 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34060 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34065 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34066 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34067 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34068 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34069 specify as optional.
34070 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34071 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34072 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34073 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34074 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34075 [XPG3] (NL_LANGMAX): Likewise.
34076 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34077 [POSIX || XPG3] (NL_NMAX): Likewise.
34078 [POSIX || XPG3] (NL_SETMAX): Likewise.
34079 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34080 [XPG3] (NZERO): Likewise.
34081 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34082 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34083 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34084 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34085 (REG_ERANGE): Expect.
34086 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34088 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34089 Use (void) in prototype.
34090 [POSIX] (*_t): Allow.
34091 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34092 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34093 (WRDE_BADVAL): Expect.
34095 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34097 [XPG3 || XPG4] (O_RSYNC): Likewise.
34098 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34100 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34101 [XPG3 || XPG4] (sigqueue): Likewise.
34102 [XPG3 || XPG4] (sigtimedwait): Likewise.
34103 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34104 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34105 [XPG3 || XPG4] (vsnprintf): Likewise.
34106 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34108 [XPG3 || XPG4] (blksize_t): Likewise.
34109 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34111 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34112 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34113 [XPG3 || XPG4] (struct itimerspec): Likewise.
34114 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34115 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34116 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34117 [XPG3 || XPG4] (clockid_t): Likewise.
34118 [XPG3 || XPG4] (timer_t): Likewise.
34119 [XPG3 || XPG4] (clock_getres): Likewise.
34120 [XPG3 || XPG4] (clock_gettime): Likewise.
34121 [XPG3 || XPG4] (clock_settime): Likewise.
34122 [XPG3 || XPG4] (nanosleep): Likewise.
34123 [XPG3 || XPG4] (timer_create): Likewise.
34124 [XPG3 || XPG4] (timer_delete): Likewise.
34125 [XPG3 || XPG4] (timer_gettime): Likewise.
34126 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34127 [XPG3 || XPG4] (timer_settime): Likewise.
34128 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34129 [XPG3 || XPG4] (getlogin_r): Likewise.
34130 [XPG3 || XPG4] (pread): Likewise.
34131 [XPG3 || XPG4] (pthread_atfork): Likewise.
34132 [XPG3 || XPG4] (pwrite): Likewise.
34135 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34138 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34140 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34141 finalizing MALLSTREAM.
34143 * sysdeps/mach/hurd/syncfs.c: New file.
34145 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34148 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34149 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34151 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34152 (_nss_dns_gethostbyname4_r): Likewise.
34153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34154 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34156 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34159 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34161 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34163 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34164 * elf/cache.c (print_entry): Print ",AArch64" for
34167 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34168 * elf/cache.c (print_entry): Print ",hard-float" for
34171 2012-11-18 David S. Miller <davem@davemloft.net>
34173 With help from Joseph Myers.
34174 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34176 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34178 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34179 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34182 * math/libm-test.inc (y0_test): New tests.
34183 (y1_test): New tests.
34184 * sysdeps/i386/fpu/libm-test-ulps: Update.
34185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34188 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34190 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34192 * configure: Regenerated.
34194 2012-11-17 David S. Miller <davem@davemloft.net>
34197 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34198 nonzero exponents with absolute value below 0x1p-128 to +/-
34201 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34203 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34205 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34207 * posix/getconf-speclist.c: New file.
34208 * posix/posix-envs.def: Likewise.
34209 * posix/confstr.c (START_ENV_GROUP): New macro.
34210 (END_ENV_GROUP): Likewise.
34211 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34212 (KNOWN_PRESENT_ENV_STRING): Likewise.
34213 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34214 (UNKNOWN_ENVIRONMENT): Likewise.
34215 (confstr): Include posix-envs.def instead of handling
34216 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34217 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34218 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34219 (END_ENV_GROUP): Likewise.
34220 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34221 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34222 (UNKNOWN_ENVIRONMENT): Likewise.
34223 (__sysconf): Include posix-envs.def instead of handling associated
34224 cases directly here.
34225 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34226 preprocessing getconf-speclist.c rather than running getconf or
34227 generating empty file.
34229 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34231 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34233 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34236 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34238 2012-11-16 David S. Miller <davem@davemloft.net>
34240 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34241 smaller than LDBL_EPSILON/2.0L, just return xm1.
34243 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34245 * elf/tst-array1.c (init): Set constructor priority to 1000.
34246 (fini): Set destructor priority to 1000.
34247 * elf/tst-array2dep.c: Likewise.
34249 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34252 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34253 (_IO_new_file_xsputn): Also return EOF if none of the input
34254 data was written when overflow failed.
34255 * libio/iopadn.c (_IO_padn): Likewise.
34256 * libio/iowpadn.c (_IO_wpadn): Likewise.
34257 * stdio-common/tst-put-error.c: Add copyright notice.
34258 (do_test): Add case for printing padded string.
34259 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34260 _IO_padn returned error.
34261 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34262 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34265 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34267 * libio/libioP.h: Add comment note that the references to C++
34268 bits are now obsolete.
34270 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34272 * math/libm-test.inc (check_complex): Use asprintf.
34274 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34276 * debug/pcprofiledump.c (print_version): Update copyright year.
34277 * malloc/memusagestat.c (print_version): Likewise.
34279 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34282 * elf/Makefile (tests): Add tst-audit8.
34283 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34284 ($(objpfx)tst-audit8.out): New target.
34285 (tst-audit8-ENV): New variable.
34286 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34287 audit if l_reloc_result is NULL.
34288 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34289 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34290 * elf/tst-audit8.c: New file.
34292 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34294 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34295 * misc/Makefile (CFLAGS-select.c): Define.
34296 * posix/Makefile (CFLAGS-pause.c): Define.
34298 2012-11-13 David S. Miller <davem@davemloft.net>
34300 * crypt/Makefile: Move test targets after toplevel Rules
34301 inclusion. Grab any necessary sysdep routines when linking.
34302 * crypt/md5.c (md5_process_block): Remove define, we will always
34303 name it __md5_process_block.
34304 (md5_finish_ctx): Update md5_process_block call.
34305 (md5_stream): Likewise.
34306 (md5_process_bytes): Likewise.
34307 (md5_process_block): Rename to __md5_process_block and move to ...
34308 * crypt/md5-block.c: ... here.
34309 * crypt/sha256.c (sha256_process_block): Move to ...
34310 * crypt/sha256-block.c: ... here.
34311 * crypt/sha512.c (sha512_process_block): Move to ...
34312 * crypt/sha512-block.c: ... here.
34313 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34315 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34316 * sysdeps/sparc/sparc64/multiarch/Makefile
34317 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34319 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34320 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34322 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34323 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34324 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34325 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34326 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34327 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34328 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34329 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34337 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34339 * timezone/tzselect.ksh: Update from tzcode git revision
34340 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34341 * timezone/zdump.c: Likewise.
34342 * timezone/zic.c: Likewise.
34343 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34344 in TZVERSION setting, not $(PKGVERSION).
34345 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34346 REPORT_BUGS_TO settings.
34349 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34352 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34354 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34355 detection to immediately after _FP_ROUND().
34356 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34359 2012-11-11 David S. Miller <davem@davemloft.net>
34361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34363 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34364 __close rather than their public counterparts.
34366 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34368 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34370 [UNIX98] (sem_timedwait): Do not expect.
34371 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34372 [XPG4 || UNIX98] (sockatmark): Do not expect.
34373 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34374 (clock_getcpuclockid): Do not expect.
34375 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34376 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34378 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34379 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34380 [UNIX98] (vwscanf): Likewise.
34381 [UNIX98] (vswscanf): Likewise.
34383 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34385 * timezone/version.h: Remove file.
34386 * timezone/README: Do not refer to version.h.
34387 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34388 $(objpfx)version.h.
34389 ($(objpfx)zdump.o): Likewise.
34390 ($(objpfx)version.h): New target.
34392 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34394 * timezone/README: Don't mention modification to tzselect.ksh.
34395 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34396 work on unmodified tzselect.ksh. Substitute version numbers in
34399 * Makefile (format-me): Remove.
34400 (INSTALL): Adjust indentation. Use commands directly instead of
34401 using $(format-me).
34403 * aclocal.m4 (ACX_PKGVERSION): New macro.
34404 (ACX_BUGURL): Likewise.
34405 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34406 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34407 (REPORT_BUGS_TO): Likewise.
34408 * configure: Regenerated.
34409 * config.h.in (PKGVERSION): New macro.
34410 (REPORT_BUGS_TO): Likewise.
34411 * config.make.in (PKGVERSION): New variable.
34412 (PKGVERSION_TEXI): Likewise.
34413 (REPORT_BUGS_TO): Likewise.
34414 (REPORT_BUGS_TEXI): Likewise.
34415 * Makefile (format-me): Use -I$(common-objpfx)manual.
34416 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34417 ($(common-objpfx)manual/%): New target.
34418 (manual/%): Remove target.
34419 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34420 (print_version): Use PKGVERSION.
34421 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34422 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34423 and REPORT_BUGS_TO.
34424 ($(objpfx)xtrace): Likewise.
34425 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34426 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34427 (print_version): Use PKGVERSION.
34428 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34429 (do_version): Use PKGVERSION.
34430 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34432 (common-ldd-rewrite): Likewise.
34433 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34434 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34435 (print_version): Use PKGVERSION.
34436 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34437 * elf/pldd.c (argp_program_bug_address): Remove variable.
34438 (more_help): New function.
34439 (argp): Use more_help.
34440 (print_version): Use PKGVERSION.
34441 * elf/sln.c (main): Use PKGVERSION.
34442 (usage): Use REPORT_BUGS_TO.
34443 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34444 (top level): Use PKGVERSION.
34445 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34446 (print_version): Use PKGVERSION.
34447 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34448 (print_version): Use PKGVERSION.
34449 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34450 (print_version): Use PKGVERSION.
34451 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34452 (print_version): Use PKGVERSION.
34453 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34454 (print_version): Use PKGVERSION.
34455 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34456 (print_version): Use PKGVERSION.
34457 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34459 ($(objpfx)memusage): Likewise.
34460 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34461 (do_version): Use PKGVERSION.
34462 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34463 (print_version): Use PKGVERSION.
34464 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34465 ($PKGVERSION): New variable.
34466 ($REPORT_BUGS_TO): Likewise.
34467 (usage): Use $REPORT_BUGS_TO.
34468 (top level): Use $PKGVERSION.
34469 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34470 ($(objpfx)pkgvers.texi): New rule.
34471 ($(objpfx)stamp-pkgvers): Likewise.
34472 * manual/install.texi: Include pkgvers.texi.
34473 (--with-pkgversion): Document new configure option.
34474 (--with-bugurl): Likewise.
34475 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34476 than necessarily for this particular distribution. Use
34477 REPORT_BUGS_TO for where to report bugs.
34478 * INSTALL: Regenerated.
34479 * manual/libc.texinfo: Include pkgvers.texi.
34480 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34481 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34482 (print_version): Use PKGVERSION.
34483 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34484 (print_version): Use PKGVERSION.
34485 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34486 (print_version): Use PKGVERSION.
34487 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34488 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34490 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34491 (print_version): Use PKGVERSION.
34492 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34493 (print_version): Use PKGVERSION.
34494 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34497 * timezone/checktab.awk: Update from tzcode 2012i.
34498 * timezone/ialloc.c: Likewise.
34499 * timezone/private.h: Likewise.
34500 * timezone/scheck.c: Likewise.
34501 * timezone/tzfile.h: Likewise.
34502 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34503 (TZVERSION): Hardcode tzcode version number.
34504 * timezone/zdump.c: Update from tzcode 2012i.
34505 * timezone/zic.c: Likewise.
34506 * timezone/version.h: New file.
34507 * timezone/README: Describe version.h. Update upstream location.
34510 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34511 (mktemp): Enable declaration.
34512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34529 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34530 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34531 for copies of such integer values.
34532 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34533 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34535 2012-11-09 Andreas Jaeger <aj@suse.de>
34537 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34538 definitions and declarations that are provided by
34539 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34541 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34543 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34544 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34545 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34548 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34550 * elf/elf.h: Update comment before AArch64 relocations.
34552 2012-11-07 David S. Miller <davem@davemloft.net>
34554 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34555 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34556 (__start_context): Declare.
34557 (__makecontext_ret): Delete.
34558 (__makecontext): Hook up __start_context instead of
34560 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34561 (sysdep_routines): Add __start_context when in stdlib.
34563 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34565 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34566 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34567 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34569 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34570 (READELF): New variable. Use it instead of hardcoded "readelf".
34572 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34574 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34575 * sysdeps/x86/Makefile: Here.
34576 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34577 * sysdeps/x86/tst-xmmymm.sh: This.
34579 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34581 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34583 [UNIX98] (pthread_barrier_t): Do not expect.
34584 [UNIX98] (pthread_barrierattr_t): Likewise.
34585 [UNIX98] (pthread_spinlock_t): Likewise.
34586 [UNIX98] (pthread_barrier_destroy): Likewise.
34587 [UNIX98] (pthread_barrier_init): Likewise.
34588 [UNIX98] (pthread_barrier_wait): Likewise.
34589 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34590 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34591 [UNIX98] (pthread_barrierattr_init): Likewise.
34592 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34593 [UNIX98] (pthread_getcpuclockid): Likewise.
34594 [UNIX98] (pthread_mutex_timedlock): Likewise.
34595 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34596 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34597 [UNIX98] (pthread_sigmask): Likewise.
34598 [UNIX98] (pthread_spin_destroy): Likewise.
34599 [UNIX98] (pthread_spin_init): Likewise.
34600 [UNIX98] (pthread_spin_lock): Likewise.
34601 [UNIX98] (pthread_spin_trylock): Likewise.
34602 [UNIX98] (pthread_spin_unlock): Likewise.
34603 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34605 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34606 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34607 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34608 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34609 [XPG3 || XPG4] (pthread_key_t): Likewise.
34610 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34611 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34612 [XPG3 || XPG4] (pthread_once_t): Likewise.
34613 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34614 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34615 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34616 [XPG3 || XPG4] (pthread_t): Likewise.
34618 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34620 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34622 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34623 Change function return type to int.
34625 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34626 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34627 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34628 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34629 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34630 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34631 [!POSIX] (posix_madvise): Likewise.
34632 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34634 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34635 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34636 (mode_t): Likewise.
34637 (posix_mem_offset): Likewise.
34638 (posix_typed_mem_get_info): Likewise.
34639 (posix_typed_mem_open): Likewise.
34641 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34642 Change condition to [XOPEN2K8].
34644 * conform/conformtest.pl: Preprocess allow-header data with -x c
34645 instead of from stdin.
34646 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34647 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34648 [C99-based standards] (cerfc): Likewise.
34649 [C99-based standards] (cexp2): Likewise.
34650 [C99-based standards] (cexpm1): Likewise.
34651 [C99-based standards] (clog10): Likewise.
34652 [C99-based standards] (clog1p): Likewise.
34653 [C99-based standards] (clog2): Likewise.
34654 [C99-based standards] (clgamma): Likewise.
34655 [C99-based standards] (ctgamma): Likewise.
34656 [C99-based standards] (cerff): Likewise.
34657 [C99-based standards] (cerfcf): Likewise.
34658 [C99-based standards] (cexp2f): Likewise.
34659 [C99-based standards] (cexpm1f): Likewise.
34660 [C99-based standards] (clog10f): Likewise.
34661 [C99-based standards] (clog1pf): Likewise.
34662 [C99-based standards] (clog2f): Likewise.
34663 [C99-based standards] (clgammaf): Likewise.
34664 [C99-based standards] (ctgammaf): Likewise.
34665 [C99-based standards] (cerfl): Likewise.
34666 [C99-based standards] (cerfcl): Likewise.
34667 [C99-based standards] (cexp2l): Likewise.
34668 [C99-based standards] (cexpm1l): Likewise.
34669 [C99-based standards] (clog10l): Likewise.
34670 [C99-based standards] (clog1pl): Likewise.
34671 [C99-based standards] (clog2l): Likewise.
34672 [C99-based standards] (clgammal): Likewise.
34673 [C99-based standards] (ctgammal): Likewise.
34674 * conform/data/inttypes.h-data [C99-based standards]: Include
34675 stdint.h-data. Remove all expectations for stdint.h contents.
34676 [C99-based standards] (PRI*): Do not allow.
34677 [C99-based standards] (SCN*): Likewise.
34678 [C99-based standards] (*_t): Likewise.
34679 [C99-based-standards] (PRId8): Expect macro.
34680 [C99-based-standards] (PRIi8): Likewise.
34681 [C99-based-standards] (PRIo8): Likewise.
34682 [C99-based-standards] (PRIu8): Likewise.
34683 [C99-based-standards] (PRIx8): Likewise.
34684 [C99-based-standards] (PRIX8): Likewise.
34685 [C99-based-standards] (SCNd8): Likewise.
34686 [C99-based-standards] (SCNi8): Likewise.
34687 [C99-based-standards] (SCNo8): Likewise.
34688 [C99-based-standards] (SCNu8): Likewise.
34689 [C99-based-standards] (SCNx8): Likewise.
34690 [C99-based-standards] (PRIdLEAST8): Likewise.
34691 [C99-based-standards] (PRIiLEAST8): Likewise.
34692 [C99-based-standards] (PRIoLEAST8): Likewise.
34693 [C99-based-standards] (PRIuLEAST8): Likewise.
34694 [C99-based-standards] (PRIxLEAST8): Likewise.
34695 [C99-based-standards] (PRIXLEAST8): Likewise.
34696 [C99-based-standards] (SCNdLEAST8): Likewise.
34697 [C99-based-standards] (SCNiLEAST8): Likewise.
34698 [C99-based-standards] (SCNoLEAST8): Likewise.
34699 [C99-based-standards] (SCNuLEAST8): Likewise.
34700 [C99-based-standards] (SCNxLEAST8): Likewise.
34701 [C99-based-standards] (PRIdFAST8): Likewise.
34702 [C99-based-standards] (PRIiFAST8): Likewise.
34703 [C99-based-standards] (PRIoFAST8): Likewise.
34704 [C99-based-standards] (PRIuFAST8): Likewise.
34705 [C99-based-standards] (PRIxFAST8): Likewise.
34706 [C99-based-standards] (PRIXFAST8): Likewise.
34707 [C99-based-standards] (SCNdFAST8): Likewise.
34708 [C99-based-standards] (SCNiFAST8): Likewise.
34709 [C99-based-standards] (SCNoFAST8): Likewise.
34710 [C99-based-standards] (SCNuFAST8): Likewise.
34711 [C99-based-standards] (SCNxFAST8): Likewise.
34712 [C99-based-standards] (PRId16): Likewise.
34713 [C99-based-standards] (PRIi16): Likewise.
34714 [C99-based-standards] (PRIo16): Likewise.
34715 [C99-based-standards] (PRIu16): Likewise.
34716 [C99-based-standards] (PRIx16): Likewise.
34717 [C99-based-standards] (PRIX16): Likewise.
34718 [C99-based-standards] (SCNd16): Likewise.
34719 [C99-based-standards] (SCNi16): Likewise.
34720 [C99-based-standards] (SCNo16): Likewise.
34721 [C99-based-standards] (SCNu16): Likewise.
34722 [C99-based-standards] (SCNx16): Likewise.
34723 [C99-based-standards] (PRIdLEAST16): Likewise.
34724 [C99-based-standards] (PRIiLEAST16): Likewise.
34725 [C99-based-standards] (PRIoLEAST16): Likewise.
34726 [C99-based-standards] (PRIuLEAST16): Likewise.
34727 [C99-based-standards] (PRIxLEAST16): Likewise.
34728 [C99-based-standards] (PRIXLEAST16): Likewise.
34729 [C99-based-standards] (SCNdLEAST16): Likewise.
34730 [C99-based-standards] (SCNiLEAST16): Likewise.
34731 [C99-based-standards] (SCNoLEAST16): Likewise.
34732 [C99-based-standards] (SCNuLEAST16): Likewise.
34733 [C99-based-standards] (SCNxLEAST16): Likewise.
34734 [C99-based-standards] (PRIdFAST16): Likewise.
34735 [C99-based-standards] (PRIiFAST16): Likewise.
34736 [C99-based-standards] (PRIoFAST16): Likewise.
34737 [C99-based-standards] (PRIuFAST16): Likewise.
34738 [C99-based-standards] (PRIxFAST16): Likewise.
34739 [C99-based-standards] (PRIXFAST16): Likewise.
34740 [C99-based-standards] (SCNdFAST16): Likewise.
34741 [C99-based-standards] (SCNiFAST16): Likewise.
34742 [C99-based-standards] (SCNoFAST16): Likewise.
34743 [C99-based-standards] (SCNuFAST16): Likewise.
34744 [C99-based-standards] (SCNxFAST16): Likewise.
34745 [C99-based-standards] (PRId32): Likewise.
34746 [C99-based-standards] (PRIi32): Likewise.
34747 [C99-based-standards] (PRIo32): Likewise.
34748 [C99-based-standards] (PRIu32): Likewise.
34749 [C99-based-standards] (PRIx32): Likewise.
34750 [C99-based-standards] (PRIX32): Likewise.
34751 [C99-based-standards] (SCNd32): Likewise.
34752 [C99-based-standards] (SCNi32): Likewise.
34753 [C99-based-standards] (SCNo32): Likewise.
34754 [C99-based-standards] (SCNu32): Likewise.
34755 [C99-based-standards] (SCNx32): Likewise.
34756 [C99-based-standards] (PRIdLEAST32): Likewise.
34757 [C99-based-standards] (PRIiLEAST32): Likewise.
34758 [C99-based-standards] (PRIoLEAST32): Likewise.
34759 [C99-based-standards] (PRIuLEAST32): Likewise.
34760 [C99-based-standards] (PRIxLEAST32): Likewise.
34761 [C99-based-standards] (PRIXLEAST32): Likewise.
34762 [C99-based-standards] (SCNdLEAST32): Likewise.
34763 [C99-based-standards] (SCNiLEAST32): Likewise.
34764 [C99-based-standards] (SCNoLEAST32): Likewise.
34765 [C99-based-standards] (SCNuLEAST32): Likewise.
34766 [C99-based-standards] (SCNxLEAST32): Likewise.
34767 [C99-based-standards] (PRIdFAST32): Likewise.
34768 [C99-based-standards] (PRIiFAST32): Likewise.
34769 [C99-based-standards] (PRIoFAST32): Likewise.
34770 [C99-based-standards] (PRIuFAST32): Likewise.
34771 [C99-based-standards] (PRIxFAST32): Likewise.
34772 [C99-based-standards] (PRIXFAST32): Likewise.
34773 [C99-based-standards] (SCNdFAST32): Likewise.
34774 [C99-based-standards] (SCNiFAST32): Likewise.
34775 [C99-based-standards] (SCNoFAST32): Likewise.
34776 [C99-based-standards] (SCNuFAST32): Likewise.
34777 [C99-based-standards] (SCNxFAST32): Likewise.
34778 [C99-based-standards] (PRId64): Likewise.
34779 [C99-based-standards] (PRIi64): Likewise.
34780 [C99-based-standards] (PRIo64): Likewise.
34781 [C99-based-standards] (PRIu64): Likewise.
34782 [C99-based-standards] (PRIx64): Likewise.
34783 [C99-based-standards] (PRIX64): Likewise.
34784 [C99-based-standards] (SCNd64): Likewise.
34785 [C99-based-standards] (SCNi64): Likewise.
34786 [C99-based-standards] (SCNo64): Likewise.
34787 [C99-based-standards] (SCNu64): Likewise.
34788 [C99-based-standards] (SCNx64): Likewise.
34789 [C99-based-standards] (PRIdLEAST64): Likewise.
34790 [C99-based-standards] (PRIiLEAST64): Likewise.
34791 [C99-based-standards] (PRIoLEAST64): Likewise.
34792 [C99-based-standards] (PRIuLEAST64): Likewise.
34793 [C99-based-standards] (PRIxLEAST64): Likewise.
34794 [C99-based-standards] (PRIXLEAST64): Likewise.
34795 [C99-based-standards] (SCNdLEAST64): Likewise.
34796 [C99-based-standards] (SCNiLEAST64): Likewise.
34797 [C99-based-standards] (SCNoLEAST64): Likewise.
34798 [C99-based-standards] (SCNuLEAST64): Likewise.
34799 [C99-based-standards] (SCNxLEAST64): Likewise.
34800 [C99-based-standards] (PRIdFAST64): Likewise.
34801 [C99-based-standards] (PRIiFAST64): Likewise.
34802 [C99-based-standards] (PRIoFAST64): Likewise.
34803 [C99-based-standards] (PRIuFAST64): Likewise.
34804 [C99-based-standards] (PRIxFAST64): Likewise.
34805 [C99-based-standards] (PRIXFAST64): Likewise.
34806 [C99-based-standards] (SCNdFAST64): Likewise.
34807 [C99-based-standards] (SCNiFAST64): Likewise.
34808 [C99-based-standards] (SCNoFAST64): Likewise.
34809 [C99-based-standards] (SCNuFAST64): Likewise.
34810 [C99-based-standards] (SCNxFAST64): Likewise.
34811 [C99-based-standards] (PRIdMAX): Likewise.
34812 [C99-based-standards] (PRIiMAX): Likewise.
34813 [C99-based-standards] (PRIoMAX): Likewise.
34814 [C99-based-standards] (PRIuMAX): Likewise.
34815 [C99-based-standards] (PRIxMAX): Likewise.
34816 [C99-based-standards] (PRIXMAX): Likewise.
34817 [C99-based-standards] (SCNdMAX): Likewise.
34818 [C99-based-standards] (SCNiMAX): Likewise.
34819 [C99-based-standards] (SCNoMAX): Likewise.
34820 [C99-based-standards] (SCNuMAX): Likewise.
34821 [C99-based-standards] (SCNxMAX): Likewise.
34822 [C99-based-standards] (PRIdPTR): Likewise.
34823 [C99-based-standards] (PRIiPTR): Likewise.
34824 [C99-based-standards] (PRIoPTR): Likewise.
34825 [C99-based-standards] (PRIuPTR): Likewise.
34826 [C99-based-standards] (PRIxPTR): Likewise.
34827 [C99-based-standards] (PRIXPTR): Likewise.
34828 [C99-based-standards] (SCNdPTR): Likewise.
34829 [C99-based-standards] (SCNiPTR): Likewise.
34830 [C99-based-standards] (SCNoPTR): Likewise.
34831 [C99-based-standards] (SCNuPTR): Likewise.
34832 [C99-based-standards] (SCNxPTR): Likewise.
34833 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34835 * conform/data/stdint.h-data: Update comments to clarify
34837 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34839 [C99-based standards] (INT8_MAX): Likewise.
34840 [C99-based standards] (INT16_MIN): Likewise.
34841 [C99-based standards] (INT16_MAX): Likewise.
34842 [C99-based standards] (INT32_MIN): Likewise.
34843 [C99-based standards] (INT32_MAX): Likewise.
34844 [C99-based standards] (INT64_MIN): Likewise.
34845 [C99-based standards] (INT64_MAX): Likewise.
34846 [C99-based standards] (UINT8_MAX): Likewise.
34847 [C99-based standards] (UINT16_MAX): Likewise.
34848 [C99-based standards] (UINT32_MAX): Likewise.
34849 [C99-based standards] (UINT64_MAX): Likewise.
34850 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34851 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34852 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34853 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34854 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34855 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34856 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34857 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34858 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34859 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34860 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34861 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34862 [C99-based standards] (INT_FAST8_MIN): Likewise.
34863 [C99-based standards] (INT_FAST8_MAX): Likewise.
34864 [C99-based standards] (INT_FAST16_MIN): Likewise.
34865 [C99-based standards] (INT_FAST16_MAX): Likewise.
34866 [C99-based standards] (INT_FAST32_MIN): Likewise.
34867 [C99-based standards] (INT_FAST32_MAX): Likewise.
34868 [C99-based standards] (INT_FAST64_MIN): Likewise.
34869 [C99-based standards] (INT_FAST64_MAX): Likewise.
34870 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34871 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34872 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34873 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34874 [C99-based standards] (INTPTR_MIN): Likewise.
34875 [C99-based standards] (INTPTR_MAX): Likewise.
34876 [C99-based standards] (UINTPTR_MAX): Likewise.
34877 [C99-based standards] (INTMAX_MIN): Likewise.
34878 [C99-based standards] (INTMAX_MAX): Likewise.
34879 [C99-based standards] (UINTMAX_MAX): Likewise.
34880 [C99-based standards] (PTRDIFF_MIN): Likewise.
34881 [C99-based standards] (PTRDIFF_MAX): Likewise.
34882 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34883 [C99-based standards] (SIZE_MAX): Likewise.
34884 [C99-based standards] (WCHAR_MAX): Likewise.
34885 [C99-based standards] (WINT_MAX): Likewise.
34886 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34887 constraint on value.
34888 [C99-based standards] (WCHAR_MIN): Likewise.
34889 [C99-based standards] (WINT_MIN): Likewise.
34890 [C99-based standards] (*_t): Allow.
34891 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34892 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34893 Include math.h-data and complex.h-data. Remove all expectations
34894 of math.h and complex.h contents.
34895 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34897 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34898 (struct tm): Expect tag.
34899 [C99-based-standards] (wcstof): Expect function.
34900 [C99-based-standards] (wcstold): Likewise.
34901 [C99-based-standards] (wcstoll): Likewise.
34902 [C99-based-standards] (wcstoull): Likewise.
34903 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34904 macro-int-constant. Specify type.
34905 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34906 constraint on value.
34907 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34909 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34911 [ISO C standards]: Do not allow headers.
34912 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34913 wcs[abcdefghijklmnopqrstuvwxyz]*.
34914 [ISO C standards] (*_t): Do not allow.
34915 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34917 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34918 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34920 [ISO C standards]: Do not allow headers.
34921 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34922 is[abcdefghijklmnopqrstuvwxyz]*.
34923 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34924 to[abcdefghijklmnopqrstuvwxyz]*.
34925 [ISO C standards] (*_t): Do not allow.
34926 * conform/data/stdalign.h-data: New file.
34927 * conform/data/stdbool.h-data: Likewise.
34928 * conform/data/stdnoreturn.h-data: Likewise.
34930 2012-11-07 Roland McGrath <roland@hack.frob.com>
34933 * manual/filesys.texi (Directory Entries): Typo fix.
34934 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34936 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34938 * elf/elf.h (EM_AARCH64): New macro.
34939 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34940 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34941 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34942 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34943 (R_AARCH64_TLSDESC): Likewise.
34944 (NT_ARM_TLS): Likewise.
34945 (NT_ARM_HW_BREAK): Likewise.
34946 (NT_ARM_HW_WATCH): Likewise.
34948 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34951 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34952 (__ieee754_powl): Saturate nonzero exponents with absolute value
34953 below 0x1p-79 to +/- 0x1p-79.
34954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34955 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34956 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34957 nonzero exponents with absolute value below 0x1p-32 to +/-
34959 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34960 (__ieee754_powl): Saturate nonzero exponents with absolute value
34961 below 0x1p-79 to +/- 0x1p-79.
34962 * math/libm-test.inc (pow_test): Add more tests.
34964 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34966 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34967 _dl_s390_cap_flags with kernel. Increase string length.
34968 (_dl_s390_platforms): Add z196 and zEC12.
34970 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34972 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34973 Change XOPEN21K to XOPEN2K.
34975 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34977 * string/memmove.c: Use memcpy when possible.
34979 2012-11-06 Andreas Jaeger <aj@suse.de>
34981 * po/eo.po: Update from translation team.
34983 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34987 exponent and small x and y exponents, scale x or y up. Increase
34988 by 2 the exponent used in scaling up.
34989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34990 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34991 * math/libm-test.inc (fma_test): Add more tests.
34992 (fma_test_towardzero): Likewise.
34993 (fma_test_downward): Likewise.
34994 (fma_test_upward): Likewise.
34996 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34999 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35003 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35004 namespace for names of struct fields.
35005 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35007 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35008 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35010 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35013 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35015 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35017 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35021 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35024 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35028 definitely overflow as x * y not x * y + z.
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-04 Thomas Schwinge <thomas@codesourcery.com>
35040 * include/stub-tag.h: Remove file.
35041 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35043 * manual/maint.texi (Porting): Don't reference it.
35044 * Makerules ($(objpfx)stubs): Likewise.
35045 * dirent/closedir.c: Don't include <stub-tag.h>.
35046 * dirent/dirfd.c: Likewise.
35047 * dirent/fdopendir.c: Likewise.
35048 * dirent/getdents.c: Likewise.
35049 * dirent/getdents64.c: Likewise.
35050 * dirent/opendir.c: Likewise.
35051 * dirent/readdir.c: Likewise.
35052 * dirent/readdir64.c: Likewise.
35053 * dirent/readdir64_r.c: Likewise.
35054 * dirent/readdir_r.c: Likewise.
35055 * dirent/rewinddir.c: Likewise.
35056 * dirent/seekdir.c: Likewise.
35057 * dirent/telldir.c: Likewise.
35058 * gmon/profil.c: Likewise.
35059 * grp/setgroups.c: Likewise.
35060 * inet/if_index.c: Likewise.
35061 * io/access.c: Likewise.
35062 * io/chdir.c: Likewise.
35063 * io/chmod.c: Likewise.
35064 * io/chown.c: Likewise.
35065 * io/close.c: Likewise.
35066 * io/dup.c: Likewise.
35067 * io/dup2.c: Likewise.
35068 * io/dup3.c: Likewise.
35069 * io/euidaccess.c: Likewise.
35070 * io/faccessat.c: Likewise.
35071 * io/fchdir.c: Likewise.
35072 * io/fchmod.c: Likewise.
35073 * io/fchmodat.c: Likewise.
35074 * io/fchown.c: Likewise.
35075 * io/fchownat.c: Likewise.
35076 * io/fcntl.c: Likewise.
35077 * io/flock.c: Likewise.
35078 * io/fstatfs.c: Likewise.
35079 * io/fstatfs64.c: Likewise.
35080 * io/fstatvfs.c: Likewise.
35081 * io/fstatvfs64.c: Likewise.
35082 * io/futimens.c: Likewise.
35083 * io/fxstat.c: Likewise.
35084 * io/fxstat64.c: Likewise.
35085 * io/fxstatat.c: Likewise.
35086 * io/fxstatat64.c: Likewise.
35087 * io/getcwd.c: Likewise.
35088 * io/isatty.c: Likewise.
35089 * io/lchmod.c: Likewise.
35090 * io/lchown.c: Likewise.
35091 * io/link.c: Likewise.
35092 * io/linkat.c: Likewise.
35093 * io/lseek.c: Likewise.
35094 * io/lseek64.c: Likewise.
35095 * io/lxstat64.c: Likewise.
35096 * io/mkdir.c: Likewise.
35097 * io/mkdirat.c: Likewise.
35098 * io/mkfifo.c: Likewise.
35099 * io/mkfifoat.c: Likewise.
35100 * io/open.c: Likewise.
35101 * io/open64.c: Likewise.
35102 * io/openat.c: Likewise.
35103 * io/openat64.c: Likewise.
35104 * io/pipe.c: Likewise.
35105 * io/pipe2.c: Likewise.
35106 * io/poll.c: Likewise.
35107 * io/posix_fadvise.c: Likewise.
35108 * io/posix_fadvise64.c: Likewise.
35109 * io/posix_fallocate.c: Likewise.
35110 * io/posix_fallocate64.c: Likewise.
35111 * io/read.c: Likewise.
35112 * io/readlink.c: Likewise.
35113 * io/readlinkat.c: Likewise.
35114 * io/rmdir.c: Likewise.
35115 * io/sendfile.c: Likewise.
35116 * io/sendfile64.c: Likewise.
35117 * io/statfs.c: Likewise.
35118 * io/statfs64.c: Likewise.
35119 * io/statvfs.c: Likewise.
35120 * io/statvfs64.c: Likewise.
35121 * io/symlink.c: Likewise.
35122 * io/symlinkat.c: Likewise.
35123 * io/ttyname.c: Likewise.
35124 * io/ttyname_r.c: Likewise.
35125 * io/umask.c: Likewise.
35126 * io/unlink.c: Likewise.
35127 * io/unlinkat.c: Likewise.
35128 * io/utime.c: Likewise.
35129 * io/utimensat.c: Likewise.
35130 * io/write.c: Likewise.
35131 * io/xmknod.c: Likewise.
35132 * io/xmknodat.c: Likewise.
35133 * io/xstat.c: Likewise.
35134 * io/xstat64.c: Likewise.
35135 * login/getpt.c: Likewise.
35136 * login/grantpt.c: Likewise.
35137 * login/unlockpt.c: Likewise.
35138 * math/e_acoshl.c: Likewise.
35139 * math/e_acosl.c: Likewise.
35140 * math/e_asinl.c: Likewise.
35141 * math/e_atan2l.c: Likewise.
35142 * math/e_atanhl.c: Likewise.
35143 * math/e_coshl.c: Likewise.
35144 * math/e_expl.c: Likewise.
35145 * math/e_fmodl.c: Likewise.
35146 * math/e_gammal_r.c: Likewise.
35147 * math/e_hypotl.c: Likewise.
35148 * math/e_j0l.c: Likewise.
35149 * math/e_j1l.c: Likewise.
35150 * math/e_jnl.c: Likewise.
35151 * math/e_lgammal_r.c: Likewise.
35152 * math/e_log10l.c: Likewise.
35153 * math/e_log2l.c: Likewise.
35154 * math/e_logl.c: Likewise.
35155 * math/e_powl.c: Likewise.
35156 * math/e_rem_pio2l.c: Likewise.
35157 * math/e_sinhl.c: Likewise.
35158 * math/e_sqrtl.c: Likewise.
35159 * math/fclrexcpt.c: Likewise.
35160 * math/fedisblxcpt.c: Likewise.
35161 * math/feenablxcpt.c: Likewise.
35162 * math/fegetenv.c: Likewise.
35163 * math/fegetexcept.c: Likewise.
35164 * math/fegetround.c: Likewise.
35165 * math/feholdexcpt.c: Likewise.
35166 * math/fesetenv.c: Likewise.
35167 * math/fesetround.c: Likewise.
35168 * math/feupdateenv.c: Likewise.
35169 * math/fgetexcptflg.c: Likewise.
35170 * math/fraiseexcpt.c: Likewise.
35171 * math/fsetexcptflg.c: Likewise.
35172 * math/ftestexcept.c: Likewise.
35173 * math/k_cosl.c: Likewise.
35174 * math/k_rem_pio2l.c: Likewise.
35175 * math/k_sinl.c: Likewise.
35176 * math/k_tanl.c: Likewise.
35177 * math/s_asinhl.c: Likewise.
35178 * math/s_atanl.c: Likewise.
35179 * math/s_cbrtl.c: Likewise.
35180 * math/s_erfl.c: Likewise.
35181 * math/s_expm1l.c: Likewise.
35182 * math/s_log1pl.c: Likewise.
35183 * math/s_tanhl.c: Likewise.
35184 * misc/acct.c: Likewise.
35185 * misc/brk.c: Likewise.
35186 * misc/chflags.c: Likewise.
35187 * misc/chroot.c: Likewise.
35188 * misc/fchflags.c: Likewise.
35189 * misc/fgetxattr.c: Likewise.
35190 * misc/flistxattr.c: Likewise.
35191 * misc/fremovexattr.c: Likewise.
35192 * misc/fsetxattr.c: Likewise.
35193 * misc/fsync.c: Likewise.
35194 * misc/ftruncate.c: Likewise.
35195 * misc/futimes.c: Likewise.
35196 * misc/futimesat.c: Likewise.
35197 * misc/getdomain.c: Likewise.
35198 * misc/getdtsz.c: Likewise.
35199 * misc/gethostid.c: Likewise.
35200 * misc/gethostname.c: Likewise.
35201 * misc/getloadavg.c: Likewise.
35202 * misc/getpagesize.c: Likewise.
35203 * misc/getsysstats.c: Likewise.
35204 * misc/getxattr.c: Likewise.
35205 * misc/gtty.c: Likewise.
35206 * misc/ioctl.c: Likewise.
35207 * misc/lgetxattr.c: Likewise.
35208 * misc/listxattr.c: Likewise.
35209 * misc/llistxattr.c: Likewise.
35210 * misc/lremovexattr.c: Likewise.
35211 * misc/lsetxattr.c: Likewise.
35212 * misc/lutimes.c: Likewise.
35213 * misc/madvise.c: Likewise.
35214 * misc/mincore.c: Likewise.
35215 * misc/mlock.c: Likewise.
35216 * misc/mlockall.c: Likewise.
35217 * misc/mmap.c: Likewise.
35218 * misc/mprotect.c: Likewise.
35219 * misc/msync.c: Likewise.
35220 * misc/munlock.c: Likewise.
35221 * misc/munlockall.c: Likewise.
35222 * misc/munmap.c: Likewise.
35223 * misc/preadv.c: Likewise.
35224 * misc/preadv64.c: Likewise.
35225 * misc/ptrace.c: Likewise.
35226 * misc/pwritev.c: Likewise.
35227 * misc/pwritev64.c: Likewise.
35228 * misc/readv.c: Likewise.
35229 * misc/reboot.c: Likewise.
35230 * misc/remap_file_pages.c: Likewise.
35231 * misc/removexattr.c: Likewise.
35232 * misc/revoke.c: Likewise.
35233 * misc/select.c: Likewise.
35234 * misc/setdomain.c: Likewise.
35235 * misc/setegid.c: Likewise.
35236 * misc/seteuid.c: Likewise.
35237 * misc/sethostid.c: Likewise.
35238 * misc/sethostname.c: Likewise.
35239 * misc/setregid.c: Likewise.
35240 * misc/setreuid.c: Likewise.
35241 * misc/setxattr.c: Likewise.
35242 * misc/sstk.c: Likewise.
35243 * misc/stty.c: Likewise.
35244 * misc/swapoff.c: Likewise.
35245 * misc/swapon.c: Likewise.
35246 * misc/sync.c: Likewise.
35247 * misc/syncfs.c: Likewise.
35248 * misc/syscall.c: Likewise.
35249 * misc/truncate.c: Likewise.
35250 * misc/ualarm.c: Likewise.
35251 * misc/usleep.c: Likewise.
35252 * misc/ustat.c: Likewise.
35253 * misc/utimes.c: Likewise.
35254 * misc/vhangup.c: Likewise.
35255 * misc/writev.c: Likewise.
35256 * posix/_exit.c: Likewise.
35257 * posix/alarm.c: Likewise.
35258 * posix/execve.c: Likewise.
35259 * posix/fexecve.c: Likewise.
35260 * posix/fork.c: Likewise.
35261 * posix/fpathconf.c: Likewise.
35262 * posix/getaddrinfo.c: Likewise.
35263 * posix/getegid.c: Likewise.
35264 * posix/geteuid.c: Likewise.
35265 * posix/getgid.c: Likewise.
35266 * posix/getgroups.c: Likewise.
35267 * posix/getlogin.c: Likewise.
35268 * posix/getlogin_r.c: Likewise.
35269 * posix/getpgid.c: Likewise.
35270 * posix/getpid.c: Likewise.
35271 * posix/getppid.c: Likewise.
35272 * posix/getresgid.c: Likewise.
35273 * posix/getresuid.c: Likewise.
35274 * posix/getsid.c: Likewise.
35275 * posix/getuid.c: Likewise.
35276 * posix/glob64.c: Likewise.
35277 * posix/nanosleep.c: Likewise.
35278 * posix/pathconf.c: Likewise.
35279 * posix/pause.c: Likewise.
35280 * posix/posix_madvise.c: Likewise.
35281 * posix/pread.c: Likewise.
35282 * posix/pread64.c: Likewise.
35283 * posix/pwrite.c: Likewise.
35284 * posix/pwrite64.c: Likewise.
35285 * posix/sched_getaffinity.c: Likewise.
35286 * posix/sched_getp.c: Likewise.
35287 * posix/sched_gets.c: Likewise.
35288 * posix/sched_primax.c: Likewise.
35289 * posix/sched_primin.c: Likewise.
35290 * posix/sched_rr_gi.c: Likewise.
35291 * posix/sched_setaffinity.c: Likewise.
35292 * posix/sched_setp.c: Likewise.
35293 * posix/sched_sets.c: Likewise.
35294 * posix/sched_yield.c: Likewise.
35295 * posix/setgid.c: Likewise.
35296 * posix/setlogin.c: Likewise.
35297 * posix/setpgid.c: Likewise.
35298 * posix/setresgid.c: Likewise.
35299 * posix/setresuid.c: Likewise.
35300 * posix/setsid.c: Likewise.
35301 * posix/setuid.c: Likewise.
35302 * posix/sleep.c: Likewise.
35303 * posix/spawni.c: Likewise.
35304 * posix/sysconf.c: Likewise.
35305 * posix/times.c: Likewise.
35306 * posix/wait.c: Likewise.
35307 * posix/wait3.c: Likewise.
35308 * posix/wait4.c: Likewise.
35309 * posix/waitpid.c: Likewise.
35310 * resolv/gai_sigqueue.c: Likewise.
35311 * resource/getpriority.c: Likewise.
35312 * resource/getrlimit.c: Likewise.
35313 * resource/getrusage.c: Likewise.
35314 * resource/nice.c: Likewise.
35315 * resource/setpriority.c: Likewise.
35316 * resource/setrlimit.c: Likewise.
35317 * resource/ulimit.c: Likewise.
35318 * rt/aio_cancel.c: Likewise.
35319 * rt/aio_fsync.c: Likewise.
35320 * rt/aio_read.c: Likewise.
35321 * rt/aio_sigqueue.c: Likewise.
35322 * rt/aio_suspend.c: Likewise.
35323 * rt/aio_write.c: Likewise.
35324 * rt/clock_getres.c: Likewise.
35325 * rt/clock_gettime.c: Likewise.
35326 * rt/clock_nanosleep.c: Likewise.
35327 * rt/clock_settime.c: Likewise.
35328 * rt/lio_listio.c: Likewise.
35329 * rt/mq_close.c: Likewise.
35330 * rt/mq_getattr.c: Likewise.
35331 * rt/mq_notify.c: Likewise.
35332 * rt/mq_open.c: Likewise.
35333 * rt/mq_receive.c: Likewise.
35334 * rt/mq_send.c: Likewise.
35335 * rt/mq_setattr.c: Likewise.
35336 * rt/mq_timedreceive.c: Likewise.
35337 * rt/mq_timedsend.c: Likewise.
35338 * rt/mq_unlink.c: Likewise.
35339 * rt/shm_open.c: Likewise.
35340 * rt/shm_unlink.c: Likewise.
35341 * rt/timer_create.c: Likewise.
35342 * rt/timer_delete.c: Likewise.
35343 * rt/timer_getoverr.c: Likewise.
35344 * rt/timer_gettime.c: Likewise.
35345 * rt/timer_settime.c: Likewise.
35346 * setjmp/__longjmp.c: Likewise.
35347 * setjmp/setjmp.c: Likewise.
35348 * signal/kill.c: Likewise.
35349 * signal/killpg.c: Likewise.
35350 * signal/raise.c: Likewise.
35351 * signal/sigaction.c: Likewise.
35352 * signal/sigaltstack.c: Likewise.
35353 * signal/sigblock.c: Likewise.
35354 * signal/sigignore.c: Likewise.
35355 * signal/sigintr.c: Likewise.
35356 * signal/signal.c: Likewise.
35357 * signal/sigpause.c: Likewise.
35358 * signal/sigpending.c: Likewise.
35359 * signal/sigqueue.c: Likewise.
35360 * signal/sigreturn.c: Likewise.
35361 * signal/sigset.c: Likewise.
35362 * signal/sigsetmask.c: Likewise.
35363 * signal/sigstack.c: Likewise.
35364 * signal/sigsuspend.c: Likewise.
35365 * signal/sigtimedwait.c: Likewise.
35366 * signal/sigvec.c: Likewise.
35367 * signal/sigwait.c: Likewise.
35368 * signal/sigwaitinfo.c: Likewise.
35369 * signal/sysv_signal.c: Likewise.
35370 * socket/accept.c: Likewise.
35371 * socket/accept4.c: Likewise.
35372 * socket/bind.c: Likewise.
35373 * socket/connect.c: Likewise.
35374 * socket/getpeername.c: Likewise.
35375 * socket/getsockname.c: Likewise.
35376 * socket/getsockopt.c: Likewise.
35377 * socket/isfdtype.c: Likewise.
35378 * socket/listen.c: Likewise.
35379 * socket/recv.c: Likewise.
35380 * socket/recvfrom.c: Likewise.
35381 * socket/recvmsg.c: Likewise.
35382 * socket/send.c: Likewise.
35383 * socket/sendmsg.c: Likewise.
35384 * socket/sendto.c: Likewise.
35385 * socket/setsockopt.c: Likewise.
35386 * socket/shutdown.c: Likewise.
35387 * socket/sockatmark.c: Likewise.
35388 * socket/socket.c: Likewise.
35389 * socket/socketpair.c: Likewise.
35390 * stdio-common/ctermid.c: Likewise.
35391 * stdio-common/cuserid.c: Likewise.
35392 * stdio-common/remove.c: Likewise.
35393 * stdio-common/rename.c: Likewise.
35394 * stdio-common/renameat.c: Likewise.
35395 * stdio-common/tempname.c: Likewise.
35396 * stdlib/getcontext.c: Likewise.
35397 * stdlib/makecontext.c: Likewise.
35398 * stdlib/setcontext.c: Likewise.
35399 * stdlib/swapcontext.c: Likewise.
35400 * stdlib/system.c: Likewise.
35401 * streams/fattach.c: Likewise.
35402 * streams/fdetach.c: Likewise.
35403 * streams/getmsg.c: Likewise.
35404 * streams/getpmsg.c: Likewise.
35405 * streams/putmsg.c: Likewise.
35406 * streams/putpmsg.c: Likewise.
35407 * sysdeps/unix/bsd/getpt.c: Likewise.
35408 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35409 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35410 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35413 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35414 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35415 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35416 * sysvipc/msgctl.c: Likewise.
35417 * sysvipc/msgget.c: Likewise.
35418 * sysvipc/msgrcv.c: Likewise.
35419 * sysvipc/msgsnd.c: Likewise.
35420 * sysvipc/semctl.c: Likewise.
35421 * sysvipc/semget.c: Likewise.
35422 * sysvipc/semop.c: Likewise.
35423 * sysvipc/semtimedop.c: Likewise.
35424 * sysvipc/shmat.c: Likewise.
35425 * sysvipc/shmctl.c: Likewise.
35426 * sysvipc/shmdt.c: Likewise.
35427 * sysvipc/shmget.c: Likewise.
35428 * termios/tcdrain.c: Likewise.
35429 * termios/tcflow.c: Likewise.
35430 * termios/tcflush.c: Likewise.
35431 * termios/tcgetattr.c: Likewise.
35432 * termios/tcgetpgrp.c: Likewise.
35433 * termios/tcsendbrk.c: Likewise.
35434 * termios/tcsetattr.c: Likewise.
35435 * termios/tcsetpgrp.c: Likewise.
35436 * time/adjtime.c: Likewise.
35437 * time/clock.c: Likewise.
35438 * time/getitimer.c: Likewise.
35439 * time/gettimeofday.c: Likewise.
35440 * time/setitimer.c: Likewise.
35441 * time/settimeofday.c: Likewise.
35442 * time/stime.c: Likewise.
35443 * time/time.c: Likewise.
35445 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35447 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35450 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35452 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35454 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35458 FE_TONEAREST before applying Dekker multiplication and Knuth
35459 addition. Clear inexact exceptions and check for exact zero
35460 results afterwards.
35461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35462 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35464 * math/libm-test.inc (fma_test): Add more tests.
35465 (fma_test_towardzero): Likewise.
35466 (fma_test_downward): Likewise.
35467 (fma_test_upward): Likewise.
35468 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35470 (libc_fesetround): New macro.
35471 (libc_fesetroundf): Likewise.
35472 (libc_fesetroundl): Likewise.
35473 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35475 (libc_fesetround_387): Likewise.
35476 (libc_fesetroundf): New macro.
35477 (libc_fesetround): Likewise.
35478 (libc_fesetroundl): Likewise.
35479 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35481 (libc_fesetroundf): New macro.
35482 (libc_fesetround): Likewise.
35483 (libc_fesetroundl): Likewise.
35484 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35485 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35486 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35488 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35489 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35491 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35492 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35494 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35498 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35499 integer constant usable in #if and use that to give value to enum
35501 (FE_DIVBYZERO): Likewise.
35502 (FE_UNDERFLOW): Likewise.
35503 (FE_OVERFLOW): Likewise.
35504 (FE_INVALID): Likewise.
35505 (FE_INVALID_SNAN): Likewise.
35506 (FE_INVALID_ISI): Likewise.
35507 (FE_INVALID_IDI): Likewise.
35508 (FE_INVALID_ZDZ): Likewise.
35509 (FE_INVALID_IMZ): Likewise.
35510 (FE_INVALID_COMPARE): Likewise.
35511 (FE_INVALID_SOFTWARE): Likewise.
35512 (FE_INVALID_SQRT): Likewise.
35513 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35514 (FE_TONEAREST): Likewise.
35515 (FE_TOWARDZERO): Likewise.
35516 (FE_UPWARD): Likewise.
35517 (FE_DOWNWARD): Likewise.
35518 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35519 (FE_DIVBYZERO): Likewise.
35520 (FE_OVERFLOW): Likewise.
35521 (FE_UNDERFLOW): Likewise.
35522 (FE_INEXACT): Likewise.
35523 (FE_TONEAREST): Likewise.
35524 (FE_DOWNWARD): Likewise.
35525 (FE_UPWARD): Likewise.
35526 (FE_TOWARDZERO): Likewise.
35527 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35528 (FE_UNDERFLOW): Likewise.
35529 (FE_OVERFLOW): Likewise.
35530 (FE_DIVBYZERO): Likewise.
35531 (FE_INVALID): Likewise.
35532 (FE_TONEAREST): Likewise.
35533 (FE_TOWARDZERO): Likewise.
35534 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35535 (FE_OVERFLOW): Likewise.
35536 (FE_UNDERFLOW): Likewise.
35537 (FE_DIVBYZERO): Likewise.
35538 (FE_INEXACT): Likewise.
35539 (FE_TONEAREST): Likewise.
35540 (FE_TOWARDZERO): Likewise.
35541 (FE_UPWARD): Likewise.
35542 (FE_DOWNWARD): Likewise.
35543 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35544 (FE_DIVBYZERO): Likewise.
35545 (FE_OVERFLOW): Likewise.
35546 (FE_UNDERFLOW): Likewise.
35547 (FE_INEXACT): Likewise.
35548 (FE_TONEAREST): Likewise.
35549 (FE_DOWNWARD): Likewise.
35550 (FE_UPWARD): Likewise.
35551 (FE_TOWARDZERO): Likewise.
35553 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35555 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35557 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35559 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35560 commands. Quote $PWD.
35561 (blacklist_exports): Don't use remove_newlines. Replace "declare
35563 (remove_newlines): Remove.
35565 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35567 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35568 * stdlib/stdlib.h (atof): Moved to ...
35569 * include/bits/stdlib-float.h: Here. New file.
35570 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35571 * stdlib/bits/stdlib-float.h: New file.
35572 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35574 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35577 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35579 * conform/conformtest.pl (@headers): Add fenv.h.
35580 * conform/data/fenv.h-data: New file.
35581 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35582 include of <math/fenv.h>.
35584 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35585 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35586 && !UNIX98]. Enables tests for XOPEN2K8.
35587 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35588 POSIX2008]: Likewise.
35590 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35591 (struct rusage): Do not expect type or its members.
35594 * math/math.h (FP_NAN): Define macro to integer constant usable in
35595 #if and use that to give value to enum constant.
35596 (FP_INFINITE): Likewise.
35597 (FP_ZERO): Likewise.
35598 (FP_SUBNORMAL): Likewise.
35599 (FP_NORMAL): Likewise.
35601 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35603 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35604 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35607 2012-11-02 Roland McGrath <roland@hack.frob.com>
35609 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35610 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35611 autoconf-time if not.
35612 * configure.in: Remove AC_PREREQ.
35614 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35616 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35617 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35618 of the internal implementation.
35620 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35622 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35623 except include of <misc/sys/syslog.h>.
35625 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35628 function returns with a NULL context exit with zero.
35630 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35632 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35634 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35636 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35637 (run_program_cmd): This.
35638 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35639 (tst_langinfo): New variable. Use it.
35641 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35643 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35644 floating point opcodes.
35646 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35648 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35651 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35653 * sysdeps/mach/hurd/powerpc: Remove directory.
35654 * sysdeps/mach/powerpc: Likewise.
35656 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35658 * scripts/check-local-headers.sh: Ignore c++ headers.
35660 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35662 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35663 __libc_cleanup_region_start argument.
35665 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35670 x * y using scaling, not as x * y + z.
35671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35673 * math/libm-test.inc (fma_test): Add more tests.
35674 (fma_test_towardzero): Likewise.
35675 (fma_test_downward): Likewise.
35676 (fma_test_upward): Likewise.
35678 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35680 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35682 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35684 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35687 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35689 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35691 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35698 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35701 Fix the order of the list for glibc 2.17.
35702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35705 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35709 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35712 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35713 for low part of x being zero before using __atanl (y).
35714 * math/libm-test.inc (atan2_test): Add another test.
35716 * manual/install.texi (Configuring and compiling): Document
35717 general use of test-wrapper and test-wrapper-env.
35718 * INSTALL: Regenerated.
35720 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35721 (__fma): Do not extract and scale down low bits on after-rounding
35722 systems when result rounded to normal precision would have normal
35724 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35725 (__fmal): Do not extract and scale down low bits on after-rounding
35726 systems when result rounded to normal precision would have normal
35728 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35729 (__fmal): Do not extract and scale down low bits on after-rounding
35730 systems when result rounded to normal precision would have normal
35732 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35734 (fma_test): Add more tests.
35735 (fma_test_towardzero): Likewise.
35736 (fma_test_downward): Likewise.
35737 (fma_test_upward): Likewise.
35739 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35741 * sysdeps/i386/tininess.h: Renamed to ...
35742 * sysdeps/x86/tininess.h: This.
35743 * sysdeps/x86_64/tininess.h: Removed.
35745 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35747 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35748 input. Use $(build-program-cmd).
35749 ($(objpfx)tst-array1-static.out): Likewise.
35750 ($(objpfx)tst-array2.out): Likewise.
35751 ($(objpfx)tst-array3.out): Likewise.
35752 ($(objpfx)tst-array4.out): Likewise.
35753 ($(objpfx)tst-array5.out): Likewise.
35754 ($(objpfx)tst-array5-static.out): Likewise.
35756 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35758 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35761 * nss/nsswitch.h (nss_interface_function): Provide new
35762 macro for use with NSS functions.
35763 * grp/initgroups.c: Use new macro.
35764 * nss/getXXbyYY.c: Likewise.
35765 * nss/getXXbyYY_r.c: Likewise.
35766 * nss/getXXent.c: Likewise.
35767 * nss/getXXent_r.c: Likewise.
35768 * sysdeps/posix/getaddrinfo.c: Likewise.
35770 2012-10-30 Andreas Jaeger <aj@suse.de>
35772 * po/ru.po: Update Russion translation from translation project.
35774 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35779 result and shift together with sticky bit instead of replicating
35780 round-to-nearest rounding.
35781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35783 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35784 missing underflow exceptions.
35785 (fma_test_towardzero): Add more tests.
35786 (fma_test_downward): Likewise.
35787 (fma_test_upward): Likewise.
35790 * sysdeps/generic/tininess.h: New file.
35791 * sysdeps/i386/tininess.h: Likewise.
35792 * sysdeps/sh/tininess.h: Likewise.
35793 * sysdeps/x86_64/tininess.h: Likewise.
35794 * stdlib/tst-strtod-underflow.c: Likewise.
35795 * stdlib/tst-tininess.c: Likewise.
35796 * stdlib/strtod_l.c: Include <tininess.h>.
35797 (round_and_return): Do not set errno for exact underflow cases.
35798 Force an underflow exception when setting errno for underflow.
35799 Determine underflow based on rounding to normal precision if
35800 TININESS_AFTER_ROUNDING.
35801 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35802 ERANGE for exact underflow cases.
35803 * stdlib/Makefile (tests): Add tst-tininess and
35804 tst-strtod-underflow.
35805 ($(objpfx)tst-tininess): Use $(link-libm).
35806 ($(objpfx)tst-strtod-underflow): Likewise.
35808 2012-10-30 Andreas Jaeger <aj@suse.de>
35811 * elf/Makefile (tests): Remove conditional for have-initfini-array
35812 since this is now always required and the variable does not exist
35814 (tests-static): Likewise.
35815 (modules-names): Likewise.
35817 * po/eo.po: Add Esperanto translation from translation project.
35819 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35820 merged with constructor/destructor.
35821 (init_array): Likewise.
35822 * elf/tst-array2dep.c (fini_array): Likewise.
35823 (init_array): Likewise.
35825 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35827 * manual/message.texi: Delete @cartouche tags.
35829 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35831 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35833 * sysdeps/mach/hurd/fsync.c: Likewise.
35835 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35836 [_POSIX_REALTIME_SIGNALS]: Change condition to
35837 [_POSIX_REALTIME_SIGNALS > 0].
35839 2012-10-27 Andreas Jaeger <aj@suse.de>
35841 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35842 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35844 [__WORDSIZE != 64]: Likewise.
35846 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35848 * iconvdata/tst-table.sh: Remove ${SHELL}.
35849 * iconvdata/tst-tables.sh: Likewise.
35851 2012-10-25 David S. Miller <davem@davemloft.net>
35853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35854 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35859 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35860 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35861 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35864 2012-10-25 Roland McGrath <roland@hack.frob.com>
35866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35867 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35870 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35871 Jim Blandy <jimb@codesourcery.com>
35873 * scripts/cross-test-ssh.sh: New file.
35874 * manual/install.texi (Configuring and compiling): Document use of
35876 * INSTALL: Regenerated.
35878 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35880 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35883 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35885 * Makeconfig (run-program-prefix): Fix comment.
35887 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35888 Jim Blandy <jimb@codesourcery.com>
35890 * Makeconfig (test-wrapper): New variable,
35891 (test-wrapper-env): Likewise.
35892 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35893 (run-built-tests): Define to yes.
35894 (run-program-prefix): Use $(test-wrapper).
35895 (built-program-cmd): Likewise.
35896 * Rules (make-test-out): Use $(test-wrapper-env) and
35897 $(host-built-program-cmd).
35898 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35899 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35901 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35902 $(test-wrapper-env) to tst-rtld-load-self.sh.
35903 ($(objpfx)order2.out): Use $(test-wrapper).
35904 ($(objpfx)tst-initorder.out): Likewise.
35905 ($(objpfx)tst-initorder2.out): Likewise.
35906 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35907 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35908 (test_wrapper_env): New variable. Use it to run ld.so.
35909 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35910 Use it to run ld.so.
35911 (test_wrapper_env): Likewise.
35912 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35913 $(test-wrapper) to run-iconv-test.sh.
35914 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35915 (ICONV): Use $test_wrapper.
35916 * posix/Makefile ($(objpfx)globtest.out): Pass
35917 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35918 globtest.sh, not $(run-program-prefix).
35919 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35920 (test_wrapper): Likewise.
35921 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35922 set together with run_via_rtld_prefix.
35923 (run_program_prefix): Define in terms of test_wrapper and
35924 run_via_rtld_prefix.
35926 2012-10-24 Roland McGrath <roland@hack.frob.com>
35928 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35929 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35933 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35934 Declare __clock_getres, __clock_gettime, __clock_settime,
35935 __clock_nanosleep, and __clock_getcpuclockid.
35936 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35937 Remove librt_hidden_def (clock_gettime).
35938 * sysdeps/unix/clock_gettime.c: Likewise.
35939 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35941 * rt/clock_getres.c: Define __clock_getres as an alias.
35942 * sysdeps/posix/clock_getres.c: Likewise.
35943 * rt/clock_settime.c: Define __clock_settime as an alias.
35944 * sysdeps/unix/clock_settime.c: Likewise.
35945 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35946 * sysdeps/unix/clock_nanosleep.c: Likewise.
35947 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35948 * rt/clock-compat.c: New file.
35949 * rt/Makefile (librt-routines): Add clock-compat and move
35950 $(clock-routines) to ...
35951 (routines): ... here, new variable.
35952 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35953 Don't add get_clockfreq here.
35954 * rt/Versions (libc: GLIBC_2.17): New version set.
35955 Add clock_* symbols here.
35956 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35958 (GLIBC_2.17): Add clock_* symbols.
35959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35970 * NEWS: Mention the move.
35972 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35973 Use __open, __read, __close rather than their public counterparts.
35974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35975 (__get_clockfreq_via_cpuinfo): Likewise.
35976 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35977 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35979 * config.h.in (HAVE_IFUNC): New #undef.
35980 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35982 * configure: Regenerated.
35984 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35986 * configure.in: Move READELF check to start of file.
35987 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35988 libc_cv_asm_gnu_indirect_function in the process.
35989 * configure: Regenerated.
35991 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35993 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35994 send the output to /dev/null.
35995 (libc_cv_cc_with_libunwind): Likewise.
35996 (libc_cv_as_noexecstack): Likewise.
35997 * configure: Regenerate.
35999 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36001 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36003 * posix/globtest.sh (TMPDIR): Do not set.
36004 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36005 (testout): Likewise.
36007 2012-10-24 Andreas Jaeger <aj@suse.de>
36009 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36010 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36011 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36012 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36013 posix_fadvise64, posix_fallocate64.
36015 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36016 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36017 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36019 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36021 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36024 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36025 <bits/fcntl-linux.h>.
36026 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36029 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36030 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36031 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36032 [__WORDSIZE != 64]: Likewise.
36034 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36036 * Makeconfig (run-built-tests): New variable.
36037 * Rules [$(cross-compiling) = yes]: Change condition to
36038 [$(run-built-tests) = no].
36039 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36040 to [$(run-built-tests) = yes].
36041 * elf/Makefile [$(cross-compiling) = no]: Likewise
36042 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36043 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36044 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36045 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36046 * io/Makefile [$(cross-compiling) = no]: Likewise.
36047 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36048 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36049 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36050 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36051 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36052 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36053 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36054 * string/Makefile [$(cross-compiling) = no]: Likewise.
36056 * posix/Makefile ($(objpfx)globtest.out): Pass
36057 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36058 $(rtld-installed-name).
36059 * posix/globtest.sh (elf_objpfx): Remove variable.
36060 (rtld_installed_name): Likewise.
36061 (library_path): Likewise.
36062 (run_program_prefix): New variable. Use for running globtest
36065 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36066 Joseph Myers <joseph@codesourcery.com>
36068 * Makeconfig (host-built-program-cmd): New variable.
36069 * elf/Makefile (tst-stackguard1-ARGS): Use
36070 $(host-built-program-cmd).
36071 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36072 (tst-spawn-ARGS): Likewise.
36073 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36075 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36076 Jim Blandy <jimb@codesourcery.com>
36078 * Makeconfig (run-via-rtld-prefix): New variable.
36079 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36080 (built-program-cmd): Likewise.
36082 2012-10-22 Andreas Jaeger <aj@suse.de>
36084 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36085 __O_RSYNC if it exists, otherwise to O_SYNC.
36087 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36088 Joseph Myers <joseph@codesourcery.com>
36090 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36092 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36094 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36097 2012-10-22 Andreas Jaeger <aj@suse.de>
36099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36104 bits/fcntl-linux.h.
36106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36107 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36114 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36115 Joseph Myers <joseph@codesourcery.com>
36117 * config.make.in (NM): New variable.
36119 2012-10-21 Andreas Jaeger <aj@suse.de>
36121 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36122 definitions and declarations that are provided by
36123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36125 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36128 * elf/Makefile (tests-static): Add tst-leaks1-static.
36129 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36130 ($(objpfx)tst-leaks1-static): New rule.
36131 ($(objpfx)tst-leaks1-static-mem): Likewise.
36132 (tst-leaks1-static-ENV): New macro.
36133 * elf/dl-open.c (dl_open_worker): Check the main application
36134 only if SHARED is defined.
36135 * elf/tst-leaks1-static.c: New file.
36137 2012-10-20 Andreas Jaeger <aj@suse.de>
36139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36140 generic values for Linux.
36141 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36142 and declarations that are provided by <bits/fcntl-linux.h> and
36143 include <bits/fcntl-linux.h>.
36144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36147 2012-10-20 Roland McGrath <roland@hack.frob.com>
36149 * io/fcntl.h: Move include of <bits/types.h> to the top and
36150 include it unconditionally.
36152 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36154 * wcsmbs/Makefile (tests-ifunc): New variable.
36155 (tests): Add $(tests-ifunc).
36156 * wcsmbs/test-wcschr-ifunc.c: New file.
36157 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36158 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36159 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36160 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36161 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36163 * string/Makefile (tests-ifunc): New variable.
36164 (tests): Add $(tests-ifunc).
36165 * string/test-memccpy.c (TEST_NAME): New macro.
36166 * string/test-memchr.c (TEST_NAME): Likewise.
36167 * string/test-memcmp.c (TEST_NAME): Likewise.
36168 * string/test-memcpy.c (TEST_NAME): Likewise.
36169 * string/test-memmem.c (TEST_NAME): Likewise.
36170 * string/test-memmove.c (TEST_NAME): Likewise.
36171 * string/test-memset.c (TEST_NAME): Likewise.
36172 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36173 * string/test-stpcpy.c (TEST_NAME): Likewise.
36174 * string/test-stpncpy.c (TEST_NAME): Likewise.
36175 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36176 * string/test-strcasestr.c (TEST_NAME): Likewise.
36177 * string/test-strcat.c (TEST_NAME): Likewise.
36178 * string/test-strchr.c (TEST_NAME): Likewise.
36179 * string/test-strcmp.c(TEST_NAME): Likewise.
36180 * string/test-strcpy.c (TEST_NAME): Likewise.
36181 * string/test-strcspn.c (TEST_NAME): Likewise.
36182 * string/test-strlen.c (TEST_NAME): Likewise.
36183 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36184 * string/test-strncmp.c (TEST_NAME): Likewise.
36185 * string/test-strncpy.c (TEST_NAME): Likewise.
36186 * string/test-strnlen.c (TEST_NAME): Likewise.
36187 * string/test-strpbrk.c (TEST_NAME): Likewise.
36188 * string/test-strrchr.c (TEST_NAME): Likewise.
36189 * string/test-strspn.c (TEST_NAME): Likewise.
36190 * string/test-strstr.c (TEST_NAME): Likewise.
36191 * string/test-bcopy-ifunc.c: New file.
36192 * string/test-bzero-ifunc.c: Likewise.
36193 * string/test-memccpy-ifunc.c: Likewise.
36194 * string/test-memchr-ifunc.c: Likewise.
36195 * string/test-memcmp-ifunc.c: Likewise.
36196 * string/test-memcpy-ifunc.c: Likewise.
36197 * string/test-memmem-ifunc.c: Likewise.
36198 * string/test-memmove-ifunc.c: Likewise.
36199 * string/test-mempcpy-ifunc.c: Likewise.
36200 * string/test-memset-ifunc.c: Likewise.
36201 * string/test-rawmemchr-ifunc.c: Likewise.
36202 * string/test-stpcpy-ifunc.c: Likewise.
36203 * string/test-stpncpy-ifunc.c: Likewise.
36204 * string/test-strcasecmp-ifunc.c: Likewise.
36205 * string/test-strcasestr-ifunc.c: Likewise.
36206 * string/test-strcat-ifunc.c: Likewise.
36207 * string/test-strchr-ifunc.c: Likewise.
36208 * string/test-strchrnul-ifunc.c: Likewise.
36209 * string/test-strcmp-ifunc.c: Likewise.
36210 * string/test-strcpy-ifunc.c: Likewise.
36211 * string/test-strcspn-ifunc.c: Likewise.
36212 * string/test-strlen-ifunc.c: Likewise.
36213 * string/test-strncasecmp-ifunc.c: Likewise.
36214 * string/test-strncat-ifunc.c: Likewise.
36215 * string/test-strncmp-ifunc.c: Likewise.
36216 * string/test-strncpy-ifunc.c: Likewise.
36217 * string/test-strnlen-ifunc.c: Likewise.
36218 * string/test-strpbrk-ifunc.c: Likewise.
36219 * string/test-strrchr-ifunc.c: Likewise.
36220 * string/test-strspn-ifunc.c: Likewise.
36221 * string/test-strstr-ifunc.c: Likewise.
36223 * debug/Makefile (tests-ifunc): New variable.
36224 (tests): Add $(tests-ifunc).
36225 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36226 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36227 * debug/test-stpcpy_chk-ifunc.c: New file.
36228 * debug/test-strcpy_chk-ifunc.c: Likewise.
36230 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36233 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36234 header is not read in.
36236 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36238 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36239 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36240 directly. Pass built executable to script as
36241 $(built-program-cmd).
36242 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36243 $testprogram without using LD_LIBRARY_PATH and $ldso.
36245 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36246 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36247 $(rtld-installed-name).
36248 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36249 (rtld_installed_name): Likewise.
36250 (library_path): Likewise.
36251 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36252 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36253 $(run-program-prefix) to tst-tables.sh.
36254 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36255 it to run tst-table-from and tst-table-to.
36256 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36257 Pass it to tst-table.sh.
36258 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36259 $(run-program-prefix) to tst-gettext.sh.
36260 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36262 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36264 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36265 to run tst-gettext.
36266 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36267 to run tst-gettext2.
36268 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36269 to run tst-translit.
36270 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36271 $(run-program-prefix) to tst-mtrace.sh.
36272 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36274 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36275 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36276 $(rtld-installed-name).
36277 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36278 (rtld_installed_name): Likewise.
36279 (run_program_prefix): New variable. Use it to run wordexp-test.
36281 * Makeconfig (ARCH): Remove all definitions.
36282 (machine): Likewise.
36283 [ARCH]: Remove conditional code.
36284 [!objdir]: Give error.
36285 [!objdir] (objpfx): Remove.
36286 [!objdir] (common-objpfx): Likewise.
36287 [!objdir] (common-objdir): Likewise.
36288 * configure.in (config_makefile): Remove. Hardcode Makefile in
36289 AC_CONFIG_FILES call.
36290 * configure: Regenerated.
36293 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36295 (testout): Likewise.
36297 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36298 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36299 $(rtld-installed-name).
36300 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36301 (rtld_installed_name): Likwise.
36302 (runit): Remove function.
36303 (run_getconf): New variable, Use it for running getconf binary.
36305 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36308 * string/test-memmem.c (check_result): New function.
36309 (do_one_test): Use it.
36310 (check1): New function.
36311 (test_main): Use it.
36313 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36315 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36317 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36319 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36320 (_G_LSEEK64): Likewise.
36321 (_G_MMAP64): Likewise.
36322 (_G_FSTAT64): Likewise.
36323 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36324 (_G_LSEEK64): Likewise.
36325 (_G_MMAP64): Likewise.
36326 (_G_FSTAT64): Likewise.
36327 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36328 unconditional. Call __mmap64 directly.
36329 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36330 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36331 __lseek64 directly.
36332 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36333 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36335 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36336 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36337 __lseek64 directly.
36338 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36339 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36340 __lseek64 directly.
36341 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36342 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36343 __lseek64 directly.
36344 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36345 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36346 __fxstat64 directly.
36347 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36348 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36350 (freopen64) [!_G_OPEN64]: Remove conditional code.
36351 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36353 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36354 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36356 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36357 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36359 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36360 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36362 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36363 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36365 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36366 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36368 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36369 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36371 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36373 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36376 * manual/memory.texi (Malloc Tunable Parameters): Add note
36377 about free list pointers overwriting some perturb bytes.
36378 Wording suggested by Roland McGrath.
36380 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36382 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36383 (lgamma_test): Likewise.
36384 (tgamma_test): Likewise.
36386 2012-10-16 Florian Weimer <fweimer@redhat.com>
36389 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36390 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36392 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36394 * NEWS: Mention BZ #14716.
36395 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36396 when removing AVAILABLE1_USES_J macro.
36398 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36400 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36401 (__bswap_64): __uint64_t for unsigned 64-bit int.
36403 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36405 * include/string.h (memmem): Declare libc hidden alias.
36406 * string/memmem.c (memmem): Define libc hidden alias.
36407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36408 __read, __close instead of open, read, close.
36410 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36413 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36415 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36416 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36417 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36419 (__rawmemchr_sse2): Likewise.
36420 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36421 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36422 (__strchr_sse2): Likewise.
36423 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36424 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36425 (__strcasecmp_sse2): Likewise.
36426 (__strncasecmp_sse2): Likewise.
36427 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36428 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36429 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36430 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36431 (__strrchr_sse2): Likewise.
36432 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36434 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36435 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36436 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36437 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36438 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36439 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36440 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36441 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36442 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36443 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36444 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36445 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36446 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36447 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36448 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36449 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36450 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36451 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36452 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36453 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36454 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36455 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36456 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36457 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36458 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36459 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36460 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36461 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36462 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36463 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36465 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36467 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36468 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36469 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36470 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36472 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36474 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36475 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36476 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36477 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36479 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36480 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36481 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36488 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36489 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36490 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36491 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36492 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36493 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36495 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36496 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36497 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36498 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36500 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36501 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36502 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36503 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36504 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36505 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36506 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36507 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36508 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36509 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36510 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36511 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36512 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36513 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36514 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36515 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36516 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36517 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36518 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36519 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36521 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36522 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36523 * include/ifunc-impl-list.h: New file.
36524 * misc/ifunc-impl-list.c: Likewise.
36525 * misc/Makefile (routines): Add ifunc-impl-list.
36526 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36527 * string/test-string.h: Include <ifunc-impl-list.h>.
36528 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36529 TEST_NAME]: New variables.
36530 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36532 (test_init): Call __libc_ifunc_impl_list to initialize
36533 func_list if TEST_IFUNC and TEST_NAME are defined.
36535 * string/Makefile (strop-tests): Add bcopy and bzero.
36536 * string/test-bcopy.c: New file.
36537 * string/test-bzero.c: Likewise.
36538 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36540 * string/test-memset.c: Support bzero test if TEST_BZERO is
36542 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36544 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36546 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36549 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36551 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36552 * configure: Regenerated.
36554 * Makeconfig (+link-static-before-libc): Don't include
36555 $(link-static-libc).
36557 * libio/libio.h (_IO_pos_t): Remove.
36559 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36561 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36564 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36566 * crypt/crypt-entry.c: Include fips-private.h.
36567 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36568 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36569 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36570 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36572 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36574 * crypt/crypt-private.h: Include stdbool.h.
36575 (_ufc_setup_salt_r): Return bool.
36576 * crypt/crypt-entry.c: Include errno.h.
36577 (__crypt_r): Return NULL with EINVAL for bad salt.
36578 * crypt/crypt_util.c (bad_for_salt): New.
36579 (_ufc_setup_salt_r): Check that salt is long enough and within
36580 the specified alphabet.
36581 * crypt/badsalttest.c: New file.
36582 * crypt/Makefile (tests): Add it.
36583 ($(objpfx)badsalttest): New.
36585 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36587 * NEWS: Add entry for BZ #14602.
36589 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36591 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36593 * math/libm-test.inc: Update comment listing what functions and
36595 (isgreater_test): New function.
36596 (isgreaterequal_test): Likewise.
36597 (isless_test): Likewise.
36598 (islessequal_test): Likewise.
36599 (islessgreater_test): Likewise.
36600 (isunordered_test): Likewise.
36601 (main): Call the new functions.
36603 2012-10-09 Roland McGrath <roland@hack.frob.com>
36605 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36606 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36607 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36608 * sysdeps/i386/configure: Regenerated.
36609 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36610 * sysdeps/mach/configure: Regenerated.
36611 * sysdeps/mach/hurd/configure: Regenerated.
36612 * sysdeps/powerpc/configure: Regenerated.
36613 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36614 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36615 * sysdeps/s390/s390-32/configure: Regenerated.
36616 * sysdeps/s390/s390-64/configure: Regenerated.
36617 * sysdeps/sh/configure: Regenerated.
36618 * sysdeps/sparc/configure: Regenerated.
36619 * sysdeps/unix/sysv/linux/configure: Regenerated.
36620 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36621 * sysdeps/x86_64/configure: Regenerated.
36623 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36624 defined. Don't check if MAP is NULL.
36626 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36628 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36629 (_G_stat64): Likewise.
36630 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36631 (_G_stat64): Likewise.
36632 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36633 instead of struct _G_stat64.
36634 * libio/fileops.c (mmap_remap_check): Likewise.
36635 (decide_maybe_mmap): Likewise.
36636 (_IO_new_file_seekoff): Likewise.
36637 (_IO_file_stat): Likewise.
36638 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36640 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36641 instead of struct _G_stat64.
36642 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36644 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36647 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36649 (CHECK_EOL): New macro.
36650 (two_way_short_needle): Check beginning of haystack for EOL. Use
36652 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36653 Replace with CHECK_EOL.
36654 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36655 Replace with CHECK_EOL.
36657 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36659 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36661 * math/libm-test.inc: Update comment listing what functions and
36663 (finite_test): New function.
36664 (isinf_test): Likewise.
36665 (isnan_test): Likewise.
36666 (fpclassify_test): Test subnormal input.
36667 (isfinite_test): Likewise.
36668 (isnormal_test): Likewise.
36669 (main): Call the new functions.
36671 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36674 * Makerules (%.dynsym): Force C locale when running
36675 $(OBJDUMP) --dynamic-syms.
36677 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36679 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36682 2012-10-06 David S. Miller <davem@davemloft.net>
36684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36685 upper 32-bits of the length value in %o2 since we use branch-on-register
36686 tests which consider the entire 64-bit register.
36688 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36690 * string/test-strstr.c (check2): Add a test for page boundary.
36692 2012-10-05 David S. Miller <davem@davemloft.net>
36694 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36695 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36697 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36699 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36700 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36701 and bzero when HWCAP_SPARC_CRYPTO is present.
36703 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36706 * string/test-strstr.c (check2): New function.
36707 (test_main): Call check2.
36709 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36711 * string/bug-strcasestr1.c (do_test): Moved to ...
36712 * string/test-strcasestr.c (check1): Here. New function.
36713 (do_one_test): Break out result checking code into ...
36714 (check_result): This. New function.
36715 (do_one_test): Call check_result.
36716 (test_main): Call check1.
36717 * string/bug-strchr1.c (do_test): Moved to ...
36718 * string/test-strchr.c (check1): Here. New function.
36719 (do_one_test): Break out result checking code into ...
36720 (check_result): This. New function.
36721 (do_one_test): Call check_result.
36722 (test_main): Call check1.
36723 * string/bug-strstr1.c (main): Moved to ...
36724 * string/test-strstr.c (check1): Here. New function.
36725 (do_one_test): Break out result checking code into ...
36726 (check_result): This. New function.
36727 (do_one_test): Call check_result.
36728 (test_main): Call check1.
36729 * string/bug-strcasestr1.c: Removed.
36730 * string/bug-strchr1.c: Likewise.
36731 * string/bug-strstr1.c: Likewise.
36733 * elf/Makefile (dl-routines): Add hwcaps.
36734 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36735 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36736 (_dl_important_hwcaps): Moved to ...
36737 * elf/dl-hwcaps.c: Here. New file.
36738 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36741 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36742 if IS_IN_rtld isn't defined.
36744 * elf/dl-support.c (_dl_sysinfo_map): New.
36745 Include "get-dynamic-info.h" and "setup-vdso.h".
36746 (_dl_non_dynamic_init): Call setup_vdso.
36747 * elf/dynamic-link.h: Don't include <assert.h>.
36748 (elf_get_dynamic_info): Moved to ...
36749 * elf/get-dynamic-info.h: Here. New file.
36750 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36751 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36752 * elf/setup-vdso.h: Here. New file.
36753 * elf/rtld.c: Include "setup-vdso.h".
36754 (dl_main): Call setup_vdso.
36756 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36758 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36759 creal in comment listing functions tested. List finite, isinf,
36760 isnan, isless, islessequal, isgreater, isgreaterequal,
36761 islessgreater, isunordered, lgamma_r and pow10 as functions and
36762 macros not tested. Mention which functions not tested are aliases
36763 for other functions. Fix typo. Note that signs of NaNs are not
36766 * scripts/config.guess: Update from config.git.
36767 * scripts/config.sub: Likewise.
36769 2012-10-04 Roland McGrath <roland@hack.frob.com>
36771 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36772 * misc/madvise.c (madvise): Renamed to __madvise.
36773 Make madvise a weak alias.
36774 * include/sys/mman.h: Declare __madvise.
36775 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36776 * sysdeps/unix/syscalls.list
36777 (madvise): Make __madvise the strong name, and madvise a weak alias.
36778 * sysdeps/unix/sysv/linux/syscalls.list
36779 (madvise, mmap): Remove redundant entries.
36780 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36781 * malloc/malloc.c (mtrim): Likewise.
36782 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36784 2012-10-03 Roland McGrath <roland@hack.frob.com>
36786 * sysdeps/mach/hurd/dl-cache.c: File removed.
36787 * config.h.in (USE_LDCONFIG): New #undef.
36788 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36789 * configure: Regenerated.
36790 * elf/Makefile (dl-routines): Add dl-cache only under
36791 [$(use-ldconfig) = yes].
36792 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36793 cache on [USE_LDCONFIG].
36794 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36796 * elf/rtld.c (dl_main): Likewise.
36798 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36800 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36801 _SC_LEVEL4_CACHE_LINESIZE.
36803 2012-10-03 Roland McGrath <roland@hack.frob.com>
36805 * sysdeps/unix/bsd/confstr.h: File removed.
36807 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36809 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36812 2012-10-02 Roland McGrath <roland@hack.frob.com>
36814 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36815 Make 'mapoff' field ElfW(Off) rather than off_t.
36817 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36819 * nscd/Makefile: Remove nscd-cflags and all its users.
36820 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36821 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36824 * malloc.c (malloc_printerr): Clarify error message.
36826 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36830 Set bit_FMA_Usable if FMA is supported.
36831 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36833 (bit_FMA4_Usable): Updated.
36834 (index_FMA_Usable): New macro.
36835 (CPUID_FMA): Likewise
36836 (HAS_FMA): Defined with bit_FMA_Usable.
36838 2012-10-01 Roland McGrath <roland@hack.frob.com>
36840 * bits/types.h (__swblk_t): Type removed.
36841 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36842 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36844 (__SWBLK_T_TYPE): Likewise.
36845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36846 (__SWBLK_T_TYPE): Likewise.
36847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36848 (__SWBLK_T_TYPE): Likewise.
36849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36850 (__SWBLK_T_TYPE): Likewise.
36852 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36853 Honza Horak <hhorak@redhat.com>
36855 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36856 (xdr_mapname): Use YPMAXMAP as maxsize.
36857 (xdr_peername): Use YPMAXPEER as maxsize.
36858 (xdr_keydat): Use YPAXRECORD as maxsize.
36859 (xdr_valdat): Use YPMAXRECORD as maxsize.
36861 2012-10-01 Roland McGrath <roland@hack.frob.com>
36863 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36865 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36866 * csu/init-first.c: ... here.
36867 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36868 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36869 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36870 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36871 * sysdeps/i386/init-first.c: File removed.
36872 * sysdeps/sh/init-first.c: File removed.
36874 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36878 if x * y might underflow to zero and z is zero.
36879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36880 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36881 * math/libm-test.inc (min_subnorm_value): New variable.
36882 (fma_test): Add more tests.
36883 (fma_test_towardzero): Likewise.
36884 (fma_test_downward): Likewise
36885 (fma_test_upward): Likewise.
36886 (initialize): Set min_subnorm_value.
36888 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36893 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36894 mode for addition resulting in exact zero.
36895 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36898 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36900 * math/libm-test.inc (fma_test): Add more tests.
36901 (fma_test_towardzero): New function.
36902 (fma_test_downward): Likewise.
36903 (fma_test_upward): Likewise.
36904 (main): Call the new functions.
36906 2012-09-28 David S. Miller <davem@davemloft.net>
36908 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36910 2012-09-28 Roland McGrath <roland@hack.frob.com>
36912 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36913 instead of SIGALRM.
36915 * sysdeps/gnu/_G_config.h: Moved to ...
36916 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36917 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36918 * sysdeps/generic/_G_config.h: ... here.
36920 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36922 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36924 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36925 Conditionalize target on [libnss_test1.so-version].
36927 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36929 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36930 (elfobjdir): Move out of conditionals.
36932 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36933 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36934 (__nss_lookup_function): Conditionalize label remove_from_tree on
36935 [!DO_STATIC_NSS || SHARED], matching its only use.
36937 2012-09-28 David S. Miller <davem@davemloft.net>
36939 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36940 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36942 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36944 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36946 when HWCAP_SPARC_CRYPTO is present.
36948 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36950 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36952 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36955 * stdio-common/vfprintf.c (process_string_arg): Revert
36958 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36960 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36962 * stdio-common/tst-sprintf.c: Include <locale.h>
36963 (main): Test sprintf's handling of incomplete multibyte
36966 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36968 * elf/dl-runtime.c (VERSYMIDX): Removed.
36969 * elf/dl-version.c (VERSYMIDX): Likewise.
36970 * elf/do-rel.h (VERSYMIDX): Likewise.
36971 (VALIDX): Likewise.
36972 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36973 * elf/rtld.c (VALIDX): Likewise.
36974 (ADDRIDX): Likewise.
36975 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36976 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36977 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36978 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36979 (VALIDX): Likewise.
36980 (ADDRIDX): Likewise.
36982 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36984 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36986 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36989 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36991 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36992 addresses are in the same scope as 192.0.2/24.
36993 * posix/gai.conf: Document new scope table defaults.
36995 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36998 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36999 for ftell. Compute offsets from write pointers instead.
37000 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37002 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37005 * libio/Makefile (tests): New test case tst-fseek.
37006 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37007 combination works in wide mode.
37008 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37009 state when the external buffer state changes.
37011 2012-09-27 David S. Miller <davem@davemloft.net>
37014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37015 pass reloc->r_addend in as the 'high' argument to
37016 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37020 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37022 * rt/tst-aio2.c: Include <pthread.h>.
37023 * rt/tst-aio3.c: Likewise.
37025 2012-09-27 Steve Ellcey <sellcey@mips.com>
37027 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37029 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37031 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37032 contents on [SHARED].
37034 2012-09-26 Marek Polacek <polacek@redhat.com>
37038 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37039 for C++ and GCC <4.3 as well as for non GCC compilers.
37041 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37045 2012-09-25 Roland McGrath <roland@hack.frob.com>
37047 * Makefile.in (all, install): Declare with .PHONY.
37048 Reported by Michael Hope <michael.hope@linaro.org>.
37050 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37052 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37053 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37055 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37057 (sydep_routines): Add the new and the internal functions.
37058 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37059 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37061 (GLIBC_2.17): Add the new function.
37062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37063 (GLIBC_2.17): Likewise.
37064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37065 (GLIBC_2.17): Likewise.
37066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37067 (GLIBC_2.17): Likewise.
37068 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37070 2012-09-25 Alan Modra <amodra@gmail.com>
37072 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37073 Add release barrier before setting once_control to say
37074 initialisation is done. Add hints on lwarx. Use macro in
37076 (clear_once_control): Add release barrier.
37078 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37081 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37083 * math/s_clog10.c (__clog10): Likewise.
37084 * math/s_clog10f.c (__clog10f): Likewise.
37085 * math/s_clog10l.c (__clog10l): Likewise.
37086 * math/s_clogf.c (__clogf): Likewise.
37087 * math/s_clogl.c (__clogl): Likewise.
37088 * math/Makefile (libm-calls): Add x2y2m1.
37089 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37090 (__x2y2m1): Likewise.
37091 (__x2y2m1l): Likewise.
37092 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37093 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37094 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37096 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37097 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37098 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37099 * sysdeps/i386/fpu/libm-test-ulps: Update.
37100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37103 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37104 int as type of variable DEPTH.
37105 (glob): Use size_t instead of int as type of variables NEWCOUNT
37108 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37110 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37111 Add s_sincosf-sse2.
37112 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37113 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37114 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37115 macros for using routine as __sincosf_ia32.
37116 Use macro for function declaration and weak_alias.
37117 * sysdeps/i386/fpu/libm-test-ulps: Update.
37119 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37122 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37123 subnormal argument.
37124 * math/s_cexpf.c (__cexpf): Likewise.
37125 * math/s_csinf.c (__csinf): Likewise.
37126 * math/s_csinhf.c (__csinhf): Likewise.
37127 * math/s_ctanf.c (__ctanf): Likewise.
37128 * math/s_ctanhf.c (__ctanhf): Likewise.
37129 * math/s_ccosh.c (__ccoshf): Likewise.
37130 * math/s_cexp.c (__cexpl): Likewise.
37131 * math/s_csin.c (__csin): Likewise.
37132 * math/s_csinh.c (__csinh): Likewise.
37133 * math/s_ctan.c (__ctan): Likewise.
37134 * math/s_ctanh.c (ctanh): Likewise.
37135 * math/s_ccoshl.c (__ccoshl): Likewise.
37136 * math/s_cexpl.c (__cexpl): Likewise.
37137 * math/s_csinl.c (__csinl): Likewise.
37138 * math/s_csinhl.c (__csinhl): Likewise.
37139 * math/s_ctanl.c (__ctanl): Likewise.
37140 * math/s_ctanhl.c (__ctanhl): Likewise.
37142 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37144 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37145 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37146 (_IO_off_t): Define to __off_t, not _G_off_t.
37147 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37148 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37149 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37150 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37151 type of __dummy and __dummy2 fields.
37152 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37153 (_G_ssize_t): Likewise.
37154 (_G_off_t): Likewise.
37155 (_G_pid_t): Likewise.
37156 (_G_uid_t): Likewise.
37157 (_G_wchar_t): Likewise.
37158 (_G_wint_t): Likewise.
37159 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37160 (_G_ssize_t): Likewise.
37161 (_G_off_t): Likewise.
37162 (_G_pid_t): Likewise.
37163 (_G_uid_t): Likewise.
37164 (_G_wchar_t): Likewise.
37165 (_G_wint_t): Likewise.
37166 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37167 (_G_ssize_t): Likewise.
37168 (_G_off_t): Likewise.
37169 (_G_pid_t): Likewise.
37170 (_G_uid_t): Likewise.
37171 (_G_wchar_t): Likewise.
37172 (_G_wint_t): Likewise.
37174 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37176 * malloc/arena.c: Include malloc-sysdep.h.
37177 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37178 is sufficient to shrink the heap or an unmap is needed.
37179 * sysdeps/generic/malloc-sysdep.h: New file. Define
37180 new function check_may_shrink_heap.
37181 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37182 new function check_may_shrink_heap.
37184 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37186 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37189 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37191 * catgets/test-gencat.sh: Add "set -e".
37192 * elf/tst-pathopt.sh: Likewise.
37193 * grp/tst_fgetgrent.sh: Likewise.
37194 * iconvdata/run-iconv-test.sh: Likewise.
37195 * intl/tst-gettext.sh: Likewise.
37196 * intl/tst-gettext2.sh: Likewise.
37197 * intl/tst-gettext4.sh: Likewise.
37198 * intl/tst-gettext6.sh: Likewise.
37199 * intl/tst-translit.sh: Likewise.
37200 * io/ftwtest-sh: Likewise.
37201 * libio/test-freopen.sh: Likewise.
37202 * malloc/tst-mtrace.sh: Likewise.
37203 * posix/globtest.sh: Likewise.
37204 * posix/tst-getconf.sh: Likewise.
37205 * posix/wordexp-tst.sh: Likewise.
37206 * stdio-common/tst-printf.sh: Likewise.
37207 * stdio-common/tst-unbputc.sh: Likewise.
37208 * stdlib/tst-fmtmsg.sh: Likewise.
37209 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37210 * catgets/Makefile: Do not specify -e option when running
37211 testsuite shell scripts.
37212 * elf/Makefile: Likewise.
37213 * grp/Makefile: Likewise.
37214 * iconvdata/Makefile: Likewise.
37215 * intl/Makefile: Likewise.
37216 * io/Makefile: Likewise.
37217 * libio/Makefile: Likewise.
37218 * malloc/Makefile: Likewise.
37219 * posix/Makefile: Likewise.
37220 * stdio-common/Makefile: Likewise.
37221 * stdlib/Makefile: Likewise.
37222 * sysdeps/x86_64/Makefile: Likewise.
37224 * io/ftwtest-sh: Add copyright header.
37225 * posix/globtest.sh: Likewise.
37226 * posix/tst-getconf.sh: Likewise.
37227 * posix/wordexp-tst.sh: Likewise.
37228 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37230 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37233 * Makeconfig (+link): Defined as $(+link-static) if
37234 $(build-shared) isn't yes.
37235 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37237 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37239 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37242 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37243 new chunk size with MALLOC_ALIGN_MASK.
37245 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37248 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37250 (__printf_fphex): Determine rounding using get_rounding_mode and
37252 * stdio-common/tst-printf-round.c (struct hex_test): New
37254 (hex_tests): New variable.
37255 (test_hex_in_one_mode): New function.
37256 (do_test): Also run tests for hex float output.
37258 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37260 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37261 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37262 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37263 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37264 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37265 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37266 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37269 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37271 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37272 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37273 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37274 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37276 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37279 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37281 * elf/tst-rtld-load-self.sh: New test.
37282 * elf/Makefile: Run it.
37284 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37286 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37287 (tst-writev-ENV): Remove.
37288 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37290 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37292 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37294 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37296 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37298 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37300 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37301 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37305 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37308 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37309 * config.make.in (have-cpp-asm-debuginfo): Removed.
37310 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37311 * configure: Regenerated.
37313 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37316 * stdio-common/printf_fp.c: Include <stdbool.h> and
37318 (___printf_fp): Determine rounding using get_rounding_mode and
37320 * stdio-common/tst-printf-round.c: New file.
37321 * stdio-common/Makefile (tests): Add tst-printf-round.
37322 (link-libm): New variable.
37323 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37325 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37328 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37329 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37331 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37334 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37336 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37337 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37338 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37339 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37341 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37344 * include/rounding-mode.h: New file.
37345 * sysdeps/generic/get-rounding-mode.h: Likewise.
37346 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37347 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37348 (MAX_VALUE): New macro.
37349 (MIN_VALUE): Likewise.
37350 (overflow_value): New function.
37351 (underflow_value): Likewise.
37352 (round_and_return): Use overflow_value and underflow_value to
37353 determine return values in overflow and underflow cases. Use
37354 round_away to determine rounding depending on rounding mode.
37355 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37356 determine return values in overflow and underflow cases.
37357 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37358 (struct test_results): New structure.
37359 (struct test): Use struct test_results to store expected results
37360 for all rounding modes.
37361 (TEST): Include expected results for all rounding modes.
37362 (test_in_one_mode): New function.
37363 (do_test): Use test_in_one_mode to compute and check results.
37364 Check results for all rounding modes.
37365 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37368 2012-12-09 Allan McRae <allan@archlinux.org>
37370 * sysdeps/i386/fpu/libm-test-ulps: Update
37372 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37374 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37375 (_G_int32_t): Likewise.
37376 (_G_uint16_t): Likewise.
37377 (_G_uint32_t): Likewise.
37378 (_G_HAVE_BOOL): Likewise.
37379 (_G_HAVE_ATEXIT): Likewise.
37380 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37381 (_G_HAVE_IO_FILE_OPEN): Likewise.
37382 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37383 (_G_int32_t): Likewise.
37384 (_G_uint16_t): Likewise.
37385 (_G_uint32_t): Likewise.
37386 (_G_HAVE_BOOL): Likewise.
37387 (_G_HAVE_ATEXIT): Likewise.
37388 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37389 (_G_HAVE_IO_FILE_OPEN): Likewise.
37390 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37391 (_G_int32_t): Likewise.
37392 (_G_uint16_t): Likewise.
37393 (_G_uint32_t): Likewise.
37394 (_G_HAVE_BOOL): Likewise.
37395 (_G_HAVE_ATEXIT): Likewise.
37396 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37397 (_G_HAVE_IO_FILE_OPEN): Likewise.
37399 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37401 * csu/libc-tls.c: Update copyright years.
37403 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37405 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37406 [!_G_USING_THUNKS]: Remove conditional code.
37407 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37408 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37410 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37411 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37412 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37413 (_G_VTABLE_LABEL_PREFIX): Likewise.
37414 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37415 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37416 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37417 (_G_VTABLE_LABEL_PREFIX): Likewise.
37418 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37419 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37420 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37421 (_G_VTABLE_LABEL_PREFIX): Likewise.
37422 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37424 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37426 * libio/Makefile: Include ../Makeconfig before tests.
37427 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37428 only if $(build-shared) is yes.
37430 * iconv/gconv_db.c: Update copyright years.
37432 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37434 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37435 unwind info if defined PIC. Fix special cases description.
37436 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37438 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37440 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37442 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37444 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37446 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37449 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37450 (LDLIBS-tst-chk4): This.
37451 (LDFLAGS-tst-chk5): Renamed to ...
37452 (LDLIBS-tst-chk5): This.
37453 (LDFLAGS-tst-chk6): Renamed to ...
37454 (LDLIBS-tst-chk6): This.
37455 (LDFLAGS-tst-lfschk4): Renamed to ...
37456 (LDLIBS-tst-lfschk4): This.
37457 (LDFLAGS-tst-lfschk5): Renamed to ...
37458 (LDLIBS-tst-lfschk5): This.
37459 (LDFLAGS-tst-lfschk6): Renamed to ...
37460 (LDLIBS-tst-lfschk6): This.
37462 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37463 on $(common-objpfx)soversions.mk.
37465 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37468 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37471 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37473 * malloc/arena.c (arena_get_retry): New function that gets
37474 another arena for the caller to try its request on.
37475 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37476 current arena cannot fulfill the request.
37477 (__libc_memalign): Likewise.
37478 (__libc_memalign): Likewise.
37479 (__libc_pvalloc): Likewise.
37480 (__libc_calloc): Likewise.
37482 2012-09-05 John Tobey <john.tobey@gmail.com>
37485 * manual/arith.texi (Operations on Complex): Fix description
37486 of carg branch cut.
37488 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37491 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37495 * manual/memory.texi (Memory): Make order of menu items match
37498 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37500 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37501 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37502 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37504 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37506 * csu/libc-tls.c (static_dtv): Renamed to ...
37507 (_dl_static_dtv): This. Make it global.
37508 (_dl_initial_dtv): Removed.
37509 (__libc_setup_tls): Updated.
37510 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37511 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37514 2012-09-06 Petr Machata <pmachata@redhat.com>
37516 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37517 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37518 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37519 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37521 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37524 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37525 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37528 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37531 * Makeconfig (link-static-before-libc): Replace $(+prector)
37533 (link-static-after-libc): Replace $(+postctor) with
37535 (link-bounded): Replace $(+prector)/$(+postctor) with
37536 $(+prectorT)/$(+postctorT).
37537 (+prectorT): New macro.
37538 (+postctorT): Likewise.
37540 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37542 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37543 (round_str): Handle values above the maximum for IBM long double
37545 * stdlib/tst-strtod-round.c (tests): Regenerated.
37547 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37549 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37551 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37552 zarch_nohighgprs around the zarch optimized routines.
37553 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37554 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37555 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37558 2012-09-05 David S. Miller <davem@davemloft.net>
37560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37562 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37563 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37564 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37565 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37568 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37570 * malloc/arena.c: Fold copyright years.
37571 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37573 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37575 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37577 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37579 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37581 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37583 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37584 change internal state upon failure.
37586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37588 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37589 * malloc/memusage.c (mmap): Likewise.
37590 (mmap64, mremap): Likewise. Adjust name in comment.
37592 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37594 * libio/fileops.c: Fix typos in comments.
37595 * libio/oldfileops.c: Likewise.
37596 * libio/wfileops.c: Likewise.
37598 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37601 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37602 (tst-malloc-usable-ENV): Set environment for test case.
37603 * malloc/hooks.c (malloc_check_get_size): New function to get
37605 * malloc/malloc.c (musable): Use malloc_check_get_size.
37606 * malloc/tst-malloc-usable.c: New test case.
37608 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37610 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37612 2012-09-05 Allan McRae <allan@archlinux.org>
37615 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37616 determine header location.
37617 * configure: Regenerated.
37619 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37621 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37623 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37624 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37626 (test): Regenerate.
37628 2012-09-04 David S. Miller <davem@davemloft.net>
37630 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37631 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37632 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37634 2012-09-04 Florian Weimer <fweimer@redhat.com>
37636 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37639 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37641 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37644 * libio/iogetdelim.c: Include <limits.h>.
37645 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37646 + len + 1 would overflow.
37648 2012-09-03 Andreas Jaeger <aj@suse.de>
37650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37651 * sysdeps/i386/fpu/libm-test-ulps: Update.
37653 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37655 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37656 Add s_sinf-sse2, s_conf-sse2.
37658 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37659 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37660 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37661 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37663 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37664 for using routine as __sinf_ia32.
37665 Use macro for function declaration and weak_alias.
37666 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37667 for using routine as __cosf_ia32.
37668 Use macro for function declaration and weak_alias.
37670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37671 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37673 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37674 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37677 * math/libm-test.inc (cos_test): Add more test cases.
37678 (sin_test): Likewise.
37679 (sincos_test): Likewise.
37681 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37683 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37684 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37686 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37688 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37691 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37692 first element of the GOT.
37693 (elf_machine_load_address): Return the difference between
37694 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37696 2012-09-01 Allan McRae <allan@archlinux.org>
37699 * configure.in (AWK): Require gawk version 3.0 or later.
37700 * configure: Regenerated.
37702 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37704 * sysdeps/unix/sysv/linux/kernel-features.h
37705 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37706 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37707 [__NR_clock_getres]: Make code unconditional.
37708 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37709 (clock_getcpuclockid): Remove code left unreachable by removal of
37711 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37712 code unconditional.
37713 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37714 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37715 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37716 Make code unconditional.
37717 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37718 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37719 * sysdeps/unix/sysv/linux/clock_settime.c
37720 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37722 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37725 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37728 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37729 scripts/test-installation.pl.
37731 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37732 and $ld_so_version if it is set.
37734 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37738 failure if reading from procfs failed.
37739 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37741 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37743 * sysdeps/unix/sysv/linux/kernel-features.h
37744 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37745 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37746 Remove conditional code.
37747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37748 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37749 Remove conditional code.
37750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37751 * sysdeps/unix/sysv/linux/i386/fxstat.c
37752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37754 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37757 * sysdeps/unix/sysv/linux/i386/lxstat.c
37758 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37760 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37761 Remove conditional code.
37762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37763 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37764 Remove conditional code.
37765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37767 <kernel-features.h>.
37768 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37770 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37771 Remove conditional code.
37772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37773 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37774 Remove conditional.
37776 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37779 * NEWS: Add fixed bug number.
37781 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37784 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37785 underflowing exponent in case of negative sign.
37786 * stdlib/tst-strtod-round-data: Add more tests.
37787 * stdlib/tst-strtod-round.c (tests): Regenerated.
37790 * stdlib/strtod_l.c (NDIG): Remove.
37791 (HEXNDIG): Likewise.
37792 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37793 smallest representable value.
37794 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37795 lie within an exact representation of 1/2 ulp of the result.
37796 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37798 (TENS_P9_IDX): Define unconditionally.
37799 (TENS_P9_SIZE): Likewise.
37800 (TENS_P10_IDX): Likewise.
37801 (TENS_P10_SIZE): Likewise.
37802 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37803 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37804 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37805 entries for 10^2^13 and 10^2^14.
37806 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37807 (TENS_P13_IDX): Define.
37808 (TENS_P13_SIZE): Likewise.
37809 (TENS_P14_IDX): Likewise.
37810 (TENS_P14_SIZE): Likewise.
37811 (_fpioconst_pow10): Change array size to
37812 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37814 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37815 1024]: Add entries for 10^2^13 and 10^2^14.
37816 [LAST_POW10 > _LAST_POW10]: Remove #error.
37817 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37818 (_fpioconst_pow10): Change array size to
37819 FPIOCONST_POW10_ARRAY_SIZE.
37820 * stdlib/gen-fpioconst.c: New file.
37821 * stdlib/gen-tst-strtod-round.c: Likewise.
37822 * stdlib/tst-strtod-round-data: Likewise.
37823 * stdlib/tst-strtod-round.c: Likewise.
37824 * stdlib/Makefile (tests): Add tst-strtod-round.
37827 * stdlib/strtod_l.c: Include <stdint.h>.
37828 (NDEBUG): Do not define.
37829 (round_and_return): Change EXPONENT parameter to type intmax_t.
37830 Rearrange calculations to avoid internal overflow possibilities.
37831 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37832 Rearrange calculations to avoid internal overflow possibilities.
37833 Assert that number fits inside MPNSIZE limbs.
37834 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37835 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37836 calculations and add assertions to avoid internal overflow
37837 possibilities. Add casts to avoid signed/unsigned operations.
37838 * stdlib/tst-strtod-overflow.c: New file.
37839 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37841 2012-08-25 Marek Polacek <polacek@redhat.com>
37843 * time/time.h: Fix some typos in comments.
37845 2012-08-23 Roland McGrath <roland@hack.frob.com>
37847 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37848 * posix/tst-rfc3484-2.c: Likewise.
37849 * posix/tst-rfc3484-3.c: Likewise.
37851 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37853 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37854 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37856 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37858 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37859 #include of fxstatat64.c.
37861 2012-08-22 Roland McGrath <roland@hack.frob.com>
37863 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37864 * shadow/getspent_r.c: Likewise.
37865 * shadow/getspnam.c: Likewise.
37866 * shadow/getspnam_r.c: Likewise.
37867 * gshadow/getsgent.c: Likewise.
37868 * gshadow/getsgent_r.c: Likewise.
37869 * gshadow/getsgnam.c: Likewise.
37870 * gshadow/getsgnam_r.c: Likewise.
37871 * inet/getnetbyad.c: Likewise.
37872 * inet/getnetbyad_r.c: Likewise.
37873 * inet/getnetbynm.c: Likewise.
37874 * inet/getnetbynm_r.c: Likewise.
37875 * inet/getnetent.c: Likewise.
37876 * inet/getnetent_r.c: Likewise.
37877 * inet/getproto.c: Likewise.
37878 * inet/getproto_r.c: Likewise.
37879 * inet/getprtent.c: Likewise.
37880 * inet/getprtent_r.c: Likewise.
37881 * inet/getprtname.c: Likewise.
37882 * inet/getprtname_r.c: Likewise.
37883 * inet/getrpcbyname.c: Likewise.
37884 * inet/getrpcbyname_r.c: Likewise.
37885 * inet/getrpcbynumber.c: Likewise.
37886 * inet/getrpcbynumber_r.c: Likewise.
37887 * inet/getrpcent.c: Likewise.
37888 * inet/getrpcent_r.c: Likewise.
37889 * inet/getaliasent.c: Likewise.
37890 * inet/getaliasent_r.c: Likewise.
37891 * inet/getaliasname.c: Likewise.
37892 * inet/getaliasname_r.c: Likewise.
37893 * nscd/getgrgid_r.c: Likewise.
37894 * nscd/getgrnam_r.c: Likewise.
37895 * nscd/gethstbyad_r.c: Likewise.
37896 * nscd/gethstbynm3_r.c: Likewise.
37897 * nscd/getpwnam_r.c: Likewise.
37898 * nscd/getpwuid_r.c: Likewise.
37899 * nscd/getsrvbynm_r.c: Likewise.
37900 * nscd/getsrvbypt_r.c: Likewise.
37901 * nscd/gai.c: Likewise.
37903 * configure.in (build_nscd): New substituted variable, set
37904 by --disable-build-nscd and defaults to $use_nscd.
37905 * configure: Regenerated.
37906 * config.make.in (build-nscd): New substituted variable.
37907 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37908 Change conditional to require [$(build-nscd) = yes] as well.
37909 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37912 * configure.in (use_nscd): New substituted variable, set by
37913 --disable-nscd. If enabled, define USE_NSCD.
37914 * configure: Regenerated.
37915 * config.h.in: Add USE_NSCD.
37916 * config.make.in (use-nscd): New substituted variable.
37917 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37918 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37919 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37920 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37921 (CFLAGS-getgrnam_r.c): Likewise.
37922 (CFLAGS-initgroups.c): Likewise.
37923 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37924 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37926 * inet/getnetgrent_r.c
37927 (nscd_setnetgrent): New function, broken out of ...
37928 (setnetgrent): ... here. Call it.
37929 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37930 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37931 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37932 * nscd/Makefile (routines, aux): Move definitions after include of
37933 Makeconfig. Conditionalize on [$(use-nscd) != no].
37934 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37935 Conditionalize on [USE_NSCD].
37936 (is_nscd, nscd_init_cb): Likewise.
37937 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37938 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37939 * nss/nss_db/db-init.c: Likewise.
37940 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37942 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37943 (make_request): Use it.
37944 (cache_valid_p): New function.
37945 (__check_pf): Use it.
37946 * NEWS: Add item for --disable-nscd.
37948 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37950 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37951 to support sed >= 4.2.1-20-ga9bf076.
37952 * configure: Regenerated.
37954 2012-08-22 Roland McGrath <roland@hack.frob.com>
37956 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37957 Conditionalize whole body on [IREL].
37959 2012-08-22 Jeff Law <law@redhat.com>
37962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37963 if the family is PF_UNSPEC.
37965 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37967 * Makerules (lib-version): Rename from V.
37968 (install-lib-nosubdir): Change V to lib-version.
37970 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37973 * powerpc32/power6/wcschr.c: New file.
37974 * powerpc32/power6/wcscpy.c: New file.
37975 * powerpc32/power6/wcsrchr.c: New file.
37976 * powerpc64/power6/wcschr.c: New file.
37977 * powerpc64/power6/wcscpy.c: New file.
37978 * powerpc64/power6/wcsrchr.c: New file.
37980 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37982 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37983 (two_way_short_needle): Use it.
37984 * string/strstr.c (AVAILABLE1_USES_J): Define.
37985 * string/strcasestr.c: Likewise.
37987 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37989 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37992 * NEWS: Add an entry.
37993 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37994 define their defaults.
37995 (two_way_short_needle): Detect end-of-string on-the-fly.
37996 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37997 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37998 * string/bug-strcasestr1.c: New test.
37999 * string/Makefile: Run it.
38001 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38004 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38005 the first character.
38007 2012-08-21 Roland McGrath <roland@hack.frob.com>
38009 * csu/elf-init.c (__libc_csu_irel): Function removed.
38010 * csu/libc-start.c (apply_irel): New function.
38011 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38013 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38015 * sysdeps/unix/sysv/linux/kernel-features.h
38016 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38017 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38018 <kernel-features.h>.
38019 [__NR_fadvise64_64]: Make code unconditional.
38020 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38021 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38022 !__NR_fadvise64_64)]: Likewise.
38023 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38024 !__NR_fadvise64_64))]: Likewise.
38025 [__NR_fadvise64]: Make code unconditional.
38026 [!__NR_fadvise64]: Remove conditional code.
38027 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38028 <kernel-features.h>.
38029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38034 not include <kernel-features.h>.
38035 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38037 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38039 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38040 include <kernel-features.h>.
38041 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38043 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38046 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38048 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38049 slight instruction rearrangements per scrollpipe analysis.
38050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38052 2012-08-20 Roland McGrath <roland@hack.frob.com>
38054 * manual/syslog.texi (syslog; vsyslog, closelog):
38055 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38056 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38058 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38059 DSOCAPS to match condition on defining it.
38061 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38063 * sysdeps/unix/sysv/linux/kernel-features.h
38064 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38072 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38073 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38075 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38076 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38078 * sysdeps/unix/sysv/linux/kernel-features.h
38079 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38080 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38082 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38083 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38084 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38085 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38086 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38087 Make code unconditional.
38088 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38089 (__mmap64) [!__NR_mmap2]: Likewise.
38090 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38091 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38092 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38094 [__NR_mmap2]: Make code unconditional.
38095 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38096 (__mmap64) [!__NR_mmap2]: Likewise.
38098 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38100 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38102 2012-08-18 Andreas Jaeger <aj@suse.de>
38104 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38106 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38108 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38109 * include/unistd.h (__have_sock_cloexec): Likewise.
38110 (__have_pipe2): Likewise.
38111 (__have_dup3): Likewise.
38113 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38116 * include/unistd.h (__have_pipe2): Change define into an extern int.
38117 (__have_dup3): Likewise.
38118 * socket/have_sock_cloexec.c: Include fcntl.h.
38119 (__have_pipe2): New variable.
38120 (__have_dup3): Likewise.
38122 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38124 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38126 2012-08-17 Marek Polacek <polacek@redhat.com>
38128 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38129 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38131 2012-08-17 Roland McGrath <roland@hack.frob.com>
38133 * configure.in: Add AC_SUBST for sysheaders.
38134 * configure: Regenerated.
38135 * config.make.in (sysheaders): New substituted variable.
38137 * sysdeps/unix/mkfifo.c: Moved ...
38138 * sysdeps/posix/mkfifo.c: ... here.
38139 * sysdeps/unix/mkfifoat.c: Moved ...
38140 * sysdeps/posix/mkfifoat.c: ... here.
38142 * sysdeps/unix/utime.c: Moved ...
38143 * sysdeps/posix/utime.c: ... here.
38145 * sysdeps/unix/time.c: Moved ...
38146 * sysdeps/posix/time.c: ... here.
38147 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38148 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38150 * sysdeps/unix/nice.c: Moved ...
38151 * sysdeps/posix/nice.c: ... here.
38153 * sysdeps/unix/alarm.c: Moved ...
38154 * sysdeps/posix/alarm.c: ... here.
38156 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38158 2012-08-17 Jeff Law <law@redhat.com>
38160 * intl/Makefile (codeset_mo): New variable.
38161 ($(codeset_mo)): New target.
38162 (tst-codeset.out): Depend on that. Remove explicit rule.
38163 (tst-gettext3.out, tst-gettext5.out): Likewise.
38164 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38165 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38166 * intl/tst-codeset.sh: Remove.
38167 * intl/tst-gettext3.sh: Likewise.
38168 * intl/tst-gettext5.sh: Likewise.
38170 2012-08-17 Roland McGrath <roland@hack.frob.com>
38172 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38173 * sysdeps/unix/syscalls.list: ... here.
38175 * sysdeps/posix/getaddrinfo.c
38176 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38177 (gaiconf_init, gaiconf_reload): Use them.
38178 [!_STATBUF_ST_NSEC]
38179 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38180 Define using time_t rather than struct timespec.
38182 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38183 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38185 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38187 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38188 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38191 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38192 __libc_cleanup_push argument.
38194 * bits/param.h: New file.
38195 * misc/sys/param.h: New file.
38196 * include/sys/param.h: New file.
38197 * misc/Makefile (headers): Add bits/param.h.
38198 * sysdeps/generic/sys/param.h: File removed.
38199 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38200 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38201 * sysdeps/mach/hurd/bits/param.h: New file.
38202 * sysdeps/mach/hurd/sys/param.h: File removed.
38204 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38207 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38209 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38210 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38213 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38214 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38215 rather than -D_IO_MTSAFE_IO conditionally.
38216 * stdio-common/Makefile (CPPFLAGS): Likewise.
38217 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38218 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38219 Use $(libio-mtsafe).
38220 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38221 of -D_IO_MTSAFE_IO.
38222 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38223 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38224 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38225 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38226 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38227 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38228 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38229 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38230 (CFLAGS-fread_u_chk.c): Likewise.
38231 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38232 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38233 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38234 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38235 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38236 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38237 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38238 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38239 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38241 * libio/Makefile: Test [$(libc-reentrant) = yes]
38242 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38245 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38246 * sysdeps/pthread/configure: File removed.
38247 * sysdeps/pthread/Makeconfig: New file.
38248 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38249 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38251 2012-08-16 Gary Benson <gbenson@redhat.com>
38253 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38254 unmapping the first object in a namespace.
38256 2012-08-16 Roland McGrath <roland@hack.frob.com>
38258 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38259 (__internal_setnetgrent): ... this. Add internal_function to
38260 definition. Add libc_hidden_def.
38261 (setnetgrent): Update caller.
38262 (internal_endnetgrent): Renamed to ...
38263 (__internal_endnetgrent): ... this. Add internal_function to
38264 definition. Add libc_hidden_def.
38265 (endnetgrent): Update caller.
38266 (internal_getnetgrent_r): Renamed to ...
38267 (__internal_getnetgrent_r): ... this. Add internal_function to
38268 definition. Add libc_hidden_def.
38269 (__getnetgrent_r): Update caller.
38270 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38272 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38274 * stdlib/longlong.h: Update from GCC.
38276 2012-08-16 Roland McGrath <roland@hack.frob.com>
38278 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38279 on _QL, which is set by umul_ppmm but never used.
38280 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38281 variables, which are set by GMP macros but never used.
38282 * stdio-common/_itowa.c (_itowa): Likewise.
38283 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38284 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38286 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38288 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38289 struct La_sh_regs is not constant.
38290 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38291 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38292 and struct La_sparc64_regs are not constant.
38294 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38296 * sysdeps/unix/sysv/linux/kernel-features.h
38297 (__ASSUME_POSIX_TIMERS): Remove.
38298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38300 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38301 Make code unconditional.
38302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38303 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38304 Make code unconditional.
38305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38306 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38307 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38309 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38310 Make code unconditional.
38311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38312 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38313 (__libc_missing_posix_timers): Remove.
38315 2012-08-15 Roland McGrath <roland@hack.frob.com>
38317 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38318 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38320 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38322 * elf/dl-sym.c: Include <stdlib.h>.
38324 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38325 constants, which avoids warnings in 32-bit builds.
38327 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38328 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38330 * misc/lseek.c: File moved to ...
38331 * io/lseek.c: ... here.
38333 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38335 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38336 shifting LEN more than 31 bits at once.
38338 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38341 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38342 segmentation fault for a case of two empty input strings.
38343 * string/test-strncasecmp.c (check1): Renamed to...
38344 (bz12205): ...this.
38345 (bz14195): Add new testcase for two empty input strings and N > 0.
38346 (test_main): Call new testcase, adapt for renamed function.
38348 2012-08-15 Andreas Jaeger <aj@suse.de>
38351 * crypt/md5test2.c: New test, based on test supplied by Serge
38352 Belyshev <belyshev@depni.sinp.msu.ru>.
38353 * crypt/Makefile (xtests): Add md5test-giant..
38354 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38356 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38359 * crypt/md5.c (md5_process_block): Don't assume the buffer
38360 length is less than 2**32.
38361 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38362 length is less than 2**64.
38364 2012-08-15 Roland McGrath <roland@hack.frob.com>
38366 * string/str-two-way.h: Include <sys/param.h>.
38367 (MAX): Macro removed.
38369 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38370 Move #define and #undef of memmove to just before and after
38371 including <string.h>.
38373 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38374 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38375 and after including <string.h>. Move declarations of
38376 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38377 to before #include "string/memmove.c".
38379 * include/dirent.h: Declare __getdirentries.
38381 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38382 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38384 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38386 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38387 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38388 * sysdeps/i386/configure: Regenerated.
38389 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38390 STABS_CURRENT_FILE, and STABS_FUN.
38391 (END): Remove call to STABS_FUN_END.
38392 (STABS_CURRENT_FILE1): Delete.
38393 (STABS_CURRENT_FILE): Likewise.
38394 (STABS_FUN): Likewise.
38395 (STABS_FUN_END): Likewise.
38396 (STABS_FUN2): Likewise.
38397 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38398 * sysdeps/x86_64/configure: Regenerated.
38400 2012-08-14 Roland McGrath <roland@hack.frob.com>
38402 * elf/dl-open.c: Include <atomic.h>.
38403 * elf/dl-lookup.c: Likewise.
38405 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38407 * sysdeps/unix/sysv/linux/kernel-features.h
38408 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38409 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38411 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38413 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38414 condition on __ASSUME_CLONE_THREAD_FLAGS.
38416 2012-08-14 Andreas Jaeger <aj@suse.de>
38418 * sysdeps/i386/fpu/libm-test-ulps: Update.
38420 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38422 * include/atomic.h (atomic_exchange_and_add): Split into ...
38423 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38426 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38430 2012-08-13 Jeff Law <law@redhat.com>
38432 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38433 null byte in the output string.
38435 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38437 * sysdeps/unix/sysv/linux/kernel-features.h
38438 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38439 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38440 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38441 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38442 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38443 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38444 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38446 2012-08-09 Jeff Law <law@redhat.com>
38449 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38450 When avoid_arena is set, don't retry in the that arena. Pick the
38451 next one, whatever it might be.
38452 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38453 (arena_lock): Pass in new parameter to arena_get2.
38454 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38456 (__libc_malloc): Unify retrying after main arena failure with
38457 __libc_memalign version.
38458 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38460 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38463 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38464 to __redirect_strstr.
38465 (__strstr_sse42): Use typeof __redirect_strstr.
38466 (__strstr_ia32): Likewise.
38467 (__libc_strstr): New prototype.
38468 (strstr): Renamed to ...
38469 (__libc_strstr): This.
38470 (strstr): New strong alias of __libc_strstr.
38471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38472 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38475 (__libc_time): New prototype.
38476 (time_ifunc): Replace time with __libc_time.
38477 (time): New strong alias and hidden definition of __libc_time.
38478 (__GI_time): Remove strong alias.
38479 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38480 Include <stddef.h>.
38481 (memmove): Redefined to __redirect_memmove.
38482 (__memmove_sse2): Use typeof __redirect_memmove.
38483 (__memmove_ssse3): Likewise.
38484 (__memmove_ssse3_back): Likewise.
38485 (__libc_memmove): New prototype.
38486 (memmove): Renamed to ...
38487 (__libc_memmove): This.
38488 (memmove): New strong alias of __libc_memmove.
38490 2012-08-08 Mark Salter <msalter@redhat.com>
38493 (R_MN10300_TLS_GD): Define.
38494 (R_MN10300_TLS_LD): Likewise.
38495 (R_MN10300_TLS_LDO): Likewise.
38496 (R_MN10300_TLS_GOTIE): Likewise.
38497 (R_MN10300_TLS_IE): Likewise.
38498 (R_MN10300_TLS_LE): Likewise.
38499 (R_MN10300_TLS_DTPMOD): Likewise.
38500 (R_MN10300_TLS_DTPOFF): Likewise.
38501 (R_MN10300_TLS_TPOFF): Likewise.
38502 (R_MN10300_SYM_DIFF): Likewise.
38503 (R_MN10300_ALIGN): Likewise.
38504 (R_MN10300_NUM): Update.
38506 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38511 2012-08-08 Roland McGrath <roland@hack.frob.com>
38513 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38515 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38516 sysdeps/unix -> sysdeps/posix move.
38517 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38519 2012-08-07 Allan McRae <allan@archlinux.org>
38522 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38523 (SUNOS_CPP): Likewise.
38524 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38526 (open_input): Call CPP using execvp.
38528 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38530 * sysdeps/unix/sysv/linux/kernel-features.h
38531 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38532 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38533 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38534 (__ASSUME_WAITID_SYSCALL): Likewise.
38535 * sysdeps/unix/sysv/linux/dl-execstack.c
38536 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38537 code unconditional.
38538 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38540 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38541 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38542 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38544 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38546 [__ASSUME_WAITID_SYSCALL]: Likewise.
38547 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38549 2012-08-07 Roland McGrath <roland@hack.frob.com>
38551 * sysdeps/unix/closedir.c: Renamed to ...
38552 * sysdeps/posix/closedir.c: ... here.
38553 * sysdeps/unix/dirfd.c: Renamed to ...
38554 * sysdeps/posix/dirfd.c: ... here.
38555 * sysdeps/unix/dirstream.h: Renamed to ...
38556 * sysdeps/posix/dirstream.h: ... here.
38557 * sysdeps/unix/fdopendir.c: Renamed to ...
38558 * sysdeps/posix/fdopendir.c: ... here.
38559 * sysdeps/unix/opendir.c: Renamed to ...
38560 * sysdeps/posix/opendir.c: ... here.
38561 * sysdeps/unix/readdir.c: Renamed to ...
38562 * sysdeps/posix/readdir.c: ... here.
38563 * sysdeps/unix/readdir_r.c: Renamed to ...
38564 * sysdeps/posix/readdir_r.c: ... here.
38565 * sysdeps/unix/rewinddir.c: Renamed to ...
38566 * sysdeps/posix/rewinddir.c: ... here.
38567 * sysdeps/unix/seekdir.c: Renamed to ...
38568 * sysdeps/posix/seekdir.c: ... here.
38569 * sysdeps/unix/telldir.c: Renamed to ...
38570 * sysdeps/posix/telldir.c: ... here.
38571 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38572 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38573 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38574 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38576 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38577 * bits/fcntl.h: ... here.
38579 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38581 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38582 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38583 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38584 (struct flock): Move l_start, l_len to the beginning.
38585 Use __pid_t for l_pid.
38586 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38587 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38588 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38589 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38590 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38591 [__USE_LARGEFILE64] (struct flock64): New type.
38592 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38594 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38595 * bits/dirent.h: ... here.
38597 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38598 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38600 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38603 Change from 2.6.0 to 2.6.16.
38604 * sysdeps/unix/sysv/linux/configure: Regenerated.
38605 * sysdeps/unix/sysv/linux/kernel-features.h
38606 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38607 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38609 (__ASSUME_UTIMES): Likewise.
38610 (__ASSUME_CLONE_STOPPED): Remove.
38611 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38612 architectures, not kernel version.
38613 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38614 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38615 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38616 (__ASSUME_WAITID_SYSCALL): Likewise.
38617 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38618 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38619 * README: State 2.6.16 as minimum Linux kernel version. Do not
38620 refer to older versions.
38622 2012-08-06 Roland McGrath <roland@hack.frob.com>
38624 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38625 Define alphasort64 as an alias.
38626 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38627 Define versionsort64 as an alias.
38628 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38629 Define scandir64 as an alias.
38630 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38631 Define scandirat64 as an alias.
38632 * dirent/alphasort64.c (alphasort64):
38633 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38634 * dirent/versionsort64.c: Likewise.
38635 * dirent/scandir64.c: Likewise.
38636 * dirent/scandirat64.c: Likewise.
38637 * sysdeps/wordsize-64/alphasort.c: File removed.
38638 * sysdeps/wordsize-64/alphasort64.c: File removed.
38639 * sysdeps/wordsize-64/scandir.c: File removed.
38640 * sysdeps/wordsize-64/scandir64.c: File removed.
38641 * sysdeps/wordsize-64/scandirat.c: File removed.
38642 * sysdeps/wordsize-64/scandirat64.c: File removed.
38643 * sysdeps/wordsize-64/versionsort.c: File removed.
38644 * sysdeps/wordsize-64/versionsort64.c: File removed.
38645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38646 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38648 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38650 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38654 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38656 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38658 [defined __arch64__ || defined __sparcv9]
38659 (__INO_T_MATCHES_INO64_T): New macro.
38660 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38661 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38662 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38663 * sysdeps/unix/sysv/linux/bits/dirent.h
38664 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38665 (_DIRENT_MATCHES_DIRENT64): New macro.
38667 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38668 Define lockf64 as an alias.
38669 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38670 Define fseeko64 as an alias.
38671 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38672 Define ftello64 as an alias.
38673 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38674 Define _IO_fgetpos64 and fgetpos64 as aliases.
38675 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38676 Define _IO_fsetpos64 and fsetpos64 as aliases.
38677 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38678 Conditionalize body on this.
38679 * libio/fseeko64.c: Likewise.
38680 * libio/ftello64.c: Likewise.
38681 * libio/iofgetpos64.c: Likewise.
38682 * libio/iofsetpos64.c: Likewise.
38683 * sysdeps/wordsize-64/lockf.c: File removed.
38684 * sysdeps/wordsize-64/lockf64.c: File removed.
38685 * sysdeps/wordsize-64/fseeko.c: File removed.
38686 * sysdeps/wordsize-64/fseeko64.c: File removed.
38687 * sysdeps/wordsize-64/ftello.c: File removed.
38688 * sysdeps/wordsize-64/ftello64.c: File removed.
38689 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38690 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38691 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38692 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38694 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38702 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38704 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38706 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38708 [defined __arch64__ || defined __sparcv9]
38709 (__OFF_T_MATCHES_OFF64_T): New macro.
38710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38711 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38713 (__OFF_T_MATCHES_OFF64_T): New macro.
38715 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38717 * stdlib/secure-getenv.c (__secure_getenv): Replace
38718 GLIBC_2_16 with GLIBC_2_17.
38720 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38725 2012-08-03 David S. Miller <davem@davemloft.net>
38727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38729 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38733 (__ASSUME_CORRECT_SI_PID): Likewise.
38734 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38735 (__ASSUME_TMPFS_NAME): Likewise.
38736 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38737 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38738 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38739 (HAVE_AUX_SECURE): Make definition unconditional.
38740 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38741 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38743 2012-08-03 Roland McGrath <roland@hack.frob.com>
38745 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38746 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38747 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38748 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38749 __eloop_threshold instead of SYMLOOP_MAX.
38751 * sysdeps/generic/eloop-threshold.h: New file.
38752 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38754 * elf/chroot_canon.c (chroot_canon): Likewise.
38756 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38759 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38760 Change to 2.6.0 everywhere.
38761 * sysdeps/unix/sysv/linux/configure: Regenerated.
38762 * sysdeps/unix/sysv/linux/kernel-features.h
38763 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38764 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38766 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38767 (__ASSUME_FUTEX_REQUEUE): Remove.
38768 (__ASSUME_STATFS64): Define unconditionally.
38769 (__ASSUME_AT_SECURE): Likewise.
38770 (__ASSUME_CORRECT_SI_PID): Likewise.
38771 (__ASSUME_TGKILL): Define without depending on kernel version for
38773 (__ASSUME_UTIMES): Likewise.
38774 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38776 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38777 (__ASSUME_TMPFS_NAME): Likewise.
38778 * README: Update reference to Linux kernel versions.
38780 2012-08-02 Marek Polacek <polacek@redhat.com>
38783 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38784 libc_cv_asm_type_prefix with %.
38785 * configure: Regenerated.
38786 * include/libc-symbols.h: Remove comment about
38787 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38788 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38789 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38790 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38791 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38792 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38793 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38794 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38795 * elf/tst-unique2mod1.c: Likewise.
38796 * elf/tst-unique1mod2.c: Likewise.
38797 * elf/tst-unique1mod1.c: Likewise.
38798 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38799 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38800 Replace ASM_TYPE_DIRECTIVE with .type.
38801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38802 * sysdeps/i386/sysdep.h: Likewise.
38803 * sysdeps/x86_64/sysdep.h: Likewise.
38804 * sysdeps/sh/sysdep.h: Likewise.
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38806 Do not define ASM_TYPE_DIRECTIVE.
38807 * sysdeps/powerpc/sysdep.h: Likewise.
38808 * sysdeps/powerpc/powerpc32/sysdep.h:
38809 Replace ASM_TYPE_DIRECTIVE with .type.
38810 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38811 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38812 * sysdeps/i386/fpu/e_powf.S: Likewise.
38813 * sysdeps/i386/fpu/e_expl.S: Likewise.
38814 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38815 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38816 * sysdeps/i386/fpu/e_pow.S: Likewise.
38817 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38818 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38819 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38820 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38821 * sysdeps/i386/fpu/e_log2.S: Likewise.
38822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38824 * sysdeps/i386/fpu/e_powl.S: Likewise.
38825 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38826 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38827 * sysdeps/i386/fpu/e_logl.S: Likewise.
38828 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38829 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38830 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38831 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38832 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38833 * sysdeps/i386/fpu/e_log.S: Likewise.
38834 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38835 * sysdeps/i386/fpu/e_logf.S: Likewise.
38836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38838 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38839 * sysdeps/i386/fpu/e_log10.S: Likewise.
38840 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38841 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38842 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38843 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38844 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38845 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38846 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38847 * sysdeps/i386/i686/strtok.S: Likewise.
38848 * sysdeps/i386/i386-mcount.S: Likewise.
38849 * sysdeps/i386/strtok.S: Likewise.
38850 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38851 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38852 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38853 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38854 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38855 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38856 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38857 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38859 * sysdeps/x86_64/_mcount.S: Likewise.
38860 * sysdeps/x86_64/strtok.S: Likewise.
38861 * sysdeps/sh/_mcount.S: Likewise.
38863 2012-08-01 Roland McGrath <roland@hack.frob.com>
38865 * libio/iofopen.c: Include <fcntl.h>.
38866 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38867 (_IO_fopen64, fopen64): Define as aliases.
38868 * libio/iofopen64.c: Include <fcntl.h>.
38869 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38870 Conditionalize body on this.
38871 * sysdeps/wordsize-64/iofopen.c: File removed.
38872 * sysdeps/wordsize-64/iofopen64.c: File removed.
38874 2012-08-01 Marek Polacek <polacek@redhat.com>
38876 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38877 Use dlfcn directly instead of a variable.
38878 (binfmt-subdir): Do not define.
38881 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38883 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38884 Remove all definitions.
38885 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38886 <kernel-features.h>.
38887 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38888 (miss_F_GETOWN_EX): Remove all definitions.
38889 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38891 [!__ASSUME_FCNTL64]: Remove conditional code.
38892 [__ASSUME_FCNTL64]: Make code unconditional.
38893 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38894 <kernel-features.h>.
38895 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38896 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38897 (lockf64) [__NR_fcntl64]: Make code unconditional.
38898 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38900 * sysdeps/unix/sysv/linux/kernel-features.h
38901 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38902 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38903 Make code unconditional.
38904 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38905 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38907 [__NR_vfork]: Make code unconditional.
38908 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38909 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38911 [__NR_vfork]: Make code unconditional.
38912 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38913 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38915 2012-08-01 Roland McGrath <roland@hack.frob.com>
38917 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38918 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38920 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38921 Define mkstemp64 as an alias.
38922 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38923 Define mkstemps64 as an alias.
38924 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38925 Define mkostemp64 as an alias.
38926 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38927 Define mkostemps64 as an alias.
38928 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38929 Conditionalize body on this.
38930 * misc/mkostemp64.c: Likewise.
38931 * misc/mkostemps64.c: Likewise.
38932 * misc/mkstemps64.c: Likewise.
38933 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38934 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38935 * sysdeps/wordsize-64/mkostemp.c: File removed.
38936 * sysdeps/wordsize-64/mkstemp.c: File removed.
38937 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38939 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38943 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38944 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38945 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38946 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38948 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38949 compat_symbol macros from <shlib-compat.h> rather than the underlying
38950 default_symbol_version and symbol_version macros, so that DEFAULT
38951 lines in shlib-versions are respected.
38952 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38954 2012-08-01 Florian Weimer <fweimer@redhat.com>
38956 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38957 Declare with warn_unused_result.
38958 (setgid, setregid, setegid, setresgid): Likewise.
38959 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38961 * WUR-REPORT: Remove set*id functions.
38963 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38965 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38967 2012-07-31 Roland McGrath <roland@hack.frob.com>
38970 * include/sys/socket.h (__libc_accept, __libc_accept4):
38971 Add attribute_hidden.
38972 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38974 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38976 * inet/getnetgrent_r.c (setup): Likewise.
38978 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38980 2012-07-31 David S. Miller <davem@davemloft.net>
38982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38984 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38987 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38988 value between 1.0 and 2.0 and smaller part has absolute value less
38990 * math/s_clog10.c (__clog10): Likewise.
38991 * math/s_clog10f.c (__clog10f): Likewise.
38992 * math/s_clog10l.c (__clog10l): Likewise.
38993 * math/s_clogf.c (__clogf): Likewise.
38994 * math/s_clogl.c (__clogl): Likewise.
38995 * math/libm-test.inc (clog_test): Add more tests.
38996 (clog10_test): Likewise.
38997 * sysdeps/i386/fpu/libm-test-ulps: Update.
38998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39000 2012-07-31 Florian Weimer <fweimer@redhat.com>
39002 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39003 Exit with zero in case no suitable GID is found, and write a
39004 message to standard error.
39006 2012-07-30 Roland McGrath <roland@hack.frob.com>
39008 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39010 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39011 (MAXPATHLEN): Removed.
39012 (NOGROUP, NODEV): New macros.
39013 (setbit, clrbit, isset, isclr): New macros.
39014 (howmany, roundup, powerof2): New macros.
39015 (DEV_BSIZE): New macro.
39017 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39018 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39020 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39021 definition on [!__NO_LONG_DOUBLE_MATH].
39023 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39024 PTR_MANGLE and PTR_DEMANGLE.
39026 * socket/accept4.c (accept4): Rename to __libc_accept4.
39027 Define accept4 as a weak alias.
39029 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39030 on [_DIRENT_HAVE_D_TYPE].
39031 * io/ftw.c (ftw_dir): Likewise.
39033 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39035 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39037 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39038 Use the BSD numbers rather than the arbitrary ones we had.
39039 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39040 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39041 (SIGXCPU, SIGXFSZ): New macros.
39044 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39045 initializer on [_LIBC_REENTRANT].
39047 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39048 definitions inside [_POSIX_MAPPED_FILES].
39050 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39052 * dirent/opendir.c: Include <fcntl.h>.
39054 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39055 (__libc_getspecific): Likewise.
39056 (__libc_key_create): Likewise.
39058 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39059 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39060 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39061 (tmpfile64): Define as alias.
39062 * sysdeps/wordsize-64/tmpfile.c: File removed.
39063 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39067 * stdio-common/vfscanf.c: Include <stdbool.h>.
39068 * nss/makedb.c: Likewise.
39069 * stdio-common/_i18n_number.h: Likewise.
39070 * argp/argp-help.c: Likewise.
39071 * posix/wordexp.c: Likewise.
39072 * sysdeps/posix/spawni.c: Likewise.
39073 * nss/nss_files/files-initgroups.c: Likewise.
39074 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39075 * nss/nss_files/files-initgroups.c: Likewise.
39076 * nss/nss_db/db-netgrp.c: Likewise.
39077 * nss/nss_db/db-initgroups.c: Likewise.
39078 * io/fchmodat.c: Include <sys/stat.h>.
39080 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39081 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39083 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39086 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39087 Add multiple inclusion protection.
39089 2012-07-27 David S. Miller <davem@davemloft.net>
39091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39093 2012-07-27 Gary Benson <gbenson@redhat.com>
39096 * elf/rtld.c: Include <stap-probe.h>.
39097 (dl_main): Added static probes "init_start" and "init_complete".
39098 * elf/dl-load.c: Include <stap-probe.h>.
39099 (lose): Take new parameter "nsid".
39100 Added static probe "map_failed".
39101 (_dl_map_object_from_fd): Pass namespace id to lose.
39102 Added static probe "map_start".
39103 (open_verify): Pass namespace id to lose.
39104 * elf/dl-open.c: Include <stap-probe.h>.
39105 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39106 and "reloc_complete".
39107 * elf/dl-close.c: Include <stap-probe.h>.
39108 (_dl_close_worker): Added static probes "unmap_start" and
39110 * elf/rtld-debugger-interface.txt: New file documenting the above.
39112 2012-07-26 Roland McGrath <roland@hack.frob.com>
39114 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39115 rather than a string variable.
39116 * sunrpc/rpc_main.c (h_output): Likewise.
39117 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39119 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39121 * inet/check_native.c: New file.
39123 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39126 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39127 if larger part has absolute value 1.0.
39128 * math/s_clog10.c (__clog10): Likewise.
39129 * math/s_clog10f.c (__clog10f): Likewise.
39130 * math/s_clog10l.c (__clog10l): Likewise.
39131 * math/s_clogf.c (__clogf): Likewise.
39132 * math/s_clogl.c (__clogl): Likewise.
39133 * math/libm-test.inc (clog_test): Add more tests.
39134 (clog10_test): Likewise.
39135 * sysdeps/i386/fpu/libm-test-ulps: Update.
39136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39138 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39139 (pltexit): Likewise.
39140 (La_regs): Likewise.
39141 (La_retval): Likewise.
39142 (int_retval): Likewise.
39143 Update #error for removed macros to refer only to definitions in
39145 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39147 (pltexit): Likewise.
39148 (La_regs): Likewise.
39149 (La_retval): Likewise.
39150 (int_retval): Likewise.
39151 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39153 (pltexit): Likewise.
39154 (La_regs): Likewise.
39155 (La_retval): Likewise.
39156 (int_retval): Likewise.
39157 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39159 (pltexit): Likewise.
39160 (La_regs): Likewise.
39161 (La_retval): Likewise.
39162 (int_retval): Likewise.
39163 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39165 (pltexit): Likewise.
39166 (La_regs): Likewise.
39167 (La_retval): Likewise.
39168 (int_retval): Likewise.
39169 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39171 (pltexit): Likewise.
39172 (La_regs): Likewise.
39173 (La_retval): Likewise.
39174 (int_retval): Likewise.
39175 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39177 (pltexit): Likewise.
39178 (La_regs): Likewise.
39179 (La_retval): Likewise.
39180 (int_retval): Likewise.
39181 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39182 macro definitions in tst-audit.h.
39183 * sysdeps/i386/tst-audit.h: New file.
39184 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39185 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39186 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39187 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39188 * sysdeps/sh/tst-audit.h: Likewise.
39189 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39190 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39191 * sysdeps/x86_64/tst-audit.h: Likewise.
39193 2012-07-26 Andreas Jaeger <aj@suse.de>
39195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39198 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39199 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39200 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39202 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39203 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39204 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39206 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39209 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39211 (si_call_addr, si_syscall, si_arch): Define new macro.
39212 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39214 (si_call_addr, si_syscall, si_arch): Define new marcro.
39215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39217 (si_call_addr, si_syscall, si_arch): Define new macro.
39218 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39220 (si_call_addr, si_syscall, si_arch): Define new macro.
39222 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39226 Change to 2.4.21 where previously 2.4.1.
39227 * sysdeps/unix/sysv/linux/configure: Regenerated.
39228 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39229 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39230 Linux kernel version.
39231 (__ASSUME_STD_AUXV): Remove.
39232 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39234 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39235 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39236 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39237 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39238 (__ASSUME_NETLINK_SUPPORT): Likewise.
39239 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39240 (__no_netlink_support): Remove conditional definition.
39241 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39243 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39244 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39246 (if_nameindex_ioctl): Remove.
39247 (if_nameindex_netlink): Do not handle __no_netlink_support.
39248 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39250 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39251 Remove conditional code.
39252 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39254 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39256 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39257 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39258 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39260 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39261 [!__ASSUME_STD_AUXV]: Remove conditional code.
39262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39263 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39264 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39266 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39267 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39269 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39271 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39272 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39274 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39279 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39282 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39283 code unconditional.
39284 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39286 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39288 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39291 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39293 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39296 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39297 code unconditional.
39298 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39300 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39302 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39305 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39306 code unconditional.
39307 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39309 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39311 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39314 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39316 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39317 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39318 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39319 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39320 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39321 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39322 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39323 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39324 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39325 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39326 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39327 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39328 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39329 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39330 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39331 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39332 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39334 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39336 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39337 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39340 2012-07-25 Florian Weimer <fweimer@redhat.com>
39342 * Versions.def: Add GLIBC_2.17.
39343 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39344 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39345 Introduce __libc_secure_getenv.
39346 * stdlib/Versions (2.17): Add secure_getenv
39347 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39348 * stdlib/secure-getenv.c: Rename __secure_getenv to
39349 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39350 symbol __secure_getenv for GLIBC_2.0.
39351 * stdlib/tst-secure-getenv.c: New.
39352 * stdlib/Makefile (tests): Add testcase.
39353 * manual/startup.texi (Environment Access): Document
39355 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39356 __libc_secure_getenv.
39357 * inet/ruserpass.c (ruserpass): Likewise.
39358 * malloc/mtrace.c (mtrace): Likewise.
39359 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39360 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39361 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39362 * sysdeps/posix/tempname.c: Likewise. Evaluate
39363 HAVE_SECURE_GETENV.
39364 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39365 __secure_getenv to __libc_secure_getenv.
39366 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39379 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39381 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39382 (struct La_i86_retval): Likewise.
39383 (struct La_x86_64_regs): Likewise.
39384 (struct La_x86_64_retval): Likewise.
39385 (struct La_x32_regs): Likewise.
39386 (struct La_x32_retval): Likewise.
39387 (struct La_ppc32_regs): Likewise.
39388 (struct La_ppc32_retval): Likewise.
39389 (struct La_ppc64_regs): Likewise.
39390 (struct La_ppc64_retval): Likewise.
39391 (struct La_sh_regs): Likewise.
39392 (struct La_sh_retval): Likewise.
39393 (struct La_s390_32_regs): Likewise.
39394 (struct La_s390_32_retval): Likewise.
39395 (struct La_s390_64_regs): Likewise.
39396 (struct La_s390_64_retval): Likewise.
39397 (struct La_sparc32_regs): Likewise.
39398 (struct La_sparc32_retval): Likewise.
39399 (struct La_sparc64_regs): Likewise.
39400 (struct La_sparc64_retval): Likewise.
39401 (struct audit_ifaces): Remove architecture-specific pltenter and
39403 * sysdeps/i386/ldsodefs.h: New file.
39404 * sysdeps/powerpc/ldsodefs.h: Likewise.
39405 * sysdeps/s390/ldsodefs.h: Likewise.
39406 * sysdeps/sh/ldsodefs.h: Likewise.
39407 * sysdeps/sparc/ldsodefs.h: Likewise.
39408 * sysdeps/x86_64/ldsodefs.h: Likewise.
39410 2012-07-25 Marek Polacek <polacek@redhat.com>
39413 * math/libm-test.inc (yn_test): Add another test.
39414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39415 to ERANGE when the result is +-Inf.
39416 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39417 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39418 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39419 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39421 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39423 * conform/data/time.h-data (NULL): Use macro-constant. Require
39425 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39427 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39429 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39431 * configure.in <sysdeps resolving>: Correct printing
39433 * configure: Regenerate.
39435 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39437 * math/w_ilogb.c: Include <limits.h>.
39438 * math/w_ilogbl.c: Likewise.
39440 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39442 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39443 va_copy. Document allowing for unavailable va_copy only as
39444 pre-C99 compatibility.
39445 * manual/string.texi (Copying and Concatenation): Use va_copy
39446 instead of __va_copy in concat example.
39448 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39450 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39451 (__sendto): Use create_address_port. Initialize APORT and deallocate
39454 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39455 with O_NOLINK passed to __file_name_lookup.
39457 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39458 with O_NOLINK passed to __file_name_lookup.
39460 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39461 negative N or less than NGIDS.
39463 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39464 type to string_t. Set ERANGE as errno and return it if NAME is not big
39465 enough. Use memcpy instead of strncpy.
39467 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39469 * elf/Makefile (check-data): Remove.
39470 (localplt.data): New vpath directive.
39471 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39472 instead of $(check-data).
39473 * scripts/data/localplt-generic.data: Move to ...
39474 * sysdeps/generic/localplt.data: ... here.
39475 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39476 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39477 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39480 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39483 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39486 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39489 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39492 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39496 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39498 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39499 PPC32 and PPC64 files.
39500 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39501 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39503 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39505 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39506 __makecontext_ret to ...
39507 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39508 ... here and call exit if uc_link is NULL. New file.
39509 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39510 __makecontext_ret.S.
39511 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39512 __makecontext_ret to ...
39513 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39514 ... here and call exit if uc_link is NULL. New file.
39515 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39516 __makecontext_ret.S.
39518 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39520 * elf/elf.h (R_390_IRELATIVE): New definition.
39521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39522 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39523 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39525 (elf_machine_lazy_rel): Likewise.
39526 * sysdeps/s390/dl-irel.h: New file.
39527 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39528 * sysdeps/s390/s390-64/memset.S: New asm code.
39529 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39530 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39531 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39532 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39533 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39534 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39535 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39536 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39537 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39538 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39539 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39540 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39541 * sysdeps/s390/s390-32/memset.S: New asm code.
39542 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39544 2012-07-17 Marek Polacek <polacek@redhat.com>
39547 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39548 * sysdeps/s390/s390-64/configure.in: Likewise.
39549 * sysdeps/sparc/configure.in: Likewise.
39550 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39551 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39552 * sysdeps/i386/configure.in: Likewise.
39553 * sysdeps/x86_64/configure.in: Likewise.
39554 * sysdeps/sh/configure.in: Likewise.
39555 * sysdeps/s390/s390-32/configure: Regenerated.
39556 * sysdeps/s390/s390-64/configure: Likewise.
39557 * sysdeps/x86_64/configure: Likewise.
39558 * sysdeps/sh/configure: Likewise.
39559 * sysdeps/powerpc/powerpc64/configure: Likewise.
39560 * sysdeps/powerpc/powerpc32/configure: Likewise.
39561 * sysdeps/sparc/configure: Likwise.
39562 * sysdeps/i386/configure: Likewise.
39564 * elf/dl-open.c: Comment fixes.
39566 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39568 * Makefile [CXX] (check-data): Remove.
39569 [CXX] (c++-types.data): New vpath directive.
39570 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39571 vpath. Do not allow for C++ type data being missing.
39572 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39573 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39574 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39575 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39576 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39577 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39578 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39581 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39584 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39587 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39590 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39593 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39596 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39599 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39602 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39603 definitions to architecture-specific files.
39604 (TLS_IE): Likewise.
39605 (TLS_LD): Likewise.
39606 (TLS_GD): Likewise.
39607 * sysdeps/i386/tls-macros.h: New file.
39608 * sysdeps/powerpc/tls-macros.h: Likewise.
39609 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39610 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39611 * sysdeps/sh/tls-macros.h: Likewise.
39612 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39613 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39614 * sysdeps/x86_64/tls-macros.h: Likewise.
39616 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39619 zero value for regular exit case.
39621 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39622 (__start_context): Preserve zero value for regular exit case.
39624 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39625 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39627 * manual/setjmp.texi (setcontext): Clarify normal process
39628 termination when uc_link is the null pointer.
39629 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39632 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39634 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39635 preprocessor. Test for each exception mask separately.
39637 2012-07-16 Andreas Jaeger <aj@suse.de>
39639 * po/ru.po: Update from translation team.
39641 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39643 * conform/data/string.h-data (NULL): Use macro-constant. Require
39645 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39646 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39647 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39648 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39651 2012-07-13 Andreas Jaeger <aj@suse.de>
39653 * po/fr.po: Update from translation team.
39655 2012-07-12 Marek Polacek <polacek@redhat.com>
39658 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39659 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39662 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39666 Change to 2.4.1 where previously 2.4.0.
39667 * sysdeps/unix/sysv/linux/configure: Regenerated.
39668 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39669 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39671 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39672 (__ASSUME_AT_CLKTCK): Remove.
39673 (__ASSUME_AT_PAGESIZE): Likewise.
39674 (__ASSUME_AT_XID): Likewise.
39675 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39676 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39677 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39679 (HAVE_AUX_PAGESIZE): Likewise.
39680 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39681 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39682 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39684 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39688 the temporary buffer used to invoke __gethostbyname2_r,
39689 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39690 host_data / struct gaih_addrtuple.
39691 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39692 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39693 header file nss/nsswitch.h.
39694 * nss/nsswitch.h (global scope): Add definition of implementation
39695 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39696 resolv/nss_dns/dns-host.c).
39698 2012-07-11 Andreas Jaeger <aj@suse.de>
39700 * po/fr.po: Update from translation team.
39702 * po/sv.po: Update from translation team
39703 * po/fr.po: Another update from translation team.
39705 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39708 for subnormals or multiply small sinh result by itself.
39709 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39712 2012-07-11 David S. Miller <davem@davemloft.net>
39714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39716 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39719 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39720 (INTERNAL_MARK): Shift it here.
39722 2012-07-10 Marek Polacek <polacek@redhat.com>
39725 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39726 libc_cv_asm_global_directive with .globl.
39727 * configure: Regenerated.
39728 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39730 * sysdeps/i386/configure: Regenerated.
39731 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39733 * sysdeps/x86_64/configure: Regenerated.
39734 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39735 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39736 * elf/tst-unique2mod2.c: Likewise.
39737 * elf/tst-unique2mod1.c: Likewise.
39738 * elf/tst-unique1mod2.c: Likewise.
39739 * elf/tst-unique1mod1.c: Likewise.
39740 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39741 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39744 * sysdeps/mach/sysdep.h: Likewise.
39745 * sysdeps/i386/sysdep.h: Likewise.
39746 * sysdeps/i386/i386-mcount.S: Likewise.
39747 * sysdeps/x86_64/_mcount.S: Likewise.
39748 * sysdeps/x86_64/sysdep.h: Likewise.
39749 * sysdeps/sh/_mcount.S: Likewise.
39750 * sysdeps/sh/sysdep.h: Likewise.
39751 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39752 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39753 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39754 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39755 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39756 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39757 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39758 * locale/localeinfo.h: Likewise.
39759 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39760 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39762 2012-07-09 Roland McGrath <roland@hack.frob.com>
39765 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39767 * manual/message.texi (The Uniforum approach): Likewise.
39768 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39769 (glibc iconv Implementation): Likewise.
39771 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39774 * math/s_clog.c (__clog): Avoid scaling a value down where that
39775 could result in underflow.
39776 * math/s_clog10.c (__clog10): Likewise.
39777 * math/s_clog10f.c (__clog10f): Likewise.
39778 * math/s_clog10l.c (__clog10l): Likewise.
39779 * math/s_clogf.c (__clogf): Likewise.
39780 * math/s_clogl.c (__clogl): Likewise.
39781 * math/libm-test.inc (clog_test): Add more tests.
39782 (clog10_test): Likewise.
39783 * sysdeps/i386/fpu/libm-test-ulps: Update.
39784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39786 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39789 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39790 by 7 not 8 to examine high bit of fractional part.
39793 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39794 for call to __mcount_internal.
39795 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39796 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39797 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39799 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39802 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39803 approximation for values within 0x1p-13f of an odd multiple of
39805 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39806 exception. Add more tests.
39807 * sysdeps/i386/fpu/libm-test-ulps: Update.
39810 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39811 inputs and return -1 for them. Do not check for +Inf in case not
39812 reachable for +Inf.
39813 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39814 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39816 and return -1 for them. Do not check for +Inf in case not
39817 reachable for +Inf.
39818 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39821 and return -1 for them. Do not check for +Inf in case not
39822 reachable for +Inf.
39823 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39824 spurious underflow.
39825 * sysdeps/i386/fpu/libm-test-ulps: Update.
39826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39828 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39830 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39832 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39836 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39837 could result in spurious underflow. Scale down values above
39838 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39839 * math/s_csqrtf.c (__csqrtf): Likewise.
39840 * math/s_csqrtl.c (__csqrtl): Likewise.
39841 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39842 spurious underflow.
39843 * sysdeps/i386/fpu/libm-test-ulps: Update.
39844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39846 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39848 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39850 * catgets/xopen-msg.awk: New file.
39851 * catgets/xopen-msg.sed: Removed.
39853 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39855 * intl/po2test.awk: New file.
39856 * intl/po2test.sed: Removed.
39858 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39861 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39862 or multiply small sinh result by itself.
39863 * math/s_ctanf.c (__ctanf): Likewise.
39864 * math/s_ctanh.c (__ctanh): Likewise.
39865 * math/s_ctanhf.c (__ctanhf): Likewise.
39866 * math/s_ctanhl.c (__ctanhl): Likewise.
39867 * math/s_ctanl.c (__ctanl): Likewise.
39868 * math/libm-test.inc (ctan_test_tonearest): New function.
39869 (ctan_test_towardzero): Likewise.
39870 (ctan_test_downward): Likewise.
39871 (ctan_test_upward): Likewise.
39872 (ctanh_test_tonearest): Likewise.
39873 (ctanh_test_towardzero): Likewise.
39874 (ctanh_test_downward): Likewise.
39875 (ctanh_test_upward): Likewise.
39876 (main): Call these new functions.
39877 * sysdeps/i386/fpu/libm-test-ulps: Update.
39878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39880 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39882 * .gitignore: Delete /ports entry.
39884 2012-07-03 Andreas Jaeger <aj@suse.de>
39886 * po/bg.po: Update from translation team.
39887 * po/cs.po: Likewise.
39888 * po/de.po: Likewise.
39889 * po/hr.po: Likewise.
39890 * po/nl.pl: Likewise.
39891 * po/pl.po: Likewise.
39892 * po/vi.po: Likewise.
39894 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39896 * Makeconfig [!+link] (+link-before-libc): New variable.
39897 [!+link] (+link-after-libc): Likewise.
39898 [!+link] (+link-tests): Likewise.
39899 [!+link] (+link): Define in terms of $(+link-before-libc) and
39900 $(+link-after-libc).
39901 [!+link-static] (+link-static-before-libc): New variable.
39902 [!+link-static] (+link-static-after-libc): Likewise.
39903 [!+link-static] (+link-static-tests): Likewise.
39904 [!+link-static] (+link-static): Define in terms of
39905 $(+link-static-before-libc) and $(+link-static-after-libc).
39906 [build-shared] (link-libc-before-gnulib): New variable.
39907 [build-shared] (link-libc-tests): Likewise.
39908 [build-shared] (link-libc): Define in terms of
39909 $(link-libc-before-gnulib).
39910 [!build-shared] (link-libc-tests): New variable.
39911 (link-libc-static-tests): New variable.
39912 [!gnulib] (gnulib-arch): New variable.
39913 [!gnulib] (gnulib-tests): Likewise.
39914 [!gnulib] (static-gnulib-arch): Likewise.
39915 [!gnulib] (static-gnulib-tests): Likewise.
39916 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39917 Define with "=" instead of ":=".
39918 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39919 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39920 * Rules (binaries-all-notests): New variable.
39921 (binaries-all-tests): Likewise.
39922 (binaries-static-notests): Likewise.
39923 (binaries-static-tests): Likewise.
39924 (binaries-all): Define using $(binaries-all-notests) and
39925 $(binaries-all-tests).
39926 (binaries-static): Define using $(binaries-static-notests) and
39927 $(binaries-static-tests).
39928 (binaries-shared-tests): New variable.
39929 (binaries-shared-notests): Likewise.
39930 (binaries-shared): Remove variable.
39931 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39932 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39933 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39934 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39935 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39936 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39937 * elf/Makefile (sln-modules): New variable.
39938 (extra-objs): Add $(sln-modules:=.o).
39939 (ldconfig-modules): Add static-stubs.
39940 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39941 * elf/static-stubs.c: New file.
39944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39945 by 7 not 8 to examine high bit of fractional part. Use volatile
39946 variables when splitting into final array of floats if
39947 __FLT_EVAL_METHOD__ != 0.
39948 * math/libm-test.inc (cos_test): Add another test.
39949 (sin_test): Likewise.
39950 * sysdeps/i386/fpu/libm-test-ulps: Update.
39953 * math/libm-test.inc (cosh_test): Add more tests.
39955 * version.h (RELEASE): Set to "development".
39956 (VERSION): Set to "2.16.90".
39958 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39960 * NEWS: Update copyright. Remove last-updated date.
39961 Mention math library bug fixes and timezone data changes.
39962 * README: Mention GNU/Hurd, x32, and HPPA support status.
39964 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39966 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39968 2012-06-27 Andreas Jaeger <aj@suse.de>
39970 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39972 2012-06-25 Andreas Jaeger <aj@suse.de>
39974 * sysdeps/s390/fpu/libm-test-ulps: Update.
39976 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39977 Thomas Schwinge <thomas@codesourcery.com>
39979 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39980 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39984 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39986 * sysdeps/mach/start.c: Remove file.
39987 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39988 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39989 * sysdeps/sh/init-first.c: Likewise.
39991 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39992 registers for frame unwinding purposes, add CFI directives.
39993 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39994 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39995 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39998 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39999 __fortify_fail returning.
40000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40003 sysdeps/sh/____longjmp_chk.S.
40004 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40005 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40006 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40007 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40009 * sysdeps/sh/abort-instr.h: New file.
40010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40011 process in case exit returns.
40013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40014 initialize the GOT register before use.
40016 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40017 calculation of ARGC > 4.
40019 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40020 meaningful names to some local labels.
40022 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40023 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40025 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40026 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40027 (__arch_compare_and_exchange_val_16_acq): Likewise.
40028 (__arch_compare_and_exchange_val_32_acq): Likewise.
40029 (atomic_exchange_and_add): Fix gUSA sequence.
40030 (atomic_add): Likewise.
40031 (atomic_add_negative): Likewise.
40032 (atomic_add_zero): Likewise.
40033 (atomic_bit_test_set): Likewise.
40035 2012-06-22 Andreas Schwab <schwab@redhat.com>
40038 * include/link.h (struct link_map): Add l_free_initfini.
40039 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40041 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40042 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40043 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40046 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40048 * configure.in: Use AC_LANG_SOURCE.
40049 * configure: Regenerate.
40051 2012-06-22 Roland McGrath <roland@hack.frob.com>
40053 * configure.in (libc_cv_localstatedir): New substituted variable.
40054 * configure: Regenerated.
40055 * config.make.in (localstatedir): New variable, substituted from
40056 libc_cv_localstatedir.
40057 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40058 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40059 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40060 * sysdeps/gnu/configure: Regenerated.
40062 2012-06-21 Jeff Law <law@redhat.com>
40065 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40066 free. Simplify list management for _LIBC case.
40068 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40071 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40072 Clear sign bit of 64-bit integer value before comparing against
40075 * sysdeps/mach/configure: Regenerated.
40077 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40080 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40082 2012-06-21 Jeff Law <law@redhat.com>
40085 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40086 uint16_t for elements in the "seen" array to avoid char overflows.
40087 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40088 * elf/dl-open.c (dl_open_worker): Likewise.
40090 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40092 * scripts/list-sources.sh: Scan PORTS for translations.
40093 * po/libc.pot: Regenerated.
40095 2012-06-21 Andreas Jaeger <aj@suse.de>
40098 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40100 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40101 * bits/byteswap-16.h (__bswap_16): Likewise.
40102 * bits/byteswap.h (__bswap_constant_16): Likewise.
40104 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/i386/fpu_control.h: Removed.
40108 * sysdeps/x86_64/fpu_control.h: Moved to ...
40109 * sysdeps/x86/fpu_control.h: Here.
40111 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40112 (_FPU_SETCW): Likewise.
40114 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40117 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40118 * sysdeps/x86/fpu/bits/mathinline.h: This.
40119 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40123 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40124 functions if __x86_64__ is defined.
40126 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40128 * string/endian.h: Add !__ASSEMBLER__ condition for including
40129 conversion interfaces.
40131 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40135 of ABS(x) in calculating zero to negative powers other than odd
40137 * math/libm-test.inc (pow_test): Add more tests.
40139 2012-06-15 Andreas Jaeger <aj@suse.de>
40141 * manual/contrib.texi (Contributors): Update entry of Liubov
40142 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40145 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40147 * string/string.h: Add __wur to GNU version of strerror_r.
40149 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40152 * string/Makefile (tests): Add tst-strtok_r.
40153 * string/tst-strtok_r.c: New file.
40154 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40155 RAX_LP/RDX_LP on SAVE_PTR.
40157 2012-06-14 Roland McGrath <roland@hack.frob.com>
40159 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40161 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40163 * libm_test.inc (csqrt_test): Allow more spurious underflow
40165 (j0_test): Likewise.
40166 (j1_test): Likewise.
40167 (y0_test): Likewise.
40168 (y1_test): Likewise.
40170 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40172 * po/Makefile (libc.pot): Use UTF-8 charset.
40174 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40177 Suppress sign-conversion warning from FD_SET.
40178 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40179 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40180 not unsigned long int.
40181 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40183 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40187 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40188 __extern_always_inline instead of __extern_inline.
40189 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40190 (__signbit): Likewise.
40191 (__signbitl): Support C++ namespace.
40192 (lrintf): New inline function.
40194 (llrintf): Likewise.
40195 (llrint): Likewise.
40205 (floorf): Likewise.
40206 (nearbyint): Likewise.
40207 (nearbyintf): Likewise.
40209 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40212 non-default versions.
40214 2012-06-11 Roland McGrath <roland@hack.frob.com>
40217 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40219 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40221 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40222 (FE_UPWARD, FE_DOWNWARD): Don't define.
40223 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40224 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40228 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40231 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40233 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40235 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40236 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40238 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40241 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40242 * sysdeps/i386/fpu/Implies: New file.
40243 * sysdeps/x86_64/fpu/Implies: Likewise.
40244 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40245 * sysdeps/x86/fpu/bits/fenv.h: This.
40247 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40250 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40253 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40254 character 0xffff that matches the last element of the
40257 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40259 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40262 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40265 values higher than 25.6283.
40267 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40270 subnormal exponent extraction and add some __builtin_expect.
40271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40272 Fix for subnormal mantissa calculation.
40274 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40276 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40277 cpu2 is -1 and errno is not ENOSYS.
40279 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40282 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40283 * sysdeps/x86/bits/string.h: This.
40284 * sysdeps/x86_64/bits/string.h: Removed.
40286 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40287 if not compiling for x86-64, but compiling for >= i486.
40289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40290 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40293 New macro from Linux kernel 3.4.0.
40294 (FP_XSTATE_MAGIC2): Likewise.
40295 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40296 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40297 (struct _fpx_sw_bytes): New struct.
40298 (struct _xsave_hdr): Likewise.
40299 (struct _ymmh_state): Likewise.
40300 (struct _xstate): Likewise.
40302 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40303 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40305 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40307 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40309 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40310 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40311 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40312 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40313 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40314 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40316 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40319 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40320 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40321 (sysdep_headers): Include sys/platform/ppc.h.
40322 * sysdeps/powerpc/test-gettimebase.c: Test for
40323 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40324 * manual/Makefile (appendices): Include platform.texi.
40325 * manual/contrib.texi (Contributors): Update @node pointers.
40326 * manual/maint.texi (Maintenance): Likewise.
40327 (Platform): New node.
40328 * manual/platform.texi: New file. Document the new features.
40330 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40331 Jakub Jelinek <jakub@redhat.com>
40334 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40335 where __builtin_expect is unavailable.
40337 2012-06-03 David S. Miller <davem@davemloft.net>
40339 * stdlib/longlong.h: Updated from GCC.
40341 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40344 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40345 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40348 (GLIBC_2.16): Likewise.
40350 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40352 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40354 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40357 (default-abi): New variable.
40358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40359 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40361 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40363 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40365 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40368 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40369 definition. Document in comment.
40371 2012-06-01 David S. Miller <davem@davemloft.net>
40373 * stdlib/longlong.h: Updated from GCC.
40375 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40378 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40379 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40380 sys/debugreg.h sys/io.h here.
40381 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40382 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40384 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40385 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40386 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40387 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40388 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40389 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40392 Define only if __x86_64__ is defined.
40394 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40398 Use int64_t for variable i.
40399 * math/libm-test.inc (fmod_test): Add more tests.
40401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40402 z computation is not scheduled after fetestexcept.
40403 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40404 Use math_force_eval instead of asm to ensure calculation scheduled
40405 before exception test.
40406 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40407 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40409 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40412 computation is not scheduled after fetestexcept.
40414 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40417 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40418 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40420 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40422 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40423 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40425 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40428 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40430 (__WCHAR_MIN): Support __WORDSIZE == 64.
40431 (__WCHAR_MAX): Likewise.
40433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40434 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40437 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40438 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40441 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40442 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40445 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40447 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40448 Defined to 1 if __x86_64__ isn't defined.
40449 (_STAT_VER_LINUX_OLD): New.
40450 (st_atime): Remove duplicate.
40451 (st_mtime): Likewise.
40452 (st_ctime): Likewise.
40454 2012-05-31 David S. Miller <davem@davemloft.net>
40456 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40459 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40461 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40465 * elf/dl-reloc.c: Include <_itoa.h>.
40466 (_dl_reloc_bad_type): Remove use of INTUSE.
40467 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40468 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40469 * stdio-common/psiginfo.c (psiginfo): Likewise.
40470 * stdio-common/psignal.c (psignal): Likewise.
40471 * string/strsignal.c (strsignal): Likewise.
40472 * include/signal.h (_sys_siglist): Declare hidden proto.
40473 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40474 INTVARDEF with libc_hidden_data_def.
40475 * stdio-common/itoa-udigits.c: Likewise.
40476 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40477 (_itoa_lower_digits_internal): Remove declaration.
40478 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40479 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40480 (_sys_sigabbrev_internal): Remove aliases.
40481 (_sys_siglist): Define hidden alias.
40483 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40488 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40491 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40492 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40494 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40495 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40496 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40497 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40499 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40501 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40502 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40503 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40505 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40517 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40518 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40519 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40520 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40521 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40522 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40524 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40525 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40527 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40528 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40530 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40534 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40535 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40537 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40539 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40541 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40543 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40545 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40547 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40549 * math/math.h (M_El): Use two more decimal places.
40550 (M_LOG2El): Likewise.
40551 (M_LOG10El): Likewise.
40552 (M_LN2l): Likewise.
40553 (M_LN10l): Likewise.
40555 (M_PI_2l): Likewise.
40556 (M_PI_4l): Likewise.
40557 (M_1_PIl): Likewise.
40558 (M_2_PIl): Likewise.
40559 (M_2_SQRTPIl): Likewise.
40560 (M_SQRT2l): Likewise.
40561 (M_SQRT1_2l): Likewise.
40563 2012-05-31 David S. Miller <davem@davemloft.net>
40565 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40566 values between float registers.
40567 * sysdeps/sparc/sparc64/memset.S: Likewise.
40568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40570 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40572 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40573 -D_FORTIFY_SOURCE=1.
40574 (CPPFLAGS-tst-longjmp_chk.c): Define.
40575 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40576 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40577 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40578 CFLAGS-tst-wchar-h.c.
40580 2012-05-31 Marek Polacek <polacek@redhat.com>
40583 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40584 __endmntent_internal): Remove declaration.
40585 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40586 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40587 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40589 2012-05-30 David S. Miller <davem@davemloft.net>
40591 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40592 (___Q_simulate_exceptions): Use real FP ops rather than writing
40594 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40597 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40600 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40601 * sysdeps/x86/bits/xtitypes.h: This.
40603 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40604 * sysdeps/x86/bits/wordsize.h: This.
40606 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40607 * sysdeps/x86/bits/huge_vall.h: This.
40609 * sysdeps/i386/bits/select.h: Removed.
40610 * sysdeps/x86_64/bits/select.h: Renamed to ...
40611 * sysdeps/x86/bits/select.h: This.
40613 * sysdeps/i386/bits/setjmp.h: Removed.
40614 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40615 * sysdeps/x86/bits/setjmp.h: This.
40617 * sysdeps/i386/bits/mathdef.h: Removed.
40618 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40619 * sysdeps/x86/bits/mathdef.h: This.
40621 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40624 * include/sys/socket.h (__connect_internal)
40625 (__libc_sa_len_internal): Remove declaration.
40626 (__connect, __libc_sa_len): Declare hidden_proto.
40627 (SA_LEN): Remove use of INTUSE.
40628 * socket/connect.c: Add libc_hidden_def.
40629 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40630 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40631 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40633 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40634 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40635 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40636 of adding _internal alias.
40638 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40641 * sysdeps/i386/bits/link.h: Removed.
40642 * sysdeps/i386/bits/linkmap.h: Likewise.
40643 * sysdeps/x86_64/bits/link.h: Renamed to ...
40644 * sysdeps/x86/bits/link.h: This.
40645 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40646 * sysdeps/x86/bits/linkmap.h: This.
40648 * sysdeps/i386/bits/endian.h: Removed.
40649 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40650 * sysdeps/x86/bits/endian.h: This.
40652 * sysdeps/i386/bits/byteswap.h: Removed.
40653 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40654 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40655 * sysdeps/x86/bits/byteswap.h: This.
40656 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40657 * sysdeps/x86/bits/byteswap-16.h: This.
40658 * sysdeps/i386/Implies: Add x86.
40659 * sysdeps/x86_64/Implies: Likewise.
40661 2012-05-30 David S. Miller <davem@davemloft.net>
40663 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40664 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40666 (FP_TRAPPING_EXCEPTIONS): Define.
40667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40668 (FP_TRAPPING_EXCEPTIONS): Define.
40669 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40670 subnormals only when inexact has been signalled or underflow
40671 exceptions are enabled.
40672 (_FP_PACK_CANONICAL): Likewise.
40674 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40678 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40680 2012-05-30 Richard Henderson <rth@twiddle.net>
40682 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40683 with #ifndef NOT_IN_libc.
40685 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40686 marked to avoid plt entry.
40688 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40691 * Makeconfig (default-abi): New macro.
40692 (abi-includes): Likewise.
40693 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40694 $(abi-$(default-abi)-lib-soname) for soname if defined.
40695 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40697 * Makefile (installed-stubs): Likewise.
40698 * include/stubs-biarch.h: Removed.
40699 * scripts/lib-names.awk: Only handle one library at a time.
40700 * scripts/soversions.awk: Remove WORDSIZE support.
40701 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40703 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40705 (syscall-list-default-condition): Likewise.
40706 (syscall-list-default-condition): Likewise.
40707 (syscall-list-includes): Likewise.
40708 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40709 syscall-list-* with abi-*. Handle undefined abi-variants.
40710 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40711 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40712 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40713 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40714 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40715 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40717 (syscall-list-32-options): Likewise.
40718 (syscall-list-32-condition): Likewise.
40719 (syscall-list-64-options): Likewise.
40720 (syscall-list-64-condition): Likewise.
40721 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40723 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40726 (abi-64-ld-soname): New macro.
40727 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40728 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40731 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40732 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40734 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40736 * sysdeps/unix/sysv/linux/kernel-features.h
40737 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40738 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40739 include <kernel-features.h>.
40740 [!__NR_ftruncate64]: Remove conditional code.
40741 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40742 [__NR_ftruncate64]: Make code unconditional.
40743 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40744 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40745 include <kernel-features.h>.
40746 [!__NR_ftruncate64]: Remove conditional code.
40747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40748 [__NR_ftruncate64]: Make code unconditional.
40749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40751 include <kernel-features.h>.
40752 [!__NR_ftruncate64]: Remove conditional code.
40753 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40754 [__NR_ftruncate64]: Make code unconditional.
40755 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40757 include <kernel-features.h>.
40758 [!__NR_ftruncate64]: Remove conditional code.
40759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40760 [__NR_ftruncate64]: Make code unconditional.
40761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40763 * configure.in (libc_cv_fpie): Weaken to a compile test using
40764 LIBC_TRY_CC_OPTION.
40765 * configure: Regenerated.
40767 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40782 2012-05-27 David S. Miller <davem@davemloft.net>
40784 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40786 (__Q_simulate_exceptions): Return void. Change to simulate
40787 exceptions by writing into the %fsr.
40788 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40789 (__Qp_handle_exceptions): Likewise.
40791 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40792 __Qp_handle_exceptions.
40793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40794 __Qp_handle_exceptions.
40795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40796 as unused and give dummy FP_RND_NEAREST initializer.
40797 (FP_INHIBIT_RESULTS): Define.
40798 (___Q_simulate_exceptions): Update declaration.
40799 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40801 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40802 as unused and give dummy FP_RND_NEAREST initializer.
40803 (__Qp_handle_exceptions): Update declaration.
40804 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40807 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40809 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40810 the temporary FPU control word.
40811 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40812 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40813 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40814 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40815 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40816 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40817 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40819 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40820 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40821 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40823 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40825 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40828 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40830 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40831 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40832 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40833 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40835 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40836 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40839 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40841 * po/h.po: Update from translation team.
40843 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40845 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40847 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40848 handling of denormals.
40849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40850 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40851 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40852 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40858 2012-05-26 Marek Polacek <polacek@redhat.com>
40861 * math/libm-test.inc (fma_test): Don't always expect underflow
40864 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40867 * elf/tst-execstack.c: Include stackinfo.h.
40868 (do_test): Adjust test case to ensure that pthread_getattr_np
40869 behaviour remains the same after marking stack executable.
40871 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40873 * sysdeps/unix/sysv/linux/kernel-features.h
40874 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40875 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40877 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40878 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40879 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40881 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40882 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40884 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40886 * configure.in: Define the default includes to being none.
40887 * configure: Regenerated.
40889 2012-05-25 Roland McGrath <roland@hack.frob.com>
40891 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40892 * sysdeps/x86_64/setjmp.S: Likewise.
40893 * sysdeps/i386/bsd-setjmp.S: Likewise.
40894 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40895 * sysdeps/i386/setjmp.S: Likewise.
40896 * sysdeps/i386/__longjmp.S: Likewise.
40897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40898 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40900 * include/stap-probe.h: New file.
40901 * configure.in: Handle --enable-systemtap.
40902 * configure: Regenerated.
40903 * config.h.in (USE_STAP_PROBE): New #undef.
40904 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40905 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40906 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40908 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40911 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40912 to 2.4.0 where earlier.
40913 * sysdeps/unix/sysv/linux/configure: Regenerated.
40914 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40915 <kernel-features.h>.
40916 [__ASSUME_32BITUIDS]: Make code unconditional.
40917 [!__ASSUME_32BITUIDS]: Remove conditional code.
40918 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40919 <kernel-features.h>.
40920 [__ASSUME_32BITUIDS]: Make code unconditional.
40921 [!__ASSUME_32BITUIDS]: Remove conditional code.
40922 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40923 [__ASSUME_32BITUIDS]: Make code unconditional.
40924 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40925 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40926 <kernel-features.h>.
40927 [__ASSUME_32BITUIDS]: Make code unconditional.
40928 [!__ASSUME_32BITUIDS]: Remove conditional code.
40929 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40930 <kernel-features.h>.
40931 [__ASSUME_32BITUIDS]: Make code unconditional.
40932 [!__ASSUME_32BITUIDS]: Remove conditional code.
40933 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40934 <kernel-features.h>.
40935 [__ASSUME_32BITUIDS]: Make code unconditional.
40936 [!__ASSUME_32BITUIDS]: Remove conditional code.
40937 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40938 <kernel-features.h>.
40939 [__ASSUME_32BITUIDS]: Make code unconditional.
40940 [!__ASSUME_32BITUIDS]: Remove conditional code.
40941 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40942 <kernel-features.h>.
40943 [__ASSUME_32BITUIDS]: Make code unconditional.
40944 [!__ASSUME_32BITUIDS]: Remove conditional code.
40945 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40946 <kernel-features.h>.
40947 [__ASSUME_32BITUIDS]: Make code unconditional.
40948 [!__ASSUME_32BITUIDS]: Remove conditional code.
40949 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40950 <kernel-features.h>.
40951 [__ASSUME_32BITUIDS]: Make code unconditional.
40952 [!__ASSUME_32BITUIDS]: Remove conditional code.
40953 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40954 <kernel-features.h>.
40955 [__ASSUME_32BITUIDS]: Make code unconditional.
40956 [!__ASSUME_32BITUIDS]: Remove conditional code.
40957 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40958 <kernel-features.h>.
40959 [__ASSUME_32BITUIDS]: Make code unconditional.
40960 [!__ASSUME_32BITUIDS]: Remove conditional code.
40961 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40962 <kernel-features.h>.
40963 [__ASSUME_32BITUIDS]: Make code unconditional.
40964 [!__ASSUME_32BITUIDS]: Remove conditional code.
40965 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40966 <kernel-features.h>.
40967 [__NR_setresgid] (__setresgid): Do not declare.
40968 [__ASSUME_32BITUIDS]: Make code unconditional.
40969 [!__ASSUME_32BITUIDS]: Remove conditional code.
40970 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40971 <kernel-features.h>.
40972 [__NR_setresuid] (__setresuid): Do not declare.
40973 [__ASSUME_32BITUIDS]: Make code unconditional.
40974 [!__ASSUME_32BITUIDS]: Remove conditional code.
40975 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40976 <kernel-features.h>.
40977 [__ASSUME_32BITUIDS]: Make code unconditional.
40978 [!__ASSUME_32BITUIDS]: Remove conditional code.
40979 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40980 <kernel-features.h>.
40981 [__ASSUME_32BITUIDS]: Make code unconditional.
40982 [!__ASSUME_32BITUIDS]: Remove conditional code.
40983 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40984 <kernel-features.h>.
40985 [__ASSUME_32BITUIDS]: Make code unconditional.
40986 [!__ASSUME_32BITUIDS]: Remove conditional code.
40987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40988 <kernel-features.h>.
40989 [__ASSUME_32BITUIDS]: Make code unconditional.
40990 [!__ASSUME_32BITUIDS]: Remove conditional code.
40991 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40992 <kernel-features.h>.
40993 [__ASSUME_32BITUIDS]: Make code unconditional.
40994 [!__ASSUME_32BITUIDS]: Remove conditional code.
40995 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40996 <kernel-features.h>.
40997 [__ASSUME_32BITUIDS]: Make code unconditional.
40998 [!__ASSUME_32BITUIDS]: Remove conditional code.
40999 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41000 <kernel-features.h>.
41001 [__ASSUME_32BITUIDS]: Make code unconditional.
41002 [!__ASSUME_32BITUIDS]: Remove conditional code.
41003 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41004 <kernel-features.h>.
41005 [__ASSUME_32BITUIDS]: Make code unconditional.
41006 [!__ASSUME_32BITUIDS]: Remove conditional code.
41007 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41008 <kernel-features.h>.
41009 [__ASSUME_32BITUIDS]: Make code unconditional.
41010 [!__ASSUME_32BITUIDS]: Remove conditional code.
41011 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41012 <kernel-features.h>.
41013 [__ASSUME_32BITUIDS]: Make code unconditional.
41014 [!__ASSUME_32BITUIDS]: Remove conditional code.
41015 * sysdeps/unix/sysv/linux/kernel-features.h
41016 (__ASSUME_SETRESUID_SYSCALL): Remove.
41017 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41018 (__ASSUME_32BITUIDS): Likewise.
41019 (__ASSUME_LDT_WORKS): Likewise.
41020 (__ASSUME_O_DIRECTORY): Likewise.
41021 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41022 architecture but not kernel version.
41023 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41024 (__ASSUME_MMAP2_SYSCALL): Likewise.
41025 (__ASSUME_STAT64_SYSCALL): Likewise.
41026 (__ASSUME_IPC64): Likewise.
41027 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41028 <kernel-features.h>.
41029 [__ASSUME_32BITUIDS]: Make code unconditional.
41030 [!__ASSUME_32BITUIDS]: Remove conditional code.
41031 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41032 <kernel-features.h>.
41033 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41034 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41035 132096]: Remove conditional code.
41036 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41037 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41038 <kernel-features.h>.
41039 [__ASSUME_32BITUIDS]: Make code unconditional.
41040 [!__ASSUME_32BITUIDS]: Remove conditional code.
41041 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41042 <kernel-features.h>.
41043 [__ASSUME_32BITUIDS]: Make code unconditional.
41044 [!__ASSUME_32BITUIDS]: Remove conditional code.
41045 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41046 <kernel-features.h>.
41047 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41049 (__setresgid): Do not declare.
41050 [__ASSUME_32BITUIDS]: Make code unconditional.
41051 [!__ASSUME_32BITUIDS]: Remove conditional code.
41052 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41053 <kernel-features.h>.
41054 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41056 (__setresuid): Do not declare.
41057 [__ASSUME_32BITUIDS]: Make code unconditional.
41058 [!__ASSUME_32BITUIDS]: Remove conditional code.
41059 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41060 <kernel-features.h>.
41061 [__ASSUME_32BITUIDS]: Make code unconditional.
41062 [!__ASSUME_32BITUIDS]: Remove conditional code.
41063 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41064 <kernel-features.h>.
41065 [__ASSUME_32BITUIDS]: Make code unconditional.
41066 [!__ASSUME_32BITUIDS]: Remove conditional code.
41068 2012-05-25 Richard Henderson <rth@twiddle.net>
41070 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41071 dl_hwcap to ifunc resolver.
41072 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41074 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41075 dl_hwcap to ifunc resolver.
41076 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41078 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41081 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41082 for |x| <= 2**-26, not 2**-57.
41083 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41086 2012-05-24 Jeff Law <law@redhat.com>
41088 * stdio-common/Makefile (tests): Add bug25.
41089 * stdio-common/bug25.c: New test.
41091 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41094 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41095 multiple of MALLOC_ALIGNMENT in size.
41096 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41098 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41100 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41102 (FILENAME_MAX): Use macro-int-constant.
41103 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41104 (_IOFBF): Use macro-int-constant.
41105 (_IOLBF): Likewise.
41106 (_IONBF): Likewise.
41107 (SEEK_CUR): Likewise.
41108 (SEEK_END): Likewise.
41109 (SEEK_SET): Likewise.
41110 (TMP_MAX): Likewise.
41111 (EOF): Use macro-int-constant. Require < 0.
41112 (NULL): Use macro-constant. Require == 0.
41113 (stdin): Require type to be FILE *.
41114 (stdout): Likewise.
41115 (stderr): Likewise.
41116 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41117 macro-int-constant.
41118 (EXIT_SUCCESS): Likewise.
41119 (NULL): Use macro-constant. Require == 0.
41120 (RAND_MAX): Use macro-int-constant.
41121 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41122 [C99-based standards] (strtof): Require function.
41123 [C99-based standards] (strtold): Likewise.
41124 [C99-based standards] (strtoll): Likewise.
41125 [C99-based standards] (strtoull): Likewise.
41126 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41127 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41128 [ISO || ISO99 || ISO11] (math.h): Likewise.
41129 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41130 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41133 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41136 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41137 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41138 * intl/dgettext.c (DCGETTEXT): Likewise.
41139 * intl/gettext.c (DCGETTEXT): Likewise.
41140 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41141 * posix/regex_internal.h (gettext): Likewise.
41142 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41143 Remove declaration.
41144 * include/argz.h (__argz_count_internal)
41145 (__argz_stringify_internal): Remove declaration.
41146 (__argz_count, __argz_stringify): Declare hidden proto.
41147 * intl/dcgettext.c: Remove use of INTDEF.
41148 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41149 * string/argz-stringify.c: Likewise.
41150 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41151 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41152 Declare hidden proto.
41153 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41154 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41155 Declare hidden proto.
41156 * include/stdio.h (__asprintf_internal): Don't declare.
41157 (__asprintf): Don't define as macro. Declare hidden proto.
41158 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41159 (__fsetlocking): Declare hidden proto.
41160 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41161 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41163 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41164 (_IO_setlinebuf): Remove use of INTUSE.
41165 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41166 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41167 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41168 Remove declaration.
41169 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41170 (_IO_do_flush): Remove use of INTUSE.
41171 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41172 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41173 (_IO_adjust_column, _IO_least_wmarker)
41174 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41175 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41176 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41177 (_IO_default_doallocate, _IO_wdefault_doallocate)
41178 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41179 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41180 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41181 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41182 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41183 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41184 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41185 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41186 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41187 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41188 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41189 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41190 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41192 (_IO_flush_all_internal, _IO_adjust_column_internal)
41193 (_IO_default_uflow_internal, _IO_default_finish_internal)
41194 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41195 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41196 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41197 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41198 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41199 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41200 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41201 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41202 (_IO_file_close_internal, _IO_file_close_it_internal)
41203 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41204 (_IO_file_init_internal, _IO_file_attach_internal)
41205 (_IO_file_fopen_internal, _IO_file_read_internal)
41206 (_IO_file_sync_internal, _IO_file_seek_internal)
41207 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41208 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41209 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41210 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41211 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41212 (_IO_list_all_internal, _IO_link_in_internal)
41213 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41214 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41215 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41216 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41217 (_IO_do_write_internal, _IO_padn_internal)
41218 (_IO_getline_info_internal, _IO_getline_internal)
41219 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41220 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41221 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41222 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41223 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41224 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41225 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41226 with libc_hidden_ver, remove use of INTUSE.
41227 * libio/genops.c: Likewise.
41228 * libio/freopen.c: Likewise.
41229 * libio/freopen64.c: Likewise.
41230 * libio/iofclose.c: Likewise.
41231 * libio/iofdopen.c: Likewise.
41232 * libio/iofflush.c: Likewise.
41233 * libio/iofflush_u.c: Likewise.
41234 * libio/iofgets.c: Likewise.
41235 * libio/iofgets_u.c: Likewise.
41236 * libio/iofopen.c: Likewise.
41237 * libio/iofopncook.c: Likewise.
41238 * libio/iofread.c: Likewise.
41239 * libio/iofread_u.c: Likewise.
41240 * libio/ioftell.c: Likewise.
41241 * libio/iofwrite.c: Likewise.
41242 * libio/iogetline.c: Likewise.
41243 * libio/iogets.c: Likewise.
41244 * libio/iogetwline.c: Likewise.
41245 * libio/iopadn.c: Likewise.
41246 * libio/iopopen.c: Likewise.
41247 * libio/ioseekoff.c: Likewise.
41248 * libio/ioseekpos.c: Likewise.
41249 * libio/iosetbuffer.c: Likewise.
41250 * libio/iosetvbuf.c: Likewise.
41251 * libio/ioungetc.c: Likewise.
41252 * libio/ioungetwc.c: Likewise.
41253 * libio/iovdprintf.c: Likewise.
41254 * libio/iovsprintf.c: Likewise.
41255 * libio/iovsscanf.c: Likewise.
41256 * libio/memstream.c: Likewise.
41257 * libio/obprintf.c: Likewise.
41258 * libio/oldfileops.c: Likewise.
41259 * libio/oldiofclose.c: Likewise.
41260 * libio/oldiofdopen.c: Likewise.
41261 * libio/oldiofopen.c: Likewise.
41262 * libio/oldiopopen.c: Likewise.
41263 * libio/oldstdfiles.c: Likewise.
41264 * libio/putc.c: Likewise.
41265 * libio/setbuf.c: Likewise.
41266 * libio/setlinebuf.c: Likewise.
41267 * libio/stdfiles.c: Likewise.
41268 * libio/strops.c: Likewise.
41269 * libio/vasprintf.c: Likewise.
41270 * libio/vscanf.c: Likewise.
41271 * libio/vsnprintf.c: Likewise.
41272 * libio/vswprintf.c: Likewise.
41273 * libio/wfiledoalloc.c: Likewise.
41274 * libio/wfileops.c: Likewise.
41275 * libio/wgenops.c: Likewise.
41276 * libio/wmemstream.c: Likewise.
41277 * libio/wstrops.c: Likewise.
41278 * libio/__fpurge.c: Likewise.
41279 * libio/__fsetlocking.c: Likewise.
41280 * assert/assert.c: Likewise.
41281 * debug/fgets_chk.c: Likewise.
41282 * debug/fgets_u_chk.c: Likewise.
41283 * debug/fread_chk.c: Likewise.
41284 * debug/fread_u_chk.c: Likewise.
41285 * debug/gets_chk.c: Likewise.
41286 * debug/obprintf_chk.c: Likewise.
41287 * debug/vasprintf_chk.c: Likewise.
41288 * debug/vdprintf_chk.c: Likewise.
41289 * debug/vsnprintf_chk.c: Likewise.
41290 * debug/vsprintf_chk.c: Likewise.
41291 * malloc/mtrace.c: Likewise.
41292 * misc/error.c: Likewise.
41293 * misc/syslog.c: Likewise.
41294 * stdio-common/asprintf.c: Likewise.
41295 * stdio-common/fxprintf.c: Likewise.
41296 * stdio-common/getw.c: Likewise.
41297 * stdio-common/isoc99_fscanf.c: Likewise.
41298 * stdio-common/isoc99_scanf.c: Likewise.
41299 * stdio-common/isoc99_vfscanf.c: Likewise.
41300 * stdio-common/isoc99_vscanf.c: Likewise.
41301 * stdio-common/isoc99_vsscanf.c: Likewise.
41302 * stdio-common/printf-prs.c: Likewise.
41303 * stdio-common/printf_fp.c: Likewise.
41304 * stdio-common/printf_fphex.c: Likewise.
41305 * stdio-common/printf_size.c: Likewise.
41306 * stdio-common/putw.c: Likewise.
41307 * stdio-common/scanf.c: Likewise.
41308 * stdio-common/sprintf.c: Likewise.
41309 * stdio-common/tmpfile.c: Likewise.
41310 * stdio-common/vfprintf.c: Likewise.
41311 * stdio-common/vfscanf.c: Likewise.
41312 * stdlib/strfmon_l.c: Likewise.
41313 * sunrpc/openchild.c: Likewise.
41314 * sunrpc/xdr_stdio.c: Likewise.
41315 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41316 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41318 2012-05-24 Roland McGrath <roland@hack.frob.com>
41320 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41322 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41323 in the third column, to generate for the shared library an IFUNC
41324 that uses _dl_vdso_vsym.
41325 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41326 * Makeconfig (object-suffixes-noshared): New variable.
41328 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41329 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41330 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41331 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41334 * include/sys/time.h (__gettimeofday): Remove macro.
41335 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41336 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41338 (__gettimeofday): Add libc_hidden_def.
41339 (gettimeofday): Add libc_hidden_weak.
41340 * sysdeps/mach/gettimeofday.c: Likewise.
41341 * sysdeps/posix/gettimeofday.c: Likewise.
41342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41343 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41345 (__gettimeofday_internal): Remove strong_alias.
41346 (__gettimeofday): Add libc_hidden_def.
41347 (gettimeofday): Add libc_hidden_weak.
41348 * sysdeps/unix/syscalls.list (gettimeofday):
41349 Remove __gettimeofday_internal alias.
41351 2012-05-24 Daniel Jacobowitz <drow@false.org>
41352 H.J. Lu <hongjiu.lu@intel.com>
41355 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41356 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41357 (largebin_index_32_big): New.
41358 (largebin_index): Use it for 16-byte alignment.
41359 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41360 correction with front_misalign.
41362 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41390 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41391 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41393 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41397 * math/libm-test.inc (exp_test): Add test from bug 14036.
41398 (pow_test): Add test from bug 10846.
41400 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41402 (special_function): Do not include flags in test name.
41403 (parse_args): Likewise.
41404 * sysdeps/i386/fpu/libm-test-ulps: Update.
41405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41406 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41407 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41410 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41412 * math/libm-test.inc ("Philosophy"): Update comment about
41414 (UNDERFLOW_EXCEPTION): New macro.
41415 (UNDERFLOW_EXCEPTION_OK): Likewise.
41416 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41417 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41418 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41419 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41420 (INVALID_EXCEPTION_OK): Update value.
41421 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41422 (OVERFLOW_EXCEPTION_OK): Likewise.
41423 (IGNORE_ZERO_INF_SIGN): Likewise.
41424 (test_exceptions): Handle underflow exceptions.
41425 (acos_test): Update for underflow exception expectations.
41426 (cexp_test): Likewise.
41427 (clog_test): Likewise.
41428 (clog10_test): Likewise.
41429 (csqrt_test): Likewise.
41430 (ctan_test): Likewise.
41431 (ctanh_test): Likewise.
41432 (exp_test): Likewise.
41433 (exp10_test): Likewise.
41434 (exp2_test): Likewise.
41435 (expm1_test): Likewise.
41436 (fma_test): Likewise.
41437 (j0_test): Likewise.
41438 (jn_test): Likewise.
41439 (nexttoward_test): Likewise.
41440 (pow_test): Likewise.
41441 (scalbn_test): Likewise.
41442 (scalbln_test): Likewise.
41443 (tan_test): Likewise.
41444 (y1_test): Likewise.
41445 * sysdeps/i386/fpu/libm-test-ulps: Update.
41446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41448 2012-05-23 David S. Miller <davem@davemloft.net>
41450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41451 (__libc_sigaction): Remove unused local variables.
41453 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41455 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41457 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41459 mktime: avoid signed integer overflow
41460 * time/mktime.c (__mktime_internal): Do not mishandle the case
41461 where diff == INT_MIN.
41463 mktime: simplify computation of average
41464 * time/mktime.c (ranged_convert): Use new time_t_avg function
41465 instead of rolling our own (probably-slower) code.
41467 mktime: do not assume signed right shift propagates sign bit
41468 * time/mktime.c (isdst_differ): New static function.
41469 (__mktime_internal): No need to normalize tm_isdst now.
41470 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41473 mktime: merge another wrapv change from gnulib
41474 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41475 from some compilers.
41477 mktime: remove incorrect attempt at unusual arithmetics
41478 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41479 The code didn't really work on such machines anyway.
41480 (TYPE_MINIMUM): Assume two's complement.
41481 (twos_complement_arithmetic): Verify that long_int and time_t
41482 are two's complement (or unsigned, in the latter case).
41484 mktime: check signed shifts on long_int and time_t, too
41485 * time/mktime.c (SHR): Check that shifts work as desired
41486 on the types long_int and time_t too, as SHR is used on
41489 mktime: do not assume 'long' is wide enough
41490 * time/mktime.c (verify): Move decl up.
41491 (long_int): New type.
41492 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41493 to remove assumption in the code that 'long' is wide enough to
41494 store year values. This assumption is not true on x32 and on
41495 some non-glibc platforms.
41497 mktime: merge wrapv change from gnulib
41498 * time/mktime.c (WRAPV): New macro.
41499 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41500 (guess_time_tm, __mktime_internal): Do not assume that signed
41501 integer overflow wraps around; modern compilers generate code
41502 where this assumption is no longer valid.
41504 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41506 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41507 Replace "jmp L(pseudo_end)" with "ret".
41508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41511 2012-05-23 Andreas Jaeger <aj@suse.de>
41513 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41514 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41516 2012-05-23 Andreas Jaeger <aj@suse.de>
41517 Maximilian Attems <max@stro.at>
41519 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41525 code so that pseudo_end is just ret and the stack pointer is
41526 correct also for static library in error case.
41528 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41530 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41531 move to syscalls.list.
41532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41537 * manual/install.texi (Running make install): Do not mention Linux
41538 kernel version for which pt_chown is not needed.
41539 (Linux): Do not mention problems with nscd with 2.0 kernels.
41540 * INSTALL: Regenerated.
41542 2012-05-23 Andreas Jaeger <aj@suse.de>
41544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41545 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41547 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41549 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41551 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41552 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41556 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41557 * sysdeps/unix/sysv/linux/bits/in.h
41558 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41560 2012-05-22 Roland McGrath <roland@hack.frob.com>
41562 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41563 (PREPARE_VERSION): Just use assert instead, it will be elided
41564 under [NDEBUG] anyway.
41566 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41568 * sysdeps/unix/sysv/linux/Makefile: Include
41569 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41570 (sysdep_routines): Remove sysctl.
41571 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41572 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41573 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41574 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41575 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41577 2012-05-22 Andreas Jaeger <aj@suse.de>
41579 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41580 that pseudo_end is just ret and the stack pointer is correct also
41581 for static library in error case.
41583 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41586 * nss/nsswitch.c (defconfig_entries): New variable.
41587 (__nss_database_lookup): Don't leak defconfig entries.
41588 (nss_parse_service_list): Don't leak on error paths.
41589 (free_database_entries): New function.
41590 (free_defconfig): New function.
41591 (free_mem): Move common code to free_database_entries.
41593 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41595 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41597 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41599 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41600 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41603 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41604 (INTERNAL_SYSCALL_TYPES): Likewise.
41605 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41606 (LOAD_REGS_TYPES_[1-6]): Likewise.
41607 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41608 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41610 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41612 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41613 copysignl for GLIBC_2_0.
41614 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41615 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41617 logbl for GLIBC_2_0.
41618 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41619 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41621 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41624 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41626 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41629 * time/mktime.c: Update copyright years.
41631 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41633 mktime: merge comment-quoting-style change from gnulib
41634 * time/mktime.c: Quote 'like this' in comments.
41635 The GNU coding standards suggest that we no longer quote `like this',
41636 as "`" and "'" are typically rendered asymmetrically nowadays.
41637 The typical gnulib style is to quote 'like this' when quoting
41638 code, and "like this" when quoting English.
41640 * time/mktime.c (compile-command): Add "-I.".
41642 mktime: merge mktime-internal.h change from gnulib
41643 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41645 mktime: merge time_r change from gnulib
41646 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41648 mktime: merge DEBUG change from gnulib
41649 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41650 case system <time.h> has a #define.
41652 mktime: merge <sys/types.h> change from gnulib
41653 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41654 since <time.t> is now guaranteed to define time_t.
41656 mktime: merge HAVE_CONFIG_H change from gnulib
41657 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41659 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41664 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41666 (struct rusage): Use anonymous union to pad each field to
41669 2012-05-21 David S. Miller <davem@davemloft.net>
41671 * Makefules (o-iterator): Remove .s cases.
41672 (compile-command.s): Delete.
41673 (COMPILE.s): Delete.
41674 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41676 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41678 * configure.in (libc_cv_predef_stack_protector): Only consider
41679 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41680 * configure: Regenerated.
41682 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41685 New macro. Use R*LP on int and pointer.
41686 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41687 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41688 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41691 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41692 [__WORDSIZE_TIME64_COMPAT32] instead of
41693 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41694 (struct utmp): Likewise.
41695 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41696 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41698 (__WORDSIZE_TIME64_COMPAT32): This.
41699 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41700 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41701 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41702 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41703 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41704 (__WORDSIZE_TIME64_COMPAT32): New macro.
41706 2012-05-21 Andreas Jaeger <aj@suse.de>
41708 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41709 only if [SHARED]. Add prototype for __wcschr_ia32.
41711 2012-05-21 Roland McGrath <roland@hack.frob.com>
41713 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41714 of %rbp unmolested in the jmp_buf while mangling the low bits.
41715 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41716 unmolested high bits of %rbp while demangling the low bits.
41717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41719 2012-05-21 Andreas Jaeger <aj@suse.de>
41721 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41722 * sunrpc/svc_simple.c: Use it for registerrpc.
41723 * sunrpc/xcrypt.c: Use it for passwd2des.
41725 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41727 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41729 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41730 Don't define if [__SYSCALL_WORDSIZE != 32].
41731 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41734 2012-05-21 Bruno Haible <bruno@clisp.org>
41735 Andreas Jaeger <aj@suse.de>
41737 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41738 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41739 inptr and inend for must_buffer_ch.
41740 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41741 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41742 * stdio-common/Makefile (tests): Remove bug15.
41743 (bug15-ENV): Remove macro.
41744 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41747 2012-05-19 Andreas Jaeger <aj@suse.de>
41748 Roland McGrath <roland@hack.frob.com>
41750 * manual/contrib.texi: Completely rewritten. It contains now an
41751 alphabetical list of contributors and their contributions.
41753 2012-05-21 Richard Henderson <rth@twiddle.net>
41755 * misc/getauxval.c (__getauxval): Use unsigned long int.
41756 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41757 (getauxval): Use unsigned long int.
41759 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41761 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41763 2012-05-21 Roland McGrath <roland@hack.frob.com>
41765 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41766 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41767 __alignof__ (long double).
41769 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41773 2012-05-20 Richard Henderson <rth@twiddle.net>
41775 * misc/getauxval.c: New file.
41776 * misc/sys/auxv.h: New file.
41777 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41778 (routines): Add getauxval.
41779 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41781 * elf/dl-sysdep.c (_dl_auxv): Remove.
41782 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41783 * elf/dl-support.c (_dl_auxv): New variable.
41784 (_dl_aux_init): Initialize it.
41785 * manual/startup.texi (Auxiliary Vector): New node.
41786 * sysdeps/generic/bits/hwcap.h: New file.
41787 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41788 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41789 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41790 * sysdeps/sparc/sysdep.h: ... here. Include it.
41791 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41804 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41808 2012-05-19 David S. Miller <davem@davemloft.net>
41810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41812 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41815 * math/s_ccosh.c: Include <float.h>
41816 (__ccosh): Avoid internal overflow calculating sinh and cosh
41817 values before multiplying by sin and cos values.
41818 * math/s_ccoshf.c: Likewise.
41819 * math/s_ccoshl.c: Likewise.
41820 * math/s_csin.c: Likewise.
41821 * math/s_csinf.c: Likewise.
41822 * math/s_csinl.c: Likewise.
41823 * math/s_csinh.c: Likewise.
41824 * math/s_csinhf.c: Likewise.
41825 * math/s_csinhl.c: Likewise.
41826 * math/libm-test.inc (ccos_test): Add more tests.
41827 (ccosh_test): Likewise.
41828 (csin_test): Likewise.
41829 (csinh_test): Likewise.
41830 * sysdeps/i386/fpu/libm-test-ulps: Update.
41831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41833 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41835 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41836 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41838 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41840 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41842 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41843 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41844 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41845 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41846 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41847 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41848 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41849 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41850 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41851 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41852 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41853 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41854 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41855 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41856 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41857 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41858 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41859 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41860 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41861 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41862 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41863 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41864 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41865 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41866 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41867 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41868 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41869 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41870 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41871 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41872 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41874 2012-05-18 Andreas Jaeger <aj@suse.de>
41876 * csu/.gitignore: Delete.
41878 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41880 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41881 (timex): Use __syscall_slong_t.
41883 2012-05-18 Andreas Jaeger <aj@suse.de>
41884 Carlos O'Donell <carlos_odonell@mentor.com>
41886 * manual/install.texi (Configuring and compiling): Update
41887 description about files modified in the source directory.
41888 * INSTALL: Regenerated.
41890 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41892 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41893 value. Use "or" to set return value to -1.
41894 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41895 negate return value.
41897 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41899 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41900 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41901 failure if the compiler has Graphite support disabled.
41902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41904 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41905 (CFLAGS-memmove.c): Likewise.
41906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41909 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41911 * sysdeps/x86_64/x32/_itoa.h: New file.
41913 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41914 getdents system call only if kernel and user dirents have the
41915 same d_ino and d_off.
41917 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41918 LLONG_MAX != LONG_MAX.
41919 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41920 (_fitoa_word): Likewise.
41922 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41926 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41928 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41929 include <bits/wordsize.h>. Check __x86_64__ instead of
41931 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41932 if __x86_64__ is defined. Use anonymous union on fpstate.
41934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41937 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41939 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41940 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41942 Refer to _rtld_local_ro instead of _rtld_global_ro.
41943 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41945 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41947 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41949 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41950 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41951 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41953 * sysdeps/powerpc/powerpc32/dl-machine.c
41954 (__elf_machine_runtime_setup) [PROF]: Don't reference
41957 2012-05-18 Andreas Jaeger <aj@suse.de>
41959 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41960 function only available for GCCs before 3.4 since GCC 3.4
41961 introduced a builtin.
41963 (llrintf): Likewise.
41964 (llrint): Likewise.
41971 (nearbyint): Likewise.
41972 (nearbyintf): Likewise.
41976 (floorf): Likewise.
41978 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41980 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41981 on both fields and cast pointer to __syscall_ulong_t.
41983 * bits/types.h (__fsword_t): New type.
41984 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41985 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41987 (__FSWORD_T_TYPE): Likewise.
41988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41989 (__FSWORD_T_TYPE): Likewise.
41990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41991 (__FSWORD_T_TYPE): Likewise.
41992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41993 (__FSWORD_T_TYPE): Likewise.
41994 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41995 __SWORD_TYPE with __fsword_t.
41996 (statfs64): Likewise.
41998 2012-05-17 David S. Miller <davem@davemloft.net>
42000 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42002 2012-05-17 Andreas Jaeger <aj@suse.de>
42004 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42007 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42009 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42011 2012-05-17 Andreas Jaeger <aj@suse.de>
42013 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42016 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42018 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42020 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42022 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42023 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42025 2012-05-17 Andreas Jaeger <aj@suse.de>
42026 Carlos O'Donell <carlos_odonell@mentor.com>
42029 * sysdeps/x86_64/multiarch/init-arch.h
42030 (bit_YMM_Usable): Rename to...
42031 (bit_AVX_Usable): ... this.
42032 (bit_FMA4_Usable): New macro.
42033 (bit_XMM_state): New macro.
42034 (bit_YMM_state): New macro.
42035 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42036 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42037 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42038 (CPUID_OSXSAVE): New macro.
42039 (CPUID_AVX): New macro.
42040 (CPUID_FMA4): New macro.
42041 (index_YMM_Usable): Rename to...
42042 (index_AVX_Usable): ... this.
42043 (HAS_AVX): Use HAS_ARCH_FEATURE.
42044 (HAS_FMA4): Likewise.
42045 (HAS_YMM_USABLE): Remove.
42046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42047 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42049 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42050 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42051 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42052 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42053 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42055 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42057 * math/libm-test.c: Support platforms without multiple rounding modes.
42058 * math/bug-nextafter.c: Support platforms without FP exceptions.
42059 * math/bug-nexttoward.c: Likewise.
42060 * math/test-fenv.c: Likewise.
42061 * math/test-misc.c: Likewise.
42062 * stdlib/bug-getcontext.c: Likewise.
42064 2012-05-17 Andreas Jaeger <aj@suse.de>
42066 * manual/examples/search.c (critter_cmp): Change signature to
42068 * manual/string.texi (Collation Functions): Likewise.
42070 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42072 * bits/types.h: Fold copyright years.
42073 * bits/typesizes.h: Likewise.
42074 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42078 * time/time.h: Likewise.
42080 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42083 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42084 in instead of returning them. Return void.
42085 (__libc_mallinfo): Accumulate over all arenas.
42086 (__malloc_stats): Adjust for change in int_mallinfo interface.
42088 2012-05-16 Roland McGrath <roland@hack.frob.com>
42091 * configure.in (NM): Add AC_CHECK_TOOL for it.
42092 (libc_extra_cflags): New substituted variable.
42093 Check for -fstack-protector being used implicitly.
42094 * configure: Regenerated.
42095 * config.make.in (config-extra-cflags): New variable,
42096 gets @libc_extra_cflags@.
42097 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42100 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42101 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42102 * configure: Regenerated.
42103 * config.make.in (CPPUNDEFS): New substituted variable.
42104 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42105 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42106 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42108 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42110 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42111 (mq_attr): Use __syscall_slong_t.
42113 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42116 Check __x86_64__ instead of __WORDSIZE.
42117 (_STAT_VER_LINUX): Likewise.
42118 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42119 __syscall_ulong_t and __syscall_slong_t.
42120 (stat64): Likewise.
42122 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42128 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42132 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42135 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42136 include <bits/wordsize.h>. Check __x86_64__ instead of
42138 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42140 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42142 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42143 include <bits/wordsize.h>. Check __x86_64__ instead of
42145 (user_regs_struct): Use "__extension__ unsigned long long"
42146 instead of "unsigned long" if __x86_64__ is defined.
42147 (user): Likewise. Pad after pointer field if __ILP32__ is
42150 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42152 * configure.in (makeinfo): Require version 4.5 or later. Allow
42154 * configure: Regenerated.
42155 * manual/install.texi (texinfo): Increase version requirement to
42157 * INSTALL: Regenerated.
42159 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42163 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42165 * sysdeps/x86_64/x32/ffs.c: New file.
42167 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42169 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42170 defined. Use __syscall_ulong_t.
42171 (shminfo): Use __syscall_ulong_t.
42172 (shm_info): Likewise.
42174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42179 (msgqnum_t): Use __syscall_ulong_t.
42180 (msglen_t): Likewise.
42181 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42184 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42185 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42187 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42189 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42190 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42192 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42195 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42196 include <bits/wordsize.h>. Check __x86_64__ instead of
42199 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42200 "unsigned long long int" if __x86_64__ is defined.
42201 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42205 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42209 (GET_PC): Cast to uintptr_t first.
42210 (GET_FRAME): Likewise.
42211 (GET_STACK): Likewise.
42213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42216 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42218 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42219 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42220 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42221 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42223 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42225 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42229 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42233 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42243 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42245 * Makerules (+depfiles): Also collect depfiles from .oS in
42247 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42248 .oS, $(libnldbl-routines)).
42250 * Makerules (native-compile-mkdep-flags): Define.
42251 * sunrpc/Makefile (extra-objs): Add $(addprefix
42252 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42253 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42254 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42255 calling $(make-target-directory).
42257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42259 * bits/types.h (__snseconds_t): Removed.
42260 * time/time.h (struct timespec): Replace __snseconds_t with
42262 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42263 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42266 (__SNSECONDS_T_TYPE): Likewise.
42267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42268 (__SNSECONDS_T_TYPE): Likewise.
42269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42270 (__SNSECONDS_T_TYPE): Likewise.
42272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42274 * sysdeps/mach/hurd/bits/typesizes.h
42275 (__SYSCALL_SLONG_TYPE): New macro.
42276 (__SYSCALL_ULONG_TYPE): Likewise.
42278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42280 * bits/types.h (__syscall_slong_t): New type.
42281 (__syscall_ulong_t): Likewise.
42283 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42284 (__SYSCALL_ULONG_TYPE): Likewise.
42285 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42286 (__SYSCALL_SLONG_TYPE): Likewise.
42287 (__SYSCALL_ULONG_TYPE): Likewise.
42288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42289 (__SYSCALL_SLONG_TYPE): Likewise.
42290 (__SYSCALL_ULONG_TYPE): Likewise.
42291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42292 (__SYSCALL_SLONG_TYPE): Likewise.
42293 (__SYSCALL_ULONG_TYPE): Likewise.
42295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42297 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42298 Add sigaltstack-offsets.sym.
42299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42300 <sigaltstack-offsets.h>.
42301 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42302 longjmp_msg pointer.
42303 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42304 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42306 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42308 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42310 * elf/stackguard-macros.h: Remove file.
42311 * sysdeps/generic/stackguard-macros.h: New file.
42312 * sysdeps/i386/stackguard-macros.h: Likewise.
42313 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42314 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42315 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42316 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42317 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42318 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42319 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42320 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42321 <elf/stackguard-macros.h>.
42324 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42325 __aligned__ in attribute.
42326 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42327 (gregset_t): Likewise.
42329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42331 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42332 * sysdeps/x86_64/64/Implies-after: Here. New file.
42333 * sysdeps/x86_64/x32/Implies-after: New file.
42335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42337 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42338 and access return value for _dl_profile_fixup. Use R10_LP to
42341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42343 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42347 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42348 * sysdeps/x86_64/x32/sysdep.h: New file.
42350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42352 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42353 * sysdeps/x86_64/setjmp.S: Likewise.
42355 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42359 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42361 remove unused global constant.
42363 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42365 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42366 include of <not-cancel.h>.
42368 2012-05-15 Roland McGrath <roland@hack.frob.com>
42370 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42372 2012-05-15 Jeff Law <law@redhat.com>
42373 Andreas Jaeger <aj@suse.de>
42376 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42378 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42379 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42380 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42381 code changing __hst_map_handle.map.
42383 2012-05-15 Roland McGrath <roland@hack.frob.com>
42385 * configure.in (sysnames): Look for Implies-before and Implies-after
42387 * configure: Regenerated.
42389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42391 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42392 8-byte data alignment with LP_SIZE alignment.
42394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42396 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42401 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42405 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42406 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42409 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42413 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42414 (stackinfo_sub_sp): Likewise.
42416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42433 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42437 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42438 into R11_LP and load __x86_64_shared_cache_size_half into
42441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42446 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42455 powerpc32/power7/fpu/s_logb.c via #include.
42456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42457 powerpc32/power7/fpu/s_logbf.c via #include.
42458 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42459 powerpc32/power7/fpu/s_logbl.c via #include.
42461 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42463 * README.libm: Remove file.
42465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42467 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42468 count for x32. Use R*_LP and omit operand-size suffix.
42470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42472 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42473 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42474 * sysdeps/x86_64/x32/shlib-versions: New file.
42476 2012-05-14 Roland McGrath <roland@hack.frob.com>
42478 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42479 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42480 Use _dl_fatal_printf instead.
42482 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42484 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42485 set if not set by the user. Do not allow for being unset.
42486 * sysdeps/unix/sysv/linux/configure: Regenerated.
42488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42490 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42491 the `q' suffix from lea and replace .quad with ASM_ADDR.
42493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42496 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42498 (PTR_DEMANGLE): Likewise.
42500 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42502 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42504 (ASM_ADDR): Likewise.
42505 (RAX_LP): Likewise.
42506 (RBP_LP): Likewise.
42507 (RBX_LP): Likewise.
42508 (RCX_LP): Likewise.
42509 (RDI_LP): Likewise.
42510 (RSI_LP): Likewise.
42511 (RSP_LP): Likewise.
42514 (R10_LP): Likewise.
42515 (R10_LP): Likewise.
42516 (R11_LP): Likewise.
42517 (R12_LP): Likewise.
42518 (R13_LP): Likewise.
42519 (R14_LP): Likewise.
42520 (R15_LP): Likewise.
42522 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42524 * sysdeps/x86_64/x32/dl-machine.h: New file.
42526 2012-05-14 Andreas Jaeger <aj@suse.de>
42528 * manual/Makefile (subdir): Remove export of subdir.
42529 (all): Remove target.
42530 (.PHONY): Remove all from list.
42531 (mkinstalldirs): Remove.
42532 (.PHONY): Remove installdirs from list.
42533 ($(inst_infodir)/libc.info): Use make-target-directory.
42534 (installdirs): Remove.
42535 (subdir_%): Remove.
42536 (glibc-targets): Remove.
42539 ($(objpfx)stubs ../po/manual.pot): Remove.
42540 ($(objpfx)stamp%): Remove.
42541 (make-target-directory): Remove.
42542 (subdir_install): Remove.
42543 (routines): Remove.
42550 * manual/.gitignore: Remove, it's not needed anymore.
42551 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42553 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42555 (texis): Renamed to $(objpfx)texis.
42556 (texis-path): New, contains path to generated files.
42557 (chapters.%): Use texis-path for complete path, add extra argument
42559 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42560 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42561 (summary,texi, stamp-summary): Use complete path of
42562 files. Generate files in build dir.
42563 (dir-add.texi): Build in build dir.
42564 (libm-err.texi,stamp-libm-err): Likewise.
42565 (version.texi, stamp-version): Likewise.
42566 (.%c.texi): Likewise.
42567 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42568 (mostlyclean): Remove target.
42569 (realclean): Remove target.
42570 (generated): Add new variable with contents from mostlyclean and
42571 realclean, remove entries duplicated in common-mostlyclean, add
42572 stamp-libm-err and stamp-version.
42573 (generated-dirs): Add libc directory.
42574 ($(inst_infodir)/libc.info): Install files from build dir.
42576 * manual/install.texi (Configuring and compiling): Adjust since
42577 the info files are not part of the tar ball anymore.
42579 2012-05-14 Andreas Jaeger <aj@suse.de>
42581 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42584 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42588 to 2.2.0 where earlier.
42589 * sysdeps/unix/sysv/linux/configure: Regenerated.
42590 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42591 Remove conditional code.
42592 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42593 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42594 Remove conditional code.
42595 [!__NR_lchown]: Likewise.
42596 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42597 [__NR_lchown]: Likewise.
42598 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42599 comment referencing __ASSUME_LCHOWN_SYSCALL.
42600 * sysdeps/unix/sysv/linux/i386/sigaction.c
42601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42603 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42604 Remove conditional code.
42605 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42606 (__protocol_available): Remove #if 0 code.
42607 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42609 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42610 * sysdeps/unix/sysv/linux/kernel-features.h
42611 (__ASSUME_GETCWD_SYSCALL): Don't define.
42612 (__ASSUME_REALTIME_SIGNALS): Likewise.
42613 (__ASSUME_PREAD_SYSCALL): Likewise.
42614 (__ASSUME_PWRITE_SYSCALL): Likewise.
42615 (__ASSUME_POLL_SYSCALL): Likewise.
42616 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42617 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42619 (__ASSUME_SIOCGIFNAME): Don't define.
42620 (__ASSUME_MSG_NOSIGNAL): Likewise.
42621 (__ASSUME_SENDFILE): Define unconditionally.
42622 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42623 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42625 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42626 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42627 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42628 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42629 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42630 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42631 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42656 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42657 Remove conditional code.
42658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42659 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42660 Remove conditional code.
42661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42662 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42663 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42664 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42665 Remove conditional code.
42666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42667 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42668 Remove conditional code.
42669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42670 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42671 Remove conditional code.
42672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42673 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42674 Remove conditional code.
42675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42676 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42677 Remove conditional code.
42678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42679 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42682 * sysdeps/unix/sysv/linux/sigaction.c
42683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42685 * sysdeps/unix/sysv/linux/sigpending.c
42686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42688 * sysdeps/unix/sysv/linux/sigprocmask.c
42689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42691 * sysdeps/unix/sysv/linux/sigsuspend.c
42692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42695 (__libc_missing_rt_sigs): Remove.
42696 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42697 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42698 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42699 Remove conditional code.
42700 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42701 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42703 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42704 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42705 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42706 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42708 2012-05-14 Andreas Jaeger <aj@suse.de>
42710 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42711 it's not used in glibc.
42712 (__coshm1): Likewise.
42713 (__acosh1p): Likewise.
42716 * manual/string.texi (Copying and Concatenation): Add missing
42717 variable in concat example.
42718 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42720 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42724 __builtin_clzl with __builtin_clzll.
42726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42729 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42732 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42734 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42735 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42736 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42737 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42739 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42741 * NEWS: Update ia64 info.
42743 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42745 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42748 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42750 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42751 * sysdeps/unix/syscalls.list (dup3): Likewise.
42752 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42753 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42755 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42757 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42758 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42760 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42762 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42764 (TLS_IE): Use mov/add instead of movq/addq to load thread
42766 (TLS_GD_PREFIX): New.
42769 2012-05-11 David S. Miller <davem@davemloft.net>
42771 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42772 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42773 (_FPU_SETCW): Likewise.
42775 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42777 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42778 is 32-byte aligned.
42780 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42783 * iconvdata/gb18030.c: Update tables.
42784 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42785 characters specially.
42786 (BODY for TO_LOOP): Add encoding of missing ranges.
42788 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42791 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42792 * sysdeps/mach/hurd/dup3.c: Likewise.
42793 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42794 * sysdeps/powerpc/memmove.c:: Likewise.
42796 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42799 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42801 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42803 * elf/elf.h (R_X86_64_RELATIVE64): New.
42804 (R_X86_64_NUM): Updated.
42805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42806 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42807 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42808 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42809 tst-quad1pie tst-quad2pie
42810 (modules-names): Add tst-quadmod1 tst-quadmod2.
42811 ($(objpfx)tst-quad1): New dependency.
42812 ($(objpfx)tst-quad2): Likewise.
42813 ($(objpfx)tst-quad1pie): Likewise.
42814 ($(objpfx)tst-quad2pie): Likewise.
42815 * sysdeps/x86_64/tst-quad1.c: New file.
42816 * sysdeps/x86_64/tst-quad1pie.c: New file.
42817 * sysdeps/x86_64/tst-quad2.c: Likewise.
42818 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42819 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42820 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42821 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42822 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42824 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42826 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42827 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42828 * streams/stropts.h (t_scalar_t): Define type.
42830 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42831 (_PATH_PRESERVE): Set to "/var/lib".
42832 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42834 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42837 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42838 if __dir_mkfile succeeded.
42840 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42841 checking for _hurd_dtablesize. Unlock it right after having
42842 finished _hurd_dtable allocation.
42844 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42846 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42847 * sysdeps/mach/hurd/configure: Regenerated.
42848 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42849 special-casing to...
42850 * sysdeps/gnu/configure.in: ... this new file.
42851 * sysdeps/unix/sysv/linux/configure: Regenerated.
42852 * sysdeps/gnu/configure: New generated file.
42854 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42855 for Linux: use nsec instead of usec, as well as:
42856 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42857 members of type struct timespec.
42858 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42860 (struct stat64): Likewise.
42861 (_STATBUF_ST_NSEC): New macro.
42862 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42864 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42865 __strtoul_internal rather than strtoul.
42867 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42869 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42874 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42875 which preserves existing values.
42876 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42878 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42880 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42881 TIMEOUT values. Return EINVAL for NFDS values either negative or
42882 greater than FD_SETSIZE.
42884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42886 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42887 allocated, call __vm_protect to finish enabling the existing space, and
42888 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42889 allocate the remainder.
42891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42893 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42894 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42898 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42899 sysdeps/mach/hurd/readlink.c.
42901 * posix/tst-sysconf.c (posix_options): Only use
42902 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42903 _POSIX_SYNCHRONIZED_IO when they are defined
42904 * sysdeps/mach/hurd/bits/posix_opt.h:
42905 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42906 (_XOPEN_REALTIME): Undefine macro.
42907 (_XOPEN_REALTIME_THREADS): Undefine macro.
42908 (_XOPEN_SHM): Undefine macro.
42909 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42911 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42913 (_POSIX_ASYNC_IO): Undefine macro.
42914 (_POSIX_PRIORITIZED_IO): Undefine macro.
42915 (_POSIX_SPIN_LOCKS): Define macro to -1.
42917 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42918 SA_NODEFER, SA_RESETHAND.
42919 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42920 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42925 * elf/Makefile (pldd-modules): Define unconditionally.
42927 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42929 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42933 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42934 Return ENOENT when name is empty.
42935 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42937 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42939 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42941 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42945 Fix mlock in all cases except non-readable pages.
42946 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42947 instead of VM_PROT_ALL as parameter to __vm_wire function.
42949 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42950 (__mkdir): When path is `/', just fail with EEXIST.
42951 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42955 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42956 <sys/uio.h> (for writev).
42957 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42958 and <sys/param.h> (for MIN).
42960 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42962 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42963 REQUESTED_TIME. Properly set the remaining time and return EINTR
42966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42968 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42969 Depend on against $(link-rpcuserlibs).
42971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42973 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42974 (__libc_stack_end): Do not use attribute_relro.
42975 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42976 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42977 to libthread-provided value.
42978 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42984 * bits/libc-lock.h (__libc_once_get): New macro.
42985 * sysdeps/mach/bits/libc-lock.h: Likewise.
42986 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42988 instead of using implementation details.
42990 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42991 * libio/freopen.c: Likewise.
42992 * libio/freopen64.c: Likewise.
42993 * misc/syslog.c: Likewise.
42994 * nscd/connections.c: Likewise.
42995 * nscd/netgroupcache.c: Likewise.
42996 * sysdeps/posix/getcwd.c: Likewise.
42998 2012-05-10 Roland McGrath <roland@hack.frob.com>
43000 * math/w_ilogbf.c: Add #include <limits.h>.
43002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43004 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43005 path instead of returning without unlocking.
43007 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43008 immediate-write ioctls.
43009 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43011 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43013 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43014 __builtin_frame_address instead of making assumptions about the
43015 location of the return address relative to DATA. Force early load of
43016 the return address.
43017 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43018 __builtin_frame_address.
43021 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43022 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43023 implement dup3 and do some further code clean-ups.
43024 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43025 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43029 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43031 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43032 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43033 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43034 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43035 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43038 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43039 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43040 when handler == SIG_ERR, not when handler != SIG_ERR.
43042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43044 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43045 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43048 accept4 for GNU Hurd.
43049 * include/sys/socket.h (__libc_accept4): New prototype.
43050 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43051 to implement __libc_accept4.
43052 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43054 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43056 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43057 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43058 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43059 signal-defines.sym.
43061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43063 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43067 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43068 assertion on O_CLOEXEC flag.
43069 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43070 * hurd/intern-fd.c: Likewise.
43071 * hurd/port2fd.c: Likewise.
43073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43076 * bits/in.h (IPV6_PKTINFO): Define new macro.
43077 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43079 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43084 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43086 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43087 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43089 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43090 * math/libm-test.inc (logb_test) : Additional logb tests.
43092 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43093 Andreas Jaeger <aj@suse.de>
43095 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43096 * configure: Regenerated.
43097 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43098 * config.make.in (link-obsolete-rpc): New substituted variable.
43099 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43100 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43101 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43102 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43103 so that libc.a contains the symbols.
43104 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43105 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43106 * sunrpc/auth_none.c: Likewise.
43107 * sunrpc/auth_unix.c: Likewise.
43108 * sunrpc/authdes_prot.c: Likewise.
43109 * sunrpc/authuxprot.c: Likewise.
43110 * sunrpc/clnt_gen.c: Likewise.
43111 * sunrpc/clnt_perr.c: Likewise.
43112 * sunrpc/clnt_raw.c: Likewise.
43113 * sunrpc/clnt_simp.c: Likewise.
43114 * sunrpc/clnt_tcp.c: Likewise.
43115 * sunrpc/clnt_udp.c: Likewise.
43116 * sunrpc/clnt_unix.c: Likewise.
43117 * sunrpc/des_crypt.c: Likewise.
43118 * sunrpc/des_soft.c: Likewise.
43119 * sunrpc/get_myaddr.c: Likewise.
43120 * sunrpc/key_call.c: Likewise.
43121 * sunrpc/key_prot.c: Likewise.
43122 * sunrpc/netname.c: Likewise.
43123 * sunrpc/pm_getmaps.c: Likewise.
43124 * sunrpc/pm_getport.c: Likewise.
43125 * sunrpc/pmap_clnt.c: Likewise.
43126 * sunrpc/pmap_prot.c: Likewise.
43127 * sunrpc/pmap_prot2.c: Likewise.
43128 * sunrpc/pmap_rmt.c: Likewise.
43129 * sunrpc/publickey.c: Likewise.
43130 * sunrpc/rpc_cmsg.c: Likewise.
43131 * sunrpc/rpc_common.c: Likewise.
43132 * sunrpc/rpc_dtable.c: Likewise.
43133 * sunrpc/rpc_prot.c: Likewise.
43134 * sunrpc/rpc_thread.c: Likewise.
43135 * sunrpc/rtime.c: Likewise.
43136 * sunrpc/svc.c: Likewise.
43137 * sunrpc/svc_auth.c: Likewise.
43138 * sunrpc/svc_raw.c: Likewise.
43139 * sunrpc/svc_run.c: Likewise.
43140 * sunrpc/svc_tcp.c: Likewise.
43141 * sunrpc/svc_udp.c: Likewise.
43142 * sunrpc/svc_unix.c: Likewise.
43143 * sunrpc/svcauth_des.c: Likewise.
43144 * sunrpc/xcrypt.c: Likewise.
43145 * sunrpc/xdr.c: Likewise.
43146 * sunrpc/xdr_array.c: Likewise.
43147 * sunrpc/xdr_float.c: Likewise.
43148 * sunrpc/xdr_intXX_t.c: Likewise.
43149 * sunrpc/xdr_mem.c: Likewise.
43150 * sunrpc/xdr_rec.c: Likewise.
43151 * sunrpc/xdr_ref.c: Likewise.
43152 * sunrpc/xdr_sizeof.c: Likewise.
43153 * sunrpc/xdr_stdio.c: Likewise.
43155 2012-05-10 Roland McGrath <roland@hack.frob.com>
43157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43158 change. Update copyright years.
43160 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43162 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43164 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43165 Joseph Myers <joseph@codesourcery.com>
43166 Paul Pluzhnikov <ppluzhnikov@google.com>
43169 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43171 [cross-compiling] (extra-libs): Likewise.
43172 [cross-compiling] (extra-libs-others): Likewise.
43173 [cross-compiling] (librpcsvc-routines): Likewise.
43174 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43175 [cross-compiling] (omit-deps): Likewise.
43176 (sunrpc-CPPFLAGS): New variable.
43177 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43178 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43179 (cross-rpcgen-objs): New variable.
43180 (extra-objs): Append $(cross-rpcgen-objs).
43181 ($(cross-rpcgen-objs)): New rule.
43182 ($(objpfx)cross-rpcgen): Likewise.
43183 (rpcgen-cmd): Define to use $(built-program-file). Expand
43185 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43186 ($(objpfx)x%.stmp): Likewise.
43187 * sunrpc/proto.h [IS_IN_build] (_): Define.
43188 [IS_IN_build] (_libc_intl_domainname): Likewise.
43190 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43193 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43194 and R_X86_64_TPOFF64.
43196 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43198 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43199 sysdeps/unix/sysv/syscalls.list.
43202 * sysdeps/unix/sysv/syscalls.list: Remove file.
43204 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43207 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43208 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43209 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43210 (__LC_IDENTIFICATION): Make these macros useful in #if
43211 expressions, as required by C99.
43213 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43215 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43216 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43219 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43221 * stdlib/longlong.h: Updated from GCC.
43223 2012-05-09 Andreas Jaeger <aj@suse.de>
43225 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43226 default is first entry.
43227 (run_mode): Set type.
43228 (main): Remove informal message about syslog.
43229 (options): Fix typo.
43232 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43235 (llrintf): Likewise.
43236 (llrint): Likewise.
43239 (nearbyint): Likewise.
43240 (nearbyintf): Likewise.
43242 2012-05-09 Andreas Jaeger <aj@suse.de>
43243 Pedro Alves <palves@redhat.com>
43245 * nscd/nscd.c (run_mode): Use enum.
43246 (main): Cleanup coding style issue.
43248 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43249 Andreas Jaeger <aj@suse.de>
43251 * nscd/nscd.c (go_background): Replaced with...
43252 (run_mode): ... this.
43253 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43254 (options): Add -F --foreground.
43255 (main): Implement it.
43256 (parse_opt): Parse it.
43258 2012-05-09 Andreas Jaeger <aj@suse.de>
43261 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43262 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43263 -Wconversion warning.
43264 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43267 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43269 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43271 (LC_ALL): Use macro-int-constant.
43272 (LC_COLLATE): Likewise.
43273 (LC_CTYPE): Likewise.
43274 (LC_MESSAGES): Likewise.
43275 (LC_MONETARY): Likewise.
43276 (LC_NUMERIC): Likewise.
43277 (LC_TIME): Likewise.
43278 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43279 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43281 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43283 [C99-based standards] (float_t): Expect type.
43284 [C99-based standards] (double_t): Expect type.
43285 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43287 [C99-based standards] (HUGE_VALL): Likewise.
43288 [C99-based standards] (INFINITY): Likewise.
43289 [C99-based standards] (NAN): Likewise.
43290 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43291 [C99-based standards] (FP_NAN): Likewise.
43292 [C99-based standards] (FP_NORMAL): Likewise.
43293 [C99-based standards] (FP_SUBNORMAL): Likewise.
43294 [C99-based standards] (FP_ZERO): Likewise.
43295 [C99-based standards] (FP_FAST_FMA): Use
43296 optional-macro-int-constant. Specify type. Require == 1.
43297 [C99-based standards] (FP_FAST_FMAF): Likewise.
43298 [C99-based standards] (FP_FAST_FMAL): Likewise.
43299 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43300 [C99-based standards] (FP_ILOGBNAN): Likewise.
43301 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43303 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43304 [C99-based standards] (math_errhandling): Specify type.
43305 [ISO99 || ISO11] (signgam): Do not allow.
43306 [non-C99-based standards] (copysignf): Do not allow.
43307 [non-C99-based standards] (exp2f): Likewise.
43308 [non-C99-based standards] (log2f): Likewise.
43309 [non-C99-based standards] (modff): Allow.
43310 [non-C99-based standards] (erff): Do not allow.
43311 [non-C99-based standards] (erfcf): Likewise.
43312 [non-C99-based standards] (gammaf): Likewise.
43313 [non-C99-based standards] (hypotf): Likewise.
43314 [non-C99-based standards] (j0f): Likewise.
43315 [non-C99-based standards] (j1f): Likewise.
43316 [non-C99-based standards] (jnf): Likewise.
43317 [non-C99-based standards] (lgammaf): Likewise.
43318 [non-C99-based standards] (tgammaf): Likewise.
43319 [non-C99-based standards] (y0f): Likewise.
43320 [non-C99-based standards] (y1f): Likewise.
43321 [non-C99-based standards] (ynf): Likewise.
43322 [non-C99-based standards] (isnanf): Likewise.
43323 [non-C99-based standards] (acoshf): Likewise.
43324 [non-C99-based standards] (asinhf): Likewise.
43325 [non-C99-based standards] (atanhf): Likewise.
43326 [non-C99-based standards] (cbrtf): Likewise.
43327 [non-C99-based standards] (expm1f): Likewise.
43328 [non-C99-based standards] (ilogbf): Likewise.
43329 [non-C99-based standards] (log1pf): Likewise.
43330 [non-C99-based standards] (logbf): Likewise.
43331 [non-C99-based standards] (nextafterf): Likewise.
43332 [non-C99-based standards] (remainderf): Likewise.
43333 [non-C99-based standards] (rintf): Likewise.
43334 [non-C99-based standards] (scalbf): Likewise.
43335 [non-C99-based standards] (copysignl): Likewise.
43336 [non-C99-based standards] (exp2l): Likewise.
43337 [non-C99-based standards] (log2l): Likewise.
43338 [non-C99-based standards] (modfl): Allow.
43339 [non-C99-based standards] (erfl): Do not allow.
43340 [non-C99-based standards] (erfcl): Likewise.
43341 [non-C99-based standards] (gammal): Likewise.
43342 [non-C99-based standards] (hypotl): Likewise.
43343 [non-C99-based standards] (j0l): Likewise.
43344 [non-C99-based standards] (j1l): Likewise.
43345 [non-C99-based standards] (jnl): Likewise.
43346 [non-C99-based standards] (lgammal): Likewise.
43347 [non-C99-based standards] (tgammal): Likewise.
43348 [non-C99-based standards] (y0l): Likewise.
43349 [non-C99-based standards] (y1l): Likewise.
43350 [non-C99-based standards] (ynl): Likewise.
43351 [non-C99-based standards] (isnanl): Likewise.
43352 [non-C99-based standards] (acoshl): Likewise.
43353 [non-C99-based standards] (asinhl): Likewise.
43354 [non-C99-based standards] (atanhl): Likewise.
43355 [non-C99-based standards] (cbrtl): Likewise.
43356 [non-C99-based standards] (expm1l): Likewise.
43357 [non-C99-based standards] (ilogbl): Likewise.
43358 [non-C99-based standards] (log1pl): Likewise.
43359 [non-C99-based standards] (logbl): Likewise.
43360 [non-C99-based standards] (nextafterl): Likewise.
43361 [non-C99-based standards] (remainderl): Likewise.
43362 [non-C99-based standards] (rintl): Likewise.
43363 [non-C99-based standards] (scalbl): Likewise.
43364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43365 [non-C99-based standards] (FP_*): Do not allow.
43366 [C99-based standards] (FP_*): Change to
43367 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43368 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43370 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43371 (SIG_ERR): Likewise.
43372 [X/Open-based standards] (SIG_HOLD): Likewise.
43373 (SIG_IGN): Likewise.
43374 (SIGABRT): Use macro-int-constant. Specify type. Require
43376 (SIGFPE): Likewise.
43377 (SIGILL): Likewise.
43378 (SIGINT): Likewise.
43379 (SIGSEGV): Likewise.
43380 (SIGTER): Likewise.
43381 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43382 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43383 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43384 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43385 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43386 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43387 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43388 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43389 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43390 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43391 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43392 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43393 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43394 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43395 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43396 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43397 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43398 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43399 [X/Open-based standards] (SIGTRAP): Likewise.
43400 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43401 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43402 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43403 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43404 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43407 2012-05-08 Ian Wienand <ianw@vmware.com>
43410 * time/tzset.c (__tzset_parse_tz): Update default rules for
43411 daylight time changes in the Energy Policy Act of 2005.
43413 2012-05-09 Andreas Jaeger <aj@suse.de>
43416 * elf/ldconfig.c (parse_conf): Change string to make clear that
43417 ldconfig only issued a warning if ld.so.conf does not exist.
43419 2012-05-08 David S. Miller <davem@davemloft.net>
43421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43422 movxtod instead of popping the value on the stack.
43424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43426 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43428 * config.h.in: Add HAVE_ARM_PCS_VFP.
43430 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43433 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43434 checking but the checks are disabled for any reason.
43436 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43438 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43439 and ELF64_R_TYPE with ELFW(R_TYPE).
43441 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43443 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43444 (ulimit): Likewise.
43446 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43447 (settimeofday): Likewise.
43449 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43451 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43452 a struct th_u2 inside the union, and move tu_block/tu_code into
43453 a new th_u3 union of tu_block/tu_code inside of that. Move
43454 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43455 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43456 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43457 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43458 (th_stuff): Change to th_u1.tu_stuff.
43460 (th_msg): Change to th_u1.th_u2.tu_data.
43462 2012-05-07 David S. Miller <davem@davemloft.net>
43464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43467 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43468 (SETUP_PIC_REG): Use it.
43469 (SETUP_PIC_REG_LEAF): Use it.
43471 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43477 (EXPL_FINITE): Likewise.
43478 (FLDLOG): Likewise.
43479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43480 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43482 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43484 (EXPL_FINITE): Likewise.
43485 (FLDLOG): Likewise.
43486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43487 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43489 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43490 test of -max_value argument for long double.
43491 * sysdeps/i386/fpu/libm-test-ulps: Update.
43492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43494 2012-05-06 David S. Miller <davem@davemloft.net>
43496 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43497 quad soft-float symbols whose references which are compiler
43499 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43501 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43507 (EXPL_FINITE): Likewise.
43508 (FLDLOG): Likewise.
43511 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43512 Adjust comments for base varying.
43513 (__expl_finite): Change alias to EXPL_FINITE.
43514 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43516 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43517 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43518 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43519 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43522 (EXPL_FINITE): Likewise.
43523 (FLDLOG): Likewise.
43526 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43527 Adjust comments for base varying.
43528 (__expl_finite): Change alias to EXPL_FINITE.
43529 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43534 * math/libm-test.inc (check_float_internal): Correct ulp
43535 calculation for subnormal expected results.
43537 2012-05-06 Andreas Jaeger <aj@suse.de>
43539 * Makeconfig (+math-flags): New, set to -frounding-math.
43540 (+cflags): Add +math-flags so that all of glibc gets compiled with
43543 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43545 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43547 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43553 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43554 (__ieee754_expl): Allow for and saturate large arguments.
43555 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43556 (u_threshold): Likewise.
43557 (__exp): Call __ieee754_exp before checking for overflow and
43559 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43560 (u_threshold): Likewise.
43561 (__expf): Call __ieee754_expf before checking for overflow and
43563 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43564 (u_threshold): Likewise.
43565 (__expl): Call __ieee754_expl before checking for overflow and
43567 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43568 (__ieee754_expl): Allow for and saturate large arguments.
43569 * math/libm-test.inc (exp_test): Add another test. Do not allow
43570 missing overflow exception on overflow.
43571 (expm1_test): Do not allow missing overflow exception on overflow.
43573 * sysdeps/i386/fpu/e_expl.c: Move to ...
43574 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43575 rather than using inline asm.
43576 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43577 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43578 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43580 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43583 (signal): Likewise.
43587 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43589 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43590 sysdeps/unix/common/syscalls.list.
43591 (fchmod): Likewise.
43592 (fchown): Likewise.
43593 (ftruncate): Likewise.
43594 (getrusage): Likewise.
43595 (gettimeofday): Likewise.
43596 (setpgid): Likewise.
43597 (setregid): Likewise.
43598 (setreuid): Likewise.
43599 (sigaction): Likewise.
43600 (truncate): Likewise.
43601 (vhangup): Likewise.
43602 * sysdeps/unix/common/syscalls.list: Remove file.
43603 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43604 * sysdeps/unix/sysv/linux/Implies: Likewise.
43606 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43614 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43617 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43620 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43623 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43626 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43629 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43632 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43636 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43640 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43643 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43651 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43653 * sysdeps/unix/common/bits/dirent.h: Remove file.
43654 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43656 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43657 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43658 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43659 * sysdeps/unix/bsd/isatty.c: Likewise.
43660 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43661 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43662 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43664 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43668 long double comparison inaccuracies.
43669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43672 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43674 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43677 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43681 nonzero digits before rounding a hex value.
43682 * stdlib/tst-strtod.c (tests): Add another test.
43684 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43686 * sysdeps/s390/fpu/libm-test-ulps: Update.
43688 2012-05-03 Andreas Jaeger <aj@suse.de>
43690 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43691 does not get optimized out.
43692 (malloc_opt_barrier): New.
43694 2012-05-03 Andreas Jaeger <aj@suse.de>
43695 Roland McGrath <roland@hack.frob.com>
43697 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43698 intermediate file deletion.
43699 (generated): Add .symlist files.
43701 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43704 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43705 Redirect under this condition.
43706 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43707 [__USE_GNU] (__dprintf_chk): Not under this condition.
43708 [__USE_GNU] (__vdprintf_chk): Likewise.
43709 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43710 under this condition.
43711 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43712 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43713 [__USE_XOPEN2K8] (vdprintf): Likewise.
43714 [__USE_GNU] (__dprintf_chk): Not under this condition.
43715 [__USE_GNU] (__vdprintf_chk): Likewise.
43716 [__USE_GNU] (dprintf): Likewise.
43717 [__USE_GNU] (vdprintf): Likewise.
43719 2012-05-03 Roland McGrath <roland@hack.frob.com>
43721 * elf/Makefile (common-generated): Set this instead of generated for
43722 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43723 $(all-built-dso)-derived lists.
43725 2012-05-03 Andreas Jaeger <aj@suse.de>
43727 * sysdeps/i386/fpu/libm-test-ulps: Update.
43730 * FAQ.in: Likewise.
43731 * scripts/gen-FAQ.pl: Likewise.
43732 * manual/install.texi (Installation): Point to online location of
43734 * Makefile (files-for-dist): Remove FAQ.
43737 2012-05-02 Allan McRae <allan@archlinux.org>
43739 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43740 (LDFLAGS-reldepmod5.so): Likewise.
43741 (LDFLAGS-reldep6mod1.so): Likewise.
43742 (LDFLAGS-reldep6mod4.so): Likewise.
43743 (LDFLAGS-reldep8mod3.so): Likewise.
43744 (LDFLAGS-unload4mod1.so): Likewise.
43745 (LDFLAGS-unload4mod2.so): Likewise.
43746 (LDFLAGS-tst-initorder): Likewise.
43747 (LDFLAGS-tst-initordera2.so): Likewise.
43748 (LDFLAGS-tst-initordera3.so): Likewise.
43749 (LDFLAGS-tst-initordera4.so): Likewise.
43750 (LDFLAGS-tst-initorderb2.so): Likewise.
43751 (LDFLAGS-noload): Likewise.
43752 (LDFLAGS-next): Likewise.
43753 (LDFLAGS-order2mod1.so): Likewise.
43754 (LDFLAGS-order2mod2.so): Likewise.
43755 (LDFLAGS-tst-initorder2): Likewise.
43756 (LDFLAGS-tst-initorder2a.so): Likewise.
43757 (LDFLAGS-tst-initorder2b.so): Likewise.
43758 (LDFLAGS-tst-initorder2c.so): Likewise.
43759 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43761 2012-05-02 David S. Miller <davem@davemloft.net>
43763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43765 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43768 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43770 2012-05-02 Andreas Jaeger <aj@suse.de>
43772 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43773 since we manipulate rounding mode.
43774 (CPPFLAGS-test-idouble.c): Likewise.
43775 (CPPFLAGS-test-ifloat.c): Likewise.
43776 (CFLAGS-test-ldouble.c): Likewise.
43777 (CFLAGS-test-double.c): Likewise.
43778 (CFLAGS-test-float.c): Likewise.
43779 (CFLAGS-test-misc.c): Likewise.
43780 (CFLAGS-test-test-fenv.c): Likewise.
43782 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43787 comparisons to determine direction to adjust input.
43789 2012-05-01 Roland McGrath <roland@hack.frob.com>
43791 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43792 output to the target.
43794 * scripts/localplt.awk: New file.
43795 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43796 (check-localplt-CFLAGS): Variable removed.
43797 ($(all-built-dso:=.jmprel)): New static pattern rule.
43798 (generated): Add those targets.
43799 (localplt-built-dso): New variable.
43800 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43802 * elf/check-localplt.c: File removed.
43804 * scripts/check-execstack.awk: New file.
43805 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43806 (check-execstack-CFLAGS): Variable removed.
43807 ($(objpfx)check-execstack.h): Target removed.
43808 ($(objpfx)execstack-default): New target.
43809 (generated): Add that instead of check-execstack.h.
43810 ($(all-built-dso:=.phdr)): New static pattern rule.
43811 (generated): Add those targets.
43812 * elf/check-execstack.c: File removed.
43814 * scripts/check-textrel.awk: New file.
43815 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43816 (check-textrel-CFLAGS): Variable removed.
43817 (all-built-dso): Use := to define.o
43818 ($(all-built-dso:=.dyn)): New static pattern rule.
43819 (generated): Add those targets.
43820 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43821 * config.make.in (READELF): New substituted variable.
43822 * elf/check-textrel.c: File removed.
43824 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43826 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43828 * conform/data/ctype.h-data [C99-based standards] (isblank):
43830 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43831 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43833 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43834 Specify type. Require positive value.
43835 (EILSEQ): Likewise.
43836 (ERANGE): Likewise.
43837 [ISO || POSIX] (EILSEQ): Do not expect.
43838 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43839 Specify type. Require positive value.
43840 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43841 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43842 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43848 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43849 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43853 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43865 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43866 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43867 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43868 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43869 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43870 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43871 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43872 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43873 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43874 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43875 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43876 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43877 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43878 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43879 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43880 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43881 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43882 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43883 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43884 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43885 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43886 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43887 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43893 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43894 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43914 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43915 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43916 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43918 (FLT_ROUNDS): Expect as macro, not constant.
43919 (FLT_MANT_DIG): Use macro-int-constant.
43920 (DBL_MANT_DIG): Likewise.
43921 (LDBL_MANT_DIG): Likewise.
43922 (FLT_DIG): Likewise.
43923 (DBL_DIG): Likewise.
43924 (LDBL_DIG): Likewise.
43925 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43926 (DBL_MIN_EXP): Likewise.
43927 (LDBL_MIN_EXP): Likewise.
43928 (FLT_MAX_EXP): Use macro-int-constant.
43929 (DBL_MAX_EXP): Likewise.
43930 (LDBL_MAX_EXP): Likewise.
43931 (FLT_MAX_10_EXP): Likewise.
43932 (DBL_MAX_10_EXP): Likewise.
43933 (LDBL_MAX_10_EXP): Likewise.
43934 (FLT_MAX): Use macro-constant.
43935 (DBL_MAX): Likewise.
43936 (LDBL_MAX): Likewise.
43937 (FLT_EPSILON): Use macro-constant. Give upper bound.
43938 (DBL_EPSILON): Likewise.
43939 (LDBL_EPSILON): Likewise.
43940 (FLT_MIN): Likewise.
43941 (DBL_MIN): Likewise.
43942 (LDBL_MIN): Likewise.
43943 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43944 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43945 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43946 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43947 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43948 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43949 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43950 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43951 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43952 [ISO11] (FLT_TRUE_MIN): Likewise.
43953 [ISO11] (LDBL_TRUE_MIN): Likewise.
43954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43955 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43956 (SCHAR_MIN): Use macro-int-constant. Specify type.
43957 (SCHAR_MAX): Likewise.
43958 (UCHAR_MAX): Likewise.
43959 (CHAR_MIN): Likewise.
43960 (CHAR_MAX): Likewise.
43961 (MB_LEN_MAX): Use macro-int-constant.
43962 (SHRT_MIN): Use macro-int-constant. Specify type.
43963 (SHRT_MAX): Likewise.
43964 (USHRT_MAX): Likewise.
43965 (INT_MAX): Likewise.
43966 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43968 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43970 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43972 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43973 bound negative. Suffix upper bound with "L".
43974 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43976 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43978 [C99-based standards] (LLONG_MAX): Likewise.
43979 [C99-based standards] (ULLONG_MAX): Likewise.
43980 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43982 [ISO11] (max_align_t): Require type.
43983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43985 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43986 from $CFLAGS, without defining away __attribute__ calls.
43987 (checknamespace): Use $CFLAGS_namespace.
43989 * conform/conformtest.pl (@keywords): Only include C99 keywords
43990 for standards based on C99 or C11.
43992 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43994 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43997 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43998 usability of symbols in #if.
44000 * conform/conformtest.pl: If macro or constant types start
44001 "promoted:", expect the symbol to be of the following type
44002 promoted by the integer promotions.
44004 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44005 in one place. Also handle "macro-constant".
44007 * conform/conformtest.pl: Only accept expected macro values with
44008 "==". Parse all "macro" lines in one place.
44009 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44011 * conform/conformtest.pl: Handle braced types on "constant" lines
44012 instead of handling "typed-constant".
44013 * conform/data/signal.h-data: Use "constant" instead of
44016 * conform/conformtest.pl: Handle "optional-" at start of lines in
44017 one place rather than duplicating several cases. Handle each
44018 format of "macro" line with initial "optional-".
44020 * conform/conformtest.pl: Only accept expected constant or
44021 optional-constant values with "==". Parse all "constant" lines in
44022 one place. Parse all "optional-constant" lines in one place.
44023 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44024 * conform/data/fmtmsg.h-data: Likewise.
44025 * conform/data/netinet/in.h-data: Likewise.
44026 * conform/data/tar.h-data: Likewise.
44027 * conform/data/limits.h-data: Use "==" form on "constant" and
44028 "optional-constant" lines.
44030 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44031 Use -std=c99 for XOPEN2K.
44032 (@knownproblems): Remove.
44033 (newtoken): Don't check %isknown.
44035 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44036 Do not expect macro.
44037 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44038 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44039 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44040 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44041 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44042 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44043 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44044 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44045 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44046 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44047 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44048 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44049 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44050 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44051 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44052 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44053 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44054 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44055 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44056 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44057 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44060 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44061 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44062 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44063 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44064 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44065 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44066 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44067 [XPG3] (acosh): Likewise.
44068 [XPG3] (asinh): Likewise.
44069 [XPG3] (atanh): Likewise.
44070 [XPG3] (cbrt): Likewise.
44071 [XPG3] (expm1): Likewise.
44072 [XPG3] (ilogb): Likewise.
44073 [XPG3] (log1p): Likewise.
44074 [XPG3] (logb): Likewise.
44075 [XPG3] (nextafter): Likewise.
44076 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44077 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44078 [XPG3] (remainder): Likewise.
44079 [XPG3] (rint): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44087 [UNIX98 || XOPEN2K] (scalb): Expect.
44088 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44089 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44090 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44226 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44227 _XOPEN_SOURCE_EXTENDED for XPG4.
44229 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44231 * Makeconfig (localtime): Remove variable.
44232 (inst_localtime-file): Likewise.
44234 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44255 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44259 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44260 comparisons to determine direction to adjust input.
44261 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44262 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44263 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44269 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44270 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44272 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44274 * math/libm-test.inc (nexttoward_test): Add more tests.
44276 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44280 in version GLIBC_2.1, not GLIBC_2.0.
44281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44284 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44287 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44289 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44290 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44291 * math/libm-test.inc (acos_test): Add more tests.
44292 (asin_test): Likewise.
44293 * sysdeps/i386/fpu/libm-test-ulps: Update.
44294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44297 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44299 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44300 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44301 * math/libm-test.inc (acos_test_tonearest): New function.
44302 (acos_test_towardzero): Likewise.
44303 (acos_test_downward): Likewise.
44304 (acos_test_upward): Likewise.
44305 (asin_test_tonearest): Likewise.
44306 (asin_test_towardzero): Likewise.
44307 (asin_test_downward): Likewise.
44308 (asin_test_upward): Likewise.
44309 (main): Call the new functions.
44310 * sysdeps/i386/fpu/libm-test-ulps: Update.
44311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44315 * math/e_exp10.c: Include <float.h>.
44316 (__ieee754_exp10): Handle underflow here rather than multiplying
44317 large negative argument by M_LN10.
44318 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44320 * math/e_exp10l.c: Include <float.h>.
44321 (__ieee754_exp10l): Handle underflow here rather than multiplying
44322 large negative argument by M_LN10l.
44323 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44324 spurious overflow exception on underflow.
44326 2012-04-29 Marek Polacek <polacek@redhat.com>
44328 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44329 (__fortify_function): New macro.
44330 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44331 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44332 __extern_always_inline.
44333 * libio/bits/stdio2.h: Likewise.
44334 * libio/bits/stdio.h: Likewise.
44335 * string/string.h: Likewise.
44336 * string/bits/string3.h: Likewise.
44337 * include/stdio.h: Likewise.
44338 * stdlib/bits/stdlib.h: Likewise.
44339 * stdlib/stdlib.h: Likewise.
44340 * rt/bits/mqueue2.h: Likewise.
44341 * rt/mqueue.h: Likewise.
44342 * posix/bits/unistd.h: Likewise.
44343 * posix/unistd.h: Likewise.
44344 * io/bits/poll2.h: Likewise.
44345 * io/bits/fcntl2.h: Likewise.
44346 * io/fcntl.h: Likewise.
44347 * io/sys/poll.h: Likewise.
44348 * misc/bits/syslog.h: Likewise.
44349 * misc/bits/syslog-ldbl.h: Likewise.
44350 * misc/sys/syslog.h: Likewise.
44351 * socket/bits/socket2.h: Likewise.
44352 * socket/sys/socket.h: Likewise.
44353 * debug/tst-chk1.c: Likewise.
44354 * wcsmbs/bits/wchar2.h: Likewise.
44355 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44356 * wcsmbs/wchar.h: Likewise.
44358 2012-04-29 Andreas Jaeger <aj@suse.de>
44360 * Makerules (tests): Remove enable-check-abi protection.
44361 (check-abi-warn): Remove.
44362 (check-abi-%): Remove check-abi-warn usage.
44364 * configure.in: Remove check-abi configure option.
44365 * configure: Regenerated.
44366 * config.make.in (enable-check-abi): Remove.
44368 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44371 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44372 double functions to double *_finite functions.
44375 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44376 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44378 * stdio-common/Makefile (tests): Add tst-sprintf3.
44379 * stdio-common/tst-sprintf3.c: New file.
44381 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44382 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44384 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44386 * conform/conformtest.pl: Remove duplicate typed-constant
44389 2012-04-28 David S. Miller <davem@davemloft.net>
44391 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44392 (check-abi-%): Remove AWK script prerequisite and explicit
44394 (check-abi): Rewrite to just diff the symlist with the abilist.
44395 (config-tls, config-abi-config): Delete, no longer used.
44396 (update-abi-%): Remove AWK script and explicit abilist directory.
44397 (update-abi): Rewrite to simply compare and conditionally copy the
44398 symlist and the sysdep abilist file. Remove update-abi-config
44400 * abilist/ld.abilist: Remove.
44401 * abilist/libBrokenLocale.abilist: Remove.
44402 * abilist/libanl.abilist: Remove.
44403 * abilist/libcrypt.abilist: Remove.
44404 * abilist/libdl.abilist: Remove.
44405 * abilist/librt.abilist: Remove.
44406 * abilist/libthread_db.abilist: Remove.
44407 * abilist/libutil.abilist: Remove.
44408 * scripts/extract-abilist.awk: Remove.
44409 * scripts/merge-abilist.awk: Remove.
44410 * sysdeps/generic/libcidn.abilist: New file.
44411 * sysdeps/generic/libnss_compat.abilist: New file.
44412 * sysdeps/generic/libnss_db.abilist: New file.
44413 * sysdeps/generic/libnss_dns.abilist: New file.
44414 * sysdeps/generic/libnss_files.abilist: New file.
44415 * sysdeps/generic/libnss_hesiod.abilist: New file.
44416 * sysdeps/generic/libnss_nis.abilist: New file.
44417 * sysdeps/generic/libnss_nisplus.abilist: New file.
44418 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44419 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44420 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44423 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44424 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44425 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44426 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44427 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44428 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44429 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44430 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44432 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44433 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44434 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44435 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44437 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44438 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44439 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44440 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44441 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44442 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44444 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44445 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44446 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44448 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44551 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44552 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44553 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44556 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44557 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44558 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44559 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44560 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44561 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44562 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44563 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44564 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44616 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44618 * conform/conformtest.pl: Fix typo in handling typed-constant from
44621 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44623 * README: Cut down references to pre-2.6 Linux kernels and
44624 Linuxthreads. Update lists of configurations in libc and ports
44625 and sort alphabetically. Say "or newer" with Linux kernel version
44628 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44630 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44633 * math/libm-test.inc (logb_test_downward): New test to expose
44634 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44637 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44640 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44642 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44643 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44645 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44647 * sysdeps/unix/i386/brk.S: Remove file.
44648 * sysdeps/unix/i386/dl-brk.S: Likewise.
44649 * sysdeps/unix/i386/pipe.S: Likewise.
44650 * sysdeps/unix/i386/sigreturn.S: Likewise.
44651 * sysdeps/unix/i386/syscall.S: Likewise.
44652 * sysdeps/unix/i386/vfork.S: Likewise.
44653 * sysdeps/unix/i386/wait.S: Likewise.
44655 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44656 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44658 * configure.in (arm*-none*): Do not allow without
44659 --enable-hacker-mode.
44660 (netbsd*): Remove case setting base_os.
44661 (386bsd*): Likewise.
44662 (freebsd*): Likewise.
44665 (sunos*): Likewise.
44666 (ultrix*): Likewise.
44667 (newsos*): Likewise.
44668 (dynix*): Likewise.
44674 (minix*): Likewise.
44675 (irix4*): Likewise.
44676 (irix6*): Likewise.
44677 (solaris[2-9]*): Likewise.
44679 * configure: Regenerated.
44681 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44684 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44685 overflow or cancellation in calculating denominator.
44686 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44688 down expression to avoid unexpected rounding in newer GCCs.
44689 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44691 2012-04-26 David S. Miller <davem@davemloft.net>
44693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44694 long-double compat symbols.
44695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44709 2012-04-25 David S. Miller <davem@davemloft.net>
44711 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44712 HWCAP_* values only after the memory barriers have been defined.
44713 (atomic_full_barrier): Define.
44714 (atomic_read_barrier): Define.
44715 (atomic_write_barrier): Define.
44717 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44719 * shlib-versions: Add libgcc_s version information.
44720 * sysdeps/generic/libgcc_s.h: Remove.
44721 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44723 * sysdeps/gnu/unwind-resume.c: Likewise.
44724 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44726 2012-04-25 David S. Miller <davem@davemloft.net>
44728 * sysdeps/unix/sparc/brk.S: Delete.
44729 * sysdeps/unix/sparc/dl-brk.S: Delete.
44730 * sysdeps/unix/sparc/pipe.S: Delete.
44731 * sysdeps/unix/sparc/sysdep.S: Delete.
44732 * sysdeps/unix/sparc/sysdep.h: Delete.
44733 * sysdeps/unix/sparc/vfork.S: Delete.
44734 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44735 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44737 (ret_ERRVAL, r0, r1, MOVE): Define.
44738 (JUMPTARGET): Remove.
44739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44740 sysdeps/unix/sparc/sysdep.h
44741 (ENTRY, END): Remove.
44742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44744 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44746 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44747 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44750 * timezone/README: Update upstream location and email address for
44752 * timezone/zdump.c: Update from tzcode 2012b.
44753 * timezone/zic.c: Likewise.
44755 * configure.in (libc_cv_as_needed): Remove test.
44756 * configure: Regenerated.
44757 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44758 conditional definition.
44759 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44760 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44761 * config.make.in (have-as-needed): Remove variable.
44763 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44764 Paul Pluzhnikov <ppluzhnikov@google.com>
44766 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44769 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44771 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44772 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44773 * sysdeps/sh/strlen.S: Likewise.
44775 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44777 * sysdeps/unix/fork.S: Remove file.
44778 * sysdeps/unix/i386/fork.S: Likewise.
44779 * sysdeps/unix/sparc/fork.S: Likewise.
44781 * sysdeps/unix/system.c: Remove file.
44782 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44784 * sysdeps/unix/getegid.S: Remove file.
44785 * sysdeps/unix/geteuid.S: Likewise.
44787 2012-04-24 Roland McGrath <roland@hack.frob.com>
44789 * scripts/check-localplt.awk: New file.
44790 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44792 * scripts/data/localplt-generic.data: Add a comment.
44794 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44795 NODE when __dir_mkfile failed.
44796 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44797 Reported by Ludovic Courtès <ludo@gnu.org>.
44799 2012-04-24 Andreas Jaeger <aj@suse.de>
44801 * Makerules (common-clean): Also remove gen-as-const-headers
44804 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44806 * Makerules (native-compile): Do not change working directory for
44807 build. Use $(OUTPUT_OPTION) in command.
44808 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44810 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44813 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44814 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44815 * math/libm-test.inc (floor_test): Add more tests.
44816 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44818 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44820 * sysdeps/unix/getdents.c: Remove file.
44821 * sysdeps/unix/sysv/getdents.c: Likewise.
44822 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44824 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44825 sysdeps/unix/mman/syscalls.list.
44827 (mprotect): Likewise.
44829 (munmap): Likewise.
44830 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44831 * sysdeps/unix/mman/syscalls.list: Remove.
44832 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44834 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44835 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44836 * configure: Regenerated.
44837 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44838 $(libgcc_s_suffix).
44839 * config.make.in (libgcc_s_suffix): Remove variable.
44841 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44843 * sysdeps/unix/sysv/gethostname.c: Move to ...
44844 * sysdeps/posix/gethostname.c: ... here.
44846 * sysdeps/unix/execve.S: Remove file.
44848 * sysdeps/unix/_exit.S: Remove file.
44850 2012-04-23 Andreas Jaeger <aj@suse.de>
44853 * manual/Makefile: Remove make dist support, there's no
44854 need for a stand-alone documentation tar ball.
44855 (TEXI2DVI): Define always, it's not in Makeconfig.
44858 (edition): Removed.
44859 (glibc-doc-$(edition).tar): Removed
44863 (ETAGS): Remove, it's in Makeconfig.
44864 (move-if-change): Remove, it's in Makeconfig.
44866 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44869 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44870 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44871 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44872 (strtod_l, strtof_l, strtold_l): Remove __wur.
44873 It is not necessarily an error to ignore strtol's return value.
44874 One can reliably look at the stored endptr to decide whether
44875 the number had valid syntax.
44877 2012-04-21 Andreas Jaeger <aj@suse.de>
44880 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44882 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44884 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44885 * sysdeps/unix/sysv/Versions: Remove file.
44887 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44892 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44896 version from __vm86.
44898 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44900 * sysdeps/unix/common/lxstat.c: Remove file.
44901 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44903 * sysdeps/unix/sysv/Makefile: Remove file.
44905 * sysdeps/unix/sysv/direct.h: Remove file.
44907 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44908 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44909 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44910 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44911 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44912 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44913 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44915 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44917 * sysdeps/unix/xmknod.c: Remove file.
44918 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44920 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44922 * sysdeps/unix/sysv/i386/time.S: Remove file.
44924 * sysdeps/unix/fxstat.c: Remove file.
44925 * sysdeps/unix/xstat.c: Likewise.
44926 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44928 * sysdeps/unix/sysv/sigaction.c: Remove file.
44930 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44931 (sysdep_headers): Remove variable.
44932 [termio.h not in sysdep_headers] (generated): Likewise.
44933 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44934 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44935 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44936 * sysdeps/unix/sysv/tcflow.c: Likewise.
44937 * sysdeps/unix/sysv/tcflush.c: Likewise.
44938 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44939 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44940 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44941 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44942 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44944 * sysdeps/unix/siglist.c: Remove file.
44946 * sysdeps/unix/getppid.S: Remove file.
44948 * sysdeps/unix/mkdir.c: Remove file.
44949 * sysdeps/unix/rmdir.c: Likewise.
44951 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44953 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44955 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44956 errlist-compat value.
44958 2012-04-18 David S. Miller <davem@davemloft.net>
44960 * sysdeps/generic/memcopy.h (reg_char): Delete.
44961 * debug/strcat_chk.c: Use char, not reg_char.
44962 * debug/strcpy_chk.c: Likewise.
44963 * debug/strncat_chk.c: Likewise.
44964 * debug/strncpy_chk.c: Likewise.
44965 * string/memchr.c: Likewise.
44966 * string/memrchr.c: Likewise.
44967 * string/rawmemchr.c: Likewise.
44968 * string/strcat.c: Likewise.
44969 * string/strchr.c: Likewise.
44970 * string/strchrnul.c: Likewise.
44971 * string/strcmp.c: Likewise.
44972 * string/strcpy.c: Likewise.
44973 * string/strncat.c: Likewise.
44974 * string/strncmp.c: Likewise.
44975 * string/strncpy.c: Likewise.
44977 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44979 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44980 __builtin_memcopy is called when src and dest ranges are known to not
44983 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44986 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44987 fwd_align_merge macro call.
44988 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44989 bwd_align_merge macro call.
44990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44992 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44995 bwd_align_merge macros.
44996 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44997 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44998 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45000 2012-04-18 David S. Miller <davem@davemloft.net>
45002 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45004 2012-04-18 Andreas Jaeger <aj@suse.de>
45007 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45008 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45012 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45013 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45015 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45016 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45017 Adjust for changed ldbl-128 files.
45019 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45020 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45021 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45023 2012-04-17 David S. Miller <davem@davemloft.net>
45025 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45027 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45029 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45030 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45031 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45032 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45033 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45034 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45036 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45039 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45040 * math/libm-test.inc: Add ilogb errno and exception tests.
45041 * math/w_ilogb.c: New file: ilogb wrapper.
45042 * math/w_ilogbf.c: New file: ilogbf wrapper.
45043 * math/w_ilogbl.c: New file: ilogbl wrapper.
45044 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45045 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45046 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45047 exception being thrown with 0.0 as argument.
45048 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45049 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45050 exception being thrown with 0.0 as argument.
45051 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45052 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45053 exception being thrown with 0.0 as argument.
45054 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45055 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45056 exception being thrown with 0.0 as argument.
45057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45058 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45060 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45061 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45062 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45063 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45064 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45065 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45067 2012-04-17 Petr Baudis <pasky@ucw.cz>
45069 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45072 2012-04-16 Marek Polacek <polacek@redhat.com>
45074 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45076 2012-04-16 Marek Polacek <polacek@redhat.com>
45078 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45079 operands of fdivp instruction.
45081 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45083 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45084 * elf/tst-auditmod3b.c: Likewise.
45085 * elf/tst-auditmod4b.c: Likewise.
45086 * elf/tst-auditmod5b.c: Likewise.
45087 * elf/tst-auditmod6b.c: Likewise.
45088 * elf/tst-auditmod6c.c: Likewise.
45089 * elf/tst-auditmod7b.c: Likewise.
45090 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45091 * sysdeps/x86_64/preconfigure.in: Likewise.
45092 * sysdeps/x86_64/preconfigure: Regenerated.
45094 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45096 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45099 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45102 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45104 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45107 * locale/iso-639.def: Fix gl language name. Spotted by
45110 2012-04-12 Roland McGrath <roland@hack.frob.com>
45113 * libio/libio.h (__io_write_fn): Update comment.
45115 2012-04-12 Petr Baudis <pasky@ucw.cz>
45118 * stdio.texi (Hook Functions): The user provided writer function
45119 is not allowed to return -1.
45121 2012-04-11 David S. Miller <davem@davemloft.net>
45123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45125 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45127 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45128 Add a leading slash to rtkaio.
45130 2012-04-11 Jim Meyering <meyering@redhat.com>
45133 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45134 It is not necessarily an error to ignore fwrite's return
45135 value. One can reliably use ferror to test for errors after
45138 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45140 * bits/types.h (__snseconds_t): New type.
45141 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45143 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45145 (__SNSECONDS_T_TYPE): Likewise.
45146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45147 (__SNSECONDS_T_TYPE): Likewise.
45148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45149 (__SNSECONDS_T_TYPE): Likewise.
45151 2012-04-10 Andreas Jaeger <aj@suse.de>
45154 * manual/time.texi (Processor Time): Return type of times is
45155 elapsed real time since an arbitrary point in the past.
45156 (CPU Time): Move CLK_TCK from here...
45157 (Processor Time): ...to here. Correct description.
45158 * manual/conf.texi (Constants for Sysconf): Correct description of
45161 2012-04-10 David S. Miller <davem@davemloft.net>
45164 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45165 where the is a gap between DT_REL(A) and DT_JMPREL.
45167 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45169 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45170 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45171 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45173 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45175 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45176 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45177 (dl_main): Handle --inhibit-cache.
45178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45180 * elf/dl-load.c (_dl_map_object): Use it.
45181 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45183 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45186 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45187 (__ieee754_powl): Saturate large exponents rather than testing for
45188 overflow of y*log2(x).
45189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45190 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45194 * math/s_ctan.c: Include <float.h>.
45195 (__ctan): Avoid internal overflow or cancellation in calculating
45197 * math/s_ctanf.c: Likewise.
45198 * math/s_ctanl.c: Likewise.
45199 * math/s_ctanh.c: Likewise.
45200 * math/s_ctanhf.c: Likewise.
45201 * math/s_ctanhl.c: Likewise.
45202 * math/libm-test.inc (ctan_test): Add more tests.
45203 (ctanh_test): Likewise.
45204 * sysdeps/i386/fpu/libm-test-ulps: Update.
45205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45207 2012-04-09 Andreas Jaeger <aj@suse.de>
45210 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45211 is an optional BSD extension.
45214 * manual/stdio.texi (Opening Streams): Document additional fopen
45217 2012-04-09 Roland McGrath <roland@hack.frob.com>
45219 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45220 %eax without telling the compiler.
45222 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45225 * manual/install.texi: Use sourceware.org.
45227 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45230 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45231 (__ieee754_pow): Generate overflow and underflow using huge*huge
45232 and tiny*tiny rather than just returning constant infinity or zero
45233 for large exponents.
45234 * math/libm-test.inc (pow_test): Require overflow exceptions for
45235 applicable cases of large exponents.
45238 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45239 (__ieee754_pow): Use iterative multiplication algorithm only for
45240 integer exponents with absolute value below 1024. Check for odd
45241 integer exponents when using algorithm for real exponents.
45242 * math/libm-test.inc (pow_test): Add more tests.
45243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45245 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45248 * math/libm-test.inc (exp_test): Do not allow overflow exception
45251 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45254 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45255 instead of __kernel_standard_f.
45257 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45259 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45260 * sysdeps/x86_64/memset_chk.S: Likewise.
45262 2012-04-08 Andreas Jaeger <aj@suse.de>
45265 * manual/startup.texi (Environment Access): Describe return value
45266 for putenv and setenv.
45269 * manual/filesys.texi (Directory Entries): Add description for
45273 * manual/filesys.texi (Directory Entries): Clarify that it's file
45274 system not operating system in the description of DT_UNKNOWN.
45277 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45279 2012-04-08 Stephen Compall <s11@member.fsf.org>
45282 * manual/llio.texi (Opening and Closing Files): Add cross
45283 reference to explain mode argument.
45285 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45287 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45288 * sysdeps/x86_64/memset_chk.S: Likewise.
45290 2012-04-07 David S. Miller <davem@davemloft.net>
45292 * elf/elf.h (R_SPARC_WDISP10): Define.
45293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45296 R_SPARC_SIZE64 and R_SPARC_H34.
45298 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45301 conditions and remove no longer applicable assertion.
45303 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45305 * bits/byteswap.h: Include <features.h>.
45306 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45307 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45309 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45311 * bits/byteswap.h (__bswap_16): Removed.
45312 Include <bits/byteswap-16.h> to get __bswap_16.
45313 * sysdeps/i386/bits/byteswap.h: Likewise.
45314 * sysdeps/s390/bits/byteswap.h: Likewise.
45315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45316 * bits/byteswap-16.h: New file.
45317 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45318 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45319 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45320 * string/Makefile (headers): Add bits/byteswap-16.h.
45322 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45325 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45327 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45328 * nss/tst-nss-static.c: New.
45330 2012-04-06 Robert Millan <rmh@gnu.org>
45333 * manual/llio.texi (File Position Primitive): lseek
45334 refers to WHENCE when it really means OFFSET.
45336 2012-04-06 Andreas Jaeger <aj@suse.de>
45338 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45339 strncmp declarations.
45341 * abilist/libc.abilist: Add __poll and __ppoll.
45343 2012-04-05 David S. Miller <davem@davemloft.net>
45345 * scripts/check-local-headers.sh: Accept a host triplet in the
45346 path matched by the exclude regexp.
45348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45350 * sysdeps/powerpc/powerpc32/dl-machine.h
45351 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45352 * sysdeps/s390/s390-32/dl-machine.h
45353 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45354 * sysdeps/sparc/sparc32/dl-machine.h
45355 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45356 * sysdeps/sparc/sparc64/dl-machine.h
45357 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45359 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45361 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45362 undefined symbol errors.
45364 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45367 2012-04-05 Michael Matz <matz@suse.de>
45370 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45372 2012-04-05 Andreas Jaeger <aj@suse.de>
45375 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45378 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45380 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45381 which ROUND is no valid rounding mode.
45383 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45387 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45391 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45392 an exception using FPU order intentionally.
45394 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45396 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45397 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45398 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45399 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45401 2012-04-05 Simon Josefsson <simon@josefsson.org>
45404 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45405 EINVAL when BUFLEN is too smal.
45407 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45410 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45411 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45413 2012-04-03 Andreas Jaeger <aj@suse.de>
45416 * manual/setjmp.texi (System V contexts): Fix sentence.
45419 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45420 New macro for this case.
45421 [!__GNUC__] (__bswap_64): New inline function for this case.
45422 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45423 * bits/byteswap.h: Likewise.
45424 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45425 ull, guard with __GLIBC_HAVE_LONG_LONG.
45427 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45428 __GLIBC_HAVE_LONG_LONG.
45430 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45431 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45433 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45436 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45437 inptr and inend, rather than using last_ch.
45439 2012-04-02 David S. Miller <davem@davemloft.net>
45441 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45442 * stdio-common/printf-parse.h (read_int): Change return type to
45443 'int', return -1 on INT_MAX overflow.
45444 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45445 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45446 overflows INT_MAX. Check for overflow of in-format-string precision
45447 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45448 SIZE_MAX not INT_MAX for integer overflow test.
45449 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45450 skip the construct in the format string but do not record anything.
45451 * stdio-common/bug22.c: Adjust to test both width/prevision
45452 INT_MAX overflow as well as total length INT_MAX overflow. Check
45453 explicitly for proper errno values.
45455 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45457 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45459 * string/test-strcmp.c [! WIDE]: Likewise.
45460 * time/tst-mktime2.c: Likewise for INT_MAX.
45461 * string/test-string.h: #include <sys/param.h> for MIN.
45463 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45464 * sysdeps/i386/init-first.c (init): Likewise.
45465 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45466 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45467 * sysdeps/sh/init-first.c (init): Likewise.
45469 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45471 * po/ru.po: Update from translation team.
45472 * po/vi.po: Likewise.
45474 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45476 * resolv/nss_dns/dns-host.c: Merge copyright years.
45478 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45480 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45481 Optimize memcpy with prefetch if
45482 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45483 src, dst pointers have unequal 16 byte alignments.
45485 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45488 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45489 from a CNAME entry and return the minimum ttl for the query.
45490 (gaih_getanswer_slice): Likewise.
45492 2012-03-30 Jeff Law <law@redhat.com>
45494 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45496 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45497 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45499 * resolv/nss_dns/dns-host.c: Update copyright year.
45501 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45503 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45504 requests to save a system call. Fix check that all bytes are sent.
45506 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45507 comments for sendmmsg.
45509 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45512 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45513 with only 1 character between 0x0041 and 0x01b0.
45514 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45515 * wcsmbs/tst-mbsnrtowcs.c: New file.
45517 2012-03-29 David S. Miller <davem@davemloft.net>
45519 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45520 small copies by hand.
45522 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45525 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45526 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45529 2012-03-28 David S. Miller <davem@davemloft.net>
45531 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45532 that branches into memcpy.
45533 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45536 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45539 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45540 implementation too.
45541 * sysdeps/sparc/mempcpy.S: New file.
45543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45544 the IFUNC routine in the libc case.
45545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45547 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45548 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45549 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45550 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45551 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45552 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45553 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45554 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45556 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45557 loop to 256 bytes instead of 64 bytes and fix test signedness.
45559 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45560 * sysdeps/sparc/sparc32/Makefile: rather than here...
45561 * sysdeps/sparc/sparc64/Makefile: and here.
45563 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45565 * malloc/mallocbug.c: Avoid warnings about unused variables.
45567 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45570 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45571 in the right place. Discard and retry query if response is
45572 larger than input buffer size.
45574 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45579 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45580 x for large integer exponent.
45581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45583 sign of result as needed afterwards.
45584 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45585 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45586 result for underflowing pow the same as for overflow.
45587 (__kernel_standard_l): Handle powl overflow and underflow here
45588 rather than calling __kernel_standard.
45589 * math/libm-test.inc (pow_test): Add more tests.
45604 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45605 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45606 (__kernel_standard_l): New function.
45607 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45609 * math/w_acosl.c (__acosl): Likewise.
45610 * math/w_asinl.c (__asinl): Likewise.
45611 * math/w_atan2l.c (__atan2l): Likewise.
45612 * math/w_atanhl.c (__atanhl): Likewise.
45613 * math/w_coshl.c (__coshl): Likewise.
45614 * math/w_exp10l.c (__exp10l): Likewise.
45615 * math/w_exp2l.c (__exp2l): Likewise.
45616 * math/w_fmodl.c (__fmodl): Likewise.
45617 * math/w_hypotl.c (__hypotl): Likewise.
45618 * math/w_j0l.c (__j0l, __y0l): Likewise.
45619 * math/w_j1l.c (__j1l, __y1l): Likewise.
45620 * math/w_jnl.c (__jnl, __ynl): Likewise.
45621 * math/w_lgammal.c (__lgammal): Likewise.
45622 * math/w_log10l.c (__log10l): Likewise.
45623 * math/w_log2l.c (__log2l): Likewise.
45624 * math/w_logl.c (__logl): Likewise.
45625 * math/w_powl.c (__powl): Likewise.
45626 * math/w_remainderl.c (__remainderl): Likewise.
45627 * math/w_scalbl.c (sysv_scalbl): Likewise.
45628 * math/w_sinhl.c (__sinhl): Likewise.
45629 * math/w_sqrtl.c (__sqrtl): Likewise.
45630 * math/w_tgammal.c (__tgammal): Likewise.
45631 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45632 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45633 * math/libm-test.inc (acos_test): Add more tests.
45634 (acosh_test): Likewise.
45635 (asin_test): Likewise.
45636 (atanh_test): Likewise.
45637 (exp_test): Likewise.
45638 (exp10_test): Likewise.
45639 (exp2_test): Likewise.
45640 (expm1_test): Likewise.
45641 (lgamma_test): Likewise.
45642 (log_test): Likewise.
45643 (log10_test): Likewise.
45644 (log1p_test): Likewise.
45645 (log2_test): Likewise.
45646 (pow_test): Do not allow some spurious overflow exceptions.
45647 (sqrt_test): Add more tests.
45648 (tgamma_test): Likewise.
45649 (y0_test): Likewise.
45650 (y1_test): Likewise.
45651 (yn_test): Likewise.
45653 2012-03-27 Anton Blanchard <anton@samba.org>
45655 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45657 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45659 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45661 2012-03-27 David S. Miller <davem@davemloft.net>
45663 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45665 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45666 have-as-vis3 check.
45668 2012-03-27 Andreas Jaeger <aj@suse.de>
45670 * sysdeps/x86_64/elf/configure.in: Moved to ...
45671 * sysdeps/x86_64/configure.in: ... here.
45672 * sysdeps/x86_64/elf/start.S: Moved to ...
45673 * sysdeps/x86_64/start.S: ... here.
45674 * sysdeps/x86_64/elf/configure: Delete.
45676 * sysdeps/x86_64/configure.in: Merge contents from
45677 sysdeps/i386/configure.in (without i686 check).
45679 * sysdeps/i386/elf/Versions: Merge into ...
45680 * sysdeps/i386/Versions: ... this.
45681 * sysdeps/i386/elf/Versions: Delete file.
45682 * sysdeps/i386/elf/start.S: Moved to ...
45683 * sysdeps/i386/start.S: ...here.
45684 * sysdeps/i386/elf/configure.in: Merge into...
45685 * sysdeps/i386/configure.in: ...here.
45686 * sysdeps/i386/elf/configure.in: Delete file.
45687 * sysdeps/i386/elf/configure: Delete file.
45689 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45690 * debug/backtracesyms.c: ... here.
45691 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45692 * debug/backtracesymsfd.c: ... here.
45693 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45694 * sysdeps/generic/ifunc-sel.h: ... here.
45696 * sysdeps/unix/i386/start.c: Delete file.
45697 * sysdeps/unix/sparc/start.c: Delete file.
45698 * sysdeps/unix/start.c: Delete file.
45700 * sysdeps/sh/elf/configure.in: Moved to ...
45701 * sysdeps/sh/configure.in: ... here.
45702 * sysdeps/sh/elf/start.S: Moved to ...
45703 * sysdeps/sh/start.S: ... here.
45704 * sysdeps/sh/elf/configure: Delete file.
45706 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45707 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45708 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45709 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45710 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45711 * sysdeps/powerpc/powerpc64/start.S: here.
45712 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45713 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45714 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45715 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45716 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45718 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45719 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45720 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45721 * sysdeps/powerpc/powerpc32/start.S: ... here.
45722 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45723 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45724 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45726 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45727 * sysdeps/powerpc/ifunc-sel.h: ... here.
45728 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45729 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45731 * sysdeps/sparc/elf/configure.in: Moved to ...
45732 * sysdeps/sparc/configure.in: ... here.
45733 * sysdeps/sparc/elf/configure: Delete file.
45734 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45735 * sysdeps/sparc/sparc32/start.S: ... here.
45736 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45737 * sysdeps/sparc/sparc64/start.S: ... here.
45738 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45739 * sysdeps/sparc/sparc32/Makefile: ... this.
45740 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45741 * sysdeps/sparc/sparc64/Makefile: ... this.
45743 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45744 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45745 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45746 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45747 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45748 * sysdeps/s390/s390-32/setjmp.S: ... here.
45749 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45750 * sysdeps/s390/s390-32/configure.in: ... here.
45751 * sysdeps/s390/s390-32/elf/configure: Delete file.
45752 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45753 * sysdeps/s390/s390-32/start.S: ... here.
45755 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45756 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45757 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45758 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45759 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45760 * sysdeps/s390/s390-64/setjmp.S: ... here.
45761 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45762 * sysdeps/s390/s390-64/configure.in: ... here
45763 * sysdeps/s390/s390-64/elf/configure: Delete file.
45764 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45765 * sysdeps/s390/s390-64/start.S: ... here.
45766 * sysdeps/s390/s390-64/elf/configure: Delete.
45768 * configure.in: Remove support for elf directories in sysdeps.
45770 * configure: Regenerated.
45771 * sysdeps/i386/configure: Regenerated.
45772 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45773 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45774 * sysdeps/s390/s390-32/configure: Regenerated.
45775 * sysdeps/s390/s390-64/configure: Regenerated.
45776 * sysdeps/sh/configure: Regenerated.
45777 * sysdeps/sparc/configure: Regenerated.
45778 * sysdeps/x86_64/configure: Regenerated.
45780 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45785 denormal result into account.
45787 2012-03-25 Roland McGrath <roland@hack.frob.com>
45789 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45790 Reported by Allan McRae <allan@archlinux.org>.
45792 2012-03-23 Jeff Law <law@redhat.com>
45794 * nss/getnssent.c (__nss_getent): Fix typo.
45796 2012-03-23 David S. Miller <davem@davemloft.net>
45798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45800 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45802 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45803 to pad to uint64_t for each field.
45804 (dl_tls_index): Replace unsigned long with uint64_t.
45806 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45807 Paul Pluzhnikov <ppluzhnikov@google.com>
45810 * grp/Makefile (otherlibs): Don't set it.
45811 * inet/Makefile (otherlibs): Likewise.
45812 * login/Makefile (otherlibs): Likewise.
45813 * nscd/Makefile (otherlibs): Likewise.
45814 * posix/Makefile (otherlibs): Likewise.
45815 * pwd/Makefile (otherlibs): Likewise.
45816 * rt/Makefile (otherlibs): Likewise.
45817 * sunrpc/Makefile (otherlibs): Likewise.
45818 * nss/Makefile (otherlibs): Likewise.
45819 Add libnss_files to routines and static-only-routines.
45820 ($(objpfx)getent): Remove rule.
45821 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45822 static-only-routines.
45824 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45827 * math/s_cexp.c: Include <float.h>.
45828 (__cexp): Handle exp result overflowing not necessarily
45829 overflowing both real and imaginary parts of result.
45830 * math/s_cexpf.c: Likewise.
45831 * math/s_cexpl.c: Likewise.
45832 * math/libm-test.inc (cexp_test): Add more tests.
45833 * sysdeps/i386/fpu/libm-test-ulps: Update.
45834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45838 * include/link.h (ELFW): New macro.
45839 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45840 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45842 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45844 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45847 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45849 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45851 (struct La_x32_retval): Likewise.
45853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45855 * sysdeps/x86_64/preconfigure.in: New file.
45856 * sysdeps/x86_64/preconfigure: New generated file.
45858 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45861 * math/e_exp2l.c: Include <float.h>.
45862 (__ieee754_exp2l): Handle overflow and underflow cases
45863 separately. Only pass fractional part of argument to
45865 * math/libm-test.inc (exp2_test): Add more tests.
45867 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45868 negating x to take absolute value.
45869 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45872 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45874 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45875 computing low part if x was negated.
45876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45878 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45880 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45881 la_x32_gnu_pltexit.
45882 (pltexit): Cast int_retval to ptrdiff_t.
45883 * elf/tst-auditmod3b.c: Likewise.
45884 * elf/tst-auditmod4b.c: Likewise.
45885 * elf/tst-auditmod5b.c: Likewise.
45886 * elf/tst-auditmod6b.c: Likewise.
45887 * elf/tst-auditmod6c.c: Likewise.
45888 * elf/tst-auditmod7b.c: Likewise.
45890 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45891 and x32_gnu_pltexit.
45893 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45894 __ELF_NATIVE_CLASS.
45895 (La_x32_regs): New macro.
45896 (La_x32_retval): Likewise.
45897 (la_x32_gnu_pltenter): New function prototype.
45898 (la_x32_gnu_pltexit): Likewise.
45900 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45907 * configure.in (libc_cv_cc_nofma): Check for option to disable
45908 generation of FMA instructions.
45909 * configure: Regenerate.
45910 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45911 * sysdeps/ieee754/dbl-64/Makefile: New file.
45912 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45913 Remove brandred-fma4.
45914 (CFLAGS-brandred-fma4.c): Remove.
45915 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45916 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45918 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45921 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45923 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45924 LLONG_MAX != LONG_MAX.
45925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45926 (_fitoa_word): Likewise.
45927 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45928 LLONG_MAX != LONG_MAX.
45929 * stdio-common/_itowa.h: Include <_itoa.h>.
45930 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45931 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45932 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45933 only if not defined.
45934 (_ITOA_WORD_TYPE): Likewise.
45935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45936 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45938 2012-03-21 David S. Miller <davem@davemloft.net>
45940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45942 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45944 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45945 of x86_64 when setting libc_cv_slibdir, libdir and
45947 * sysdeps/unix/sysv/linux/configure: Regenerated.
45949 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45951 * manual/lang.texi (Old Varargs): Remove section.
45952 (How Variadic): Update menu.
45953 (va_start): Do not mention varargs.h.
45955 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45956 Joseph Myers <joseph@codesourcery.com>
45958 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45960 * configure: Regenerated.
45962 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45964 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45965 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45968 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45971 * Makefile (files-for-dist): Remove NOTES.
45972 (NOTES): Remove rule.
45973 * README: Don't refer to NOTES.
45974 * manual/creature.texi: Don't include macros.texi.
45975 * manual/intro.texi (creature.texi): Remove comment referring to
45978 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45979 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45980 * configure: Regenerated.
45981 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45982 LIBC_TRY_CC_OPTION.
45983 (libc_cv_as_i686): Likewise.
45984 (libc_cv_cc_avx): Likewise.
45985 (libc_cv_cc_sse2avx): Likewise.
45986 (libc_cv_cc_fma4): Likewise.
45987 (libc_cv_cc_novzeroupper): Likewise.
45988 * sysdeps/i386/configure: Regenerated.
45991 * sysdeps/i386/fpu/s_cexp.S: Remove.
45992 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45993 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45994 * math/libm-test.inc (cexp_test): Add more tests.
45995 * sysdeps/i386/fpu/libm-test-ulps: Update.
45996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45998 2012-03-21 Allan McRae <allan@archlinux.org>
46000 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46002 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46005 * math/w_exp2.c: Do not include <float.h>.
46006 (o_threshold, u_threshold): Remove.
46007 (__exp2): Calculate result before checking finiteness and calling
46009 * math/w_exp2f.c: Likewise.
46010 * math/w_exp2l.c: Likewise.
46011 * math/libm-test.inc (exp2_test): Require overflow exception for
46015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46016 range of signed 64-bit integers before using fistpll. Remove
46017 checks for whether integers fit in mantissa bits.
46018 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46019 the range of signed 32-bit integers before using fistpl. Remove
46020 checks for whether integers fit in mantissa bits.
46021 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46022 (__ieee754_powl): Test for y outside the range of signed 64-bit
46023 integers before using fistpll. Reduce 64-bit values to 63-bit
46025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46026 divide-by-zero is raised for zero to large negative powers.
46027 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46028 (__ieee754_powl): Test for y outside the range of signed 64-bit
46029 integers before using fistpll. Reduce 64-bit values to 63-bit
46031 * math/libm-test.inc (pow_test): Add more tests.
46033 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46035 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46036 <stdio-common/_itoa.h>.
46037 * debug/segfault.c: Likewise.
46038 * elf/dl-cache.c: Likewise.
46039 * elf/dl-minimal.c: Likewise.
46040 * elf/dl-misc.c: Likewise.
46041 * elf/dl-sysdep.c: Likewise.
46042 * elf/dl-version.c: Likewise.
46043 * elf/rtld.c: Likewise.
46044 * hurd/hurdsock.c: Likewise.
46045 * hurd/lookup-retry.c: Likewise.
46046 * malloc/malloc.c: Likewise.
46047 * malloc/mtrace.c: Likewise.
46048 * nscd/nscd_getgr_r.c: Likewise.
46049 * nscd/nscd_getpw_r.c: Likewise.
46050 * nscd/nscd_getserv_r.c: Likewise.
46051 * posix/getopt_init.c: Likewise.
46052 * posix/wordexp.c: Likewise.
46053 * stdio-common/_itoa.c: Likewise.
46054 * stdio-common/printf_fphex.c: Likewise.
46055 * stdio-common/vfprintf.c: Likewise.
46056 * string/_strerror.c: Likewise.
46057 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46058 * sysdeps/i386/i686/hp-timing.h: Likewise.
46059 * sysdeps/mach/_strerror.c: Likewise.
46060 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46061 * sysdeps/mach/hurd/sethostid.c: Likewise.
46062 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46063 * sysdeps/mach/xpg-strerror.c: Likewise.
46064 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46066 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46067 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46068 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46069 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46071 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46072 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46073 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46074 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46075 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46076 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46077 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46078 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46079 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46080 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46081 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46082 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46083 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46084 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46086 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46088 * stdio-common/_itoa.h: Moved to ...
46089 * sysdeps/generic/_itoa.h: Here.
46091 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46093 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46094 instead of "_itoa.h" and "_itowa.h".
46095 * stdio-common/vfprintf.: Likewise.
46097 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46099 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46101 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46102 (__signbit): Likwise.
46103 (llrintf): Likwise.
46106 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46108 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46111 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46113 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46114 OVERFLOW_EXCEPTION_OK.
46115 * math/libm-test.inc ("Philosophy"): Update comment about
46117 (OVERFLOW_EXCEPTION): Define.
46118 (OVERFLOW_EXCEPTION_OK): Likewise.
46119 (INVALID_EXCEPTION_OK): Renumber.
46120 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46121 (IGNORE_ZERO_INF_SIGN): Likewise.
46122 (test_exceptions): Handle FE_OVERFLOW.
46123 (exp10_test): Expect overflow exceptions.
46124 (exp2_test): Likewise.
46125 (expm1_test): Likewise.
46126 (nextafter_test): Likewise.
46127 (pow_test): Likewise.
46128 (scalbn_test): Likewise.
46129 (scalbln_test): Likewise.
46131 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46133 * sysdeps/x86_64/bits/atomic.h
46134 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46136 (atomic_exchange_acq): Likewise.
46137 (__arch_exchange_and_add_body): Likewise.
46138 (__arch_add_body): Likewise.
46139 (atomic_add_negative): Likewise.
46140 (atomic_add_zero): Likewise.
46142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46144 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46145 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46147 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46149 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46150 Check __x86_64__ instead of __WORDSIZE.
46152 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46154 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46156 2012-03-19 David S. Miller <davem@davemloft.net>
46158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46160 * sysdeps/sparc/fpu/fenv_private.h: New file.
46161 * sysdeps/sparc/fpu/math_private.h: Use it.
46162 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46164 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46165 (libc_feholdexcept_setroundl): Remove.
46166 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46168 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46169 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46173 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46174 int64_t instead of long int.
46175 (INSERT_WORDS64): Likwise.
46177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46179 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46180 _Unwind_GetCFA return to _Unwind_Ptr first.
46182 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46185 * math/s_clog.c: Include <float.h>.
46186 (__clog): Scale large or subnormal inputs.
46187 * math/s_clogf.c: Likewise.
46188 * math/s_clogl.c: Likewise.
46189 * math/s_clog10.c: Include <float.h>.
46190 (M_LOG10_2): Define.
46191 (__clog10): Scale large or subnormal inputs.
46192 * math/s_clog10f.c: Likewise.
46193 * math/s_clog10l.c: Likewise.
46194 * math/libm-test.inc (clog_test): Add more tests.
46195 (clog10_test): Likewise.
46196 * sysdeps/i386/fpu/libm-test-ulps: Update.
46197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46200 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46202 * math/libm-test.inc (atan2_test): Add another test.
46204 * Makerules (common-objdir-compile): Remove.
46205 * sysdeps/unix/Makefile (config-generated): Do not add
46206 $(unix-generated) to variable.
46207 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46208 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46210 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46212 [generic bits/local_lim.h] (before-compile): Do not append to
46214 [generic bits/local_lim.h] (common-generated): Likewise.
46215 [generic sys/param.h] (before-compile): Do not append to variable.
46216 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46217 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46218 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46219 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46221 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46222 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46223 [generic sys/param.h] ($(addprefix
46224 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46225 [generic sys/param.h] (common-generated): Do not append to
46227 [generic sys/param.h] (sysdep_headers): Likewise.
46228 [generic bits/errno.h] (before-compile): Do not append to
46230 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46232 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46233 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46234 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46235 [generic bits/errno.h] (common-generated): Do not append to
46237 [generic bits/ioctls.h] (before-compile): Do not append to
46239 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46241 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46242 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46243 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46245 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46246 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46247 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46248 [generic bits/ioctls.h] (common-generated): Do not append to
46250 [generic sys/syscall.h] (syscall.h): Remove variable.
46251 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46253 [generic sys/syscall.h] (before-compile): Do not append to
46255 [generic sys/syscall.h] (common-generated): Likewise.
46256 * sysdeps/unix/errnos-tmpl.c: Remove file.
46257 * sysdeps/unix/errnos.awk: Likewise.
46258 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46259 * sysdeps/unix/ioctls.awk: Likewise.
46260 * sysdeps/unix/mk-local_lim.c: Likewise.
46261 * sysdeps/unix/snarf-ioctls: Likewise.
46263 2012-03-19 Richard Henderson <rth@twiddle.net>
46265 * sysdeps/i386/fpu/fenv_private.h: New file.
46266 * sysdeps/i386/fpu/math_private.h: Use it.
46267 (math_opt_barrier, math_force_eval): Remove.
46268 (libc_feholdexcept_setround_53bit): Remove.
46269 (libc_feupdateenv_53bit): Remove.
46270 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46271 (math_opt_barrier, math_force_eval): Remove.
46272 (libc_feholdexcept): Remove.
46273 (libc_feholdexcept_setround): Remove.
46274 (libc_fetestexcept, libc_fesetenv): Remove.
46275 (libc_feupdateenv_test): Remove.
46276 (libc_feupdateenv, libc_feholdsetround): Remove.
46277 (libc_feresetround): Remove.
46279 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46280 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46282 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46283 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46284 (libc_feupdateenv_testl): New.
46285 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46286 (libc_feupdateenv_testf): New.
46287 (libc_feupdateenv): Use libc_feupdateenv_test.
46288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46291 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46292 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46293 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46294 (libc_feresetround_noex): New.
46295 (libc_feresetround_noexf): New.
46296 (libc_feresetround_noexl): New.
46297 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46298 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46299 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46300 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46305 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46306 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46307 SET_RESTORE_ROUND_NOEX.
46308 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46309 SET_RESTORE_ROUND_NOEXF.
46310 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46311 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46312 (libc_feholdsetroundf): New.
46313 (libc_feresetround, libc_feresetroundf): New.
46315 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46316 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46317 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46319 * sysdeps/generic/math_private.h: Include <fenv.h>.
46320 (default_libc_feholdexcept): New.
46321 (default_libc_feholdexcept_setround): New.
46322 (default_libc_fesetenv, default_libc_feupdateenv): New.
46323 (libc_feholdexcept): Only define if undefined.
46324 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46325 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46326 (libc_feholdexcept_setroundl): Likewise.
46327 (libc_feholdexcept_setround_53bit): Likewise.
46328 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46329 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46330 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46331 (libc_feupdateenv_53bit): Likewise.
46332 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46333 (libc_feholdexcept): Convert from macro to inline function.
46334 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46335 (libc_fesetenv, libc_feupdateenv): Likewise.
46337 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46338 not previously defined.
46339 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46340 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46341 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46342 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46343 * sysdeps/ieee754/flt-32/math_private.h: New file.
46344 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46345 math_private.h below SET_FLOAT_WORD.
46346 (__isnan, __isinf_ns, __finite): Remove.
46347 (__isnanf, __isinf_nsf, __finitef): Remove.
46349 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46353 2012-03-17 David S. Miller <davem@davemloft.net>
46356 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46359 2012-03-16 David S. Miller <davem@davemloft.net>
46361 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46365 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46367 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46368 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46369 sysdep_routines when subdir is sysvipc.
46370 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46371 __getshmlba helper.
46373 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46375 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46377 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46380 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46383 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46384 (__lround): Renamed to ...
46385 (__llround): This. Replace long int with long long int.
46386 Define lround functions as aliases of llround functions.
46387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46391 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46392 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46393 adresses to uintptr_t. Replace "long int" and "unsigned long
46394 int" with "greg_t" on va_arg.
46396 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46398 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46399 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46401 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46402 Move e_machine check before EI_CLASS check. Handle x32
46403 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46404 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46405 SKIP_EM_IA_64 and include
46406 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46408 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46409 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46410 (add_system_dir): New macro.
46412 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46413 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46415 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46426 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46428 * math/w_j0f.c (j0f): Likewise.
46430 * math/w_j0l.c (__j0l): Likewise.
46432 * math/w_j1.c (j1): Likewise.
46434 * math/w_j1f.c (j1f): Likewise.
46436 * math/w_j1l.c (__j1l): Likewise.
46438 * math/w_jn.c (jn): Likewise.
46440 * math/w_jnf.c (jnf): Likewise.
46442 * math/w_jnl.c (__jnl): Likewise.
46444 * math/libm-test.inc (j0_test): Add more tests.
46445 (j1_test): Likewise.
46446 (jn_test): Likewise. Add trailing semicolon to existing test.
46447 (y0_test): Likewise.
46448 (y1_test): Likewise.
46449 * sysdeps/i386/fpu/libm-test-ulps: Update.
46450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46454 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46455 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46456 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46457 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46458 (__tanl): Set errno for infinite argument.
46459 * sysdeps/i386/fpu/mptan.c: Remove.
46460 * sysdeps/i386/fpu/s_tan.S: Likewise.
46461 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46462 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46463 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46464 * math/libm-test.inc (tan_test): Add more tests and enable more
46465 tests for double and long double.
46466 * sysdeps/i386/fpu/libm-test-ulps: Update.
46467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46469 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46471 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46472 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46474 2012-03-16 Roland McGrath <roland@hack.frob.com>
46476 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46477 * configure.in: Use it for both main tree and add-ons.
46478 * configure: Regenerated.
46480 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46482 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46484 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46486 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46490 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46491 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46492 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46493 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46494 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46496 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46498 != 0 for prec == 2.
46499 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46500 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46501 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46502 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46503 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46504 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46505 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46506 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46507 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46508 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46509 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46510 * math/libm-test.inc (cos_test): Add more tests and enable more
46511 tests for long double.
46512 (sin_test): Likewise.
46513 (sincos_test): Likewise.
46514 * sysdeps/i386/fpu/libm-test-ulps: Update.
46515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46517 2012-03-16 David S. Miller <davem@davemloft.net>
46519 * sysdeps/sparc/fpu/math_private.h: New file.
46521 2012-03-15 David S. Miller <davem@davemloft.net>
46523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46537 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46538 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46540 * sysdeps/sparc/sparc-ifunc.h: New file.
46541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46586 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46588 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46592 2012-03-15 Andreas Jaeger <aj@suse.de>
46595 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46596 ieee754/flt-32 implementation for sin, cos and sincos.
46597 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46598 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46599 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46600 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46601 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46602 ieee754/flt-32 implementation for tan.
46604 * math/libm-test.inc (cos_test): Enable some large input tests for
46606 (sin_test): Likewise.
46607 (sincos_test): Likewise.
46608 (tan_test): Add tests for large input.
46610 * sysdeps/i386/fpu/libm-test-ulps: Update.
46612 2012-03-15 Andreas Jaeger <aj@suse.de>
46615 * math/libm-test.inc (cos_test): Add more test cases.
46616 (sin_test): Likewise.
46617 (sincos_test): Likewise.
46619 2012-03-15 Andreas Jaeger <aj@suse.de>
46622 * math/libm-test.inc (cos_test): Add a test case for large input
46624 (sin_test): Likewise.
46625 (sincos_test): Likewise.
46627 2012-03-15 Andreas Jaeger <aj@suse.de>
46628 Joseph Myers <joseph@codesourcery.com>
46631 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46632 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46633 * sysdeps/i386/fpu/branred.c: Likewise.
46634 * sysdeps/i386/fpu/dosincos.c: Likewise.
46635 * sysdeps/i386/fpu/mpa.c: Likewise.
46636 * sysdeps/i386/fpu/s_cos.S: Likewise.
46637 * sysdeps/i386/fpu/s_sin.S: Likewise.
46638 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46639 * sysdeps/i386/fpu/sincos32.c: Likewise.
46641 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46643 (libc_feupdateenv_53bit): Define.
46644 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46646 (libc_feupdateenv_53bit): Define.
46648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46649 53 bit (without extend i386 double precision).
46651 * math/libm-test.inc (sincos_test): Add tests for large input.
46655 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46657 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46661 2012-03-15 David S. Miller <davem@davemloft.net>
46663 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46664 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46665 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46666 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46691 fmin/fmax sysdep routines.
46692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46694 2012-03-14 David S. Miller <davem@davemloft.net>
46696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46773 * sysdeps/sparc/configure.in: New file.
46774 * sysdeps/sparc/configure: Generate.
46775 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46776 * configure: Regenerate.
46777 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46778 * config.make.in (have-as-vis3): New.
46779 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46780 available use -Av9d instead of -Av9a.
46781 * sysdeps/sparc/sparc64/Makefile: Likewise.
46782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46797 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46798 fzeros/fnegs to load 0x80000000 into a float register instead of
46800 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46802 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46806 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46807 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46808 ($(inst_includedir)/bits/syscall.h): Remove rule.
46809 ($(objpfx)bits/syscall.d): Include instead of
46810 $(objpfx)syscall-list.d.
46811 (generated): Change syscall-list.h and syscall-list.d to
46812 bits/syscall.h and bits/syscall.d.
46814 2012-03-14 Roland McGrath <roland@hack.frob.com>
46817 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46819 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46822 * math/s_csqrt.c: Include <float.h>.
46823 (__csqrt): Scale large or subnormal inputs.
46824 * math/s_csqrtf.c: Likewise.
46825 * math/s_csqrtl.c: Likewise.
46826 * math/libm-test.inc (csqrt_test): Add more tests.
46827 * sysdeps/i386/fpu/libm-test-ulps: Update.
46828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46831 * math/libm-test.inc (hypot_test): Add more tests.
46833 2012-03-13 David S. Miller <davem@davemloft.net>
46836 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46837 double-precision for the calculation instead of scaling.
46839 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46841 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46842 manipulate bits before adding and subtracting TWO52[sx].
46843 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46848 2012-03-13 David S. Miller <davem@davemloft.net>
46850 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46851 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46853 rtld-global-offsets.h
46854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46856 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46859 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46861 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46862 'err' in the ifdef scope in which it is actually used.
46864 * nss/nss_db/db-init.c: Include string.h
46866 2012-03-12 David S. Miller <davem@davemloft.net>
46868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46869 masking out of the most significant byte of random value used.
46870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46871 Fix coding style in previous change.
46873 * sysdeps/unix/sysv/linux/kernel-features.h
46874 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46875 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46877 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46880 2012-03-11 David S. Miller <davem@davemloft.net>
46882 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46883 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46884 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46885 for 'resultvar' otherwise things get truncated on 64-bit.
46887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46888 Fix masking out of the most significant byte of random value used.
46890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46892 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46896 2012-03-09 David S. Miller <davem@davemloft.net>
46898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46899 variables with appropriate CPP guards.
46900 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46901 from the frame pointer, not the stack pointer. Correct layout
46902 comments. Fix test on resulting framesize and the management of
46903 the outregs buffer for pltexit. Preserve floating point return
46904 values across _dl_call_pltexit call.
46905 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46906 framesize and the management of the outregs buffer for pltexit.
46907 Preserve floating point return values across _dl_call_pltexit
46909 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46910 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46911 (la_sparc64_gnu_pltexit): New functions.
46912 (print_exit): Fix format string for return register value.
46914 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46916 * sunrpc/Makefile (others): Add rpcgen.
46917 ($(objpfx)rpcgen): Remove special build rule and dependency on
46919 * sunrpc/rpcgen.c: New file.
46921 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46924 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46925 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46926 * sysdeps/i386/crti.S: Likewise.
46927 * sysdeps/i386/crtn.S: Likewise.
46928 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46929 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46930 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46931 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46932 * sysdeps/sh/crti.S: Likewise.
46933 * sysdeps/sh/crtn.S: Likewise.
46934 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46937 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46939 * locale/programs/locfile-kw.gperf: Likewise.
46940 * locale/programs/charmap-kw.h: Regenerated.
46941 * locale/programs/locfile-kw.h: Likewise.
46944 * intl/plural.y: Replace FSF snail mail address with URL.
46945 * intl/plural.c: Regenerated.
46947 2012-03-09 Richard Henderson <rth@twiddle.net>
46949 * include/math_private.h: Remove file.
46950 * math/math_private.h: Move file ...
46951 * sysdeps/generic/math_private.h: ... here.
46953 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46954 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46955 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46957 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46958 and <math_private.h>.
46959 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46960 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46961 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46962 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46963 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46964 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46965 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46968 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46970 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46971 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46972 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46973 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46974 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46975 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46976 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46977 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46978 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46980 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46981 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46983 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46991 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46992 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46993 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46994 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46995 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46996 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46997 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46999 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47000 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47001 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47002 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47003 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47004 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47005 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47006 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47009 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47010 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47011 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47012 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47013 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47015 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47016 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47017 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47018 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47019 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47047 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47048 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47049 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47050 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47051 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47052 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47053 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47054 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47055 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47056 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47057 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47058 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47059 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47060 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47061 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47062 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47063 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47064 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47065 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47066 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47067 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47068 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47069 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47070 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47071 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47072 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47073 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47074 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47075 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47076 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47077 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47078 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47079 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47080 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47081 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47082 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47083 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47085 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47086 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47087 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47088 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47089 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47090 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47091 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47092 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47093 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47094 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47095 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47096 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47097 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47098 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47099 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47100 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47101 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47102 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47103 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47104 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47105 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47107 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47108 * sysdeps/ieee754/k_standard.c: Likewise.
47109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47116 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47117 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47118 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47119 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47120 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47121 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47122 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47123 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47124 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47125 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47128 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47129 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47130 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47131 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47132 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47133 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47135 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47136 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47137 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47138 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47139 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47140 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47141 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47142 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47143 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47146 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47147 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47148 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47224 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47228 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47229 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47231 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47236 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47241 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47258 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47259 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47269 * sysdeps/ieee754/s_lib_version.c: Likewise.
47270 * sysdeps/ieee754/s_matherr.c: Likewise.
47271 * sysdeps/ieee754/s_signgam.c: Likewise.
47272 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47273 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47274 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47275 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47276 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47277 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47278 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47279 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47280 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47281 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47282 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47283 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47284 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47285 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47286 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47287 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47288 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47289 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47290 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47294 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47296 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47297 * sunrpc/rpc_main.c: Likewise.
47298 * sunrpc/rpc_svcout.c: Likewise.
47300 2012-03-09 David S. Miller <davem@davemloft.net>
47302 * include/math_private.h: New file.
47304 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47306 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47307 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47308 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47309 from <bits/socket_type.h>.
47310 (enum __socket_type): Don't define here.
47311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47313 bits/socket_type.h.
47316 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47317 checking __USE_GNU.
47319 * Makerules ($(inst_includedir)/%.h): New rule.
47320 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47321 (install-others): Remove variable setting.
47322 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47324 2012-03-08 Richard Henderson <rth@twiddle.net>
47326 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47327 from macro to inline function; merge with the
47328 !__LIBC_INTERNAL_MATH_INLINES version.
47329 (__ieee754_sqrtf): Likewise.
47331 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47332 to inline function.
47333 (__rintf, __floor, __floorf): Likewise.
47335 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47336 macro to inline function.
47337 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47339 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47340 not <math/math_private.h>.
47342 2012-03-08 David S. Miller <davem@davemloft.net>
47344 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47346 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47348 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47350 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47352 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47353 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47355 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47357 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47358 be defined individually, they must be defined as a block. Define
47359 S for printing a string instead of hidint the different by using a
47360 macro for adding the 'l'.
47361 * stdio-common/tst-fphex-wide.c: Adjust.
47363 2012-03-07 Marek Polacek <polacek@redhat.com>
47365 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47367 2012-03-08 Marek Polacek <polacek@redhat.com>
47370 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47371 * stdio-common/tst-fphex.c: Define a few macros to make the
47372 test reusable. Use them.
47373 * stdio-common/tst-fphex-wide.c: New file.
47375 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47378 * manual/macros.texi (gnusystems): New macro.
47379 (nongnusystems): Likewise.
47380 (gnulinuxhurdsystems): Likewise.
47381 (gnuhurdsystems): Likewise..
47382 (gnulinuxsystems): Likewise.
47383 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47384 variants of the GNU system, not "GNU system".
47385 * manual/conf.texi: Likewise.
47386 * manual/errno.texi: Likewise. Update example of errno macro
47388 * manual/filesys.texi: Likewise.
47389 (getumask): Document as specific to GNU/Hurd.
47390 * manual/install.texi: Likewise. Reword some references to
47392 * manual/intro.texi: Likewise.
47393 * manual/io.texi: Likewise.
47394 (File Name Portability): Detail which constraints are inapplicable
47395 to all GNU systems and which are only inapplicable to GNU/Hurd.
47396 * manual/job.texi: Likewise.
47397 * manual/llio.texi: Likewise.
47398 (O_NOCTTY): Document as present on GNU/Linux.
47399 * manual/maint.texi: Likewise.
47400 * manual/memory.texi: Likewise.
47401 * manual/pattern.texi: Likewise.
47402 * manual/pipe.texi: Likewise.
47403 * manual/process.texi: Likewise.
47404 * manual/resource.texi: Likewise.
47405 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47407 * manual/setjmp.texi: Likewise.
47408 * manual/signal.texi: Likewise.
47409 * manual/startup.texi: Likewise.
47410 * manual/stdio.texi: Likewise.
47411 * manual/terminal.texi: Likewise.
47412 (ONLCR): Document as POSIX.
47413 (OXTABS): Document availability on GNU/Linux as XTABS.
47414 (ONOEOT): Document availability separately from other bits.
47415 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47416 * manual/time.texi: Likewise.
47417 * manual/users.texi: Likewise.
47418 * INSTALL: Regenerated.
47419 * sysdeps/gnu/errlist.c: Regenerated.
47421 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47422 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47423 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47425 * configure: Regenerated.
47427 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47429 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47430 default includes instead of AC_HEADER_CHECK.
47431 * sysdeps/i386/configure: Regenerated.
47434 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47435 * math/s_cacoshf.c (__cacoshf): Likewise.
47436 * math/s_cacoshl.c (__cacoshl): Likewise.
47437 * math/s_casinh.c (__casinh): Set signs of result from argument.
47438 * math/s_casinhf.c (__casinhf): Likewise.
47439 * math/s_casinhl.c (__casinhl): Likewise.
47440 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47441 (casinh_test): Add more tests.
47442 * sysdeps/i386/fpu/libm-test-ulps: Update.
47443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47445 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47447 * po/zh_TW.po: Update from translation team.
47449 * login/Makefile (distribute): Remove variable.
47450 * catgets/Makefile: Likewise.
47451 * mach/Makefile: Likewise.
47452 * malloc/Makefile: Likewise.
47453 * misc/Makefile: Likewise.
47454 * iconv/Makefile: Likewise.
47455 * nscd/Makefile: Likewise.
47456 * hurd/Makefile: Likewise.
47457 * manual/Makefile: Likewise.
47458 * locale/Makefile: Likewise.
47459 * intl/Makefile: Likewise.
47460 * conform/Makefile: Likewise.
47461 * nss/Makefile: Likewise.
47462 * time/Makefile: Likewise.
47463 * soft-fp/Makefile: Likewise.
47464 * dirent/Makefile: Likewise.
47465 * gmon/Makefile: Likewise.
47466 * po/Makefile: Likewise.
47467 * rt/Makefile: Likewise.
47468 * socket/Makefile: Likewise.
47469 * math/Makefile: Likewise.
47470 * signal/Makefile: Likewise.
47471 * debug/Makefile: Likewise.
47472 * elf/Makefile: Likewise.
47473 * timezone/Makefile: Likewise.
47474 * stdlib/Makefile: Likewise.
47475 * iconvdata/Makefile: Likewise.
47476 * sunrpc/Makefile: Likewise.
47477 * io/Makefile: Likewise.
47478 * argp/Makefile: Likewise.
47479 * inet/Makefile: Likewise.
47480 * hesiod/Makefile: Likewise.
47481 * grp/Makefile: Likewise.
47482 * csu/Makefile: Likewise.
47483 * wctype/Makefile: Likewise.
47484 * crypt/Makefile: Likewise.
47485 * libio/Makefile: Likewise.
47486 * string/Makefile: Likewise.
47487 * nis/Makefile: Likewise.
47488 * resolv/Makefile: Likewise.
47489 * stdio-common/Makefile: Likewise.
47490 * wcsmbs/Makefile: Likewise.
47491 * dlfcn/Makefile: Likewise.
47492 * posix/Makefile: Likewise.
47495 * timezone/Makefile: Don't install timezone files, just the programs
47498 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47500 * nss/databases.def: Add missing gshadow entry.
47502 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47504 2012-03-06 Marek Polacek <polacek@redhat.com>
47507 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47508 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47509 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47510 * stdio-common/tst-long-dbl-fphex.c: New file.
47512 2012-03-06 David S. Miller <davem@davemloft.net>
47514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47515 (set_obp_int): New function.
47516 (get_obp_int): New function.
47517 (__get_clockfreq_via_dev_openprom): Likewise.
47518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47519 Avoid unused variable warnings on 'val' and use builtin_expect.
47520 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47522 (INLINE_CLONE_SYSCALL): Likewise.
47524 2012-03-05 David S. Miller <davem@davemloft.net>
47526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47528 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47532 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47533 only for |x| >= 40.
47534 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47536 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47539 Replace gettimeofday with __vdso_gettimeofday.
47541 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47542 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47543 __vdso_clock_gettime and __vdso_getcpu.
47545 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47546 time with __vdso_time.
47548 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47550 * manual/lang.texi (size_t): Note types to which size_t may be
47551 equivalent with the GNU C Library, but do not describe when
47552 differences between them are significant.
47554 2012-03-05 Andreas Jaeger <aj@suse.de>
47556 * sysdeps/i386/fpu/libm-test-ulps: Update.
47558 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47561 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47562 (__ieee754_pow): Save and restore rounding mode and use
47563 round-to-nearest for main computations.
47564 * math/libm-test.inc (pow_test_tonearest): New function.
47565 (pow_test_towardzero): Likewise.
47566 (pow_test_downward): Likewise.
47567 (pow_test_upward): Likewise.
47568 (main): Call the new functions.
47569 * sysdeps/i386/fpu/libm-test-ulps: Update.
47570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47573 * math/libm-test.inc (cosh_test_tonearest): New function.
47574 (cosh_test_towardzero): Likewise.
47575 (cosh_test_downward): Likewise.
47576 (cosh_test_upward): Likewise.
47577 (sinh_test_tonearest): Likewise.
47578 (sinh_test_towardzero): Likewise.
47579 (sinh_test_downward): Likewise.
47580 (sinh_test_upward): Likewise.
47581 (main): Call the new functions.
47582 * sysdeps/i386/fpu/libm-test-ulps: Update.
47583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47585 2012-03-05 Tom de Vries <tom@codesourcery.com>
47587 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47588 default stack guard is set in last bytes.
47589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47591 2012-03-05 Kees Cook <keescook@chromium.org>
47593 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47596 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47597 possibly allocate from heap instead of stack.
47598 * stdio-common/bug-vfprintf-nargs.c: New file.
47599 * stdio-common/Makefile (tests): Add nargs overflow test.
47601 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47605 2012-03-03 Marek Polacek <polacek@redhat.com>
47607 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47608 * math/math_private.h: Likewise.
47609 * stdlib/tst-strtod.c: Likewise.
47610 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47611 * sysdeps/x86_64/bits/atomic.h: Likewise.
47613 2012-03-02 David S. Miller <davem@davemloft.net>
47615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47619 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47620 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47621 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47622 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47624 2012-03-02 Roland McGrath <roland@hack.frob.com>
47627 * manual/examples/README: New file, says the example source files
47628 can be used under GPL>=2.
47629 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47630 line containing just "*/".
47631 * manual/examples/add.c: Add copyright header (GPL>=2).
47632 * manual/examples/argp-ex1.c: Likewise.
47633 * manual/examples/argp-ex2.c: Likewise.
47634 * manual/examples/argp-ex3.c: Likewise.
47635 * manual/examples/argp-ex4.c: Likewise.
47636 * manual/examples/atexit.c: Likewise.
47637 * manual/examples/db.c: Likewise.
47638 * manual/examples/dir.c: Likewise.
47639 * manual/examples/dir2.c: Likewise.
47640 * manual/examples/execinfo.c: Likewise.
47641 * manual/examples/filecli.c: Likewise.
47642 * manual/examples/filesrv.c: Likewise.
47643 * manual/examples/fmtmsgexpl.c: Likewise.
47644 * manual/examples/genpass.c: Likewise.
47645 * manual/examples/inetcli.c: Likewise.
47646 * manual/examples/inetsrv.c: Likewise.
47647 * manual/examples/isockad.c: Likewise.
47648 * manual/examples/longopt.c: Likewise.
47649 * manual/examples/memopen.c: Likewise.
47650 * manual/examples/memstrm.c: Likewise.
47651 * manual/examples/mkfsock.c: Likewise.
47652 * manual/examples/mkisock.c: Likewise.
47653 * manual/examples/mygetpass.c: Likewise.
47654 * manual/examples/pipe.c: Likewise.
47655 * manual/examples/popen.c: Likewise.
47656 * manual/examples/rprintf.c: Likewise.
47657 * manual/examples/search.c: Likewise.
47658 * manual/examples/select.c: Likewise.
47659 * manual/examples/setjmp.c: Likewise.
47660 * manual/examples/sigh1.c: Likewise.
47661 * manual/examples/sigusr.c: Likewise.
47662 * manual/examples/stpcpy.c: Likewise.
47663 * manual/examples/strdupa.c: Likewise.
47664 * manual/examples/strftim.c: Likewise.
47665 * manual/examples/strncat.c: Likewise.
47666 * manual/examples/subopt.c: Likewise.
47667 * manual/examples/swapcontext.c: Likewise.
47668 * manual/examples/termios.c: Likewise.
47669 * manual/examples/testopt.c: Likewise.
47670 * manual/examples/testpass.c: Likewise.
47671 * manual/examples/timeval_subtract.c: Likewise.
47674 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47676 * manual/timeval_subtract.c.texi: ... here, new file.
47678 2012-03-02 David S. Miller <davem@davemloft.net>
47680 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47682 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47685 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47686 (__sin): Save and restore rounding mode and use round-to-nearest
47687 for all computations.
47688 (__cos): Save and restore rounding mode and use round-to-nearest
47689 for all computations.
47690 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47692 (tan): Save and restore rounding mode and use round-to-nearest for
47694 * math/libm-test.inc (cos_test_tonearest): New function.
47695 (cos_test_towardzero): Likewise.
47696 (cos_test_downward): Likewise.
47697 (cos_test_upward): Likewise.
47698 (sin_test_tonearest): Likewise.
47699 (sin_test_towardzero): Likewise.
47700 (sin_test_downward): Likewise.
47701 (sin_test_upward): Likewise.
47702 (tan_test_tonearest): Likewise.
47703 (tan_test_towardzero): Likewise.
47704 (tan_test_downward): Likewise.
47705 (tan_test_upward): Likewise.
47706 (main): Call the new functions.
47707 * sysdeps/i386/fpu/libm-test-ulps: Update.
47708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47711 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47712 small n, then large n, before computing and testing k+n.
47713 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47718 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47719 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47722 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47723 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47724 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47725 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47726 * math/libm-test.inc (scalbn_test): Add more tests.
47727 (scalbln_test): Likewise.
47729 * manual/filesys.texi (mode_t): Describe constraints on size and
47730 signedness, not exact equivalence to a particular type.
47732 (ino64_t): Likewise.
47734 (nlink_t): Likewise.
47735 (blkcnt_t): Likewise.
47736 (blkcnt64_t): Likewise.
47737 * manual/llio.texi (off_t): Likewise.
47740 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47741 (__ieee754_exp): Save and restore rounding mode and use
47742 round-to-nearest for all computations.
47743 * math/libm-test.inc (exp_test_tonearest): New function.
47744 (exp_test_towardzero): Likewise.
47745 (exp_test_downward): Likewise.
47746 (exp_test_upward): Likewise.
47747 (main): Call the new functions.
47748 * sysdeps/i386/fpu/libm-test-ulps: Update.
47749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751 2012-03-01 Chris Demetriou <cgd@google.com>
47753 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47754 have predictable order.
47756 2012-03-01 David S. Miller <davem@davemloft.net>
47758 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47760 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47761 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47762 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47763 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47765 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47766 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47767 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47769 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47770 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47771 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47772 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47773 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47777 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47778 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47779 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47781 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47782 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47783 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47784 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47785 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47788 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47789 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47790 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47791 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47794 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47795 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47797 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47798 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47799 * sysdeps/sparc/elf/configure: Regenerated.
47801 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47803 * configure.in (AS, LD): Require binutils 2.20 or later.
47804 * configure: Regenerated.
47805 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47806 as required minimum version.
47807 * INSTALL: Regenerated.
47811 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47812 before squaring exponent.
47813 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47814 bottom long double and 27 bits of top long double before squaring
47816 * math/libm-test.inc (erfc_test): Add more tests.
47817 * sysdeps/i386/fpu/libm-test-ulps: Update.
47818 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47821 2012-03-01 Kai Tietz <ktietz@redhat.com>
47823 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47824 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47825 containing bit-fields.
47826 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47827 * soft-fp/single.h (_FP_UNION_S): Likewise.
47828 * soft-fp/double.h (_FP_UNION_D): Likewise.
47830 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47833 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47834 not include ../strcmp.S.
47835 [USE_AS_STRNCASECMP_L]: Likewise.
47836 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47837 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47838 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47839 (__strncasecmp_l_ia32): Define as alias to
47840 __strncasecmp_l_nonascii.
47843 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47844 * sysdeps/i386/fpu/libm-test-ulps: Update.
47845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47847 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47850 2012-02-29 Jeff Law <law@redhat.com>
47852 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47853 out of bounds read.
47855 2012-02-29 Marek Polacek <polacek@redhat.com>
47858 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47859 * elf/Makefile: Add rules to run tst-unused-dep.out.
47861 2012-02-28 David S. Miller <davem@davemloft.net>
47863 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47864 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47867 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47868 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47870 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47872 * math/libm-test.inc (llround_test): Move one test from
47873 lround_test. Use TEST_f_L in moved test.
47874 (lround_test): Move misplaced test to llround_test. Add testcase
47877 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47879 * sysdeps/x86_64/fpu/e_expf.S: New file.
47880 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47882 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47885 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47886 of remain_len that may cause incomplete multi-byte character and
47888 * posix/bug-regex33.c: New file.
47889 * posix/Makefile (tests): Add bug-regex33.
47891 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47893 * manual/macros.texi: New file.
47894 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47895 * manual/libc.texinfo: Include macros.texi.
47896 * manual/creatute.texi: Likewise.
47897 * manual/install.texi: Likewise.
47898 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47899 @glibcadj{} in references to the GNU C Library.
47900 * manual/charset.texi: Likewise.
47901 * manual/conf.texi: Likewise.
47902 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47903 when not using those macros.
47904 * manual/creature.texi: Likewise.
47905 * manual/crypt.texi: Likewise.
47906 * manual/errno.texi: Likewise.
47907 * manual/filesys.texi: Likewise.
47908 * manual/header.texi: Likewise.
47909 * manual/install.texi: Likewise.
47910 * manual/intro.texi: Likewise.
47911 * manual/io.texi: Likewise.
47912 * manual/job.texi: Likewise.
47913 * manual/lang.texi: Likewise.
47914 * manual/libc.texiinfo: Likewise.
47915 * manual/llio.texi: Likewise.
47916 * manual/locale.texi: Likewise.
47917 * manual/maint.texi: Likewise.
47918 * manual/math.texi: Likewise.
47919 * manual/memory.texi: Likewise.
47920 * manual/message.texi: Likewise.
47921 * manual/nss.texi: Likewise.
47922 * manual/pattern.texi: Likewise.
47923 * manual/process.texi: Likewise.
47924 * manual/resource.texi: Likewise.
47925 * manual/search.texi: Likewise.
47926 * manual/setjmp.texi: Likewise.
47927 * manual/signal.texi: Likewise.
47928 * manual/socket.texi: Likewise.
47929 * manual/startup.texi: Likewise.
47930 * manual/stdio.texi: Likewise.
47931 * manual/string.texi: Likewise.
47932 * manual/sysinfo.texi: Likewise.
47933 * manual/syslog.texi: Likewise.
47934 * manual/terminal.texi: Likewise.
47935 * manual/time.texi: Likewise.
47936 * manual/users.texi: Likewise.
47937 * INSTALL: Regenerated.
47938 * NOTES: Regenerated.
47939 * sysdeps/gnu/errlist.c: Regenerated.
47941 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47943 * include/dirent.h: Include <dirstream.h> before
47946 2012-02-28 David S. Miller <davem@davemloft.net>
47948 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47949 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47950 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47951 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47953 2012-02-27 David S. Miller <davem@davemloft.net>
47955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47957 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47958 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47961 frame pointer instead of stack pointer relative arg slot.
47962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47963 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47964 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47966 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47969 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47971 2012-02-27 David S. Miller <davem@davemloft.net>
47973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47977 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47978 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47979 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47980 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47982 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47984 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47985 later. Allow versions 5-9.
47986 * configure: Regenerated.
47987 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47988 required minimum version and 4.6 as recommended version. Do not
47989 mention bugs in GCC 2.7 and 2.8.
47990 * INSTALL: Regenerated.
47992 2012-02-27 David S. Miller <davem@davemloft.net>
47994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47998 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47999 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48000 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48001 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48004 manipulate bits before adding and subtracting TWO112[sx].
48005 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48007 2012-02-27 Roland McGrath <roland@hack.frob.com>
48010 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48011 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48012 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48013 being in POSIX, because they are in 1003.1-2008.
48015 * rt/tst-aio.c: Include <fcntl.h>.
48016 * rt/tst-aio7.c: Likewise.
48017 * rt/tst-aio64.c: Likewise.
48019 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48021 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48023 * manual/install.texi (--with-headers): Describe headers as
48024 interface headers, not private headers.
48025 (Specific advice for GNU/Linux systems): Describe use of headers
48026 from "make headers_install", not private headers from older
48028 * INSTALL: Regenerated.
48029 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48031 * sysdeps/unix/sysv/linux/configure: Regenerated.
48033 * manual/llio.texi (fclean): Remove documentation.
48035 * manual/Makefile (libc-texi-generated): New variable. Include
48037 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48038 $(libc-texi-generated), not duplicated list of files.
48039 (version.texi, stamp-version): New rules.
48040 (realclean): Remove $(libc-texi-generated), not individual files
48041 from that list. Do not remove dir-add.texinfo.
48042 * manual/libc.texinfo: Comment out uses of edition numbers and
48043 references to printed manual. Remove last-updated dates.
48044 (EDITION): Comment out.
48046 (VERSION, UPDATED): Remove.
48047 (version.texi): Include.
48049 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48051 * sysdeps/posix/spawni.c: Include <signal.h>.
48052 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48053 * sysdeps/pthread/aio_fsync.c: Likewise.
48055 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48057 * conform/Makefile (tests): Run only when not cross-compiling and
48058 when fast-check is not defined.
48060 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48061 * conform/data/limits.h-data: Fixes for POSIX2008.
48062 * conform/run-conformtest.sh: Run all tests.
48063 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48065 * include/bits/dlfcn.h: Likewise.
48066 * include/langinfo.h: Likewise.
48067 * include/monetary.h: Likewise.
48068 * include/sys/poll.h: Likewise.
48070 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48072 * posix/spawn.h: Define __need_sigset_t.
48073 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48074 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48075 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48076 to get sigevent_t only.
48077 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48078 only for __USE_GNU.
48079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48080 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48081 process_vm_writev only for __USE_GNU.
48082 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48084 * conform/Makefile: For now ignore errors from run-conformtest.
48085 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48086 POSIX to avoid namespace pollution. Don't prepend headers.
48087 * conform/data/aio.h-data: Fixes for POSIX testing.
48088 * conform/data/fcntl.h-data: Likewise.
48089 * conform/data/glob.h-data: Likewise.
48090 * conform/data/grp.h-data: Likewise.
48091 * conform/data/pthread.h-data: Likewise.
48092 * conform/data/pwd.h-data: Likewise.
48093 * conform/data/signal.h-data: Likewise.
48094 * conform/data/spawn.h-data: Likewise.
48095 * conform/data/stdio.h-data: Likewise.
48096 * conform/data/stdlib.h-data: Likewise.
48097 * conform/data/stropts.h-data: Likewise.
48098 * conform/data/sys/mman.h-data: Likewise.
48099 * conform/data/sys/stat.h-data: Likewise.
48100 * conform/data/sys/types.h-data: Likewise.
48101 * conform/data/sys/wait.h-data: Likewise.
48102 * conform/data/time.h-data: Likewise.
48103 * conform/data/unistd.h-data: Likewise.
48104 * conform/data/utime.h-data: Likewise.
48106 * io/sys/stat.h: fchmod was always in POSIX.
48107 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48108 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48109 * rt/aio.h: Define __need_timespec before including <time.h>.
48110 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48111 struct. Add forward declaration of pthread_attr_t and use it in
48113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48115 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48116 always remove CLK_TCK definition.
48118 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48120 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48122 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48124 * conform/run-conformtest.sh: New file.
48125 * conform/Makefile: Run run-conformtest for tests.
48126 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48129 * conform/data/uchar.h-data: New file.
48130 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48131 * conform/data/arpa/inet.h-data: Likewise.
48132 * conform/data/assert.h-data: Likewise.
48133 * conform/data/complex.h-data: Likewise.
48134 * conform/data/cpio.h-data: Likewise.
48135 * conform/data/ctype.h-data: Likewise.
48136 * conform/data/dirent.h-data: Likewise.
48137 * conform/data/dlfcn.h-data: Likewise.
48138 * conform/data/errno.h-data: Likewise.
48139 * conform/data/fcntl.h-data: Likewise.
48140 * conform/data/float.h-data: Likewise.
48141 * conform/data/fmtmsg.h-data: Likewise.
48142 * conform/data/fnmatch.h-data: Likewise.
48143 * conform/data/ftw.h-data: Likewise.
48144 * conform/data/glob.h-data: Likewise.
48145 * conform/data/grp.h-data: Likewise.
48146 * conform/data/iconv.h-data: Likewise.
48147 * conform/data/inttypes.h-data: Likewise.
48148 * conform/data/langinfo.h-data: Likewise.
48149 * conform/data/libgen.h-data: Likewise.
48150 * conform/data/limits.h-data: Likewise.
48151 * conform/data/locale.h-data: Likewise.
48152 * conform/data/math.h-data: Likewise.
48153 * conform/data/monetary.h-data: Likewise.
48154 * conform/data/mqueue.h-data: Likewise.
48155 * conform/data/ndbm.h-data: Likewise.
48156 * conform/data/net/if.h-data: Likewise.
48157 * conform/data/netdb.h-data: Likewise.
48158 * conform/data/netinet/in.h-data: Likewise.
48159 * conform/data/nl_types.h-data: Likewise.
48160 * conform/data/poll.h-data: Likewise.
48161 * conform/data/pthread.h-data: Likewise.
48162 * conform/data/pwd.h-data: Likewise.
48163 * conform/data/regex.h-data: Likewise.
48164 * conform/data/sched.h-data: Likewise.
48165 * conform/data/search.h-data: Likewise.
48166 * conform/data/semaphore.h-data: Likewise.
48167 * conform/data/setjmp.h-data: Likewise.
48168 * conform/data/signal.h-data: Likewise.
48169 * conform/data/spawn.h-data: Likewise.
48170 * conform/data/stdarg.h-data: Likewise.
48171 * conform/data/stdio.h-data: Likewise.
48172 * conform/data/stdlib.h-data: Likewise.
48173 * conform/data/string.h-data: Likewise.
48174 * conform/data/strings.h-data: Likewise.
48175 * conform/data/stropts.h-data: Likewise.
48176 * conform/data/sys/ipc.h-data: Likewise.
48177 * conform/data/sys/mman.h-data: Likewise.
48178 * conform/data/sys/msg.h-data: Likewise.
48179 * conform/data/sys/resource.h-data: Likewise.
48180 * conform/data/sys/select.h-data: Likewise.
48181 * conform/data/sys/sem.h-data: Likewise.
48182 * conform/data/sys/shm.h-data: Likewise.
48183 * conform/data/sys/socket.h-data: Likewise.
48184 * conform/data/sys/stat.h-data: Likewise.
48185 * conform/data/sys/statvfs.h-data: Likewise.
48186 * conform/data/sys/time.h-data: Likewise.
48187 * conform/data/sys/timeb.h-data: Likewise.
48188 * conform/data/sys/times.h-data: Likewise.
48189 * conform/data/sys/types.h-data: Likewise.
48190 * conform/data/sys/uio.h-data: Likewise.
48191 * conform/data/sys/un.h-data: Likewise.
48192 * conform/data/sys/utsname.h-data: Likewise.
48193 * conform/data/sys/wait.h-data: Likewise.
48194 * conform/data/syslog.h-data: Likewise.
48195 * conform/data/tar.h-data: Likewise.
48196 * conform/data/termios.h-data: Likewise.
48197 * conform/data/utime.h-data: Likewise.
48198 * conform/data/utmpx.h-data: Likewise.
48199 * conform/data/varargs.h-data: Likewise.
48200 * conform/data/wchar.h-data: Likewise.
48201 * conform/data/wctype.h-data: Likewise.
48202 * conform/data/wordexp.h-data: Likewise.
48204 * include/stropts.h: New file.
48205 * include/uchar.h: New file.
48206 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48207 * include/assert.h: Likewise.
48208 * include/ctype.h: Likewise.
48209 * include/dirent.h: Likewise.
48210 * include/dlfcn.h: Likewise.
48211 * include/fcntl.h: Likewise.
48212 * include/fnmatch.h: Likewise.
48213 * include/glob.h: Likewise.
48214 * include/grp.h: Likewise.
48215 * include/libio.h: Likewise.
48216 * include/locale.h: Likewise.
48217 * include/math.h: Likewise.
48218 * include/net/if.h: Likewise.
48219 * include/netdb.h: Likewise.
48220 * include/netinet/in.h: Likewise.
48221 * include/pthread.h: Likewise.
48222 * include/pwd.h: Likewise.
48223 * include/regex.h: Likewise.
48224 * include/sched.h: Likewise.
48225 * include/search.h: Likewise.
48226 * include/setjmp.h: Likewise.
48227 * include/signal.h: Likewise.
48228 * include/stdio.h: Likewise.
48229 * include/stdlib.h: Likewise.
48230 * include/string.h: Likewise.
48231 * include/sys/cdefs.h: Likewise.
48232 * include/sys/mman.h: Likewise.
48233 * include/sys/msg.h: Likewise.
48234 * include/sys/resource.h: Likewise.
48235 * include/sys/select.h: Likewise.
48236 * include/sys/socket.h: Likewise.
48237 * include/sys/stat.h: Likewise.
48238 * include/sys/statvfs.h: Likewise.
48239 * include/sys/time.h: Likewise.
48240 * include/sys/times.h: Likewise.
48241 * include/sys/uio.h: Likewise.
48242 * include/sys/utsname.h: Likewise.
48243 * include/sys/wait.h: Likewise.
48244 * include/termios.h: Likewise.
48245 * include/time.h: Likewise.
48246 * include/ulimit.h: Likewise.
48247 * include/unistd.h: Likewise.
48248 * include/utime.h: Likewise.
48249 * include/wchar.h: Likewise.
48250 * include/wctype.h: Likewise.
48251 * include/wordexp.h: Likewise.
48253 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48255 * time/time.h: TIME_UTC must be a macro.
48256 Make timespec_get available for ISO C11 only as well.
48258 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48260 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48261 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48263 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48265 * configure.in: Use -o not -a in test for unsupported multi-arch.
48267 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48269 * manual/texinfo.tex: Update to version 2012-01-19.16.
48271 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48273 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48275 2012-02-24 Roland McGrath <roland@hack.frob.com>
48278 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48279 * manual/fdl-1.3.texi: New file.
48280 * manual/fdl-1.1.texi: File removed.
48283 * manual/libc.texinfo (FDL_VERSION): New @set.
48284 Use it for mention of FDL in cover text.
48285 (Documentation License): Use it in @include file name.
48287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48288 Roland McGrath <roland@hack.frob.com>
48291 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48292 (not LONG_LONG_MAX and LONG_LONG_MIN.
48293 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48294 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48296 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48302 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48303 manipulate bits before adding and subtracting TWO23[sx].
48304 * math/libm-test.inc (nearbyint_test): Add more tests.
48306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48309 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48310 bits before adding and subtracting TWO23[sx].
48311 * math/libm-test.inc (rint_test): Add more tests.
48312 (rint_test_tonearest): Likewise.
48313 (rint_test_towardzero): Likewise.
48314 (rint_test_downward): Likewise.
48315 (rint_test_upward: Likewise.
48317 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48320 * include/stdc-predef.h: New file. Extracted from features.h.
48321 * include/features.h: Include stdc-predef.h.
48322 * Makefile (headers): Add stdc-predef.h.
48323 * CONFORMANCE (Compiler limitations): Update.
48325 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48327 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48329 2012-02-21 David S. Miller <davem@davemloft.net>
48331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48334 2012-02-20 David S. Miller <davem@davemloft.net>
48336 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48337 using a normal save/restore sequence, rather than allocating a
48338 dummy stack frame just to store a frame pointer and restore.
48339 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48341 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48343 * manual/install.texi: Fix stray word in line-wrapped comment.
48345 2012-02-20 David S. Miller <davem@davemloft.net>
48347 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48348 both binutils and gcc support GOTDATA.
48350 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48351 "rd %pc" in the PIC register setup sequences.
48353 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48354 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48355 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48356 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48357 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48359 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48360 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48362 (SYSCALL_ERROR_HANDLER): Likewise.
48363 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48364 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48366 (SYSCALL_ERROR_HANDLER): Likewise.
48368 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48369 (HAVE_GCC_GOTDATA): New.
48370 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48371 relocation support in both binutils and gcc.
48372 * sysdeps/sparc/elf/configure: Regenerate.
48374 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48375 * sysdeps/sparc/sparc32/elf/configure: Delete.
48376 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48377 * sysdeps/sparc/sparc64/elf/configure: Delete.
48378 * sysdeps/sparc/elf/configure.in: New file.
48379 * sysdeps/sparc/elf/configure: Generate.
48381 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48382 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48383 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48384 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48385 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48389 * manual/install.texi: Do not mention specific glibc version
48391 * manual/libc.texinfo (VERSION, UPDATED): Update.
48392 (@copying): Use @copyright{} and range of years.
48394 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48397 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48398 [crti.S not in sysdirs] (generated): Do not append.
48399 [crti.S not in sysdirs] (omit-deps): Likewise.
48400 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48401 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48402 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48403 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48404 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48406 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48407 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48408 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48409 * csu/defs.awk: Remove file.
48410 * sysdeps/generic/initfini.c: Likewise.
48411 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48413 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48416 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48418 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48419 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48420 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48422 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48423 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48425 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48426 (__EPOLL_PACKED): Define to empty if not defined by
48428 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48432 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48434 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48435 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48436 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48437 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48439 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48443 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48445 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48447 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48448 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48449 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48452 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48454 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48455 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48457 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48459 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48460 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48462 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48464 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48467 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48469 * math/w_acos.c: Use non-signaling floating-point comparisons.
48470 * math/w_acosf.c: Likewise.
48471 * math/w_acosh.c: Likewise.
48472 * math/w_acoshf.c: Likewise.
48473 * math/w_acoshl.c: Likewise.
48474 * math/w_acosl.c: Likewise.
48475 * math/w_asin.c: Likewise.
48476 * math/w_asinf.c: Likewise.
48477 * math/w_asinl.c: Likewise.
48478 * math/w_atanh.c: Likewise.
48479 * math/w_atanhf.c: Likewise.
48480 * math/w_atanhl.c: Likewise.
48481 * math/w_exp2.c: Likewise.
48482 * math/w_exp2f.c: Likewise.
48483 * math/w_exp2l.c: Likewise.
48484 * math/w_j0.c: Likewise.
48485 * math/w_j0f.c: Likewise.
48486 * math/w_j0l.c: Likewise.
48487 * math/w_j1.c: Likewise.
48488 * math/w_j1f.c: Likewise.
48489 * math/w_j1l.c: Likewise.
48490 * math/w_jn.c: Likewise.
48491 * math/w_jnf.c: Likewise.
48492 * math/w_log.c: Likewise.
48493 * math/w_log10.c: Likewise.
48494 * math/w_log10f.c: Likewise.
48495 * math/w_log10l.c: Likewise.
48496 * math/w_log2.c: Likewise.
48497 * math/w_log2f.c: Likewise.
48498 * math/w_log2l.c: Likewise.
48499 * math/w_logf.c: Likewise.
48500 * math/w_logl.c: Likewise.
48501 * math/w_sqrt.c: Likewise.
48502 * math/w_sqrtf.c: Likewise.
48503 * math/w_sqrtl.c: Likewise.
48504 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48505 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48506 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48507 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48508 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48510 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48513 * manual/string.texi (strnlen): Use correct parameter name in
48514 equivalent expression.
48516 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48519 * manual/users.texi (seteuid): Consistently use neweuid for
48522 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48525 * manual/nss.texi (Services in the NSS configuration): Correct
48526 list of services in example configuration file.
48528 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48531 * manual/arith.texi: Remove statements about negative zero
48532 behaving identically to zero.
48534 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48537 * manual/install.texi: Do not document upgrading from libc5.
48539 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48542 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48544 2012-02-18 David S. Miller <davem@davemloft.net>
48546 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48547 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48548 %o7 across the call.
48549 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48551 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48552 SETUP_PIC_REG_LEAF.
48553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48554 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48555 * sysdeps/sparc/crtn.S: Likewise.
48557 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48559 * aout/Makefile: Remove.
48561 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48564 * manual/examples/argp-ex1.c (main): Format definition in GNU
48566 * manual/examples/argp-ex2.c (main): Likewise.
48567 * manual/examples/argp-ex3.c (main): Likewise.
48568 * manual/examples/argp-ex4.c (main): Likewise.
48569 * manual/examples/longopt.c (main): Use new-style prototype
48571 * manual/examples/strncat.c (main): Specify return type and use
48572 (void) for arguments.
48573 * manual/examples/subopt.c (main): Use char **argv argument.
48575 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48578 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48581 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48584 * manual/string.texi (strchr): Change when strchrnul is
48587 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48590 * manual/locale.texi (setlocale): Document LOCPATH.
48592 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48595 * manual/process.texi (execle): Move @dots{} before last argument.
48597 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48600 * manual/charset.texi (Generic Charset Conversion): Fix typo
48601 (LC_TYPE -> LC_CTYPE).
48603 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48606 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48607 (scalbnf): Likewise.
48608 (scalbnl): Likewise.
48609 (scalbln): Likewise.
48610 (scalblnf): Likewise.
48611 (scalblnl): Likewise.
48612 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48613 (vwarnx): Likewise.
48616 * manual/filesys.texi (telldir): Use braces around return type.
48617 * manual/llio.texi (mmap): Add space after comma.
48618 (mmap64): Likewise.
48619 * manual/math.texi (jn): Use @var{} on parameter names.
48625 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48627 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48629 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48630 (sched_get_priority_max): Likewise.
48631 * manual/signal.texi (sigvec): Add space after comma.
48632 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48634 (if_indextoname): Likewise.
48635 (if_freenameindex): Likewise.
48636 (sendto): Use ',' instead of '.' in prototype.
48637 * manual/startup.texi (syscall): Use @dots{} instead of literal
48639 * manual/stdio.texi (__fpending): Separate initial words of
48640 paragraph from @deftypefun line.
48641 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48643 (vsyslog): Use @var{} on parameter names.
48644 * manual/terminal.texi (stty): Use @var{} on parameter names.
48645 * manual/users.texi (getutmp): Use @var{} on parameter names.
48646 (getutmpx): Likewise.
48648 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48651 * manual/stdio.texi (fopen): Fix typos in description of
48654 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48657 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48658 get clock_id definition.
48660 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48663 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48664 (madvise): Cast every argument to void on its own.
48666 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48669 * manual/startup.texi (Exit Status): Fix typo.
48671 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48674 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48675 * manual/examples/argp-ex2.c: Likewise.
48676 * manual/examples/argp-ex3.c: Likewise.
48678 2012-02-16 Richard Henderson <rth@redhat.com>
48680 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48681 * sysdeps/s390/s390-32/initfini.c: Remove.
48682 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48683 * sysdeps/s390/s390-64/initfini.c: Remove.
48685 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48687 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48688 compiler output for sysdeps/generic/initfini.c.
48689 * sysdeps/sh/elf/initfini.c: Remove file.
48691 2012-02-16 David S. Miller <davem@davemloft.net>
48694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48696 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48697 * sysdeps/sparc/crti.S: New file.
48698 * sysdeps/sparc/crtn.S: New file.
48699 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48700 * sysdeps/sparc/sparc64/Makefile: Likewise.
48702 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48705 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48707 2012-02-15 Roland McGrath <roland@hack.frob.com>
48710 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48712 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48713 (write, read, close): Likewise.
48714 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48716 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48718 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48719 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48720 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48721 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48723 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48727 2012-02-14 Marek Polacek <polacek@redhat.com>
48729 * sysdeps/x86_64/crti.S: New file.
48730 * sysdeps/x86_64/crtn.S: New file.
48731 * sysdeps/x86_64/elf/initfini.c: Remove file.
48733 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48735 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48736 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48737 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48738 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48740 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48744 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48746 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48747 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48748 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48749 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48751 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48755 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48757 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48758 __feraiseexcept instead of feraiseexcept.
48760 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48761 nanosleep invocations.
48762 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48763 strings, and add error checking for a nanosleep invocations.
48765 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48767 Replace FSF snail mail address with URLs, as per GNU coding standards.
48768 Most of the snail mail addresses were wrong anyway, and omitting
48769 them makes the source code easier to maintain. Almost all of the
48770 changes are to license notices and to locale LC_IDENTIFICATION
48771 addresses, except for this one:
48772 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48773 not its snail mail address.
48775 2012-02-09 Richard Henderson <rth@twiddle.net>
48777 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48778 of kernel-features.h.
48780 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48782 2012-02-08 Marek Polacek <polacek@redhat.com>
48784 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48785 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48786 * sysdeps/gnu/_G_config.h: Likewise.
48787 * sysdeps/generic/_G_config.h: Likewise.
48789 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48791 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48795 * sysdeps/powerpc/powerpc32/crti.S: New file.
48796 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48797 * sysdeps/powerpc/powerpc64/crti.S: New file.
48798 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48800 * Makeconfig (have-initfini): Don't set.
48801 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48802 * configure.in (nopic_initfini): Don't substitute.
48803 * config.h.in (HAVE_INITFINI): Don't #undef.
48804 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48805 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48807 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48809 Support crti.S and crtn.S provided directly by architectures.
48810 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48811 [crti.S in sysdirs] (omit-deps): Likewise.
48812 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48813 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48814 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48815 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48816 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48817 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48818 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48819 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48820 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48821 compiler output for sysdeps/generic/initfini.c.
48822 * sysdeps/i386/elf/Makefile: Remove file.
48823 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48825 2012-02-07 Marek Polacek <polacek@redhat.com>
48827 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48828 * sysdeps/gnu/_G_config.h: Likewise.
48829 * sysdeps/mach/hurd/_G_config.h: Likewise.
48831 2012-02-07 Marek Polacek <polacek@redhat.com>
48833 * math/Makefile (tests): Add tst-CMPLX2.
48834 * math/tst-CMPLX2.c: New file.
48836 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48838 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48840 * math/libm-test.inc (jn_test): Add missing L suffix.
48842 2012-02-06 Marek Polacek <polacek@redhat.com>
48844 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48845 * sysdeps/i386/fpu/e_powf.S: Likewise.
48846 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48847 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48848 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48849 * sysdeps/i386/fpu/e_pow.S: Likewise.
48850 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48851 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48852 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48853 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48854 * sysdeps/i386/fpu/e_log2.S: Likewise.
48855 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48856 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48857 * sysdeps/i386/fpu/e_powl.S: Likewise.
48858 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48859 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48860 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48861 * sysdeps/i386/fpu/e_logl.S: Likewise.
48862 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48863 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48864 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48865 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48866 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48867 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48868 * sysdeps/i386/fpu/e_log.S: Likewise.
48869 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48870 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48871 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48872 * sysdeps/i386/fpu/e_logf.S: Likewise.
48873 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48874 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48875 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48876 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48877 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48878 * sysdeps/i386/fpu/e_log10.S: Likewise.
48879 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48880 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48881 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48882 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48883 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48884 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48885 * sysdeps/i386/asm-syntax.h: Likewise.
48886 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48887 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48888 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48889 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48890 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48891 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48892 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48893 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48894 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48895 * sysdeps/powerpc/sysdep.h: Likewise.
48896 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48897 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48899 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48902 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48904 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48906 * sysdeps/i386/sysdep.h: Include <features.h>.
48907 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48910 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48912 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48914 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48917 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48919 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48920 (SETUP_PIC_REG): Use GET_PC_THUNK.
48921 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48924 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48926 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48927 for non-PIC compilation.
48928 (SETUP_PIC_REG): Add .p2align directive.
48929 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48930 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48931 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48932 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48933 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48934 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48935 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48937 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48938 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48939 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48940 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48941 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48942 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48943 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48944 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48945 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48946 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48947 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48948 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48949 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48951 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48952 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48955 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48956 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48957 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48958 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48959 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48961 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48962 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48963 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48964 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48965 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48966 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48967 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48968 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48969 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48971 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48973 * math/tst-CMPLX.c: Include <stdio.h>.
48975 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48977 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48979 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48980 * sysdeps/sparc/bits/mathdef.h: Likewise.
48982 2012-01-31 Marek Polacek <polacek@redhat.com>
48984 * libio/libio.h: Don't define _PARAMS.
48985 * locale/programs/config.h: Don't define PARAMS.
48986 * stdlib/strtol_l.c: Likewise.
48987 (__strtol_l): Remove PARAMS from the prototype.
48989 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48991 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48992 names. Just use the correct names. Remove unnecessary wrapper
48994 * malloc/arena.c: Likewise.
48995 * malloc/hooks.c: Likewise.
48997 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48998 ARENA_TEST says not to. Simplify test for creation of a new arena.
48999 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49001 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49003 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49005 (update_get_addr): New function.
49006 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49007 GET_ADDR_MODULE parameter.
49009 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49011 * crypt/cert.c: Remove __STDC__ conditionals.
49012 * crypt/crypt-entry.c: Likewise.
49013 * crypt/crypt_util.c: Likewise.
49014 * libio/filedoalloc.c: Likewise.
49015 * libio/fileops.c: Likewise.
49016 * libio/genops.c: Likewise.
49017 * libio/iofclose.c: Likewise.
49018 * libio/iofdopen.c: Likewise.
49019 * libio/iofopen.c: Likewise.
49020 * libio/iofopen64.c: Likewise.
49021 * libio/iogetdelim.c: Likewise.
49022 * libio/iopopen.c: Likewise.
49023 * libio/obprintf.c: Likewise.
49024 * libio/oldfileops.c: Likewise.
49025 * libio/oldiofclose.c: Likewise.
49026 * libio/oldiofdopen.c: Likewise.
49027 * libio/oldiofopen.c: Likewise.
49028 * libio/oldiopopen.c: Likewise.
49029 * libio/wfiledoalloc.c: Likewise.
49030 * libio/wgenops.c: Likewise.
49031 * locale/programs/xmalloc.c: Likewise.
49032 * misc/syslog.c: Likewise.
49033 * stdio-common/xbug.c: Likewise.
49034 * string/memchr.c: Likewise.
49035 * string/memcmp.c: Likewise.
49036 * string/memrchr.c: Likewise.
49037 * string/rawmemchr.c: Likewise.
49038 * sysdeps/posix/getcwd.c: Likewise.
49039 * time/strftime_l.c: Likewise.
49041 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49043 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49044 * config.make.in (config-cflags-sse2avx): Define.
49045 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49048 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49050 * scripts/config.guess: Update from upstream config git repository.
49051 * scripts/config.sub: Likewise.
49053 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49055 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49057 (R_TILEPRO_*, R_TILEGX_*): New macros.
49059 * scripts/firstversions.awk: Fix bug in version range handling.
49061 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49063 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49065 * include/sys/epoll.h: New file.
49066 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49069 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49071 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49072 Avoid unnecessary __WORDSIZE == 64 test.
49073 (fmaxf): Use VEX format if possible.
49078 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49079 * math/math_private.h: Remove libc_fegetround* and
49081 * sysdeps/i386/configure.in: Check for -msse2avx.
49082 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49083 also if SSE2AVX is defined.
49084 Remove libc_fegetround* and libc_fesetround*.
49085 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49086 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49087 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49095 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49097 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49099 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49101 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49103 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49106 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49108 * Makeconfig (libm): Define.
49109 * elf/Makefile: Add rules to build and run tst-relsort1.
49110 * elf/tst-relsort1.c: New file.
49111 * elf/tst-relsort1mod1.c: New file.
49112 * elf/tst-relsort1mod2.c: New file.
49114 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49116 * math/s_ldexp.c: Remove __STDC__ conditionals.
49117 * math/s_ldexpf.c: Likewise.
49118 * math/s_ldexpl.c: Likewise.
49119 * math/s_nextafter.c: Likewise.
49120 * math/s_nexttowardf.c: Likewise.
49121 * math/s_significand.c: Likewise.
49122 * math/s_significandf.c: Likewise.
49123 * math/s_significandl.c: Likewise.
49124 * math/w_jnl.c: Likewise.
49125 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49126 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49127 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49128 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49129 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49131 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49132 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49133 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49134 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49135 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49139 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49140 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49141 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49142 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49144 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49145 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49146 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49147 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49148 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49149 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49150 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49151 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49152 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49153 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49154 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49155 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49156 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49157 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49158 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49159 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49160 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49161 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49162 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49163 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49164 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49165 * sysdeps/ieee754/k_standard.c: Likewise.
49166 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49167 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49168 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49169 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49170 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49171 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49172 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49173 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49174 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49175 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49176 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49179 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49180 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49184 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49185 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49186 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49187 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49188 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49189 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49190 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49191 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49192 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49193 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49194 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49195 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49197 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49203 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49204 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49205 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49226 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49227 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49232 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49240 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49241 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49245 * sysdeps/ieee754/s_matherr.c: Likewise.
49246 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49247 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49251 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49253 * crypt/md5.h: Remove __STDC__ conditionals.
49254 * libio/libioP.h: Likewise.
49255 * locale/programs/config.h: Likewise.
49256 * sysdeps/generic/sysdep.h: Likewise.
49257 * sysdeps/i386/asm-syntax.h: Likewise.
49258 * sysdeps/s390/asm-syntax.h: Likewise.
49259 * sysdeps/unix/sysdep.h: Likewise.
49260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49263 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49265 * libio/libio.h: Remove __STDC__ conditionals.
49266 * malloc/obstack.h: Likewise.
49267 * math/complex.h: Likewise.
49268 * math/math.h: Likewise.
49269 * sysdeps/generic/_G_config.h: Likewise.
49270 * sysdeps/gnu/_G_config.h: Likewise.
49271 * sysdeps/mach/hurd/_G_config.h: Likewise.
49272 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49273 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49274 * sysdeps/sparc/bits/mathdef.h: Likewise.
49276 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49280 Clean up HAS_* macros.
49281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49282 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49292 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49294 * elf/tst-unique3.cc (gets): Remove declaration.
49295 * elf/tst-unique3lib.cc (gets): Likewise.
49296 * elf/tst-unique3lib2.cc (gets): Likewise.
49297 * elf/tst-unique4.cc (gets): Likewise.
49299 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49301 * include/stdio.h: Add C++ protection. Add gets declarations and
49303 * debug/tst-chk1.c: Don't declare gets here.
49304 * stdio-common/tst-gets.c: Likewise.
49306 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49308 * posix/glob: Remove directory.
49310 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49312 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49314 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49316 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49317 of the non-standard EPFNOSUPPORT.
49319 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49321 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49322 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49323 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49325 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49327 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49329 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49331 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49333 * nscd/grpcache.c (cache_addgr): Likewise.
49334 * nscd/hstcache.c (cache_addhst): Likewise.
49335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49336 * nscd/pwdcache.c (cache_addpw): Likewise.
49337 * nscd/servicescache.c (cache_addserv): Likewise.
49339 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49341 * malloc/malloc.c: Various cleanups.
49342 * malloc/hooks.c: Likewise.
49344 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49345 * stdlib/bug-fmtmsg1.c: New file.
49347 * stdlib/fmtmsg.c (init): Add missing unlock.
49348 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49350 2012-01-12 Marek Polacek <polacek@redhat.com>
49352 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49355 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49357 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49358 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49359 macro to ensure uniqueness of label name.
49360 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49361 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49363 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49365 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49367 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49368 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49369 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49372 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49374 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49376 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49377 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49378 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49380 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49382 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49383 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49384 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49387 * math/bits/math-finite.h: Add ldexp support.
49389 2012-01-10 Marek Polacek <polacek@redhat.com>
49391 * locale/programs/localedef.h (show_archive_content): Add noreturn
49394 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49396 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49398 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49400 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49402 * io/Makefile (headers): Add bits/poll2.h.
49404 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49407 typo #include statement.
49409 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49411 * include/sys/cdefs.h: Define __attribute_alloc_size.
49412 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49413 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49414 * elf/pldd.c: Likewise.
49415 * iconv/iconv_charmap.c: Likewise.
49416 * iconv/iconvconfig.c: Likewise.
49417 * iconv/strtab.c: Likewise.
49418 * locale/programs/locale.c: Likewise.
49419 * locale/programs/localedef.h: Likewise.
49420 * locale/programs/simple-hash.c: Likewise.
49421 * nscd/nscd.h: Likewise.
49422 * nss/makedb.c: Likewise.
49423 * sysdeps/generic/ldconfig.h: Likewise.
49424 * locale/programs/localedef.c: Remove xmalloc prototype.
49425 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49427 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49429 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49432 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49434 * math/Makefile (tests): Add tst-CMPLX.
49435 * math/tst-CMPLX.c: New file.
49437 * math/complex.h (CMPLXL): Fix typo.
49439 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49440 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49442 * debug/tst-chk1.c: Add poll and ppoll tests.
49443 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49444 * include/sys/poll.h: Add hidden proto for ppoll.
49445 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49446 * sysdeps/mach/hurd/ppoll.c: Likewise.
49447 * io/ppoll.c: Likewise.
49448 * debug/poll_chk.c: New file.
49449 * debug/ppoll_chk.c: New file.
49450 * include/bits/poll2.h: New file.
49451 * io/bits/poll2.h: New file.
49454 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49456 * configure.in: static is always set to yes. Remove.
49457 * config.make.in: Don't set build-static.
49458 * Makeconfig: Remove use of build-static.
49459 * dlfcn/Makefile: Likewise.
49460 * elf/Makefile: Likewise.
49461 * math/Makefile: Likewise.
49462 * misc/Makefile: Likewise.
49463 * nptl/Makefile: Likewise.
49464 * sysdeps/mach/hurd/Makefile: Likewise.
49466 * configure.in: PWD_P is not used anymore.
49467 * config.make.in: Remove PWD_P entry.
49469 * configure.in: Remove last remnants of RANLIB.
49470 No need to check for signed size_t anymore.
49471 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49473 Remove __builtin_expect test because we require at least gcc 3.4.
49474 * aclocal.m4: Likewise.
49476 * wcsmbs/mbrtoc16.c: Implement using towc function.
49477 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49478 * wcsmbs/wcsmbsload.c: Likewise.
49479 * iconv/gconv_simple.c: Likewise.
49480 * iconv/gconv_int.h: Likewise.
49481 * iconv/gconv_builtin.h: Likewise.
49482 * iconv/iconv_prog.c: Remove CHAR16 handling.
49484 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49486 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49488 * configure.in: Remove --with-elf and --enable-bounded options.
49489 Dont set base_machine for ia64. More non-ELF conditions removed.
49490 Remove testing and setting of leading underscore information.
49491 * config.make.in (build-bounded): Set to no.
49492 * config.h.in: Remove NO_UNDERSCORES entry.
49493 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49495 * csu/start.c: Remove !NO_UNDERSCORE code.
49496 * locale/localeinfo.h: Likewise.
49497 * sysdeps/generic/machine-gmon.h: Likewise.
49498 * sysdeps/generic/sysdep.h: Likewise.
49499 * sysdeps/i386/sysdep.h: Likewise.
49500 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49501 * sysdeps/mach/sysdep.h: Likewise.
49502 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49503 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49504 * sysdeps/sh/sysdep.h: Likewise.
49505 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49506 * sysdeps/unix/i386/sysdep.S: Likewise.
49507 * sysdeps/unix/sparc/start.c: Likewise.
49508 * sysdeps/unix/sparc/sysdep.S: Likewise.
49509 * sysdeps/unix/sparc/sysdep.h: Likewise.
49510 * sysdeps/unix/start.c: Likewise.
49511 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49512 * sysdeps/x86_64/sysdep.h: Likewise.
49514 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49517 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49519 * argp/argp-fmtstream.h: Use const instead __const.
49520 * argp/argp.h: Likewise.
49521 * assert/assert.h: Likewise.
49522 * bits/fenv.h: Likewise.
49523 * bits/sched.h: Likewise.
49524 * bits/sigset.h: Likewise.
49525 * bits/sigthread.h: Likewise.
49526 * catgets/nl_types.h: Likewise.
49527 * conform/data/pthread.h-data: Likewise.
49528 * crypt/crypt-private.h: Likewise.
49529 * crypt/crypt.h: Likewise.
49530 * crypt/crypt_util.c: Likewise.
49531 * ctype/ctype.h: Likewise.
49532 * debug/execinfo.h: Likewise.
49533 * debug/mbsnrtowcs_chk.c: Likewise.
49534 * debug/mbsrtowcs_chk.c: Likewise.
49535 * debug/wcsnrtombs_chk.c: Likewise.
49536 * debug/wcsrtombs_chk.c: Likewise.
49537 * debug/wcstombs_chk.c: Likewise.
49538 * dirent/dirent.h: Likewise.
49539 * dlfcn/dlfcn.h: Likewise.
49540 * elf/neededtest4.c: Likewise.
49541 * grp/grp.h: Likewise.
49542 * gshadow/gshadow.h: Likewise.
49543 * iconv/gconv.h: Likewise.
49544 * iconv/gconv_int.h: Likewise.
49545 * iconv/gconv_simple.c: Likewise.
49546 * iconv/iconv.h: Likewise.
49547 * iconv/loop.c: Likewise.
49548 * iconv/skeleton.c: Likewise.
49549 * include/aio.h: Likewise.
49550 * include/aliases.h: Likewise.
49551 * include/argz.h: Likewise.
49552 * include/arpa/inet.h: Likewise.
49553 * include/assert.h: Likewise.
49554 * include/dirent.h: Likewise.
49555 * include/dlfcn.h: Likewise.
49556 * include/execinfo.h: Likewise.
49557 * include/fcntl.h: Likewise.
49558 * include/fenv.h: Likewise.
49559 * include/glob.h: Likewise.
49560 * include/grp.h: Likewise.
49561 * include/libintl.h: Likewise.
49562 * include/mntent.h: Likewise.
49563 * include/netdb.h: Likewise.
49564 * include/pwd.h: Likewise.
49565 * include/rpc/netdb.h: Likewise.
49566 * include/sched.h: Likewise.
49567 * include/search.h: Likewise.
49568 * include/shadow.h: Likewise.
49569 * include/signal.h: Likewise.
49570 * include/stdio.h: Likewise.
49571 * include/stdlib.h: Likewise.
49572 * include/string.h: Likewise.
49573 * include/sys/socket.h: Likewise.
49574 * include/sys/stat.h: Likewise.
49575 * include/sys/statfs.h: Likewise.
49576 * include/sys/statvfs.h: Likewise.
49577 * include/sys/syslog.h: Likewise.
49578 * include/sys/time.h: Likewise.
49579 * include/sys/uio.h: Likewise.
49580 * include/time.h: Likewise.
49581 * include/unistd.h: Likewise.
49582 * include/utmp.h: Likewise.
49583 * include/wchar.h: Likewise.
49584 * include/wctype.h: Likewise.
49585 * inet/aliases.h: Likewise.
49586 * inet/arpa/inet.h: Likewise.
49587 * inet/netinet/ether.h: Likewise.
49588 * inet/netinet/in.h: Likewise.
49589 * intl/libintl.h: Likewise.
49590 * io/bits/fcntl2.h: Likewise.
49591 * io/fcntl.h: Likewise.
49592 * io/ftw.h: Likewise.
49593 * io/sys/poll.h: Likewise.
49594 * io/sys/stat.h: Likewise.
49595 * io/sys/statfs.h: Likewise.
49596 * io/sys/statvfs.h: Likewise.
49597 * io/utime.h: Likewise.
49598 * libio/bits/stdio.h: Likewise.
49599 * libio/bits/stdio2.h: Likewise.
49600 * libio/libio.h: Likewise.
49601 * libio/libioP.h: Likewise.
49602 * libio/stdio.h: Likewise.
49603 * locale/lc-ctype.c: Likewise.
49604 * locale/locale.h: Likewise.
49605 * login/utmp.h: Likewise.
49606 * malloc/arena.c: Likewise.
49607 * malloc/malloc.c: Likewise.
49608 * malloc/malloc.h: Likewise.
49609 * malloc/mcheck.c: Likewise.
49610 * malloc/mtrace.c: Likewise.
49611 * math/bits/mathcalls.h: Likewise.
49612 * math/fenv.h: Likewise.
49613 * math/math_private.h: Likewise.
49614 * misc/bits/error.h: Likewise.
49615 * misc/bits/syslog.h: Likewise.
49616 * misc/err.h: Likewise.
49617 * misc/error.h: Likewise.
49618 * misc/fstab.h: Likewise.
49619 * misc/mntent.h: Likewise.
49620 * misc/regexp.h: Likewise.
49621 * misc/search.h: Likewise.
49622 * misc/sgtty.h: Likewise.
49623 * misc/sys/mman.h: Likewise.
49624 * misc/sys/syslog.h: Likewise.
49625 * misc/sys/uio.h: Likewise.
49626 * misc/sys/xattr.h: Likewise.
49627 * misc/ttyent.h: Likewise.
49628 * nis/rpcsvc/ypclnt.h: Likewise.
49629 * nss/nss.h: Likewise.
49630 * posix/bits/unistd.h: Likewise.
49631 * posix/fnmatch.h: Likewise.
49632 * posix/glob.h: Likewise.
49633 * posix/sched.h: Likewise.
49634 * posix/spawn.h: Likewise.
49635 * posix/sys/wait.h: Likewise.
49636 * posix/unistd.h: Likewise.
49637 * posix/wordexp.h: Likewise.
49638 * pwd/pwd.h: Likewise.
49639 * resolv/netdb.h: Likewise.
49640 * resource/sys/resource.h: Likewise.
49641 * rt/aio.h: Likewise.
49642 * rt/bits/mqueue2.h: Likewise.
49643 * rt/mqueue.h: Likewise.
49644 * shadow/shadow.h: Likewise.
49645 * signal/signal.h: Likewise.
49646 * socket/send.c: Likewise.
49647 * socket/sendto.c: Likewise.
49648 * socket/sys/socket.h: Likewise.
49649 * stdio-common/printf.h: Likewise.
49650 * stdlib/bits/stdlib.h: Likewise.
49651 * stdlib/fmtmsg.h: Likewise.
49652 * stdlib/monetary.h: Likewise.
49653 * stdlib/stdlib.h: Likewise.
49654 * stdlib/ucontext.h: Likewise.
49655 * streams/stropts.h: Likewise.
49656 * string/argz.h: Likewise.
49657 * string/bits/string2.h: Likewise.
49658 * string/string.h: Likewise.
49659 * string/strings.h: Likewise.
49660 * sunrpc/rpc/auth.h: Likewise.
49661 * sunrpc/rpc/auth_des.h: Likewise.
49662 * sunrpc/rpc/clnt.h: Likewise.
49663 * sunrpc/rpc/netdb.h: Likewise.
49664 * sunrpc/rpc/pmap_clnt.h: Likewise.
49665 * sunrpc/rpc/xdr.h: Likewise.
49666 * sysdeps/generic/inttypes.h: Likewise.
49667 * sysdeps/generic/net/if.h: Likewise.
49668 * sysdeps/generic/sys/swap.h: Likewise.
49669 * sysdeps/gnu/net/if.h: Likewise.
49670 * sysdeps/gnu/utmpx.h: Likewise.
49671 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49672 * sysdeps/i386/i486/bits/string.h: Likewise.
49673 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49674 * sysdeps/s390/bits/string.h: Likewise.
49675 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49676 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49677 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49678 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49679 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49680 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49681 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49682 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49683 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49684 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49685 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49686 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49687 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49688 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49689 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49690 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49691 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49693 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49694 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49696 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49697 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49698 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49699 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49700 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49701 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49703 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49704 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49705 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49706 * sysvipc/sys/ipc.h: Likewise.
49707 * sysvipc/sys/msg.h: Likewise.
49708 * sysvipc/sys/sem.h: Likewise.
49709 * sysvipc/sys/shm.h: Likewise.
49710 * termios/termios.h: Likewise.
49711 * time/sys/time.h: Likewise.
49712 * time/time.h: Likewise.
49713 * wcsmbs/bits/wchar2.h: Likewise.
49714 * wcsmbs/uchar.h: Likewise.
49715 * wcsmbs/wchar.h: Likewise.
49716 * wctype/wctype.h: Likewise.
49719 * Makeconfig: Remove all but ELF support including AIX support.
49720 * Makerules: Likewise.
49721 * config.h.in: Likewise.
49722 * config.make.in: Likewise.
49723 * configure: Likewise.
49724 * configure.in: Likewise.
49725 * csu/Makefile: Likewise.
49726 * csu/version.c: Likewise.
49727 * debug/Makefile: Likewise.
49728 * dlfcn/Makefile: Likewise.
49729 * elf/Makefile: Likewise.
49730 * extra-lib.mk: Likewise.
49731 * iconv/Makefile: Likewise.
49732 * include/libc-symbols.h: Likewise.
49733 * include/shlib-compat.h: Likewise.
49734 * resolv/Makefile: Likewise.
49735 * resolv/res_libc.c: Likewise.
49736 * rt/Makefile: Likewise.
49737 * sysdeps/i386/asm-syntax.h: Likewise.
49738 * sysdeps/i386/sysdep.h: Likewise.
49739 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49740 * sysdeps/mach/sysdep.h: Likewise.
49741 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49742 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49743 * sysdeps/s390/asm-syntax.h: Likewise.
49744 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49745 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49746 * sysdeps/sh/sysdep.h: Likewise.
49747 * sysdeps/unix/sparc/sysdep.h: Likewise.
49748 * sysdeps/wordsize-32/divdi3.c: Likewise.
49749 * sysdeps/x86_64/sysdep.h: Likewise.
49751 * argp/Versions: Remove _argp_unlock_xxx.
49754 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49755 * abilist/libBrokenLocale.abilist: Likewise.
49756 * abilist/libanl.abilist: Likewise.
49757 * abilist/libc.abilist: Likewise.
49758 * abilist/libcrypt.abilist: Likewise.
49759 * abilist/libdl.abilist: Likewise.
49760 * abilist/libm.abilist: Likewise.
49761 * abilist/libnsl.abilist: Likewise.
49762 * abilist/libpthread.abilist: Likewise.
49763 * abilist/libresolv.abilist: Likewise.
49764 * abilist/librt.abilist: Likewise.
49765 * abilist/libthread_db.abilist: Likewise.
49766 * abilist/libutil.abilist: Likewise.
49767 * abilist/libnss_db.abilist: New file.
49769 * scripts/abilist.awk: Add support for indirect functions.
49771 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49773 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49775 * shlib-versions: Remove entries for ports architectures.
49777 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49779 * elf/stackguard-macros.h: Remove support for IA-64.
49780 * elf/tst-auditmod1.c: Likewise.
49781 * sysdeps/generic/ldsodefs.h: Likewise.
49783 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49784 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49788 * configure.in: Remove --enable-omitfp support.
49790 * config.make.in: Likewise.
49791 * Makeconfig: Likewise.
49792 * manual/install.texi: Likewise.
49794 In case anyone cares, the IA-64 architecture could move to ports.
49795 * sysdeps/ia64/*: Removed.
49796 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49797 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49800 * configure.in: Remove entries for unsupported architectures.
49803 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49804 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49806 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49807 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49808 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49809 fall back to using wcrtomb.
49810 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49811 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49813 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49814 * wcsmbs/tst-c16c32-1.c: New file.
49816 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49819 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49821 * elf/tst-unique3.cc: Add explicit declaration of gets.
49822 * elf/tst-unique3lib.cc: Likewise.
49823 * elf/tst-unique3lib2.cc: Likewise.
49824 * elf/tst-unique4.cc: Likewise.
49826 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49828 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49831 * assert/assert.h (static_assert): Don't define for C++.
49832 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49833 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49835 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49837 * iconv/loop.c (single loop): Fix assertion in storing of
49840 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49842 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49844 * posix/getconf.c: Update copyright year.
49845 * nss/getent.c: Likewise.
49846 * nss/makedb.c: Likewise.
49847 * iconv/iconvconfig.c: Likewise.
49848 * iconv/iconv_prog.c: Likewise.
49849 * elf/ldconfig.c: Likewise.
49850 * elf/pldd.c: Likewise.
49851 * elf/sotruss.ksh: Likewise.
49852 * catgets/gencat.c: Likewise.
49853 * csu/version.c: Likewise.
49854 * elf/ldd.bash.in: Likewise.
49855 * elf/sprof.c (print_version): Likewise.
49856 * locale/programs/locale.c: Likewise.
49857 * locale/programs/localedef.c: Likewise.
49858 * login/programs/pt_chown.c: Likewise.
49859 * nscd/nscd.c (print_version): Likewise.
49860 * debug/xtrace.sh: Likewise.
49861 * malloc/memusage.sh: Likewise.
49862 * malloc/mtrace.pl: Likewise.
49863 * debug/catchsegv.sh: Likewise.
49865 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49867 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49870 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49873 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49874 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49876 * iconv/gconv_int.h: Likewise.
49877 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49878 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49879 from libc for GLIBC_2.16.
49880 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49881 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49882 * wcsmbs/uchar.h: Really define mbstate_t.
49883 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49884 * wcsmbs/c16rtomb.c: New file.
49885 * wcsmbs/mbrtoc16.c: New file.
49886 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49887 for C/POSIX locale.
49888 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49889 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49891 * wcsmbs/wchar.h: Add missing __restrict.
49893 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49896 * time/Makefile (routines): Add timespec_get.
49897 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49898 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49899 timespec for ISO C11.
49900 * time/timespec_get.c: New file.
49901 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49902 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49905 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49906 * stdlib/stdlib.h: Declare aligned_alloc.
49907 * Versions.def: Add GLIBC_2.16 for libc.
49908 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49911 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49914 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49918 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49921 * assert/assert.h (static_assert): Define.
49923 * version.h: Update for 2.16 development version.
49926 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49929 * version.h (RELEASE): Bump for 2.15 release.
49930 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49932 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49933 Patch by Marek Polacek <mpolacek@redhat.com>.
49935 * bits/byteswap.h: Protect long long constants with __extension__.
49936 * sysdeps/i386/bits/byteswap.h: Likewise.
49937 * sysdeps/ia64/bits/byteswap.h: Likewise.
49938 * sysdeps/s390/bits/byteswap.h: Likewise.
49939 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49941 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49944 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49945 destination buffer.
49946 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49948 2011-12-23 Marek Polacek <polacek@redhat.com>
49950 * elf/dl-addr.c (determine_info): Add inline keyword.
49951 * elf/tst-auditmod4b.c (check_avx): Likewise.
49952 * elf/tst-auditmod6b.c (check_avx): Likewise.
49953 * elf/tst-auditmod6c.c (check_avx): Likewise.
49954 * elf/tst-auditmod7b.c (check_avx): Likewise.
49956 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49958 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49961 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49964 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49965 processing for last bytes.
49967 2011-08-06 Bruno Haible <bruno@clisp.org>
49970 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49971 U+0385, not to U+1FEE.
49974 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49975 entry for U+00A5 U+0301.
49977 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49980 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49981 buffer for the output is too small.
49983 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49987 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49988 SSE flags if possible.
49990 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49993 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49994 processing for last bytes.
49996 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49998 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49999 (syscall-list-default-options, syscall-list-default-condition)
50000 (syscall-list-includes): Define.
50001 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50002 list of ABIs and options and #if conditions for each ABI. Do not
50003 handle common syscalls between ABIs specially.
50004 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50006 (syscall-list-variants, syscall-list-32bit-options)
50007 (syscall-list-32bit-condition, syscall-list-64bit-options)
50008 (syscall-list-64bit-condition): Define.
50009 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50010 (syscall-list-variants, syscall-list-32bit-options)
50011 (syscall-list-32bit-condition, syscall-list-64bit-options)
50012 (syscall-list-64bit-condition): Define.
50013 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50015 (syscall-list-variants, syscall-list-32bit-options)
50016 (syscall-list-32bit-condition, syscall-list-64bit-options)
50017 (syscall-list-64bit-condition): Define.
50018 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50020 (syscall-list-variants, syscall-list-32bit-options)
50021 (syscall-list-32bit-condition, syscall-list-64bit-options)
50022 (syscall-list-64bit-condition): Define.
50024 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50026 * locale/iso-639.def: Add brx entry.
50029 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50030 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50032 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50033 __feraiseexcept_renamed.
50035 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50038 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50039 EPOLLET with unsigned values.
50040 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50041 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50043 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50044 to large cancellation.
50045 * math/s_cacoshf.c: Likewise.
50046 * math/s_cacoshl.c: Likewise.
50048 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50052 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50053 * math/s_cacoshf.c: Likewise.
50054 * math/s_cacoshl.c: Likewise.
50056 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50059 * iconv/gconv.h: Define __GCONV_SWAP.
50060 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50061 * iconvdata/utf-16.c: Likewise.
50062 * iconvdata/utf-32.c: Likewise.
50064 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50067 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50068 numerator after shifting it by one limb.
50070 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50072 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50073 under [__USE_EXTERN_INLINES].
50075 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50078 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50080 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50082 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50083 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50085 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50086 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50087 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50088 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50089 for strncasecmp/strncasecmp_l compilation.
50090 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50091 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50093 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50096 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50099 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50102 * time/tzfile.c (__tzfile_read): Check values from file header.
50104 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50106 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50107 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50108 * powerpc/powerpc32/dl-start.S: Likewise.
50109 * powerpc/powerpc32/elf/start.S: Likewise.
50110 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50111 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50112 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50113 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50114 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50115 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50116 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50117 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50118 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50119 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50120 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50121 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50122 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50123 * powerpc/powerpc32/memset.S: Likewise.
50124 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50125 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50126 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50127 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50128 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50129 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50130 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50131 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50132 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50133 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50134 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50138 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50140 * math/libm-test.inc: Added more nearbyint tests.
50141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50146 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50148 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50151 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50153 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50154 Add wcscpy-ssse3 wcscpy-c.
50155 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50156 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50157 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50158 * sysdeps/x86_64/wcschr.S: New file.
50159 * sysdeps/x86_64/wcsrchr.S: New file.
50160 * string/test-strcmp.c: Remove checking of wcscmp function for
50162 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50163 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50164 wcsrchr-sse2 wcsrchr-c.
50165 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50166 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50167 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50168 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50169 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50170 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50171 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50172 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50173 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50174 * wcsmbc/wcschr.c (WCSCHR): New macro.
50176 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50178 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50179 * wcsmbs/test-wcsrchr.c: New file.
50180 * string/test-strrchr.c: Add wcsrchr support.
50182 * wcsmbs/test-wcscpy.c: New file.
50183 * string/test-strcpy.c: Add wcscpy support.
50186 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50188 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50191 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50194 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50196 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50198 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50199 Minor optimizations.
50201 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50202 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50203 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50205 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50207 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50208 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50209 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50210 for gcc to avoid warnings.
50211 * inet/Makefile (tests): Add tst-checks.
50212 * inet/tst-checks.c: New file.
50214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50217 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50220 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50221 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50223 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50225 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50227 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50230 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50232 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50234 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50235 conditional on GCC version.
50236 (__arch_compare_and_exchange_val_8_acq)
50237 (__arch_compare_and_exchange_val_16_acq)
50238 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50239 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50240 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50242 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50244 * sysdeps/sh/backtrace.c: New file.
50246 2011-12-02 Andreas Schwab <schwab@redhat.com>
50248 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50251 2011-12-01 Andreas Schwab <schwab@redhat.com>
50253 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50254 falling back to utime.
50256 2011-11-30 Andreas Schwab <schwab@redhat.com>
50258 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50259 expectations for float.
50261 2011-11-29 Andreas Schwab <schwab@redhat.com>
50263 * locale/weight.h (findidx): Add parameter len.
50264 * locale/weightwc.h (findidx): Likewise.
50265 * posix/fnmatch_loop.c (FCT): Adjust caller.
50266 * posix/regcomp.c (build_equiv_class): Likewise.
50267 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50268 * posix/regexec.c (check_node_accept_bytes): Likewise.
50269 * string/strcoll_l.c (STRCOLL): Likewise.
50270 * string/strxfrm_l.c (STRXFRM): Likewise.
50272 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50274 * Makefile.in: Remove CVSOPT handling.
50275 * configure.in: Remove use of AC_REVISION.
50276 * iconvdata/Makefile (distribute): No need to filter out CVS.
50277 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50280 2011-11-16 Andreas Schwab <schwab@redhat.com>
50282 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50283 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50284 [USE_AS_STRNCASECMP_L]: Likewise.
50285 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50286 NO_TLS_DIRECT_SEG_REFS.
50287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50288 Fix argument offsets for non-PIC.
50289 [USE_AS_STRNCASECMP_L]: Likewise.
50290 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50291 NO_TLS_DIRECT_SEG_REFS.
50293 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50295 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50297 * locale/loadlocale.c (_nl_load_locale): Likewise.
50299 2011-11-15 Andreas Schwab <schwab@redhat.com>
50301 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50302 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50303 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50304 (SYSCALL_GETTIME): Set errno on error.
50306 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50307 count references to noai6ai_cached.
50309 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50311 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50313 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50314 FD_CLOEXEC for /proc/self/maps.
50316 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50317 FD_CLOEXEC for /proc/meminfo.
50319 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50322 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50323 FD_CLOEXEC for given file.
50325 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50327 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50328 FD_CLOEXEC for /etc/hosts.
50329 (_gethtent): Likewise.
50331 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50333 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50334 cancellation and set FD_CLOEXEC for /etc/netgroup.
50336 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50337 reading /etc/publickey.
50339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50340 allow cancellation when reading /etc/group.
50342 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50344 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50346 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50347 when using data file.
50349 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50351 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50352 (write_nis_obj): Use "c" and "e" in fopen.
50354 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50356 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50358 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50360 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50362 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50365 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50367 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50369 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50371 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50372 file parsing and set FD_CLOEXEC.
50374 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50376 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50378 2011-11-14 Andreas Schwab <schwab@redhat.com>
50380 * malloc/arena.c (arena_get2): Don't call reused_arena when
50381 _int_new_arena failed.
50383 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50385 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50386 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50387 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50388 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50389 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50390 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50391 to compile strcasecmp and strncasecmp.
50392 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50393 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50397 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50399 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50400 locale-defines.sym to gen-as-const-headers.
50401 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50402 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50404 to compile strcasecmp and strncasecmp.
50405 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50406 strcasecmp_l and strncasecmp_l.
50407 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50408 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50409 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50410 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50411 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50412 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50413 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50414 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50415 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50416 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50417 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50419 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50421 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50422 result of SYSDEP_GETTIME_CPU to retval.
50423 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50424 parameter list to macro. Remove trailing semicolon. Adjust users.
50426 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50429 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50431 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50433 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50434 from unused variable.
50436 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50438 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50441 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50444 * sunrpc/rpc_prot.c (rejected): Fix case value.
50446 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50447 unsigned long long int to avoid warnings in shift.
50449 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50451 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50455 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50456 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50458 * nis/nis_table.c (nis_list): Use variable of correct type for
50459 result of __follow_path call.
50461 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50463 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50464 of math functions ceil, trunc, floor, round, and sqrt, when
50465 avaliable on the platform.
50466 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50468 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50469 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50470 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50472 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50474 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50475 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50477 2011-11-11 Roland McGrath <roland@hack.frob.com>
50479 * include/unistd.h: Fix __readlink return type.
50480 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50482 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50484 * stdlib/ucontext.h: Undo last change for makecontext.
50486 2011-11-11 Andreas Schwab <schwab@redhat.com>
50488 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50490 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50491 * setjmp/setjmp.h: Mark functions as non-leaf.
50492 * setjmp/bits/setjmp2.h: Likewise.
50493 * stdlib/ucontext.h: Likewise.
50495 2011-11-10 Andreas Schwab <schwab@redhat.com>
50497 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50498 (reused_arena): Don't check arena limit.
50499 (arena_get2): Atomically check arena limit.
50501 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50503 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50504 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50509 2011-11-07 Andreas Schwab <schwab@redhat.com>
50511 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50512 handler when locking.
50514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50515 Fix size of allocated buffer.
50517 2011-11-04 Andreas Schwab <schwab@redhat.com>
50520 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50521 declarations for long double functions.
50522 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50524 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50526 2011-11-03 Andreas Schwab <schwab@redhat.com>
50528 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50531 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50534 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50536 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50538 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50540 * include/alloca.h (stackinfo_alloca_round): Define.
50541 (extend_alloca): Use it.
50542 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50543 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50546 * scripts/check-local-headers.sh: Ignore libaudit.h.
50548 * nscd/Makefile (extra-objs): Make recursively expanded.
50550 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50552 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50553 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50555 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50556 * posix/tst-rfc3484-2.c: Likewise.
50557 * posix/tst-rfc3484-3.c: Likewise.
50559 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50561 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50563 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50564 process_vm_writev from libc using GLIBC_2.15 version.
50566 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50568 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50570 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50573 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50576 * nss/getent.c (initgroups_keys): Show error message in case no group
50579 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50580 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50581 __bump_nl_timestamp.
50582 * nscd/connections (nscd_init): When host database is served open
50583 netlink socket and request notification about configuration changes.
50584 (main_loop_poll): Track netlink file descriptor and bump timestamp
50585 in case data becomes available.
50586 (main_loop_epoll): Likewise.
50587 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50588 (database_pers_head): Add extra_data fileds.
50589 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50590 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50591 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50594 in6ai data, call __free_in6ai.
50595 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50596 Add -DHAVE_NETLINK.
50597 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50598 interface information. Reuse previous data if netlink timestamp
50600 (__bump_nl_timestamp): New function.
50601 (__free_in6ai): New function.
50603 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50605 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50606 close_not_cancel_no_status here.
50607 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50609 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50612 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50615 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50616 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50617 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50619 2011-07-03 Andreas Jaeger <aj@suse.de>
50622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50623 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50624 * math/libm-test.inc (sin_test): Add test case.
50626 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50629 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50630 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50632 * elf/chroot_canon.c (chroot_canon): Cleanups.
50634 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50637 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50638 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50640 * string/test-strchr.c: Make usable for strchrnul testing.
50641 * string/test-strchrnul.c: New file.
50642 * string/Makefile (strop-tests): Add strchrnul.
50644 * po/it.po: Update from translation team.
50645 * po/es.po: Likewise.
50647 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50649 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50650 the three constants needed as parameters. Drop the others.
50651 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50652 __m128i_strloadu_tolower.
50653 Create and initialize variable zero and use it in all the places
50654 where _mm_setzero_si128 was used.
50656 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50657 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50658 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50659 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50661 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50662 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50663 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50664 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50665 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50666 __mpranred, __mptan.
50667 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50668 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50669 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50670 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50671 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50672 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50673 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50674 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50675 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50677 2011-10-28 Andreas Schwab <schwab@redhat.com>
50679 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50680 redefine if SHARED.
50681 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50684 wide char related routines to wcsmbs subdir.
50686 2011-10-27 Andreas Schwab <schwab@redhat.com>
50689 * misc/sys/cdefs.h (__THROWNL): Define.
50690 * posix/unistd.h: Use __THREADNL instead of __THREAD
50691 for memory synchronization functions.
50693 2011-10-26 Roland McGrath <roland@hack.frob.com>
50696 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50698 * manual/stdio.texi (Obstack Streams): Node removed.
50700 2011-10-26 Andreas Schwab <schwab@redhat.com>
50702 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50703 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50704 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50706 * math/math_private.h (math_force_eval): Allow non-addressable
50708 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50710 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50712 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50713 file is not needed.
50715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50716 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50717 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50718 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50721 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50722 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50724 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50725 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50726 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50727 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50728 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50729 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50730 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50731 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50732 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50733 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50734 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50735 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50736 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50737 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50738 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50739 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50740 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50741 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50742 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50744 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50745 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50748 place. Use VEX encoding when compiling for AVX.
50750 2011-10-25 Andreas Schwab <schwab@redhat.com>
50752 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50753 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50755 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50757 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50759 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50760 useless if() expression.
50761 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50762 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50763 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50765 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50766 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50767 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50769 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50771 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50772 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50773 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50774 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50775 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50776 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50779 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50781 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50783 2011-10-25 Andreas Schwab <schwab@redhat.com>
50785 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50787 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50789 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50791 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50792 .text section. Avoid duplicate constants.
50793 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50795 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50800 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50801 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50802 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50803 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50804 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50805 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50806 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50807 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50808 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50809 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50810 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50811 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50813 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50814 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50815 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50816 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50817 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50818 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50819 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50820 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50821 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50822 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50823 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50824 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50825 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50826 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50827 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50828 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50829 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50831 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50832 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50834 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50835 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50836 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50837 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50839 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50841 * sysdeps/x86_64/dla.h: Move to ...
50842 * sysdeps/x86_64/fpu/dla.h: ...here.
50843 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50844 situations. Use __builtin_fma only for gcc 4.6 and up.
50846 * config.make.in: Add have-mfma4 entry.
50847 * configure.in: Substitute libc_cv_cc_fma4.
50848 * math/Makefile (dbl-only-routines): Add sincostab.
50849 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50850 Use __sincostab not sincos.
50851 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50858 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50859 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50860 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50861 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50863 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50864 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50866 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50867 define aliases when function name is a macro.
50868 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50869 sysdeps/ieee754/dbl-64/sincos.tbl.
50870 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50871 fma4-enabled routines.
50872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50873 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50874 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50875 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50876 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50877 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50879 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50881 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50882 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50883 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50884 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50885 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50886 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50887 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50888 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50889 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50890 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50892 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50893 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50895 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50896 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50897 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50899 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50900 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50901 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50903 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50914 2011-10-24 Andreas Schwab <schwab@redhat.com>
50916 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50918 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50920 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50922 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50924 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50926 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50927 Remove unused variable magic_bits.
50928 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50930 * string/strnlen.c: Define and use STRNLEN macro.
50931 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50932 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50933 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50934 * wcsmbs/wcslen.c: Define and use WCSLEN.
50935 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50936 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50937 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50938 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50939 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50940 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50941 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50943 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50946 strnlen-sse2-no-bsf.
50947 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50949 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50950 Add strnlen support.
50951 (USE_AS_STRNLEN): New macro.
50952 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50953 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50954 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50955 * sysdeps/x86_64/wcslen.S: New file.
50957 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50960 XMM-moves are used for copying on small sizes.
50962 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50964 * wcsmbs/Makefile (strop-tests): Add wcschr.
50965 * wcsmbs/test-wcschr.c: New file.
50966 * string/test-strchr.c: Update.
50967 Add wcschr support.
50970 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50972 * wcsmbs/Makefile (strop-tests): Add wcslen.
50973 * wcsmbs/test-wcslen.c: New file.
50974 * string/test-strlen.c: Update.
50975 Add wcslen support.
50978 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50980 * po/it.po: Update from translation team.
50982 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50984 * sysdeps/x86_64/wcscmp.S: Update.
50985 Fix wrong comparison semantics.
50986 wcscmp shall use signed comparison not unsigned.
50987 Don't use substraction to avoid overflow bug.
50988 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50989 * wcsmbc/wcscmp.c: Likewise.
50990 * string/test-strcmp.c: Likewise.
50991 Add new tests to check cases with negative values.
50993 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50995 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50996 * sysdeps/x86_64/dla.h: ...here. New file.
50997 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51007 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51010 __ynl_finite aliases.
51012 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51016 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51018 [DLA_FMA] (EMULV): Use DLA_FMA.
51019 [DLA_FMA] (MUL12): Use EMULV.
51020 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51021 that are not needed.
51022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51030 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51032 * math/s_nan.c: Undef __nan.
51033 * math/s_nanf.c: Undef __nanf.
51034 * math/s_nanl.c: Undef __nanl.
51035 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51038 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51040 * math/s_catan.c: Add branch predictions.
51041 * math/s_catanf.c: Likewise.
51042 * math/s_catanh.c: Likewise.
51043 * math/s_catanhf.c: Likewise.
51044 * math/s_catanhl.c: Likewise.
51045 * math/s_catanl.c: Likewise.
51046 * math/s_cexp.c: Likewise.
51047 * math/s_cexpf.c: Likewise.
51048 * math/s_cexpl.c: Likewise.
51049 * math/s_clog.c: Likewise.
51050 * math/s_clog10.c: Likewise.
51051 * math/s_clog10f.c: Likewise.
51052 * math/s_clog10l.c: Likewise.
51053 * math/s_clogf.c: Likewise.
51054 * math/s_clogl.c: Likewise.
51055 * math/s_csqrt.c: Likewise.
51056 * math/s_csqrtf.c: Likewise.
51057 * math/s_csqrtl.c: Likewise.
51058 * math/s_ctanf.c: Likewise.
51059 * math/s_ctanh.c: Likewise.
51060 * math/s_ctanhf.c: Likewise.
51061 * math/s_ctanhl.c: Likewise.
51062 * math/s_ctanl.c: Likewise.
51064 * math/math_private.h: Define __nan, __nanf, __nanl.
51065 * math/s_cacosh.c: Include <math_private.h>.
51066 * math/s_cacoshl.c: Likewise.
51067 * math/s_casinh.c: Likewise.
51068 * math/s_casinhf.c: Likewise.
51069 * math/s_casinhl.c: Likewise.
51070 * math/s_ccos.c: Rely entire on ccosh.
51071 * math/s_ccosf.c: Rely entire on ccoshf.
51072 * math/s_ccosl.c: Rely entirely on ccoshl.
51073 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51074 Remove tests for FE_INVALID.
51075 * math/s_ccoshf.c: Likewise.
51076 * math/s_ccoshl.c: Likewise.
51077 * math/s_csin.c: Likewise.
51078 * math/s_csinf.c: Likewise.
51079 * math/s_csinh.c Likewise.
51080 * math/s_csinhf.c: Likewise.
51081 * math/s_csinhl.c: Likewise.
51082 * math/s_csinl.c: Likewise.
51083 * math/s_ctan.c: Likewise.
51084 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51085 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51086 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51088 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51091 compilation problems.
51093 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51096 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51098 * sysdeps/i386/configure.in: Test for -mfma4 option.
51099 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51100 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51101 COMMON_CPUID_INDEX_80000001.
51102 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51103 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51104 use it if FMA3 is not supported.
51105 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51107 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51108 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51110 2011-10-20 Andreas Schwab <schwab@redhat.com>
51113 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51114 it would create a cycle with a link time dependency.
51116 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51118 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51120 * string/Makefile (strop-tests): Add rawmemchr.
51121 * string/test-rawmemchr.c: New file.
51123 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51125 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51126 when compiling str{,n}casecmp and when AVX is available. Hook up
51127 new optimized code in initializers.
51129 2011-10-19 Andreas Schwab <schwab@redhat.com>
51131 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51132 __feraiseexcept instead of feraiseexcept.
51134 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51136 * math/math_private.h: Define defaults for libc_fetestexcept and
51138 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51139 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51140 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51141 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51142 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51143 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51144 libc_fetestexcept and libc_feupdateenv.
51146 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51147 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51148 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51149 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51150 libc_feholdexcept_setround.
51152 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51153 Add s_nearbyint-c and s_nearbyintf-c.
51154 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51155 nearbyintf inlines.
51156 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51157 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51158 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51159 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51161 * math/math_private.h: Define defaults for libc_fegetround,
51162 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51163 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51164 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51165 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51166 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51167 standard functions.
51168 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51169 Remove comments and hacks for old compiler versions.
51170 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51171 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51172 libc_feholdexceptl.
51174 2011-10-18 Andreas Schwab <schwab@redhat.com>
51176 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51177 (__feraiseexcept_renamed): Add __NTH.
51178 (feraiseexcept): Add __NTH. Rename local variables to fix
51179 namespace violations.
51181 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51185 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51187 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51188 recently added interfaces.
51189 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51191 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51192 about macro parameter expansion.
51194 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51195 __NO_MATH_INLINES is defined. Cleanups.
51197 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51198 and __floorf is target has SSE4.1.
51199 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51201 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51202 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51204 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51206 (floorf): Likewise.
51208 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51210 2011-10-17 Andreas Schwab <schwab@redhat.com>
51212 * misc/sys/cdefs.h: Fix last change.
51214 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51217 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51219 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51221 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51223 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51224 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51226 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51227 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51228 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51229 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51230 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51231 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51232 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51233 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51235 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51236 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51237 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51238 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51239 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51240 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51241 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51242 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51244 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51245 ceil, ceilf, floor, floorf.
51247 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51248 Perform IRELATIVE relocations last.
51250 * elf/do-rel.h: Add another parameter nrelative, replacing the
51251 local variable with the same name. Change name of the function
51252 to end in Rel or Rela (uppercase).
51253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51254 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51255 elf_dynamic_do_##reloc function.
51257 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51259 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51260 is sufficient, at least on modern CPUs.
51262 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51264 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51265 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51267 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51269 * math/bits/math-finite.h: Add entries for exp.
51270 * math/e_expl.c: Add __*_finite alias.
51271 * sysdeps/i386/fpu/e_exp.S: Likewise.
51272 * sysdeps/i386/fpu/e_expf.S: Likewise.
51273 * sysdeps/i386/fpu/e_expl.c: Likewise.
51274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51275 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51276 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51277 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51278 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51279 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51280 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51282 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51283 is sufficient, at least on modern CPUs.
51285 * ctype/ctype-info.c (__ctype_init): Define.
51286 * include/ctype.h (__ctype_init): Declare.
51287 (__ctype_b_loc): The variable is always initialized.
51288 (__ctype_toupper_loc): Likewise.
51289 (__ctype_tolower_loc): Likewise.
51290 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51291 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51293 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51295 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51297 * configure.in: Also look in $cxxmachine/include for C++ system
51300 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51302 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51303 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51304 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51305 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51306 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51307 (USE_AS_WMEMCMP): New macro.
51309 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51310 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51311 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51312 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51314 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51315 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51316 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51317 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51318 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51319 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51320 (USE_AS_WMEMCMP): New macro.
51321 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51322 * sysdeps/string/test-memcmp.c: Update.
51323 Fix simple_wmemcmp.
51325 * wcsmbs/wmemcmp.c: Update.
51326 (WMEMCMP): New macro.
51329 2011-10-12 Andreas Jaeger <aj@suse.de>
51332 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51334 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51336 * libio/iofwide.c (do_length): Avoid warning.
51338 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51340 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51342 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51344 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51345 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51346 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51347 * sysdeps/i386/i686/fpu/e_log.S: New file.
51348 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51349 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51351 * ctype/ctype.h: Add support for inlined isXXX functions when
51352 compiling C++ code.
51354 2011-10-14 Andreas Schwab <schwab@redhat.com>
51356 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51358 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51360 2011-10-13 Roland McGrath <roland@hack.frob.com>
51363 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51365 2011-10-13 Andreas Schwab <schwab@redhat.com>
51367 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51368 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51371 * sysdeps/x86_64/memrchr.S: Check for zero size.
51373 * string/stratcliff.c: Add memrchr tests.
51375 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51377 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51378 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51379 rawmemchr-sse2 rawmemchr-sse2-bsf.
51380 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51381 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51382 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51383 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51384 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51385 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51386 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51387 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51388 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51389 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51390 * string/memrchr.c (MEMRCHR): New macro.
51392 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51394 Add integration with gcc's -ffinite-math-only and optimize wrapper
51396 * Versions.def: Define GLIBC_2.15 version for libm.
51397 * math/Makefile (headers): Add bits/math-finite.h.
51398 * math/bits/math-finite.h: New file.
51399 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51400 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51401 * math/e_acoshl.c: Add __*_finite alias.
51402 * math/e_acosl.c: Likewise.
51403 * math/e_asinl.c: Likewise.
51404 * math/e_atan2l.c: Likewise.
51405 * math/e_atanhl.c: Likewise.
51406 * math/e_coshl.c: Likewise.
51407 * math/e_exp10.c: Likewise.
51408 * math/e_exp10f.c: Likewise.
51409 * math/e_exp10l.c: Likewise.
51410 * math/e_exp2l.c: Likewise.
51411 * math/e_fmodl.c: Likewise.
51412 * math/e_gammal_r.c: Likewise.
51413 * math/e_hypotl.c: Likewise.
51414 * math/e_j0l.c: Likewise.
51415 * math/e_j1l.c: Likewise.
51416 * math/e_jnl.c: Likewise.
51417 * math/e_lgammal_r.c: Likewise.
51418 * math/e_log10l.c: Likewise.
51419 * math/e_log2l.c: Likewise.
51420 * math/e_logl.c: Likewise.
51421 * math/e_powl.c: Likewise.
51422 * math/e_sinhl.c: Likewise.
51423 * math/e_sqrtl.c: Likewise.
51424 * math/e_scalb.c: Completely rewritten and optimized.
51425 * math/e_scalbf.c: Likewise.
51426 * math/e_scalbl.c: Likewise.
51427 * math/w_acos.c: Likewise.
51428 * math/w_acosf.c: Likewise.
51429 * math/w_acosl.c: Likewise.
51430 * math/w_acosh.c: Likewise.
51431 * math/w_acoshf.c: Likewise.
51432 * math/w_acoshl.c: Likewise.
51433 * math/w_asin.c: Likewise.
51434 * math/w_asinf.c: Likewise.
51435 * math/w_asinl.c: Likewise.
51436 * math/w_atan2.c: Likewise.
51437 * math/w_atan2f.c: Likewise.
51438 * math/w_atan2l.c: Likewise.
51439 * math/w_atanh.c: Likewise.
51440 * math/w_atanhf.c: Likewise.
51441 * math/w_atanhl.c: Likewise.
51442 * math/w_exp10.c: Likewise.
51443 * math/w_exp10f.c: Likewise.
51444 * math/w_exp10l.c: Likewise.
51445 * math/w_fmod.c: Likewise.
51446 * math/w_fmodf.c: Likewise.
51447 * math/w_fmodl.c: Likewise.
51448 * math/w_j0.c: Likewise.
51449 * math/w_j0f.c: Likewise.
51450 * math/w_j0l.c: Likewise.
51451 * math/w_j1.c: Likewise.
51452 * math/w_j1f.c: Likewise.
51453 * math/w_j1l.c: Likewise.
51454 * math/w_jn.c: Likewise.
51455 * math/w_jnf.c: Likewise.
51456 * math/w_log.c: Likewise.
51457 * math/w_logf.c: Likewise.
51458 * math/w_logl.c: Likewise.
51459 * math/w_log10.c: Likewise.
51460 * math/w_log10f.c: Likewise.
51461 * math/w_log10l.c: Likewise.
51462 * math/w_log2.c: Likewise.
51463 * math/w_log2f.c: Likewise.
51464 * math/w_log2l.c: Likewise.
51465 * math/w_pow.c: Likewise.
51466 * math/w_powf.c: Likewise.
51467 * math/w_powl.c: Likewise.
51468 * math/w_remainder.c: Likewise.
51469 * math/w_remainderf.c: Likewise.
51470 * math/w_remainderl.c: Likewise.
51471 * math/w_scalb.c: Likewise.
51472 * math/w_scalbf.c: Likewise.
51473 * math/w_scalbl.c: Likewise.
51474 * math/w_sqrt.c: Likewise.
51475 * math/w_sqrtf.c: Likewise.
51476 * math/w_sqrtl.c: Likewise.
51477 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51478 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51480 * math/math_private.h: Declare __kernel_standard_f.
51481 * math/w_cosh.c: Remove cruft and optimize a bit.
51482 * math/w_coshf.c: Likewise.
51483 * math/w_coshl.c: Likewise.
51484 * math/w_exp2.c: Likewise.
51485 * math/w_exp2f.c: Likewise.
51486 * math/w_exp2l.c: Likewise.
51487 * math/w_hypot.c: Likewise.
51488 * math/w_hypotf.c: Likewise.
51489 * math/w_hypotl.c: Likewise.
51490 * math/w_lgamma.c: Likewise.
51491 * math/w_lgamma_r.c: Likewise.
51492 * math/w_lgammaf.c: Likewise.
51493 * math/w_lgammaf_r.c: Likewise.
51494 * math/w_lgammal.c: Likewise.
51495 * math/w_lgammal_r.c: Likewise.
51496 * math/w_sinh.c: Likewise.
51497 * math/w_sinhf.c: Likewise.
51498 * math/w_sinhl.c: Likewise.
51499 * math/w_tgamma.c: Likewise.
51500 * math/w_tgammaf.c: Likewise.
51501 * math/w_tgammal.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51504 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51505 Minor optimizations. Pretty printing. Remove cruft.
51506 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51508 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51510 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51511 * sysdeps/i386/fpu/e_asin.S: Likewise.
51512 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51513 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51514 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51515 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51516 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51517 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51518 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51519 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51520 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51521 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51522 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51523 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51524 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51525 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51526 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51527 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51528 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51529 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51530 * sysdeps/i386/fpu/e_log.S: Likewise.
51531 * sysdeps/i386/fpu/e_log10.S: Likewise.
51532 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51533 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51534 * sysdeps/i386/fpu/e_log2.S: Likewise.
51535 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51536 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51537 * sysdeps/i386/fpu/e_logf.S: Likewise.
51538 * sysdeps/i386/fpu/e_logl.S: Likewise.
51539 * sysdeps/i386/fpu/e_pow.S: Likewise.
51540 * sysdeps/i386/fpu/e_powf.S: Likewise.
51541 * sysdeps/i386/fpu/e_powl.S: Likewise.
51542 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51543 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51544 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51545 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51546 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51547 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51548 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51549 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51550 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51554 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51555 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51556 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51557 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51558 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51562 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51565 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51569 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51571 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51572 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51573 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51574 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51575 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51576 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51577 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51578 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51579 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51580 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51581 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51582 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51583 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51585 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51586 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51587 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51588 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51589 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51590 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51591 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51592 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51593 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51594 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51595 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51596 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51597 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51598 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51599 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51600 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51601 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51602 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51603 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51604 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51605 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51606 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51607 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51608 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51609 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51610 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51611 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51612 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51614 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51615 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51616 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51617 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51619 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51621 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51622 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51625 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51627 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51628 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51629 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51630 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51631 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51632 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51633 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51634 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51635 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51636 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51637 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51639 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51641 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51642 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51643 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51644 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51645 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51646 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51647 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51648 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51649 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51650 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51651 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51652 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51653 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51654 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51655 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51656 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51657 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51658 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51659 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51660 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51661 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51662 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51663 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51664 (__isnanf): Likewise.
51665 (__isinf_ns): Likewise.
51666 (__isinf_nsf): Likewise.
51667 (__finite): Likewise.
51668 (__finitef): Likewise.
51669 (__ieee754_sqrt): Define as macro.
51670 (__ieee754_sqrtf): Define as macro.
51671 (__ieee754_sqrtl): Define as macro.
51672 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51674 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51675 __FINITE_MATH_ONLY__ consistent.
51676 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51678 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51680 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51683 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51685 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51687 * po/ja.po: Update from translation team.
51689 2011-10-08 Roland McGrath <roland@hack.frob.com>
51691 * locale/programs/locarchive.c (prepare_address_space): New function.
51692 (create_archive, enlarge_archive, open_archive): Use it.
51694 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51695 inside [SHARED], where it is used.
51697 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51699 * nss/getent.c (netgroup_keys): Remove unused variable.
51700 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51702 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51704 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51705 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51708 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51709 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51710 * math/Makefile (libm-calls): Add s_isinf_ns.
51711 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51712 * math/multc3.c: Likewise.
51713 * math/s_casin.c: Likewise.
51714 * math/s_casinf.c: Likewise.
51715 * math/s_casinl.c: Likewise.
51716 * math/s_ccos.c: Likewise.
51717 * math/s_ccosf.c: Likewise.
51718 * math/s_ccosl.c: Likewise.
51719 * math/s_ctan.c: Likewise.
51720 * math/s_ctanf.c: Likewise.
51721 * math/s_ctanh.c: Likewise.
51722 * math/s_ctanhf.c: Likewise.
51723 * math/s_ctanhl.c: Likewise.
51724 * math/s_ctanl.c: Likewise.
51725 * math/w_fmod.c: Likewise.
51726 * math/w_fmodf.c: Likewise.
51727 * math/w_fmodl.c: Likewise.
51728 * math/w_remainder.c: Likewise.
51729 * math/w_remainderf.c: Likewise.
51730 * math/w_remainderl.c: Likewise.
51731 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51732 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51733 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51735 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51736 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51737 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51738 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51740 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51742 * stdio-common/printf_fphex.c: Likewise.
51743 * stdio-common/printf_size.c: Likewise.
51745 * math/e_exp10.c: Include math_private.h using <...> not "...".
51746 * math/e_exp10f.c: Likewise.
51747 * math/e_exp10l.c: Likewise.
51748 * math/e_exp2l.c: Likewise.
51749 * math/e_j0l.c: Likewise.
51750 * math/e_j1l.c: Likewise.
51751 * math/e_jnl.c: Likewise.
51752 * math/e_lgammal_r.c: Likewise.
51753 * math/e_rem_pio2l.c: Likewise.
51754 * math/e_scalb.c: Likewise.
51755 * math/e_scalbf.c: Likewise.
51756 * math/e_scalbl.c: Likewise.
51757 * math/k_cosl.c: Likewise.
51758 * math/k_sinl.c: Likewise.
51759 * math/k_tanl.c: Likewise.
51760 * math/s_cacoshf.c: Likewise.
51761 * math/s_catan.c: Likewise.
51762 * math/s_catanf.c: Likewise.
51763 * math/s_catanh.c: Likewise.
51764 * math/s_catanhf.c: Likewise.
51765 * math/s_catanhl.c: Likewise.
51766 * math/s_catanl.c: Likewise.
51767 * math/s_ccosh.c: Likewise.
51768 * math/s_ccoshf.c: Likewise.
51769 * math/s_ccoshl.c: Likewise.
51770 * math/s_cexp.c: Likewise.
51771 * math/s_cexpf.c: Likewise.
51772 * math/s_cexpl.c: Likewise.
51773 * math/s_clog.c: Likewise.
51774 * math/s_clog10.c: Likewise.
51775 * math/s_clog10f.c: Likewise.
51776 * math/s_clog10l.c: Likewise.
51777 * math/s_clogf.c: Likewise.
51778 * math/s_clogl.c: Likewise.
51779 * math/s_csin.c: Likewise.
51780 * math/s_csinf.c: Likewise.
51781 * math/s_csinh.c: Likewise.
51782 * math/s_csinhf.c: Likewise.
51783 * math/s_csinhl.c: Likewise.
51784 * math/s_csinl.c: Likewise.
51785 * math/s_csqrt.c: Likewise.
51786 * math/s_csqrtf.c: Likewise.
51787 * math/s_csqrtl.c: Likewise.
51788 * math/s_ctan.c: Likewise.
51789 * math/s_ctanf.c: Likewise.
51790 * math/s_ctanh.c: Likewise.
51791 * math/s_ctanhf.c: Likewise.
51792 * math/s_ctanhl.c: Likewise.
51793 * math/s_ctanl.c: Likewise.
51794 * math/s_ldexp.c: Likewise.
51795 * math/s_ldexpf.c: Likewise.
51796 * math/s_ldexpl.c: Likewise.
51797 * math/s_significand.c: Likewise.
51798 * math/s_significandf.c: Likewise.
51799 * math/s_significandl.c: Likewise.
51800 * math/w_acos.c: Likewise.
51801 * math/w_acosf.c: Likewise.
51802 * math/w_acosh.c: Likewise.
51803 * math/w_acoshf.c: Likewise.
51804 * math/w_acoshl.c: Likewise.
51805 * math/w_acosl.c: Likewise.
51806 * math/w_asin.c: Likewise.
51807 * math/w_asinf.c: Likewise.
51808 * math/w_asinl.c: Likewise.
51809 * math/w_atan2.c: Likewise.
51810 * math/w_atan2f.c: Likewise.
51811 * math/w_atan2l.c: Likewise.
51812 * math/w_atanh.c: Likewise.
51813 * math/w_atanhf.c: Likewise.
51814 * math/w_atanhl.c: Likewise.
51815 * math/w_cosh.c: Likewise.
51816 * math/w_coshf.c: Likewise.
51817 * math/w_coshl.c: Likewise.
51818 * math/w_dremf.c: Likewise.
51819 * math/w_exp10.c: Likewise.
51820 * math/w_exp10f.c: Likewise.
51821 * math/w_exp10l.c: Likewise.
51822 * math/w_exp2.c: Likewise.
51823 * math/w_exp2f.c: Likewise.
51824 * math/w_fmod.c: Likewise.
51825 * math/w_fmodf.c: Likewise.
51826 * math/w_fmodl.c: Likewise.
51827 * math/w_hypot.c: Likewise.
51828 * math/w_hypotf.c: Likewise.
51829 * math/w_hypotl.c: Likewise.
51830 * math/w_j0.c: Likewise.
51831 * math/w_j0f.c: Likewise.
51832 * math/w_j0l.c: Likewise.
51833 * math/w_j1.c: Likewise.
51834 * math/w_j1f.c: Likewise.
51835 * math/w_j1l.c: Likewise.
51836 * math/w_jn.c: Likewise.
51837 * math/w_jnf.c: Likewise.
51838 * math/w_jnl.c: Likewise.
51839 * math/w_lgamma.c: Likewise.
51840 * math/w_lgamma_r.c: Likewise.
51841 * math/w_lgammaf.c: Likewise.
51842 * math/w_lgammaf_r.c: Likewise.
51843 * math/w_lgammal.c: Likewise.
51844 * math/w_lgammal_r.c: Likewise.
51845 * math/w_log.c: Likewise.
51846 * math/w_log10.c: Likewise.
51847 * math/w_log10f.c: Likewise.
51848 * math/w_log10l.c: Likewise.
51849 * math/w_log2.c: Likewise.
51850 * math/w_log2f.c: Likewise.
51851 * math/w_log2l.c: Likewise.
51852 * math/w_logf.c: Likewise.
51853 * math/w_logl.c: Likewise.
51854 * math/w_pow.c: Likewise.
51855 * math/w_powf.c: Likewise.
51856 * math/w_powl.c: Likewise.
51857 * math/w_remainder.c: Likewise.
51858 * math/w_remainderf.c: Likewise.
51859 * math/w_remainderl.c: Likewise.
51860 * math/w_scalb.c: Likewise.
51861 * math/w_scalbf.c: Likewise.
51862 * math/w_scalbl.c: Likewise.
51863 * math/w_sinh.c: Likewise.
51864 * math/w_sinhf.c: Likewise.
51865 * math/w_sinhl.c: Likewise.
51866 * math/w_sqrt.c: Likewise.
51867 * math/w_sqrtf.c: Likewise.
51868 * math/w_sqrtl.c: Likewise.
51869 * math/w_tgamma.c: Likewise.
51870 * math/w_tgammaf.c: Likewise.
51871 * math/w_tgammal.c: Likewise.
51873 * po/ja.po: Update from translation team.
51875 2011-09-29 Andreas Jaeger <aj@suse.de>
51878 * sunrpc/netname.c (netname2host): Fix logic.
51882 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51884 * math/w_remainder.c (__remainder): Likewise.
51885 * math/w_remainderf.c (__remainderf): Likewise.
51886 * math/libm-test.inc (remainder_test): Add test cases.
51888 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51890 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51893 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51895 * string/test-memcmp.c: Avoid unncessary #defines.
51896 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51898 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51900 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51901 Use new sse2 version for core i3 - i7 as it's faster
51902 than sse42 version.
51903 (bit_Prefer_PMINUB_for_stringop): New.
51904 * sysdeps/x86_64/rawmemchr.S: Update.
51905 Replace with faster SSE2 version.
51906 * sysdeps/x86_64/memrchr.S: New file.
51907 * sysdeps/x86_64/memchr.S: Update.
51908 Replace with faster SSE2 version.
51910 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51912 * elf/dl-load.c (lose): Add cast to avoid warning.
51914 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51916 * po/ca.po: Update from translation team.
51918 * inet/getnetgrent_r.c: Hook up nscd.
51919 * nscd/Makefile (routines): Add nscd_netgroup.
51920 (nscd-modules): Add netgroupcache.
51921 (CFLAGS-netgroupcache.c): Define.
51922 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51923 (cache_search): Add const to second parameter.
51924 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51926 (dbs): Add netgrdb entry.
51927 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51928 (verify_persistent_db): Handle netgrdb.
51929 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51930 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51932 (netgroup_response_header): Define.
51933 (innetgroup_response_header): Define.
51934 (datahead): Add netgroup_response_header and innetgroup_response_header
51936 * nscd/nscd.conf: Add entries for netgroup cache.
51937 * nscd/nscd.h (dbtype): Add netgrdb.
51938 (_PATH_NSCD_NETGROUP_DB): Define.
51939 (netgroup_iov_disabled): Declare.
51940 (xmalloc, xcalloc, xrealloc): Move declarations here.
51941 (cache_search): Adjust prototype.
51942 Add netgroup-related prototypes.
51943 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51944 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51945 (__nscd_innetgr): Declare.
51946 * nscd/selinux.c (perms): Use access_vector_t as element type and
51947 add netgroup-related initializers.
51948 * nscd/netgroupcache.c: New file.
51949 * nscd/nscd_netgroup.c: New file.
51950 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51951 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51952 For four parameters use innetgr.
51953 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51954 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51955 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51956 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51958 * nscd/connections.c (register_traced_file): Don't register file
51959 for disabled databases.
51961 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51963 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51965 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51966 from tree and freeing node.
51968 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51970 * nss/nsswitch.c (__nss_database_lookup): Handle
51971 nss_parse_service_list out of memory case.
51973 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51975 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51976 out of memory case.
51978 2011-10-04 Andreas Schwab <schwab@redhat.com>
51980 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51981 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51983 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51984 elf_machine_rela, elf_machine_lazy_rel.
51985 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51986 (ELF_DYNAMIC_DO_REL): Likewise.
51987 (ELF_DYNAMIC_DO_RELA): Likewise.
51988 (ELF_DYNAMIC_RELOCATE): Likewise.
51989 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51990 to ELF_DYNAMIC_DO_REL.
51991 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51992 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51993 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51995 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51996 skip_ifunc, don't call ifunc function if non-zero.
51997 (elf_machine_rela): Likewise.
51998 (elf_machine_lazy_rel): Likewise.
51999 (elf_machine_lazy_rela): Likewise.
52000 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52001 (elf_machine_lazy_rel): Likewise.
52002 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52004 (elf_machine_lazy_rel): Likewise.
52005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52007 (elf_machine_lazy_rel): Likewise.
52008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52009 (elf_machine_lazy_rel): Likewise.
52010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52011 (elf_machine_lazy_rel): Likewise.
52012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52013 (elf_machine_lazy_rel): Likewise.
52014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52015 (elf_machine_lazy_rel): Likewise.
52016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52017 (elf_machine_lazy_rel): Likewise.
52018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52019 (elf_machine_lazy_rel): Likewise.
52021 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52023 * nss/nss_files/files-init.c (_nss_files_init): Use static
52024 initialization for all the *_traced_file variables.
52026 2011-09-28 Andreas Schwab <schwab@redhat.com>
52028 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52030 2011-09-27 Roland McGrath <roland@hack.frob.com>
52033 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52035 2011-09-27 Andreas Schwab <schwab@redhat.com>
52037 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52038 Reread the line before reparsing it.
52040 2011-09-26 Andreas Schwab <schwab@redhat.com>
52042 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52044 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52045 Maxim Kuvyrkov <maxim@codesourcery.com>
52046 Joseph Myers <joseph@codesourcery.com>
52048 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52049 if needed for __stack_chk_guard.
52051 2011-09-19 Roland McGrath <roland@hack.frob.com>
52053 * sysdeps/posix/spawni.c (script_execute): Always define it.
52054 It will be optimized away if unused.
52055 (maybe_script_execute): New function.
52056 (__spawni): Call it.
52058 * Makerules: Don't include tls.make.
52059 (config-tls): Always set to thread.
52060 * tls.make.c: File removed.
52062 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52064 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52065 * config.make.in (CPPFLAGS-config): New substituted variable.
52067 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52069 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52072 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52073 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52075 2011-09-15 Roland McGrath <roland@hack.frob.com>
52077 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52078 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52079 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52080 (CALL_FAIL): Likewise.
52081 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52082 (CALL_FAIL): Macro removed.
52083 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52085 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52087 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52088 for __FINITE_MATH_ONLY__ == 1.
52090 2011-09-15 Andreas Schwab <schwab@redhat.com>
52092 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52093 __ieee754_sqrt instead of sqrt.
52094 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52095 __ieee754_sqrtf instead of sqrtf.
52096 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52097 __floorf instead of floorf.
52098 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52099 __floorf, __truncf instead of floorf, truncf.
52101 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52103 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52105 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52106 __extern_always_inline.
52107 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52110 2011-09-14 Andreas Schwab <schwab@redhat.com>
52112 * elf/rtld.c (dl_main): Also relocate in dependency order when
52113 doing symbol dependency testing.
52115 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52118 Always define `refsym'.
52120 2011-09-13 Andreas Schwab <schwab@redhat.com>
52122 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52123 (__FD_ELT): Renamed from __FDELT.
52124 * misc/bits/select2.h (__FD_ELT): Likewise.
52125 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52126 __FD_MASK instead of __FDELT, __FDMASK.
52127 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52129 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52132 * elf/Makefile (gen-ldd): Fix pattern.
52134 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52135 (init_tls): Likewise.
52137 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52141 2011-09-12 Andreas Schwab <schwab@redhat.com>
52143 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52144 `struct cmsghdr *' instead of `void *'.
52145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52148 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52150 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52152 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52153 ldd_rewrite_script.
52155 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52157 * configure.in: Remove --with-tls option.
52158 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52159 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52160 out in case it is missing.
52161 * sysdeps/ia64/elf/configure.in: Likewise.
52162 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52163 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52164 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52165 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52166 * sysdeps/sh/elf/configure.in: Likewise.
52167 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52168 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52169 * sysdeps/x86_64/elf/configure.in: Likewise.
52170 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52171 * sysdeps/mach/hurd/tls.h: Likewise.
52174 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52177 * configure.in: Fix use of AC_INIT.
52179 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52181 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52183 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52185 * malloc/hooks.c: Likewise.
52188 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52189 variables statically.
52190 (narenas): Initialize.
52191 (list_lock): Initialize.
52192 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52193 initializtion of main_arena and list_lock. Small cleanups.
52194 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52195 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52196 Add initializers to main_arena and mp_.
52197 (malloc_state): Remove pagesize member. Change all users to use
52200 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52201 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52202 is always initialized.
52204 * malloc/malloc.c: Removed unused configurations and dead code.
52205 * malloc/arena.c: Likewise.
52206 * malloc/hooks.c: Likewise.
52207 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52209 * include/tls.h: Removed. USE___THREAD must always be defined.
52210 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52211 * elf/dl-libc.c: Likewise.
52212 * elf/dl-tsd.c: Likewise.
52213 * include/errno.h: Likewise.
52214 * include/netdb.h: Likewise.
52215 * include/resolv.h: Likewise.
52216 * inet/herrno-loc.c: Likewise.
52217 * inet/herrno.c: Likewise.
52218 * malloc/arena.c: Likewise.
52219 * malloc/hooks.c: Likewise.
52220 * malloc/malloc.c: Likewise.
52221 * resolv/res-state.c: Likewise.
52222 * resolv/res_libc.c: Likewise.
52223 * sysdeps/i386/dl-machine.h: Likewise.
52224 * sysdeps/ia64/dl-machine.h: Likewise.
52225 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52226 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52227 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52228 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52229 * sysdeps/sh/dl-machine.h: Likewise.
52230 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52231 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52232 * sysdeps/unix/i386/sysdep.S: Likewise.
52233 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52234 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52239 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52243 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52244 * sysdeps/x86_64/dl-machine.h: Likewise.
52245 * tls.make.c: Likewise.
52247 * configure.in: Remove --with-__thread option. Make tests for
52248 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52249 tls_model attribute fail if no support is available. Remove
52251 * Makeconfig: Adjust for dropped configure option. All features are
52253 * Makerules: Likewise.
52254 * Versions.def: Likewise.
52255 * argp/argp-fmtstream.c: Likewise.
52256 * argp/argp-fmtstream.h: Likewise.
52257 * argp/argp-help.c: Likewise.
52258 * assert/assert.c: Likewise.
52259 * config.h.in: Likewise.
52260 * config.make.in: Likewise.
52261 * configure: Likewise.
52262 * configure.in: Likewise.
52263 * csu/Versions: Likewise.
52264 * csu/init.c: Likewise.
52265 * elf/tst-audit2.c: Likewise.
52266 * elf/tst-tls10.c: Likewise.
52267 * elf/tst-tls10.h: Likewise.
52268 * elf/tst-tls11.c: Likewise.
52269 * elf/tst-tls12.c: Likewise.
52270 * elf/tst-tls14.c: Likewise.
52271 * elf/tst-tlsmod11.c: Likewise.
52272 * elf/tst-tlsmod12.c: Likewise.
52273 * elf/tst-tlsmod13.c: Likewise.
52274 * elf/tst-tlsmod13a.c: Likewise.
52275 * elf/tst-tlsmod14a.c: Likewise.
52276 * elf/tst-tlsmod15b.c: Likewise.
52277 * elf/tst-tlsmod16a.c: Likewise.
52278 * elf/tst-tlsmod16b.c: Likewise.
52279 * elf/tst-tlsmod7.c: Likewise.
52280 * elf/tst-tlsmod8.c: Likewise.
52281 * elf/tst-tlsmod9.c: Likewise.
52282 * gmon/gmon.c: Likewise.
52283 * grp/fgetgrent_r.c: Likewise.
52284 * grp/putgrent.c: Likewise.
52285 * hurd/fopenport.c: Likewise.
52286 * include/libc-symbols.h: Likewise.
52287 * include/tls.h: Likewise.
52288 * intl/gettextP.h: Likewise.
52289 * intl/loadinfo.h: Likewise.
52290 * locale/global-locale.c: Likewise.
52291 * locale/localeinfo.h: Likewise.
52292 * mach/devstream.c: Likewise.
52293 * malloc/arena.c: Likewise.
52294 * malloc/set-freeres.c: Likewise.
52295 * misc/err.c: Likewise.
52296 * misc/getttyent.c: Likewise.
52297 * misc/mntent_r.c: Likewise.
52298 * posix/getopt.c: Likewise.
52299 * posix/wordexp.c: Likewise.
52300 * pwd/fgetpwent_r.c: Likewise.
52301 * resolv/Versions: Likewise.
52302 * resolv/res_hconf.c: Likewise.
52303 * shadow/fgetspent_r.c: Likewise.
52304 * shadow/putspent.c: Likewise.
52305 * stdio-common/printf_fphex.c: Likewise.
52306 * stdio-common/tmpfile.c: Likewise.
52307 * stdlib/abort.c: Likewise.
52308 * stdlib/fmtmsg.c: Likewise.
52309 * sunrpc/auth_unix.c: Likewise.
52310 * sunrpc/clnt_perr.c: Likewise.
52311 * sunrpc/clnt_tcp.c: Likewise.
52312 * sunrpc/clnt_udp.c: Likewise.
52313 * sunrpc/clnt_unix.c: Likewise.
52314 * sunrpc/openchild.c: Likewise.
52315 * sunrpc/svc_simple.c: Likewise.
52316 * sunrpc/svc_tcp.c: Likewise.
52317 * sunrpc/svc_udp.c: Likewise.
52318 * sunrpc/svc_unix.c: Likewise.
52319 * sunrpc/xdr.c: Likewise.
52320 * sunrpc/xdr_array.c: Likewise.
52321 * sunrpc/xdr_rec.c: Likewise.
52322 * sunrpc/xdr_ref.c: Likewise.
52323 * sunrpc/xdr_stdio.c: Likewise.
52325 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52327 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52329 2011-07-03 Andreas Jaeger <aj@suse.de>
52331 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52332 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52333 regenerate with gen-libm-tests.pl.
52335 2010-05-12 Petr Baudis <pasky@suse.cz>
52338 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52339 around j0() zero points by switching to j1().
52340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52341 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52343 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52345 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52347 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52349 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52352 Patch in part by Pavel Roskin <proski@gnu.org>.
52355 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52357 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52358 Free memory block if necessary.
52361 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52362 be NULL. Don't lock in this case.
52364 2011-09-09 Roland McGrath <roland@hack.frob.com>
52366 * elf/elf.h (ELFOSABI_GNU): New macro.
52367 (ELFOSABI_LINUX): Define to that.
52369 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52371 * string/strncat.c (strncat): Undef the symbol in case it has been
52372 defined in bits/string.h.
52374 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52376 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52378 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52381 2011-08-17 Andreas Jaeger <aj@suse.de>
52383 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52385 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52386 Ian Lance Taylor <iant@google.com>
52388 * math/libm-test.inc (lround_test): New testcase.
52389 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52391 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52393 * Makefile: Remove support for automatic cvs check-ins.
52394 * Makerules: Likewise.
52395 * config.make.in: Likewise.
52396 * configure.in: Likewise.
52397 * intl/Makefile: Likewise.
52398 * locale/Makefile: Likewise.
52399 * po/Makefile: Likewise.
52400 * posix/Makefile: Likewise.
52401 * sysdeps/gnu/Makefile: Likewise.
52402 * sysdeps/mach/hurd/Makefile: Likewise.
52403 * sysdeps/sparc/sparc32/Makefile: Likewise.
52406 * posix/Makefile (bug-regex32-ENV): Define.
52407 Patch by John Stanley <jpsinthemix@verizon.net>.
52409 * misc/Makefile (headers): Add bits/select2.h.
52410 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52411 * misc/bits/select2.h: New file.
52412 * include/bits/select2.h: New file.
52413 * debug/Makefile (routines): Add fdelt_chk.
52414 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52415 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52417 * debug/fdelt_chk.c: New file.
52419 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52420 * wcsmbs/test-wmemcmp.c: Likewise.
52421 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52422 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52424 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52426 * string/Makefile (strop-tests): Add memcmp.
52427 * string/test-wmemcmp.c: New file.
52428 * string/test-memcmp.c: Add wmemcmp support.
52430 2011-09-08 Roland McGrath <roland@hack.frob.com>
52433 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52436 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52437 garbage value in a __mach_port_mod_refs call in the cases of the
52438 task-self and thread-self ports.
52440 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52442 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52444 2011-09-08 Andreas Schwab <schwab@redhat.com>
52446 * elf/dl-load.c (lose): Check for non-null L.
52448 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52450 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52452 * elf/dl-libc.c (dlerror_run): Pass back error code from
52456 * elf/dl-load.c (lose): Free l_origin if it is valid.
52458 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52460 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52461 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52463 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52464 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52465 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52467 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52469 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52470 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52471 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52472 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52473 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52474 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52475 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52476 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52477 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52478 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52480 2011-08-15 Alan Modra <amodra@gmail.com>
52483 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52484 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52485 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52486 ppc_mcount to static-only-routines.
52487 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52489 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52490 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52492 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52494 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52495 for finite and infinity parameters.
52497 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52500 and add nop instructions for throughput optimization.
52501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52503 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52505 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52506 aligned copy for power7 with vector-scalar instructions.
52507 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52509 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52514 2011-09-07 Andreas Schwab <schwab@redhat.com>
52517 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52520 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52522 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52523 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52524 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52525 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52528 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52530 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52531 Forgot to demangle the pointer.
52533 * sysdeps/i386/sysdep.h: Define atom_text_section.
52534 * sysdeps/x86_64/sysdep.h: Likewise.
52535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52536 section with atom_text_section.
52537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52539 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52540 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52541 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52543 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52544 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52545 already be defined. Change to take two parameters and don't assign
52546 result to variable. Adjust all users.
52547 Define INTERNAL_GETTIME if not already defined.
52548 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52551 HAVE_CLOCK_GETTIME_VSYSCALL.
52552 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52555 gettimeofday vsyscall, just use time.
52557 2011-09-06 Andreas Schwab <schwab@redhat.com>
52559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52562 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52564 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52568 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52569 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52570 syscall if possible.
52572 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52574 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52575 e_ident. Don't pass to find_mapsXX.
52576 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52578 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52581 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52582 * sysdeps/x86_64/multiarch/strchr.S: Update.
52583 Check bit_slow_BSF bit.
52584 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52585 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52586 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52588 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52591 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52593 (tryshell): Define.
52594 (__spawni): Change last parameter to be flag. Test
52595 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52596 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52597 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52598 * posix/spawni.c: Likewise.
52599 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52600 * posix/spawnp.c: Likewise. Change normal version to use
52601 SPAWN_XFLAGS_USE_PATH.
52602 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52603 SPAWN_XFLAGS_TRY_SHELL.
52606 * posix/glob.h: Remove gcc 1.x support.
52609 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52611 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52614 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52616 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52617 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52618 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52619 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52621 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52623 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52625 * sysdeps/x86_64/wcscmp.S: New file.
52627 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52628 wcscmp-c wcscmp-sse2
52629 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52630 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52631 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52632 * wcsmbs/wcscmp.c: Allow renaming.
52634 2011-09-05 David S. Miller <davem@davemloft.net>
52636 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52637 stack slot, rather than the struct return pointer slot.
52638 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52639 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52641 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52643 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52645 * po/ja.po: Update from translation team.
52648 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52649 kernel in 64-bit binaries.
52651 2011-09-01 David S. Miller <davem@davemloft.net>
52653 * elf/elf.h (HWCAP_SPARC_*): Move to..
52654 * sysdeps/sparc/sysdep.h: this new file and add new values.
52655 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52656 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52657 _DL_HWCAP_COUNT to 24.
52658 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52660 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52661 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52662 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52664 instead of magic constants.
52665 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52667 2011-08-31 David S. Miller <davem@davemloft.net>
52669 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52671 Reimplement to do errno handling inline.
52672 (SYSCALL_ERROR_HANDLER): New macro.
52673 (__SYSCALL_STRING): Do not do errno handling in asm.
52674 (__CLONE_SYSCALL_STRING): Delete.
52675 (__INTERNAL_SYSCALL_STRING): Delete.
52676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52677 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52678 (PSEUDO): Reimplement to do errno handling inline.
52679 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52680 (SYSCALL_ERROR_HANDLER): New macro.
52681 (__SYSCALL_STRING): Do not do errno handling in asm.
52682 (__CLONE_SYSCALL_STRING): Delete.
52683 (__INTERNAL_SYSCALL_STRING): Delete.
52684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52685 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52687 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52688 (inline_syscall*): Add 'err' argument.
52689 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52690 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52691 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52692 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52694 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52695 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52697 2011-08-30 Andreas Schwab <schwab@redhat.com>
52699 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52701 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52703 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52706 2011-08-24 David S. Miller <davem@davemloft.net>
52708 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52710 2011-08-24 Andreas Schwab <schwab@redhat.com>
52712 * elf/Makefile: Add rules to build and run unload8 test.
52713 * elf/unload8.c: New file.
52714 * elf/unload8mod1.c: New file.
52715 * elf/unload8mod1x.c: New file.
52716 * elf/unload8mod2.c: New file.
52717 * elf/unload8mod3.c: New file.
52719 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52722 2011-08-23 David S. Miller <davem@davemloft.net>
52724 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52725 subtract stack bias.
52726 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52727 %sp not %fp in calculations.
52728 (_JMPBUF_UNWINDS_ADJ): Likewise.
52730 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52731 (aio_suspend): Call it to force an exception region around the
52732 AIO_MISC_WAIT() invocation.
52734 2011-08-23 Andreas Schwab <schwab@redhat.com>
52736 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52739 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52741 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52743 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52744 and <dl-machine.h>.
52745 (Elf64_FuncDesc): Remove.
52747 2011-08-22 David S. Miller <davem@davemloft.net>
52749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52750 sigaltstack check, add missing cfi directives.
52751 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52752 missing cfi directives, and sigaltstack handling.
52754 2011-08-16 Andreas Schwab <schwab@redhat.com>
52757 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52758 object is seen twice.
52759 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52761 * elf/Makefile (distribute): Add tst-initorder2.c.
52762 (tests): Add tst-initorder2.
52763 (modules-names): Add tst-initorder2a tst-initorder2b
52764 tst-initorder2c tst-initorder2d. Add rules to build them.
52765 ($(objpfx)tst-initorder2.out): New rule.
52766 * elf/tst-initorder2.c: New file.
52767 * elf/tst-initorder2.exp: New file.
52769 2011-08-22 Andreas Schwab <schwab@redhat.com>
52771 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52773 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52774 dependencies back to end of function.
52776 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52777 $(elfobjdir)/ld.so.
52779 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52782 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52784 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52785 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52786 of __vdso_gettimeofday.
52787 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52788 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52790 (_libc_vdso_platform_setup): Remove initialization of
52791 __vdso_gettimeofday and __vdso_time.
52793 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52795 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52796 and fgetc_unlocked.
52797 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52800 * elf/dl-open.c (add_to_global): Report additions to the global scope
52801 for LD_DEBUG=scopes.
52802 (dl_open_worker): Also print scope of newly loaded dependencies.
52803 (_dl_show_scope): Indicate if there is no scope.
52806 * stdio-common/Makefile (tests): Add bug24.
52807 * stdio-common/bug24.c: New file.
52809 2011-08-19 Andreas Jaeger <aj@suse.de>
52812 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52813 non-existant file when using close-on-exec mode.
52815 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52817 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52818 the very first instruction.
52820 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52821 the CFI state in the end.
52822 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52823 inclusion of dl-trampoline.h.
52824 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52826 2011-08-19 Andreas Schwab <schwab@redhat.com>
52828 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52829 expectations for long double.
52831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52832 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52834 2011-08-14 David S. Miller <davem@davemloft.net>
52836 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52837 artificual limit depends upon the system page size.
52839 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52841 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52842 * resolv/Makefile: Define CFLAGS-libresolv.
52844 2011-08-17 Andreas Schwab <schwab@redhat.com>
52846 * nss/makedb.c (compute_tables): Make variables used in nested
52849 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52851 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52852 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52853 if buffer was too small.
52855 * elf/pldd.c (main): Attach to all threads in the process.
52856 Rewrite /proc handling to use *at functions.
52858 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52860 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52861 specifies first scope to show.
52862 (dl_open_worker): Update callers. Move printing scope of new
52863 object to before the relocation.
52864 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52865 * sysdeps/generic/ldsodefs.h: Update declaration.
52867 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52868 string for the scope number.
52870 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52872 * nscd/servicescache.c (cache_addserv): Make sure written is always
52875 2011-08-14 Roland McGrath <roland@hack.frob.com>
52877 * sysdeps/i386/i486/bits/atomic.h
52878 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52879 statement expression, so as to suppress "set but not used" warning.
52880 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52882 * string/strncat.c (STRNCAT): Use prototype definition.
52884 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52885 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52887 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52888 (localedef-modules): Add localedef.
52889 (locale-modules): Add locale.
52891 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52892 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52893 to avoid a warning.
52895 2011-08-14 David S. Miller <davem@davemloft.net>
52897 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52898 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52900 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52902 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52903 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52904 * elf/rtld.c (dl_main): Set l_name of vDSO.
52905 Call _dl_show_scope when DL_DEBUG_SCOPES.
52906 (process_dl_debug): Recognize scopes flag and also set it for all.
52907 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52908 Declare _dl_show_scope.
52910 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52911 (do_dlopen): Pass caller_dlopen to dl_open.
52912 (__libc_dlopen_mode): Initialize caller_dlopen.
52914 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52915 of libc. Make tolower call locale-independent. Optimize a bit by
52916 using isdigit instead of isalnum.
52917 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52919 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52921 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52922 was a dependency or dynamically loaded.
52924 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52926 * intl/l10nflist.c: Allow architecture-specific pop function.
52927 * sysdeps/x86_64/l10nflist.c: New file.
52929 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52932 2011-08-10 Andreas Schwab <schwab@redhat.com>
52934 * include/dirent.h: Add libc_hidden_proto for scandirat and
52935 scandirat64. Don't declare __scandirat64.
52936 * dirent/scandirat.c: Add libc_hidden_def.
52937 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52938 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52940 2011-08-10 David S. Miller <davem@davemloft.net>
52942 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52948 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52950 * Versions.def [libc]: Add GLIBC_2.15.
52951 * dirent/Makefile (routines): Add scandirat and scandirat64.
52952 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52954 * dirent/dirent.h: Declare scandirat and scandirat64.
52955 * dirent/scandirat.c: New file.
52956 * dirent/scandirat64.c: New file.
52957 * sysdeps/wordsize-64/scandirat.c: New file.
52958 * sysdeps/wordsize-64/scandirat64.c: New file.
52959 * dirent/opendir.c: Define opendirat.
52960 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52962 * dirent/scandir64.c: Adjust for scandir.c change.
52963 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52964 __scandirat64, and __scandir_cancel_handler.
52965 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52966 additional parameter and use openat instead of open (outside of ld.so).
52967 Add new __opendir as wrapper around __opendirat.
52968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52969 here without requiring old scandirat implementation.
52971 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52973 * dirent/scandir.c (cancel_handler): Renamed to
52974 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52975 defined. Adjust users.
52976 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52977 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52979 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52981 * string/test-string.h (IMPL): Use __STRING to expand name and then
52984 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52987 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52989 * string/Makefile: Update.
52990 (strop-tests): Append strncat.
52991 * string/test-wcscmp.c: New file.
52992 New comprehensive test for wcscmp.
52993 * string/test-strcmp.c: Update.
52994 (WIDE): New define.
52996 2011-07-22 Andreas Schwab <schwab@redhat.com>
52998 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53001 2011-07-26 Andreas Schwab <schwab@redhat.com>
53003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53004 encoding to ACE if AI_IDN.
53006 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53009 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53011 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53013 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53014 Fix overflow bug in strncat.
53015 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53017 * string/test-strncat.c: Update.
53018 Add new tests for checking overflow bugs.
53020 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53023 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53024 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53025 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53026 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53027 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53028 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53029 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53030 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53033 (USE_AS_STRCAT): Define.
53034 Add strcat and strncat support.
53035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53037 2011-07-25 Andreas Schwab <schwab@redhat.com>
53039 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53040 __n bigger than INT_MAX+1.
53041 (__strncmp_g): Likewise.
53043 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53045 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53046 * libio/stido.h: Likewise.
53048 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53053 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53054 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53056 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53060 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53065 (_dl_x86_64_save_sse): Likewise.
53067 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53071 (_dl_x86_64_save_sse): Likewise.
53073 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53075 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53077 2011-07-21 Andreas Schwab <schwab@redhat.com>
53079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53081 (_dl_x86_64_save_sse): Use correct AVX check.
53083 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53085 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53086 bug in strncpy/strncat.
53087 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53089 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53091 * string/tester.c (test_strcat): Add tests for different alignments
53092 of source and destination.
53093 (test_strncat): Likewise.
53095 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53098 * posix/glob.c (glob): Check passed in values before using them in
53099 expressions to avoid some overflows.
53100 (glob_in_dir): Likewise.
53103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53104 check for AVX enablement so that we don't crash with old kernels and
53106 * elf/tst-audit4.c: Add same checks here.
53107 * elf/tst-audit6.c: Likewise.
53109 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53111 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53113 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53115 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53117 * po/cs.po: Update from translation team.
53118 * po/bg.po: Likewise.
53120 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53122 * misc/sys/cdefs.h: Add support for const attribute.
53123 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53124 to gnu_dev_{major,minor,makedev} functions.
53126 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53128 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53130 2011-07-20 Andreas Schwab <schwab@redhat.com>
53132 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53135 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53138 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53139 register in order to avoid conflicts with the soft frame pointer
53140 being held in r11 when necessary.
53141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53142 (INTERNAL_VSYSCALL_NCS): Likewise.
53144 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53146 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53147 * elf/dl-fini.c (_dl_fini): Adjust caller.
53148 * elf/dl-close.c (_dl_close_worker): Likewise.
53149 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53151 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53153 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53154 "aux_cache->nlibs < 0".
53156 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53157 in the reload-count case.
53159 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53162 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53163 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53164 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53165 * sysdeps/x86_64/multiarch/strcat.S: New file.
53166 * sysdeps/x86_64/multiarch/strncat.S: New file.
53167 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53168 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53169 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53170 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53171 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53172 (USE_AS_STRCAT): Define.
53173 Add strcat and strncat support.
53174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53176 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53177 * string/strncat.c: Update.
53178 (USE_AS_STRNCAT): Define.
53179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53180 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53182 * sysdeps/x86_64/multiarch/init-arch.h
53183 (bit_Prefer_PMINUB_for_stringop): New.
53184 (index_Prefer_PMINUB_for_stringop): Likewise.
53185 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53186 bit_Prefer_PMINUB_for_stringop.
53188 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53190 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53192 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53193 of casting of buffer.
53194 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53195 buffer32 and buffer64.
53196 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53197 writes instead of casting of buffer.
53198 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53200 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53203 2011-07-19 Andreas Schwab <schwab@redhat.com>
53205 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53207 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53209 * nscd/nscd.c (termination_handler): Don't do anything for a database
53210 if it has not yet been initialized.
53212 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53214 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53216 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53218 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53220 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53222 * po/nl.po: Update from translation team.
53223 * po/sv.po: Likewise.
53225 2011-07-16 Roland McGrath <roland@hack.frob.com>
53227 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53228 now disallowed by GCC.
53230 * configure.in (use-default-link): Default to yes if a test -shared
53231 link meets our qualifications.
53232 * configure: Regenerated.
53234 * config.make.in (output-format): New variable.
53235 * configure.in: Check for ld --print-output-format support.
53236 * configure: Regenerated.
53237 * Makerules ($(common-objpfx)format.lds)
53238 [$(output-format) != unknown]: Just use $(output-format),
53239 instead of the linker-script munging.
53241 2011-07-14 Roland McGrath <roland@hack.frob.com>
53243 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53244 of $(common-objpfx)shlib.lds.
53245 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53247 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53248 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53250 * configure.in (-z relro check): Adjust test code to add a large
53251 writable data section after it.
53252 * configure: Regenerated.
53254 2011-07-11 Roland McGrath <roland@hack.frob.com>
53256 * configure.in (-z relro check): Fix test code to make the variable
53258 * configure: Regenerated.
53260 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53262 * nscd/nscd.h (struct traced_file): Define.
53263 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53264 elements. Add traced_files.
53265 (inotify_fd): Declare.
53266 (register_traced_file): Declare.
53267 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53268 (inotify_fd): Export.
53269 (resolv_conf_descr): Remove.
53270 (nscd_init): Move inotify descriptor creation to main.
53271 Don't register files for notification here.
53272 (register_traced_file): New function.
53273 (invalidate_cache): Don't use reset_res to determine whether to call
53274 res_init, go through the list of registered files.
53275 (main_loop_poll): The inotify descriptors are now stored in the
53276 structures for the traced files.
53277 (main_loop_epoll): Likewise
53278 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53279 to __nss_disable_nscd.
53280 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53281 for a database anymore. Check the records for all the registered
53283 * nss/Makefile (libnss_files-routines): Add files-init.
53284 (libnss_db-routines): Add db-init.
53285 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53286 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53287 * nss/nss_db/db-init.c: New file.
53288 * nss/nss_files/files-init.c: New file.
53289 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53290 __nss_lookup_function.
53291 (__nss_lookup_function): Call nss_load_library.
53292 (nss_load_all_libraries): New function.
53293 (__nss_disable_nscd): Take parameter with callback function for files
53294 to register. Set is_nscd. Load all the DSOs for the NSS modules
53295 used for the cached services.
53296 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53297 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53298 options for features to all the files in nscd.
53300 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53302 2011-07-10 Roland McGrath <roland@hack.frob.com>
53304 * csu/elf-init.c (__libc_csu_init): Comment typo.
53306 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53308 * po/pl.po: Update from translation team.
53309 * po/ja.po: Likewise.
53310 * po/ru.po: Likewise.
53311 * po/ko.po: Likewise.
53312 * po/fr.po: Likewise.
53314 2011-07-09 Roland McGrath <roland@hack.frob.com>
53316 * configure.in (.ctors/.dtors header and trailer check):
53317 Use an empirical test on a built program.
53318 * configure: Regenerated.
53320 * configure.in (-z relro check): Use an empirical test on a built DSO.
53321 Detect, but do not require, on ia64.
53322 * configure: Regenerated.
53324 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53325 Update tests that use readelf to use $READELF instead.
53326 * configure: Regenerated.
53328 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53330 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53331 if the result is not used.
53333 2011-07-05 Andreas Jaeger <aj@suse.de>
53336 * stdlib/tst-strtod.c: Add testcase.
53338 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53340 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53341 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53342 The latter has a higher limit. Take additional parameter to pass to
53344 (__pathconf): Pass file to __statfs_link_max.
53345 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53347 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53351 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53355 (__statfs_filesize_max): Likewise.
53356 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53358 2011-07-05 Andreas Jaeger <aj@suse.de>
53360 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53362 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53364 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53366 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53369 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53371 * Makefile (strop-tests): Add strncat.
53372 * string/test-strncat.c: New file.
53374 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53376 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53378 2011-06-21 Andreas Jaeger <aj@suse.de>
53380 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53381 Copy rule from iconvdata/Makefile.
53383 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53386 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53387 but no long options are defined, just return 'W'.
53389 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53392 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53394 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53396 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53398 (innetgr): Likewise.
53400 2011-07-05 Roland McGrath <roland@hack.frob.com>
53402 * config.make.in (install_root): Default to $(DESTDIR).
53404 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53408 2011-07-02 Roland McGrath <roland@hack.frob.com>
53410 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53412 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53413 containing directory rather than embedding absolute directory names.
53415 * scripts/check-local-headers.sh: Rewritten using awk.
53416 Match by word, not by line. Print error messages for matches.
53417 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53419 * Makerules [shlib-lds-flags empty]:
53420 ($(common-objpfx)libc_pic.opts): New target.
53421 ($(common-objpfx)libc_pic.os.clean): New target.
53422 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53424 * config.make.in (OBJCOPY): New variable.
53425 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53426 * configure: Regenerated.
53428 * config.make.in (use-default-link): New variable.
53429 * configure.in (use_default_link): Grok --with-default-link to set it.
53430 * configure: Regenerated.
53431 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53432 (shlib-lds, shlib-lds-flags): Define to empty.
53434 * Makerules (shlib-lds): New variable.
53435 (shlib-lds-flags): New variable.
53436 (build-shlib, build-moduile, build-module-asneeded): Use it.
53437 ($(common-objpfx)libc.so): Use $(shlib-lds).
53438 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53439 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53441 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53442 DT_FLAGS/DT_FLAGS_1 with zero flags.
53444 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53445 linker script munging.
53447 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53449 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53451 * crypt/sha512.c (sha512_process_block): Perform total addition using
53452 128-bit if possible.
53453 (__sha512_finish_ctx): Likewise.
53454 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53456 * crypt/sha256.c (SWAP64): Define.
53457 (sha256_process_block): Perform total addition using 64-bit if
53459 (__sha256_finish_ctx): Likewise.
53461 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53463 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53464 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53465 * nscd/hstcache.c (cache_addhst): Likewise.
53466 * nscd/grpcache.c (cache_addgr): Likewise.
53467 * nscd/aicache.c (addhstaiX): Likewise
53468 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53470 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53472 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53473 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53474 * nscd/hstcache.c (cache_addhst): Likewise.
53475 * nscd/grpcache.c (cache_addgr): Likewise.
53476 * nscd/aicache.c (addhstaiX): Likewise
53478 2011-07-01 Andreas Schwab <schwab@redhat.com>
53480 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53481 domain only when needed.
53483 2011-06-30 Andreas Schwab <schwab@redhat.com>
53485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53486 is always restored.
53488 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53490 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53491 are re-adding the entry.
53492 * nscd/servicescache.c (cache_addserv): Likewise.
53494 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53496 * sysdeps/generic/dl-irel.h: fix protection against multiple
53498 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53500 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53503 * malloc/memusage.sh: Fix quoting in message.
53504 * debug/xtrace.sh: Likewise.
53506 * configure.in: Remove support for --experimental-malloc option, make
53508 * config.make.in: Likewise.
53509 * malloc/Makefile: Likewise.
53511 2011-06-27 Andreas Schwab <schwab@redhat.com>
53513 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53514 two-byte characters.
53516 2011-06-27 Roland McGrath <roland@hack.frob.com>
53518 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53519 AC_CACHE_CHECK invocation.
53520 * configure: Regenerated.
53522 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53524 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53527 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53528 bit from old_res_options.
53530 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53532 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53533 value type for setfct.
53535 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53538 __gettimeofday instead of gettimeofday.
53540 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53542 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53544 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53546 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53551 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53554 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53555 strcpy-sse2-unaligned strncpy-sse2-unaligned
53556 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53557 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53558 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53559 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53560 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53561 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53563 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53564 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53565 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53566 (STRCPY): Support SSE2 and SSSE3 versions.
53568 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53571 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53572 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53573 kernels which artificially limit size of requests.
53575 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53578 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53579 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53580 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53581 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53582 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53583 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53584 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53585 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53587 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53588 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53589 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53590 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53591 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53593 Enable unaligned load optimization for Intel Core i3, i5 and i7
53595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53597 (index_Fast_Unaligned_Load): Define.
53598 (HAS_FAST_UNALIGNED_LOAD): Define.
53600 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53602 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53604 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53607 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53608 until it is clear that the information is realy needed.
53609 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53611 2011-06-22 Andreas Schwab <schwab@redhat.com>
53613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53615 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53618 /sys/devices/system/cpu/online if it is usable.
53620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53621 reading the information from the /proc filesystem to once a second.
53623 2011-06-21 Andreas Jaeger <aj@suse.de>
53625 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53626 NULL after inclusion of kernel headers.
53628 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53630 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53631 calls to internal_setent.
53634 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53635 addresses using gethostbyname4_r ignore IPv4 addresses.
53637 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53638 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53640 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53642 2011-06-20 David S. Miller <davem@davemloft.net>
53644 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53646 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53648 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53649 (elf_irel): Use it.
53650 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53651 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53652 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53653 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53654 * sysdeps/x86_64/dl-irel.h: Likewise.
53656 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53657 * elf/dl-sym.c: Likewise.
53659 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53661 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53662 need to dereference resplen2.
53664 2011-06-14 Andreas Schwab <schwab@redhat.com>
53666 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53668 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53670 * Makeconfig: Define vardbdir and inst_vardbdir.
53671 * nss/Makefile: Add rules to install db-Makefile.
53673 * nss/nss_db/db-XXX.c: Cleanup.
53675 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53676 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53678 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53679 * nss/makedb.c: Implement -g option to specify that value strings
53680 are generated and should not be added to table iterated over for
53682 * nss/nss_db/db-initgroups.c: New file.
53684 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53687 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53688 (internal_getgrouplist): Adjust to name change.
53689 Update use_initgroups_entry if this is not the first call.
53690 * nss/databases.def: Add initgroups entry.
53692 * nss/makedb.c (compute_tables): Check result of multiple hash table
53693 sizes to minimize maximum chain length.
53695 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53697 * Versions.def: Add entry for libnss_db.
53698 * shlib-versions: Likewise.
53699 * nss/Makefile: Add rules to build libnss_db.
53700 * nss/Versions: Add libnss_db information. Organize libnss_files
53702 * nss/db-Makefile: Add gshadow support. Change rules for the new
53703 makedb progra. Some minor improvements to generate smaller files.
53704 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53706 * nss/makedb.c: ...here.
53707 Improve database format to be smaller and require less memory at
53709 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53711 * nss/nss_db/db-netgrp.c: Likewise.
53712 * nss/nss_db/db-open.c: Likewise.
53713 * nss/nss_files/flies-XXX.x: Adjust comments.
53714 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53715 * nss/nss_files/files-grp.c: Likewise.
53716 * nss/nss_files/files-hosts.c: Likewise.
53717 * nss/nss_files/files-network.c: Likewise.
53718 * nss/nss_files/files-proto.c: Likewise.
53719 * nss/nss_files/files-pwd.c: Likewise.
53720 * nss/nss_files/files-rpc.c: Likewise.
53721 * nss/nss_files/files-service.c: Likewise.
53722 * nss/nss_files/files-sgrp.c: Likewise.
53723 * nss/nss_files/files-spwd.c: Likewise.
53724 * nss/nss_db/db-alias.c: Removed.
53725 * nss/nss_db/dummy-db.h: Removed.
53727 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53729 * nss/makedb.c: Rewritten to not use database library.
53730 * nss/Makefile: Update to build new makedb program.
53732 2011-06-14 Andreas Jaeger <aj@suse.de>
53734 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53735 memset declaration.
53737 2011-06-10 Andreas Schwab <schwab@redhat.com>
53739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53742 2011-06-10 Roland McGrath <roland@hack.frob.com>
53744 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53745 * elf/Makefile ($(objpfx)ld.so): Likewise.
53747 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53748 Don't list ld.so twice in dependencies.
53750 * posix/bug-regex31.c: Include <stdlib.h>.
53752 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53754 * nis/nss_compat/compat-spwd.c
53755 (getspent_next_nss_netgr): Remove unused variable.
53756 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53758 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53759 nonmembers" output to use the right array.
53761 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53763 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53765 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53766 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53767 * catgets/gencat.c (read_input_file): Likewise.
53768 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53770 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53771 variable definition inside #if's controlling its use.
53773 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53775 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53777 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53779 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53782 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53784 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53785 * configure: Regenerated.
53787 * Makerules: Revert last change.
53788 * elf/Makefile: Likewise.
53790 2011-06-09 Roland McGrath <roland@hack.frob.com>
53792 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53793 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53794 (reloc-link): Likewise.
53796 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53798 * elf/Makefile: Add rules to build pldd.
53799 * elf/pldd.c: New file.
53800 * elf/pldd-xx.c: New file.
53802 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53804 * version.h: Update for 2.15 development version.
53806 2011-06-07 David S. Miller <davem@davemloft.net>
53808 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53811 elf_machine_lazy_rel): Likewise.
53812 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53814 elf_machine_lazy_rel): Likewise.
53815 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53816 dl_hwcap via passed in argument.
53817 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53820 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53822 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53824 2011-06-06 Roland McGrath <roland@hack.frob.com>
53827 * manual/fdl-1.1.texi: New file, verbatim from:
53828 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53829 * manual/lgpl-2.1.texi: New file, verbatim from:
53830 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53831 * manual/Makefile (licenses): New variable, list those new file names.
53833 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53835 * manual/fdl.texi: File removed.
53836 * manual/lesser.texi: File removed.
53837 * manual/libc.texinfo (Copying, Documentation License):
53838 Use new @include file names, put @appendix directive before @include.
53840 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53843 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53844 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53845 (mq_open): Add __NTH.
53847 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53850 Assume Intel Core i3/i5/i7 processor if AVX is available.
53852 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53857 2011-05-31 Andreas Schwab <schwab@redhat.com>
53859 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53860 memory. Use alloca_account. Fix memory leak when retrying.
53862 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53864 * version.h (RELEASE): Bump for 2.14 release.
53865 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53867 * config.make.in (RANLIB): Remove entry.
53869 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53871 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53872 (libc.pot): Work around missing support for .ksh extension in xgettext.
53875 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53876 if both request failed.
53877 (send_dg): In case of server errors clear resplen or *resplen2.
53880 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53881 when there are multiple maps.
53882 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53883 (_dl_fini): Remove test here.
53885 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53887 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53890 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53891 bit from old_res_options.
53892 (gaih_inet): Likewise.
53895 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53898 * resolv/res_init.c (res_setoptions): Make the code more compact.
53901 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53905 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53907 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53910 * malloc/malloc.h: Declare malloc hook variables as volatile.
53912 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53916 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53917 raise in the comment.
53918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53919 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53920 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53922 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53925 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53926 grow the buffers more if it already has to be sufficient.
53927 (build_wcs_upper_buffer): Likewise.
53928 * posix/regexec.c (check_matching): Likewise.
53929 (clean_state_log_if_needed): Likewise.
53930 (extend_buffers): Don't enlarge buffers beyond size of the input
53932 Patches mostly by Emil Wojak <emil@wojak.eu>.
53933 * posix/bug-regex32.c: New file.
53934 * posix/Makefile (tests): Add bug-regex32.
53936 * locale/findlocale.c (_nl_find_locale): Return right away if
53937 _nl_explode_name failed.
53938 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53940 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53942 * debug/xtrace.sh: Unify messages.
53943 * malloc/memusage.sh: Likewise.
53946 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53947 time symbol from vDSO. Substitute with vsyscall if not available.
53948 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53951 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53952 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53953 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53954 Add sendmmsg and internal_sendmmsg.
53955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53956 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53959 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53960 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53963 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53966 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53967 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53969 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53973 * iconvdata/Makefile (tests): Add bug-iconv9.
53974 * iconvdata/bug-iconv9.c: New file.
53976 2011-05-27 Andreas Schwab <schwab@redhat.com>
53979 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53981 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53983 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53984 (struct user_regs_struct): Change intcs field back to cs.
53986 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53988 * po/ja.po: Update from translation team.
53990 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53993 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53994 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53996 2011-05-20 Andreas Schwab <schwab@redhat.com>
53998 * stdlib/longlong.h: Update from GCC.
54000 2011-05-23 Andreas Schwab <schwab@redhat.com>
54002 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54004 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54005 Add parameter name.
54006 (__sysconf): Pass it down.
54008 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54011 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54013 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54014 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54015 add in in __libc_use_alloca calls. Adjust callers.
54016 (glob): Use malloc in some situations.
54018 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54019 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54022 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54024 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54025 and CLOCK_BOOTTIME_ALARM.
54028 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54031 * string/_strerror.c (__strerror_r): Print negative errors as signed
54035 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54036 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54037 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54039 * configure.in: Fix typo in redirection and correct removal of test
54040 files in two cases.
54043 * locale/setlocale.c (new_composite_name): Fix test to check for
54044 identical name of all categories.
54047 * libio/filedoalloc.c (local_isatty): New function.
54048 (_IO_file_doallocate): Use local_isatty.
54049 * stdio-common/perror.c (perror): In case a new stream is used
54050 forward the stream error.
54051 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54054 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54059 * include/alloca.h (extend_alloca_account): Define.
54062 * posix/regex.h: Fix comments with documentation of user-accessible
54063 fields after compilation and describe correct free'ing of pattern
54064 after re_compile_pattern.
54065 Patch by Reuben Thomas <rrt@sc3d.org>.
54067 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54069 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54070 and -mno-altivec to prevent the compiler from using Altivec and/or
54071 VSX instructions when the corresponding registers are not available.
54073 2011-05-19 Andreas Schwab <schwab@redhat.com>
54075 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54077 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54079 * libio/freopen.c (freopen): Use __dup2, not dup2.
54080 * libio/freopen64.c (freopen64): Likewise.
54082 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54085 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54086 * math/Makefile (tests): Add test-powl.
54087 (CFLAGS-test-powl.c): Define.
54088 * math/test-powl.c: New file.
54090 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54092 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54094 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54097 * iconvdata/gb18030.c: Update to GB18020-2005.
54099 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54101 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54102 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54103 Patch by Aharon Robbins <arnold@skeeve.com>.
54106 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54110 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54111 through underflows.
54114 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54115 point to strings before performing equality test for error_one_per_line
54119 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54122 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54123 (struct user_fpregs_struct): Avoid __uint*_t types.
54126 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54127 symbol info. Use it instead of calling _dl_addr locally.
54128 (lock_and_info): New function.
54129 (tr_freehook): Call lock_and_info and pass symbol info as additional
54130 parameter to tr_where.
54131 (tr_mallochook): Likewise.
54132 (tr_reallochook): Likewise.
54133 (tr_memalignhook): Likewise.
54135 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54136 used and couldn't be at all thread-safe.
54138 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54140 * libio/freopen.c (freopen): Don't close old file descriptor
54141 before the new one is opened. Instead dup the new file descriptor
54142 to the old one after the new stream is created.
54143 * libio/freopen64.c (freopen64): Likewise.
54144 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54145 * libio/fileops.c (_IO_new_file_close_it): Handle new
54146 _IO_FLAGS2_NOCLOSE flag.
54147 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54148 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54149 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54150 _IO_FLAGS2_NOCLOSE flag.
54151 * include/unistd.h: Add hidden_proto for dup3.
54152 Define __have_dup3.
54153 * io/dup3.c: Define hidden symbol.
54154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54157 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54158 when an incomplete long option is used.
54159 * posix/tst-getopt_long1.c: New file.
54160 * posix/Makefile (tests): Add tst-getopt_long1.
54163 * scripts/config.guess: Update from autoconf-2.68.
54164 * scripts/config.sub: Likewise.
54167 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54169 (has_cpuclock): ...this. New function.
54170 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54171 macro here based on has_cpuclock code.
54174 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54175 First byte (not low byte) is now always NUL.
54176 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54178 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54179 Use non-cancelable interfaces.
54182 * locale/iso-639.def: Add entry for Sorani.
54185 * include/stdlib.h: Move include protection to the right place.
54186 Define abort_msg_s. Declare __abort_msg with it.
54187 * stdlib/abort.c (__abort_msg): Adjust type.
54188 * assert/assert.c (__assert_fail_base): New function. Majority
54189 of code from __assert_fail. Allocate memory for __abort_msg with
54191 (__assert_fail): Now call __assert_fail_base.
54192 * assert/assert-perr.c: Remove bulk of implementation. Use
54193 __assert_fail_base.
54194 * include/assert.hL Declare __assert_fail_base.
54195 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54197 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54199 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54203 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54204 until all modules are registered in the DTV.
54205 * elf/Makefile: Add rules to build and run tst-tls19.
54206 * elf/tst-tls19.c: New file.
54207 * elf/tst-tls19mod1.c: New file.
54208 * elf/tst-tls19mod2.c: New file.
54209 * elf/tst-tls19mod3.c: New file.
54210 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54213 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54217 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54218 two-byte sequence errors.
54219 * iconvdata/Makefile (tests): Add bug-iconv8.
54220 * iconvdata/bug-iconv8.c: New file.
54223 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54226 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54229 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54230 (dummy_getcfa): New function.
54231 (init): Get _Unwind_GetCFA address, use dummy if not found.
54232 (backtrace_helper): In recursion check, also check whether CFA changes.
54233 (__backtrace): Completely initialize arg.
54235 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54236 storing incomplete byte sequence in state object. Avoid testing for
54237 guaranteed too small input if we know there is enough data available.
54239 2011-05-11 Andreas Schwab <schwab@redhat.com>
54241 * Makeconfig (+link-pie): Indent.
54242 * Rules (binaries-pie): Define if $(have-fpie) and
54244 (binaries-shared): Also filter out $(binaries-pie).
54245 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54246 * nscd/Makefile (others-pie): Add nscd.
54247 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54248 ($(objpfx)nscd): Remove command override.
54249 * login/Makefile (others-pie): Add pt_chown.
54250 ($(objpfx)pt_chown): Remove command override.
54251 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54252 remove command overrides.
54254 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54256 * libio/tst_putwc.c: Fix error messages.
54259 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54260 currently writing and seek to current position when not.
54261 * libio/Makefile (tests): Add bug-fclose1.
54262 * libio/bug-fclose1.c: New file.
54264 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54267 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54268 don't set DF_1_NODELETE here.
54269 (do_lookup_x): When entering new entry test for copy relocation
54270 and if necessary set DF_1_NODELETE flag.
54271 * elf/tst-unique4.cc: New file.
54272 * elf/tst-unique4.h: New file.
54273 * elf/tst-unique4lib.cc: New file.
54274 * elf/Makefile: Add rules to build and run tst-unique4.
54275 Patch by Piotr Bury <pbury@goahead.com>.
54277 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54280 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54283 * misc/mntent_r.c (addmntent): Flush the stream after the output
54286 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54287 (is_trusted_path_normalize): Skip initial colon. Append slash
54288 to empty buffer. Duplicate is_trusted_path code but allow
54289 constructed patch to be prefix.
54290 (is_dst): Allow $ORIGIN followed by /.
54291 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54292 Correct testing of result of is_trusted_path_normalize
54293 (decompose_rpath): Fix warning.
54295 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54298 * grp/initgroups.c (internal_getgrouplist): When we found the service
54299 list through the initgroups entry in nsswitch.conf do not always
54300 continue on a successful lookup. Don't always use the
54301 __nss_group_database value if it is set.
54302 * nss/nsswitch.conf (initgroups): Change action for successful db
54303 lookup to continue for compatibility.
54305 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54308 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54310 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54312 * iconvdata/tst-tables.sh: Likewise.
54313 * iconvdata/cp770.c: New file.
54314 * iconvdata/cp771.c: New file.
54315 * iconvdata/cp772.c: New file.
54316 * iconvdata/cp773.c: New file.
54317 * iconvdata/cp774.c: New file.
54318 * iconvdata/testdata/CP770: New file.
54319 * iconvdata/testdata/CP770..UTF8: New file.
54320 * iconvdata/testdata/CP771: New file.
54321 * iconvdata/testdata/CP771..UTF8: New file.
54322 * iconvdata/testdata/CP772: New file.
54323 * iconvdata/testdata/CP772..UTF8: New file.
54324 * iconvdata/testdata/CP773: New file.
54325 * iconvdata/testdata/CP773..UTF8: New file.
54326 * iconvdata/testdata/CP774: New file.
54327 * iconvdata/testdata/CP774..UTF8: New file.
54329 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54331 * iconvdata/gen-8bit-gap.sh: Likewise.
54332 * iconvdata/gen-8bit.sh: Likewise.
54334 * locale/iso-639.def: Add ary entry.
54337 * locale/C-translit.h.in: Add U20A1 transliteration.
54340 * locale/iso-639.def: Add wae entry.
54341 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54344 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54348 * locale/C-translit.h.in: Add entry for U20B9.
54349 Patch by pravin.d.s@gmail.com.
54351 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54354 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54355 ENAMETOOLONG use generic getcwd.
54356 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54357 in rtld. Use *stat64.
54358 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54359 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54360 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54361 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54362 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54363 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54364 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54365 __fstatat64 macros.
54366 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54367 * dirent/rewinddir.c: Add libc_hidden_def.
54368 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54369 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54371 * include/dirent.h (__alloc_dir): Add flags parameter.
54372 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54373 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54375 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54376 from fdopendir if O_CLOEXEC is already set.
54378 2011-03-15 Alan Modra <amodra@gmail.com>
54380 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54381 l_tls_firstbyte_offset non-zero. Save padding offset in
54382 l_tls_firstbyte_offset for later use.
54383 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54384 freeing static tls block.
54386 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54388 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54389 where #ifdef was intended. The intent is to prevent ARG_MAX from
54390 being defined by the kernel headers.
54392 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54395 * resolv/resolv.h: Define RES_NOTLDQUERY.
54396 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54397 no-tld-query and set RES_NOTLDQUERY.
54398 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54399 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54400 modern BIND to search name as TLD unless forbidden.
54402 2011-05-07 Petr Baudis <pasky@suse.cz>
54403 Ulrich Drepper <drepper@gmail.com>
54406 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54407 (is_trusted_path): ...to here.
54408 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54409 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54410 using is_trusted_path_normalize() in setuid scripts.
54412 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54414 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54415 __BEGIN/__END_DECLS.
54417 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54420 NSS_STATUS_NOTFOUND if no record was found.
54422 2011-05-05 Andreas Schwab <schwab@redhat.com>
54424 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54425 (headers-not-in-tirpc): Remove rpc/netdb.h
54426 * resolv/netdb.h: Revert last change.
54428 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54430 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54431 circular dependency between libgcc.a and libc.a.
54433 2011-05-05 Andreas Schwab <schwab@redhat.com>
54435 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54436 * nis/Makefile: Don't install rpcsvc/*.
54437 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54438 instead of <rpc/types.h>.
54439 (MAXHOSTNAMELEN): Define.
54441 2011-05-03 Andreas Schwab <schwab@redhat.com>
54443 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54445 2011-04-28 Maciej Babinski <mbabinski@google.com>
54448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54449 gethostbyname4_r when IPv6 results are possible.
54451 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54454 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54455 _PC_PIPE_BUF handling.
54457 2011-04-30 Bruno Haible <bruno@clisp.org>
54460 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54461 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54463 * inet/getnameinfo.c (getnameinfo): Likewise.
54465 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54467 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54468 to groups setting in database lookup.
54469 * nss/nsswitch.conf: Add initgroups entry.
54471 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54474 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54476 Patch by Eric Blake <eblake@redhat.com>.
54478 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54480 * sunrpc/Makefile (need-export-routines): Add svc_run.
54481 (routines): Remove svc_run.
54482 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54483 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54484 * sunrpc/svc_run.c (svc_run): Likewise.
54485 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54487 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54489 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54490 problem in reallocation in last patch.
54492 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54494 * sunrpc/Makefile: Move inclusion of Rules.
54496 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54498 * nss/nss_files/files-initgroups.c: New file.
54499 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54500 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54501 _nss_files_initgroups_dyn.
54503 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54505 * elf/elf.h (R_ARM_IRELATIVE): Define.
54507 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54509 * po/ru.po: Update from translation team.
54511 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54513 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54516 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54520 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54521 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54525 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54527 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54529 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54531 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54533 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54536 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54538 * stdlib/bug-getcontext.c: New file.
54539 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54541 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54543 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54544 instructions into .machine "z9-109".
54545 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54546 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54548 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54550 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54551 between environment variables and auxiliary vector.
54553 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54555 * Makefile: Add rules to build linkobj/libc.so.
54556 * include/libc-symbols.h: Define libc_hidden_nolink.
54557 * include/rpc/auth.h: Mark functions which are to be hidden.
54558 * include/rpc/auth_des.h: Likewise.
54559 * include/rpc/auth_unix.h: Likewise.
54560 * include/rpc/clnt.h: Likewise.
54561 * include/rpc/des_crypt.h: Likewise.
54562 * include/rpc/key_prot.h: Likewise.
54563 * include/rpc/pmap_clnt.h: Likewise.
54564 * include/rpc/pmap_prot.h: Likewise.
54565 * include/rpc/pmap_rmt.h: Likewise.
54566 * include/rpc/rpc_msg.h: Likewise.
54567 * include/rpc/svc.h: Likewise.
54568 * include/rpc/svc_auth.h: Likewise.
54569 * include/rpc/xdr.h: Likewise.
54570 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54571 * nss/Makefile: Likewise.
54572 * sunrpc/Makefile: Don't install headers. Build library with normal
54573 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54574 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54575 for the compat linking library. Remove use of INTDEF/INTUSE.
54576 * sunrpc/auth_none.c: Likewise.
54577 * sunrpc/auth_unix.c: Likewise.
54578 * sunrpc/authdes_prot.c: Likewise.
54579 * sunrpc/authuxprot.c: Likewise.
54580 * sunrpc/clnt_gen.c: Likewise.
54581 * sunrpc/clnt_perr.c: Likewise.
54582 * sunrpc/clnt_raw.c: Likewise.
54583 * sunrpc/clnt_simp.c: Likewise.
54584 * sunrpc/clnt_tcp.c: Likewise.
54585 * sunrpc/clnt_udp.c: Likewise.
54586 * sunrpc/clnt_unix.c: Likewise.
54587 * sunrpc/des_crypt.c: Likewise.
54588 * sunrpc/des_soft.c: Likewise.
54589 * sunrpc/get_myaddr.c: Likewise.
54590 * sunrpc/key_call.c: Likewise.
54591 * sunrpc/key_prot.c: Likewise.
54592 * sunrpc/netname.c: Likewise.
54593 * sunrpc/pm_getmaps.c: Likewise.
54594 * sunrpc/pm_getport.c: Likewise.
54595 * sunrpc/pmap_clnt.c: Likewise.
54596 * sunrpc/pmap_prot.c: Likewise.
54597 * sunrpc/pmap_prot2.c: Likewise.
54598 * sunrpc/pmap_rmt.c: Likewise.
54599 * sunrpc/publickey.c: Likewise.
54600 * sunrpc/rpc_cmsg.c: Likewise.
54601 * sunrpc/rpc_common.c: Likewise.
54602 * sunrpc/rpc_dtable.c: Likewise.
54603 * sunrpc/rpc_prot.c: Likewise.
54604 * sunrpc/rpc_thread.c: Likewise.
54605 * sunrpc/rtime.c: Likewise.
54606 * sunrpc/svc.c: Likewise.
54607 * sunrpc/svc_auth.c: Likewise.
54608 * sunrpc/svc_authux.c: Likewise.
54609 * sunrpc/svc_raw.c: Likewise.
54610 * sunrpc/svc_run.c: Likewise.
54611 * sunrpc/svc_simple.c: Likewise.
54612 * sunrpc/svc_tcp.c: Likewise.
54613 * sunrpc/svc_udp.c: Likewise.
54614 * sunrpc/svc_unix.c: Likewise.
54615 * sunrpc/svcauth_des.c: Likewise.
54616 * sunrpc/xcrypt.c: Likewise.
54617 * sunrpc/xdr.c: Likewise.
54618 * sunrpc/xdr_array.c: Likewise.
54619 * sunrpc/xdr_float.c: Likewise.
54620 * sunrpc/xdr_intXX_t.c: Likewise.
54621 * sunrpc/xdr_mem.c: Likewise.
54622 * sunrpc/xdr_rec.c: Likewise.
54623 * sunrpc/xdr_ref.c: Likewise.
54624 * sunrpc/xdr_sizeof.c: Likewise.
54625 * sunrpc/xdr_stdio.c: Likewise.
54627 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54630 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54631 * sysdeps/ia64/dl-tls.h: Likewise.
54632 * sysdeps/powerpc/dl-tls.h: Likewise.
54633 * sysdeps/s390/dl-tls.h: Likewise.
54634 * sysdeps/sh/dl-tls.h: Likewise.
54635 * sysdeps/sparc/dl-tls.h: Likewise.
54636 * sysdeps/x86_64/dl-tls.h: Likewise.
54637 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54639 2011-03-14 Andreas Schwab <schwab@redhat.com>
54641 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54642 rpath element also skip the following colon.
54643 (expand_dynamic_string_token): Add is_path parameter and pass
54644 down to DL_DST_REQUIRED and _dl_dst_substitute.
54645 (decompose_rpath): Call expand_dynamic_string_token with
54646 non-zero is_path. Ignore empty rpaths.
54647 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54650 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54655 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54658 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54659 Patch by Filipe David Manana <fdmanana@apache.org>.
54661 2011-04-07 Andreas Schwab <schwab@redhat.com>
54663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54664 Maintain aligned stack.
54665 (CHECK_RSP): Remove unused macro.
54667 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54669 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54672 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54674 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54676 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54678 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54681 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54682 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54683 * sysdeps/x86_64/memmove.c: New file.
54684 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54685 (memcpy): Renamed to ...
54686 (__new_memcpy): This.
54687 (memcpy): Provide GLIBC_2_14 memcpy.
54688 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54689 (memcpy): Provide GLIBC_2_2_5 memcpy.
54691 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54694 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54696 2011-03-30 Andreas Schwab <schwab@redhat.com>
54698 * misc/syncfs.c: New file.
54699 * misc/Makefile (routines): Add syncfs.
54700 * posix/unistd.h: Declare syncfs.
54701 * sysdeps/unix/syscalls.list: Add syncfs.
54703 2011-04-01 Andreas Schwab <schwab@redhat.com>
54705 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54712 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54715 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54717 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54718 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54723 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54725 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54726 sync_file_range.c with -fexceptions.
54727 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54728 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54729 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54730 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54731 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54732 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54734 sync_file_range as cancellation point
54735 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54736 now a wrapper around __call_sync_file_range with cancellation handling.
54737 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54738 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54739 function name to __call_sync_file_range.
54740 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54741 Add call_sync_file_range.
54743 2011-04-01 Andreas Schwab <schwab@redhat.com>
54745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54748 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54750 * iconv/iconv.h: Fix typo in comment.
54751 * io/fcntl.h: Likewise.
54752 * libio/stdio.h: Likewise.
54753 * posix/spawn.h: Likewise.
54754 * posix/unistd.h: Likewise.
54755 * stdlib/stdlib.h: Likewise.
54756 * time/time.h: Likewise.
54757 * wcsmbs/wchar.h: Likewise.
54759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54760 open_by_handle): Add.
54761 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54762 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54763 Augment a few comments.
54764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54768 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54769 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54772 * io/fcntl.h (AT_EMPTY_PATH): Define.
54774 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54776 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54777 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54778 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54780 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54781 * Versions.def: Add GLIBC_2.14.
54782 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54785 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54791 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54794 * string/test-strncmp.c (do_page_test): New function.
54795 (check2): Likewise.
54796 (test_main): Call check2.
54797 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54799 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54802 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54803 Handle cache information in CPU leaf 4.
54804 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54806 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54809 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54810 character representation.
54811 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54813 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54815 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54816 END(__isnan) to END(__isnanf) to match function entry point/label
54817 EALIGN(__isnanf,...).
54819 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54821 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54823 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54826 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54827 copy from the symbol referenced in the relocation to initialize the
54829 Patch by Piotr Bury <pbury@goahead.com>.
54830 * elf/Makefile: Add rules to build and tst-unique3.
54831 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54832 * elf/tst-unique3.cc: New file.
54833 * elf/tst-unique3.h: New file.
54834 * elf/tst-unique3lib.cc: New file.
54835 * elf/tst-unique3lib2.cc: New file.
54837 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54839 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54841 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54842 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54845 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54847 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54848 to-be-loaded object along a path to loader is ld.so.
54850 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54851 Ulrich Drepper <drepper@gmail.com>
54853 * sysdeps/x86_64/memset.S: After aligning destination, code
54854 branches to different locations depending on the value of
54855 misalignment, when multiarch is enabled. Fix this.
54857 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54859 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54860 Set _x86_64_preferred_memory_instruction for AMD processsors.
54861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54862 Set bit_Prefer_SSE_for_memop for AMD processors.
54864 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54866 * libio/fmemopen.c (fmemopen): Optimize a bit.
54868 2011-03-03 Andreas Schwab <schwab@redhat.com>
54870 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54872 2011-03-03 Roland McGrath <roland@redhat.com>
54874 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54876 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54878 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54879 __bzero_ultra1 instead of __memset_ultra1.
54881 2011-02-23 Andreas Schwab <schwab@redhat.com>
54882 Ulrich Drepper <drepper@gmail.com>
54885 * include/link.h (struct link_map): Add l_orig_initfini.
54886 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54887 returning unsuccessfully.
54888 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54889 close of a file loaded at startup, restore the original l_initfini
54891 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54892 list, store the pointer.
54893 * elf/Makefile ($(objpfx)noload-mem): New rule.
54894 (noload-ENV): Define.
54895 (tests): Add $(objpfx)noload-mem.
54896 * elf/noload.c: Include <memcheck.h>.
54897 (main): Call mtrace. Close all opened handles.
54899 2011-02-17 Andreas Schwab <schwab@redhat.com>
54902 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54903 dependencies are missing.
54905 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54907 Fix __if_freereq crash: Unlike the generic version which uses free,
54909 * sysdeps/mach/hurd/ifreq.h: New file.
54911 2011-01-27 Petr Baudis <pasky@suse.cz>
54912 Ulrich Drepper <drepper@gmail.com>
54915 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54916 to extend_alloca().
54917 * stdio-common/bug23.c: New file.
54918 * stdio-common/Makefile (tests): Add bug23.
54920 2010-09-28 Andreas Schwab <schwab@redhat.com>
54921 Ulrich Drepper <drepper@gmail.com>
54924 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54925 before performing relro protection. At old place add assertion
54926 to make sure nothing changed.
54928 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54929 Glauber de Oliveira Costa <glommer@gmail.com>
54931 * elf/elf.h: Add new ARM TLS relocs.
54933 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54936 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54938 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54940 * sysdeps/wordsize-64/tst-writev.c: New file.
54942 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54944 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54945 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54946 insns in _dl_start to prevent a TOC reference before relocs are
54949 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54952 * Makeconfig: Remove RANLIB definition.
54953 * Makerules: Don't use RANLIB.
54954 * aclocal.m4: Remove ranlib test.
54955 * configure.in: No need to check for ranlib.
54956 * elf/rtld-Rules: Don't use RANLIB.
54958 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54960 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54962 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54963 inclusion protection macro.
54965 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54966 SIGRTMIN and SIGRTMAX and print information in that case only when
54967 SIGRTMIN is defined.
54969 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54971 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54972 arginfo fn returning -1.
54974 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54975 and thousands string is zero terminated.
54977 2011-02-03 Andreas Schwab <schwab@redhat.com>
54979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54980 sysdeps/unix/sysv/linux/bits/socket.h.
54982 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54984 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54985 (__CPU_COUNT): Remove old macros.
54986 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54987 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54988 (__CPU_ALLOC, __CPU_FREE): Add macros.
54989 (__sched_cpualloc, __sched_cpufree): Add declarations.
54991 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54993 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54994 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54995 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54996 (readdhstai): Return value of addhstaiX call.
54997 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54998 (addgrbyX): Return value returned by cache_addgr.
54999 (readdgrbyname): Return value returned by addgrbyX.
55000 (readdgrbygid): Likewise.
55001 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55002 (addpwbyX): Return value returned by cache_addpw.
55003 (readdpwbyname): Return value returned by addhstbyX.
55004 (readdpwbyuid): Likewise.
55005 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55006 (addservbyX): Return value returned by cache_addserv.
55007 (readdservbyname): Return value returned by addservbyX:
55008 (readdservbyport): Likewise.
55009 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55010 (addhstbyX): Return value returned by cache_addhst.
55011 (readdhstbyname): Return value returned by addhstbyX.
55012 (readdhstbyaddr): Likewise.
55013 (readdhstbynamev6): Likewise.
55014 (readdhstbyaddrv6): Likewise.
55015 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55016 (readdinitgroups): Return value returned by addinitgroupsX.
55017 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55018 (prune_cache): Keep track of timeout value of re-added entries.
55019 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55020 * nscd/nscd.h: Adjust prototypes of readd* functions.
55022 2011-02-04 Roland McGrath <roland@redhat.com>
55024 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55025 (nis_stats): Likewise.
55026 * nis/nis_modify.c (nis_modify): Likewise.
55027 * nis/nis_remove.c (nis_remove): Likewise.
55028 * nis/nis_add.c (nis_add): Likewise.
55030 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55032 * posix/fnmatch_loop.c: Add some consts.
55034 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55036 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55039 * config.make.in (config-cflags-novzeroupper): Define.
55040 * configure.in: Substitute libc_cv_cc_novzeroupper.
55041 * elf/Makefile (AVX-CFLAGS): Define.
55042 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55043 (CFLAGS-tst-auditmod4a.c): Likewise.
55044 (CFLAGS-tst-auditmod4b.c): Likewise.
55045 (CFLAGS-tst-auditmod6b.c): Likewise.
55046 (CFLAGS-tst-auditmod6c.c): Likewise.
55047 (CFLAGS-tst-auditmod7b.c): Likewise.
55048 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55050 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55052 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55053 function to the callback.
55054 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55056 2011-02-02 Andreas Schwab <schwab@redhat.com>
55058 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55061 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55064 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55066 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55068 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55071 * elf/Makefile: Add rules to build and run new test.
55072 * elf/tst-initorder.c: New file.
55073 * elf/tst-initorder.exp: New file.
55074 * elf/tst-initordera1.c: New file.
55075 * elf/tst-initordera2.c: New file.
55076 * elf/tst-initordera3.c: New file.
55077 * elf/tst-initordera4.c: New file.
55078 * elf/tst-initorderb1.c: New file.
55079 * elf/tst-initorderb2.c: New file.
55080 * elf/tst-order-a1.c: New file.
55081 * elf/tst-order-a2.c: New file.
55082 * elf/tst-order-a3.c: New file.
55083 * elf/tst-order-a4.c: New file.
55084 * elf/tst-order-b1.c: New file.
55085 * elf/tst-order-b2.c: New file.
55086 * elf/tst-order-main.c: New file.
55087 New test case by George Gensure <werkt0@gmail.com>.
55089 2010-10-01 Andreas Schwab <schwab@redhat.com>
55091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55092 decoding ACE if AI_CANONIDN.
55094 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55096 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55098 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55100 * version.h (RELEASE): Bump for 2.13 release.
55101 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55103 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55105 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55107 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55108 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55109 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55110 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55111 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55112 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55114 * posix/getconf.c: Update copyright year.
55115 * catgets/gencat.c: Likewise.
55116 * csu/version.c: Likewise.
55117 * debug/catchsegv.sh: Likewise.
55118 * debug/xtrace.sh: Likewise.
55119 * elf/ldconfig.c: Likewise.
55120 * elf/ldd.bash.in: Likewise.
55121 * elf/sprof.c (print_version): Likewise.
55122 * iconv/iconv_prog.c: Likewise.
55123 * iconv/iconvconfig.c: Likewise.
55124 * locale/programs/locale.c: Likewise.
55125 * locale/programs/localedef.c: Likewise.
55126 * malloc/memusage.sh: Likewise.
55127 * malloc/mtrace.pl: Likewise.
55128 * nscd/nscd.c (print_version): Likewise.
55129 * nss/getent.c: Likewise.
55131 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55132 PF_CAIF, and PF_ALG.
55133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55135 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55137 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55138 (modules-names): Use them.
55139 (ifunc-test-modules, ifunc-pie-tests): Define.
55140 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55141 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55142 (test-extras): Likewise.
55143 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55144 $(compile-command.c).
55145 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55146 (all-built-dso): Define.
55147 (check-textrel.out, check-execstack.out): Depend on it.
55149 * configure.in: Don't override --enable-multi-arch.
55151 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55154 * nscd/hstcache.c (tryagain): Define.
55155 (cache_addhst): Return tryagain not notfound for temporary errors.
55156 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55159 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55163 to make the syscall.
55164 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55167 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55168 and fall back to matching as normal character if the string ends before
55169 the matching ']' is found. This is what POSIX requires.
55170 * posix/testfnm.c: Adjust test result.
55171 * posix/globtest.sh: Adjust test result. Add new test.
55172 * posix/tst-fnmatch.input: Likewise.
55173 * posix/tst-fnmatch2.c: Add new test.
55175 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55177 * elf/Makefile (check-execstack): Revert last change. Depend on
55179 (check-execstack.h): New target.
55180 (generated): Add check-execstack.h.
55181 * elf/check-execstack.c: Include "check-execstack.h".
55182 (main): Revert last change.
55183 (handle_file): Return zero if GNU_STACK is absent and
55184 DEFAULT_STACK_PERMS doesn't include PF_X.
55186 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55188 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55189 in child fails because the descriptor is already closed.
55190 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55191 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55192 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55195 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55199 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55200 temporary buffer used to handle multi lookups locally.
55201 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55203 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55205 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55208 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55210 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55211 alignment for SSE2.
55213 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55216 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55217 characters. When rounding increased number of integer digits recompute
55219 * stdio-common/tst-grouping.c: New file.
55220 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55222 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55224 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55225 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55227 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55229 * bits/select.h: Likewise.
55231 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55233 * po/ja.po: Update from translation team.
55235 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55238 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55239 implementation just like for lxstat, fxstatat, et al.
55241 2010-12-27 Jim Meyering <meyering@redhat.com>
55244 * posix/regexec.c (build_trtable): Return failure indication upon
55245 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55247 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55250 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55251 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55252 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55253 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55256 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55259 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55260 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55262 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55264 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55265 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55266 script has SORT_BY_INIT_PRIORITY.
55267 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55268 NO_CTORS_DTORS_SECTIONS is defined.
55269 * elf/soinit.c: Likewise.
55270 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55271 NO_CTORS_DTORS_SECTIONS is defined.
55272 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55273 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55274 * sysdeps/sh/init-first.c: Likewise.
55275 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55277 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55279 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55280 always use the slow path.
55282 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55284 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55285 similar rule which adds the sysdep directories to the header search in
55286 order to pick up the correct platform stackinfo.h.
55287 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55288 perform test if it is, otherwise return successfully without testing.
55289 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55290 DEFAULT_STACK_PERMS define in stackinfo.h.
55291 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55292 defined in stackinfo.h.
55293 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55294 DEFAULT_STACK_PERMS defined in stackinfo.h.
55295 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55296 * sysdeps/ia64/stackinfo.h: Likewise.
55297 * sysdeps/s390/stackinfo.h: Likewise.
55298 * sysdeps/sh/stackinfo.h: Likewise.
55299 * sysdeps/sparc/stackinfo.h: Likewise.
55300 * sysdeps/x86_64/stackinfo.h: Likewise.
55301 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55302 PF_X for powerpc64. Retain PF_X for powerpc32.
55304 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55306 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55308 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55309 GETDENTS_64BIT_ALIGNED.
55311 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55313 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55315 2010-12-10 Andreas Schwab <schwab@redhat.com>
55317 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55320 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55321 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55323 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55324 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55326 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55329 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55332 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55334 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55336 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55338 * po/it.po: Update from translation team.
55340 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55345 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55347 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55349 2010-11-24 Andreas Schwab <schwab@redhat.com>
55351 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55353 (gaih_getanswer_slice): Likewise.
55355 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55359 2010-05-31 Petr Baudis <pasky@suse.cz>
55362 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55363 silently even in the chroot mode.
55365 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55367 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55368 last patch a bit. Pretty printing
55370 2010-05-31 Petr Baudis <pasky@suse.cz>
55373 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55374 initialization of skip_initgroups_dyn.
55376 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55378 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55381 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55383 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55385 2010-11-11 Andreas Schwab <schwab@redhat.com>
55387 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55388 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55389 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55390 ($(objpfx)tst-fnmatch-mem): New rule.
55391 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55392 * posix/tst-fnmatch.c (main): Call mtrace.
55394 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55397 Support Intel processor model 6 and model 0x2c.
55399 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55401 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55404 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55407 * string/test-strncasecmp.c (check_result): New function.
55408 (do_one_test): Use it.
55409 (check1): New function.
55410 (test_main): Use it.
55411 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55412 Support strcasecmp and strncasecmp.
55414 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55417 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55420 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55422 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55426 * sysdeps/x86_64/multiarch/bzero.S: New file.
55427 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55428 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55429 * sysdeps/x86_64/multiarch/memset.S: New file.
55430 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55432 Set bit_Prefer_SSE_for_memop for Intel processors.
55433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55435 (index_Prefer_SSE_for_memop): Define.
55436 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55438 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55440 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55441 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55443 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55446 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55447 (__x86_64_raw_data_cache_size_half): Likewise.
55448 (__x86_64_raw_shared_cache_size): Likewise.
55449 (__x86_64_raw_shared_cache_size_half): Likewise.
55451 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55452 (__x86_64_raw_data_cache_size_half): Likewise.
55453 (__x86_64_raw_shared_cache_size): Likewise.
55454 (__x86_64_raw_shared_cache_size_half): Likewise.
55455 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55456 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55457 and __x86_64_raw_shared_cache_size_half. Round
55458 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55459 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55460 to multiple of 256 bytes.
55462 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55465 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55466 of inacessible symlinks. Verify result of symlink before returning it.
55467 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55468 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55470 2010-10-28 Erich Ritz <erichritz@gmail.com>
55472 * math/math.h (isinf): Fix typo in comment.
55474 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55476 * po/da.po: Update from translation team.
55478 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55480 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55481 is added to the list.
55483 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55484 Ulrich Drepper <drepper@gmail.com>
55486 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55487 the global list here. Move code to...
55488 (_dl_add_to_namespace_list): ...here. New function.
55489 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55490 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55491 * elf/dl-load.c (lose): Don't remove the element from the list.
55492 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55493 (_dl_map_object): Likewise.
55495 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55498 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55499 into all bytes of SSE register.
55500 Patch by Richard Li <richardpku@gmail.com>.
55502 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55505 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55508 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55510 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55511 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55512 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55513 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55518 2010-10-22 Andreas Schwab <schwab@redhat.com>
55520 * include/dlfcn.h (__RTLD_SECURE): Define.
55521 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55522 mode & __RTLD_SECURE instead.
55523 (open_path): Rename preloaded parameter to secure.
55524 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55525 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55526 * elf/dl-deps.c (openaux): Likewise.
55527 * elf/rtld.c (struct map_args): Remove is_preloaded.
55528 (map_doit): Don't use it.
55529 (dl_main): Likewise.
55530 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55531 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55533 2010-09-09 Andreas Schwab <schwab@redhat.com>
55535 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55536 (sysd-rules-targets): Remove duplicates.
55537 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55538 rtld-%.$o dependency.
55540 2010-10-18 Andreas Schwab <schwab@redhat.com>
55542 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55543 _dl_map_object do it.
55545 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55547 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55548 fast fma builtins, define the macros in the C99 standard.
55549 (FP_FAST_FMAF): Likewise.
55550 (FP_FAST_FMAL): Likewise.
55551 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55553 * bits/mathdef.h: Update copyright year.
55554 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55556 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55558 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55559 builtins, define the macros in the C99 standard.
55560 (FP_FAST_FMAF): Likewise.
55561 (FP_FAST_FMAL): Likewise.
55562 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55564 (FP_FAST_FMAF): Likewise.
55566 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55569 * math/libm-test.inc (fma_test): Some new testcases.
55570 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55571 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55572 y and infinite z. Do multiplication by C already in long double.
55573 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55575 y and infinite z. Do bitwise or of inexact bit into u.d.
55576 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55577 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55578 * sysdeps/i386/fpu/s_fma.S: Removed.
55579 * sysdeps/i386/fpu/s_fmal.S: Removed.
55581 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55584 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55586 computation is not scheduled after fetestexcept. Fix value
55587 of minimum denormal long double.
55589 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55592 * math/libm-test.inc (fma_test): Add some more tests.
55593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55596 2010-10-15 Andreas Schwab <schwab@redhat.com>
55598 * scripts/data/localplt-s390-linux-gnu.data: New file.
55599 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55601 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55604 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55605 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55607 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55609 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55611 if one of x and y is very large and the other is subnormal.
55612 * sysdeps/s390/fpu/s_fmaf.c: New file.
55613 * sysdeps/s390/fpu/s_fma.c: New file.
55614 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55615 * sysdeps/powerpc/fpu/s_fma.S: New file.
55616 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55617 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55618 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55620 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55623 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55625 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55626 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55627 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55628 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55629 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55630 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55631 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55633 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55636 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55637 * posix/bug-regex31.input: Add test case.
55639 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55641 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55642 * posix/bug-regex31.input: New file.
55645 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55646 (parse_sub_exp): Fix last change, use postorder.
55648 * posix/bug-regex31.c: New file.
55649 * posix/Makefile: Add rules to build and run bug-regex31.
55651 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55654 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55657 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55658 to have entries in sys_siglist.
55661 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55664 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55667 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55668 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55669 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55670 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55671 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55672 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55673 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55674 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55675 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55676 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55677 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55678 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55679 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55680 * math/ftestexcept.c (fetestexcept): Likewise.
55681 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55682 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55683 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55684 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55685 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55686 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55687 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55689 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55692 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55695 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55697 * string/bug-strstr1.c: New file.
55698 * string/Makefile: Add rules to build and run bug-strstr1.
55700 2010-10-05 Eric Blake <eblake@redhat.com>
55703 * string/str-two-way.h (two_way_long_needle): Always clear memory
55704 when skipping input due to the shift table.
55706 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55709 * malloc/mcheck.c: Handle large requests.
55712 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55713 for strncmp and strncasecmp.
55714 * string/stratcliff.c: Add tests for strcmp and strncmp.
55715 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55717 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55719 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55722 2010-09-30 Andreas Jaeger <aj@suse.de>
55724 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55725 (CGROUP_SUPER_MAGIC): Define.
55726 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55727 Handle btrfs and cgroup file systems.
55728 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55731 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55733 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55734 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55736 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55739 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55740 trying to locate the ELF header.
55742 2010-09-27 Andreas Schwab <schwab@redhat.com>
55745 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55746 Mask out sign-bit copies when constructing f_fsid.
55748 2010-09-24 Petr Baudis <pasky@suse.cz>
55750 * debug/stack_chk_fail_local.c: Add missing licence exception.
55751 * debug/warning-nop.c: Likewise.
55753 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55756 implementing getdents64 using getdents syscall, set d_type if
55757 __ASSUME_GETDENTS32_D_TYPE.
55759 2010-09-16 Andreas Schwab <schwab@redhat.com>
55761 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55762 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55764 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55767 * posix/unistd.h: Undo change of feature selection for ftruncate from
55770 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55772 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55775 2010-09-20 Andreas Schwab <schwab@redhat.com>
55777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55779 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55781 2010-09-14 Andreas Schwab <schwab@redhat.com>
55783 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55784 variables after CHECK_SP call.
55785 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55787 2010-09-13 Andreas Schwab <schwab@redhat.com>
55788 Ulrich Drepper <drepper@redhat.com>
55790 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55791 re-relocationg ld.so.
55792 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55793 _dl_init_paths call.
55794 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55797 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55799 * resolv/res_init.c (__res_vinit): Count the default server we added.
55801 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55802 Ulrich Drepper <drepper@redhat.com>
55805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55806 (____longjmp_chk): Use %ebx for saving value across system call.
55809 2010-09-06 Andreas Schwab <schwab@redhat.com>
55811 * manual/Makefile: Don't mix pattern rules with normal rules.
55813 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55815 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55817 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55818 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55819 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55820 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55824 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55827 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55828 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55830 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55832 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55833 * sysdeps/x86_64/addmul_1.S: Likewise.
55834 * sysdeps/x86_64/lshift.S: Likewise.
55835 * sysdeps/x86_64/mul_1.S: Likewise.
55836 * sysdeps/x86_64/rshift.S: Likewise.
55837 * sysdeps/x86_64/sub_n.S: Likewise.
55838 * sysdeps/x86_64/submul_1.S: Likewise.
55840 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55842 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55843 Define __sched_param instead of SCHED_* and sched_param when
55844 <bits/sched.h> is included with __need_schedparam defined.
55845 * bits/sched.h [__need_schedparam]
55846 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55847 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55848 (__defined_schedparam): Define to 1.
55849 (__sched_param): New structure, identical to sched_param.
55850 (__need_schedparam): Undefine.
55852 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55854 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55855 (epoll_create1): Declare.
55857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55859 2010-08-31 Andreas Schwab <schwab@redhat.com>
55862 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55863 shifting retval into place.
55865 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55867 * nis/rpcsvc/nis.h: Update copyright notice.
55868 * nis/rpcsvc/nis.x: Likewise.
55869 * nis/rpcsvc/nis_callback.h: Likewise.
55870 * nis/rpcsvc/nis_callback.x: Likewise.
55871 * nis/rpcsvc/nis_object.x: Likewise.
55872 * nis/rpcsvc/nis_tags.h: Likewise.
55873 * nis/rpcsvc/yp.h: Likewise.
55874 * nis/rpcsvc/yp.x: Likewise.
55875 * nis/rpcsvc/ypupd.h: Likewise.
55876 * nis/yp_xdr.c: Likewise.
55877 * nis/ypupdate_xdr.c: Likewise.
55879 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55880 mainly the body of pmap_getport. Add parameters to specify timeouts.
55881 (pmap_getport): Use __libc_rpc_getport.
55882 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55883 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55884 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55886 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55891 2010-08-27 Roland McGrath <roland@redhat.com>
55893 * sysdeps/i386/i686/multiarch/Makefile
55894 (CFLAGS-varshift.c): New variable.
55896 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55898 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55899 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55903 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55905 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55907 * sysdeps/x86_64/strlen.S: Unroll the loop.
55908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55909 strlen-sse2 strlen-sse2-bsf.
55910 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55911 __strlen_no_bsf if bit_Slow_BSF is set.
55912 (__strlen_sse42): Removed.
55913 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55914 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55916 2010-08-25 Roland McGrath <roland@redhat.com>
55918 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55919 * sysdeps/x86_64/multiarch/varshift.c: New file.
55920 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55921 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55922 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55923 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55925 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55928 strlen-sse2 strlen-sse2-bsf.
55929 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55930 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55931 (__strlen_sse2): Removed.
55932 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55933 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55935 bit_Slow_BSF for Atom.
55936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55937 (index_Slow_BSF): Define.
55938 (HAS_SLOW_BSF): Define.
55940 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55943 * resolv/res_init.c (__res_vinit): When no server address at all
55944 is given default to loopback.
55946 2010-08-24 Roland McGrath <roland@redhat.com>
55948 * configure.in: Remove config-name.h generation.
55949 * configure: Regenerated.
55950 * config-name.in: File removed.
55951 * scripts/config-uname.sh: New file.
55952 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55953 ($(objdir)config-name.h): New target.
55955 * sunrpc/rpc_parse.h: Avoid nested comment.
55957 2010-08-24 Richard Henderson <rth@redhat.com>
55958 Ulrich Drepper <drepper@redhat.com>
55959 H.J. Lu <hongjiu.lu@intel.com>
55961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55963 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55964 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55965 _mm_alignr_epi8 with _mm_loadu_si128.
55966 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55967 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55968 (__m128i_shift_right): Removed.
55969 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55970 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55971 * sysdeps/x86_64/multiarch/varshift.h: New file.
55972 * sysdeps/x86_64/multiarch/varshift.S: New file.
55974 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55976 * configure.in: Move assembler checks to before sysdep dir checking.
55978 2010-08-20 Petr Baudis <pasky@suse.cz>
55980 * LICENSES: Sync the sunrpc license.
55982 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55984 * sunrpc/auth_des.c: Update copyright notice once again.
55985 * sunrpc/auth_none.c: Likewise.
55986 * sunrpc/auth_unix.c: Likewise.
55987 * sunrpc/authdes_prot.c: Likewise.
55988 * sunrpc/authuxprot.c: Likewise.
55989 * sunrpc/bindrsvprt.c: Likewise.
55990 * sunrpc/clnt_gen.c: Likewise.
55991 * sunrpc/clnt_perr.c: Likewise.
55992 * sunrpc/clnt_raw.c: Likewise.
55993 * sunrpc/clnt_simp.c: Likewise.
55994 * sunrpc/clnt_tcp.c: Likewise.
55995 * sunrpc/clnt_udp.c: Likewise.
55996 * sunrpc/clnt_unix.c: Likewise.
55997 * sunrpc/des_crypt.c: Likewise.
55998 * sunrpc/des_soft.c: Likewise.
55999 * sunrpc/get_myaddr.c: Likewise.
56000 * sunrpc/getrpcport.c: Likewise.
56001 * sunrpc/key_call.c: Likewise.
56002 * sunrpc/key_prot.c: Likewise.
56003 * sunrpc/openchild.c: Likewise.
56004 * sunrpc/pm_getmaps.c: Likewise.
56005 * sunrpc/pm_getport.c: Likewise.
56006 * sunrpc/pmap_clnt.c: Likewise.
56007 * sunrpc/pmap_prot.c: Likewise.
56008 * sunrpc/pmap_prot2.c: Likewise.
56009 * sunrpc/pmap_rmt.c: Likewise.
56010 * sunrpc/rpc/auth.h: Likewise.
56011 * sunrpc/rpc/auth_unix.h: Likewise.
56012 * sunrpc/rpc/clnt.h: Likewise.
56013 * sunrpc/rpc/des_crypt.h: Likewise.
56014 * sunrpc/rpc/key_prot.h: Likewise.
56015 * sunrpc/rpc/netdb.h: Likewise.
56016 * sunrpc/rpc/pmap_clnt.h: Likewise.
56017 * sunrpc/rpc/pmap_prot.h: Likewise.
56018 * sunrpc/rpc/pmap_rmt.h: Likewise.
56019 * sunrpc/rpc/rpc.h: Likewise.
56020 * sunrpc/rpc/rpc_des.h: Likewise.
56021 * sunrpc/rpc/rpc_msg.h: Likewise.
56022 * sunrpc/rpc/svc.h: Likewise.
56023 * sunrpc/rpc/svc_auth.h: Likewise.
56024 * sunrpc/rpc/types.h: Likewise.
56025 * sunrpc/rpc/xdr.h: Likewise.
56026 * sunrpc/rpc_clntout.c: Likewise.
56027 * sunrpc/rpc_cmsg.c: Likewise.
56028 * sunrpc/rpc_common.c: Likewise.
56029 * sunrpc/rpc_cout.c: Likewise.
56030 * sunrpc/rpc_dtable.c: Likewise.
56031 * sunrpc/rpc_hout.c: Likewise.
56032 * sunrpc/rpc_main.c: Likewise.
56033 * sunrpc/rpc_parse.c: Likewise.
56034 * sunrpc/rpc_parse.h: Likewise.
56035 * sunrpc/rpc_prot.c: Likewise.
56036 * sunrpc/rpc_sample.c: Likewise.
56037 * sunrpc/rpc_scan.c: Likewise.
56038 * sunrpc/rpc_scan.h: Likewise.
56039 * sunrpc/rpc_svcout.c: Likewise.
56040 * sunrpc/rpc_tblout.c: Likewise.
56041 * sunrpc/rpc_util.c: Likewise.
56042 * sunrpc/rpc_util.h: Likewise.
56043 * sunrpc/rpcinfo.c: Likewise.
56044 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56045 * sunrpc/rpcsvc/key_prot.x: Likewise.
56046 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56047 * sunrpc/rpcsvc/mount.x: Likewise.
56048 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56049 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56050 * sunrpc/rpcsvc/rex.x: Likewise.
56051 * sunrpc/rpcsvc/rstat.x: Likewise.
56052 * sunrpc/rpcsvc/rusers.x: Likewise.
56053 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56054 * sunrpc/rpcsvc/spray.x: Likewise.
56055 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56056 * sunrpc/rtime.c: Likewise.
56057 * sunrpc/svc.c: Likewise.
56058 * sunrpc/svc_auth.c: Likewise.
56059 * sunrpc/svc_authux.c: Likewise.
56060 * sunrpc/svc_raw.c: Likewise.
56061 * sunrpc/svc_run.c: Likewise.
56062 * sunrpc/svc_simple.c: Likewise.
56063 * sunrpc/svc_tcp.c: Likewise.
56064 * sunrpc/svc_udp.c: Likewise.
56065 * sunrpc/svc_unix.c: Likewise.
56066 * sunrpc/svcauth_des.c: Likewise.
56067 * sunrpc/xcrypt.c: Likewise.
56068 * sunrpc/xdr.c: Likewise.
56069 * sunrpc/xdr_array.c: Likewise.
56070 * sunrpc/xdr_float.c: Likewise.
56071 * sunrpc/xdr_mem.c: Likewise.
56072 * sunrpc/xdr_rec.c: Likewise.
56073 * sunrpc/xdr_ref.c: Likewise.
56074 * sunrpc/xdr_sizeof.c: Likewise.
56075 * sunrpc/xdr_stdio.c: Likewise.
56077 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56080 2010-08-19 Andreas Schwab <schwab@redhat.com>
56082 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56084 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56086 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56087 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56088 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56089 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56090 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56091 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56092 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56093 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56094 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56095 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56096 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56097 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56098 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56099 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56101 2010-07-26 Anton Blanchard <anton@samba.org>
56103 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56104 * malloc/arena.c (heap_trim): Likewise.
56106 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56108 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56111 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56113 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56115 * sysdeps/i386/elf/Makefile: New file.
56117 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56119 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56120 from fanotify_init.
56121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56124 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56126 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56128 * sysdeps/multiarch/strcmp.S: Likewise.
56130 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56132 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56133 strncase_l-nonascii.
56134 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56135 Add strncase_l-ssse3.
56136 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56137 * sysdeps/x86_64/strcmp.S: Likewise.
56138 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56139 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56140 * sysdeps/x86_64/strncase.S: New file.
56141 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56142 * sysdeps/x86_64/strncase_l.S: New file.
56143 * string/Makefile (strop-tests): Add strncasecmp.
56144 * string/test-strncasecmp.c: New file.
56146 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56149 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56150 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56152 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56154 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56156 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56158 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56159 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56160 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56162 2010-05-01 Alan Modra <amodra@gmail.com>
56164 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56165 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56166 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56167 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56168 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56169 tidying. Don't tail-call __sigjmp_save for static lib.
56170 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56172 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56173 (CALL_MCOUNT): Add eh info, and nop after bl.
56174 (TAIL_CALL_SYSCALL_ERROR): New macro.
56175 (PSEUDO_RET): Use it.
56176 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56177 Correct save location of integer regs and cr.
56178 (_dl_profile_resolve): Correct cr save location. Delete nops
56179 after bl when SHARED. Reduce cfi size a little by better
56180 placement of cfi directives.
56181 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56182 make a stack frame. Instead use parm save area as a temp.
56183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56184 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56186 Don't make a stack frame for parent, use parm save area.
56187 Increase child stack frame to 112 bytes. Don't save unused reg,
56188 and adjust reg usage. Set up cfi on error recovery and
56189 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56191 (__makecontext): Add dummy nop after jump to exit.
56192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56193 Use correct parm save area and cr save, reduce stack frame.
56194 Correct cfi for possible PSEUDO_RET frame setup.
56195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56196 Branch to local label emitted by PSEUDO_RET rather than
56199 2010-08-12 Andreas Schwab <schwab@redhat.com>
56202 * locale/programs/locale.c (print_assignment): New function.
56203 (show_locale_vars): Use it.
56205 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56207 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56209 (struct statfs64): Likewise.
56210 (_STATFS_F_FLAGS): Define.
56211 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56212 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56213 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56214 (ST_VALID): Define locally.
56215 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56216 __statvfs_getflags, use the provided value.
56217 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56218 __ASSUME_STATFS_F_FLAGS.
56220 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56222 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56223 Add sys/fanotify.h.
56224 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56225 fanotify_mask for GLIBC_2.13.
56226 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56227 fanotify_init and fanotify_mark.
56228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56229 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56231 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56233 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56234 prlimit64 for GLIBC_2.13.
56235 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56240 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56241 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56242 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56245 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56248 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56249 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56251 * nss/Makefile: Add rules to build and run tst-nss-test1.
56252 * shlib-versions: Add entry for libnss_test1.
56253 * nss/nss_test1.c: New file.
56254 * nss/tst-nss-test1.c: New file.
56256 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56257 (__nss_configure_lookup): Set appropriate entry in
56258 __nss_configure_lookup to true.
56259 * nss/nsswitch.h: Define enum with indeces of databases in
56260 databases and __nss_database_custom arrays. Declare
56261 __nss_database_custom.
56262 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56263 to avoid using nscd when custom rules are installed.
56264 * nss/getXXbyYY_r.c: Likewise.
56265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56267 * nss/nss_files/files-parse.c: Whitespace fixes.
56269 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56272 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56273 * posix/fnmatch_loop.c: Likewise.
56275 2010-07-17 Andi Kleen <ak@linux.intel.com>
56277 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56278 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56279 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56280 * Versions.def [GLIBC_2.13]: Add.
56282 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56285 Also fail if tpwd after pwuid call is NULL.
56287 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56289 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56290 when converting to ms.
56292 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56294 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56295 EOPNOTSUPP errors with ENOTTY.
56296 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56297 EOPNOTSUPP errors with ENOTTY.
56299 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56301 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56302 Add strcasecmp_l-ssse3.
56303 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56305 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56306 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56307 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56309 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56311 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56313 * string/Makefile (strop-tests): Add strcasecmp.
56314 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56315 strcasecmp_l-nonascii.
56316 (gen-as-const-headers): Add locale-defines.sym.
56317 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56318 * sysdeps/x86_64/strcasecmp.S: New file.
56319 * sysdeps/x86_64/strcasecmp_l.S: New file.
56320 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56321 * sysdeps/x86_64/locale-defines.sym: New file.
56322 * string/test-strcasecmp.c: New file.
56324 * string/test-strcasestr.c: Test both ends of the range of characters.
56325 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56327 2010-07-29 Roland McGrath <roland@redhat.com>
56330 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56332 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56334 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56337 2010-07-27 Andreas Schwab <schwab@redhat.com>
56339 * manual/memory.texi (Malloc Tunable Parameters): Document
56342 2010-07-26 Roland McGrath <roland@redhat.com>
56345 * configure.in (-fgnu89-inline check): Set and substitute
56346 gnu89_inline, not libc_cv_gnu89_inline.
56347 * configure: Regenerated.
56348 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56350 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56352 * string/test-strnlen.c: New file.
56353 * string/Makefile (strop-tests): Add strnlen.
56354 * string/tester.c (test_strnlen): Add a few more test cases.
56355 * string/tst-strlen.c: Better error reporting.
56357 * sysdeps/x86_64/strnlen.S: New file.
56359 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56361 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56362 lower-latency instructions.
56364 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56366 * string/test-strcasestr.c: New file.
56367 * string/test-strstr.c: New file.
56368 * string/Makefile (strop-tests): Add strstr and strcasestr.
56369 * string/str-two-way.h: Don't undefine MAX.
56370 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56372 2010-07-21 Andreas Schwab <schwab@redhat.com>
56374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56375 strcasestr-nonascii.
56376 (CFLAGS-strcasestr-nonascii.c): Define.
56377 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56378 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56379 Remove unused attribute.
56381 2010-07-20 Roland McGrath <roland@redhat.com>
56383 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56384 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56385 ld.so.cache was broken. With it, there is no way to disable dsocaps
56386 like LD_HWCAP_MASK can disable hwcaps.
56388 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56390 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56392 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56394 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56395 call in strcasestr.
56396 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56397 __strcasestr_sse42_nonascii.
56398 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56399 strcasestr-nonascii.c.
56400 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56402 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56404 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56405 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56406 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56407 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56409 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56411 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56414 2010-07-06 Andreas Schwab <schwab@redhat.com>
56417 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56420 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56423 _PC_PIPE_BUF using F_GETPIPE_SZ.
56425 2010-07-05 Roland McGrath <roland@redhat.com>
56427 * manual/arith.texi (Rounding Functions): Fix rint description
56428 implicit in round description.
56430 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56432 * elf/Makefile: Fix linking for a few tests to make recent linker
56435 2010-06-30 Andreas Schwab <schwab@redhat.com>
56437 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56438 $(common-objpfx)libc_nonshared.a.
56440 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56442 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56443 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56444 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56445 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56446 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56447 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56448 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56449 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56464 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56465 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56466 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56467 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56468 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56469 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56470 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56471 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56472 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56473 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56474 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56475 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56491 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56493 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56494 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56495 * string/memmove.c (memmove): Renamed to ...
56496 (MEMMOVE): ...this. Default to memmove.
56497 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56498 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56501 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56502 mempcpy-ssse3-back memmove-ssse3-back.
56503 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56505 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56506 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56507 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56508 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56509 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56510 * sysdeps/x86_64/multiarch/memmove.c: New file.
56511 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56512 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56513 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56514 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56515 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56516 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56518 (index_Fast_Copy_Backward): Define.
56519 (HAS_ARCH_FEATURE): Define.
56520 (HAS_FAST_REP_STRING): Define.
56521 (HAS_FAST_COPY_BACKWARD): Define.
56523 2010-06-21 Andreas Schwab <schwab@redhat.com>
56525 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56526 Restore proper fallback handling.
56528 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56531 * posix/group_member.c (__group_member): Correct checking loop.
56533 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56534 OOM in getpwuid_r correctly. Return error number when the caller
56535 should return, otherwise -1.
56536 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56537 call returning > 0 value.
56538 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56540 2010-06-07 Andreas Schwab <schwab@redhat.com>
56542 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56543 libc_nonshared.a from targets in modules-names.
56545 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56547 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56550 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56552 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56553 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56557 2010-06-02 Andreas Schwab <schwab@redhat.com>
56559 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56561 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56563 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56565 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56566 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56570 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56572 2010-06-14 Roland McGrath <roland@redhat.com>
56574 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56576 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56578 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56579 __REDIRECT followed by __THROW.
56580 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56581 * posix/getopt.h (getopt): Likewise.
56583 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56585 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56586 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56587 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56589 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56590 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56592 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56594 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56596 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56600 Properly check family and model.
56602 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56604 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56606 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56608 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56610 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56612 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56615 2010-05-19 Andreas Schwab <schwab@redhat.com>
56617 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56620 2010-05-21 Andreas Schwab <schwab@redhat.com>
56622 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56623 and internal_recvmmsg.
56624 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56625 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56626 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56627 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56629 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56630 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56631 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56633 2010-05-20 Andreas Schwab <schwab@redhat.com>
56635 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56637 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56639 POWER7 optimizations.
56640 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56641 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56643 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56645 * version.h: Update for 2.13 development version.
56647 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56649 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56650 exceptions. Return 0.
56652 2010-05-07 Roland McGrath <roland@redhat.com>
56654 * elf/ldconfig.c (main): Add a const.
56656 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56658 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56659 (args_options): Add no-idn option.
56660 (ahosts_keys_int): Add idn_flags to ai_flags.
56661 (parse_option): Handle 'i' option to clear idn_flags.
56663 * malloc/malloc.c (_int_free): Possible race in the most recently
56664 added check. Only act on the data if no current modification
56667 See ChangeLog.17 for earlier changes.