powerpc: sysdeps/powerpc configure cleanup
[glibc.git] / ChangeLog
blob3dbcdcb54500594591719c470a6ca17a6b257dc9
1 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/configure.ac: Remove file.
4         * sysdeps/powerpc/configure: Likewise.
6         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7         [sysdep_routines]: Remove wordcopy-power6 object.
8         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
11         (__memmove_ppc32): Likewise.
12         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13         file.
14         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16         Remove preprocessor.
18         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19         [sysdep_routines]: Remove wide chars objects.
20         [wcsmbs]: New rule for wide char objects.
22         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23         Remove wordcopy-power6 obejct.
24         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25         Use local call for wordcopy and memcpy symbols.
26         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28         implementation for loader.
29         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32         Remove wordcopy-power7 object.
33         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36         (_wordcopy_fwd_dest_aligned): Likewise.
37         (_wordcopy_bwd_aligned): Likewise.
38         (_wordcopy_bwd_dest_aligned): Likewise.
40         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
41         Rewrite to call __memmove_ppc instead of include default
42         implementation.
44         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45         Remove wide chars objects.
46         [wcsmbs]: New rule for wide char objects.
48 2015-02-09  Andreas Schwab  <schwab@suse.de>
50         [BZ #17912]
51         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52         in terms of __O_DIRECTORY.
54 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56         * time/getdate.c: Include <stdbool.h>.
57         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
58         call PTR_MANGLE.
59         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
60         PTR_DEMANGLE.
62 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
64         Add ersatz _Static_assert on older C hosts
65         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
66         pre-C11 C platform that is not known to support _Static_assert.
68 2015-02-07  Richard Braun  <rbraun@sceen.net>
70         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
71         sigstate.
72         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
74 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
77         priority against unexistent AIO_PRIO_DELTA_MAX.
78         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
79         instead of int.
80         * misc/fchflags.c (fchflags): Likewise.
81         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
82         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
83         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
84         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
85         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
86         Declare macros.
87         [__USE_MISC] (chflags, fchflags): Declare functions.
88         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
89         EINVAL when nfds is greater than FD_SETSIZE.
90         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
91         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
92         45.
93         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
94         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
95         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
96         MACH_RCV_TIMED_OUT.
97         * hurd/hurd/signal.h (_hurd_self_sigstate,
98         _hurd_critical_section_lock, _hurd_critical_section_unlock):
99         Explicit casts from void *.
100         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
101         * abi-tags: Rename gnu-gnu os into gnu.
103         [BZ #4719]
104         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
105         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
106         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
107         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
108         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
109         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
111         [BZ #17944]
112         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
113         duplicates ADDR->sun_path with sockaddr LEN limitation.
114         * sysdeps/mach/hurd/connect.c: Include <string.h>
115         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
116         * sysdeps/mach/hurd/sendmsg.c: Likewise.
117         * sysdeps/mach/hurd/sendto.c: Likewise.
118         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
119         implementing it by hand.
121 2015-02-06  Roland McGrath  <roland@hack.frob.com>
123         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
124         Use sfi_breg on ldr.
125         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
126         Likewise.
128         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
129         it's defined.
130         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
131         Test SIGSETXID only if it's defined.
133         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
135         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
136         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
138         * nptl/tst-align2.c: Moved ...
139         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
140         * nptl/Makefile (tests): Remove tst-align2.
141         * sysdeps/unix/sysv/linux/Makefile
142         [$(subdir) = nptl] (tests): Add tst-align-clone.
143         * nptl/tst-getpid1.c: Moved ...
144         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
145         * nptl/tst-getpid2.c: Moved ...
146         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
147         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
148         * sysdeps/unix/sysv/linux/Makefile
149         [$(subdir) = nptl] (tests): ... here.
150         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
151         * sysdeps/unix/sysv/linux/Makefile
152         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
154         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
155         Drop trailing \n from perror argument.  Use return rather than exit.
157         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
158         on [SA_SIGINFO].
159         * nptl/tst-cancel21.c (do_test): Likewise.
160         * debug/tst-backtrace6.c: Include <signal.h> first thing.
161         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
162         [!SA_SIGINFO]: Make it a stub test.
164         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
165         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
167         * posix/tst-getlogin.c: Move to ...
168         * login/tst-getlogin.c: ... here.
169         * posix/Makefile (tests): Move tst-getlogin to ...
170         * login/Makefile (tests): ... here.
172         * libio/tst-atime.c (do_test): Move local variables SV and E
173         inside [ST_NOATIME] conditional.
175         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
177         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
179         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
180         (wait_code): New function replaces macro.
181         Call nanosleep rather than syscall.
183         * nptl/pt-system.c: Rewritten.  Put everything under
184         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
185         Use IFUNC to redirect when possible.
187         * nptl/pt-longjmp.c: Rewritten.  Put everything under
188         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
189         Use IFUNC to redirect when possible.
191         * nptl/pt-fork.c: Rewritten.  Put everything under
192         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
193         Use IFUNC to redirect when possible.
194         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
196         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
197         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
198         unconditionally nowadays.  This included the only reference to
199         __vdso_clock_gettime that appears outside libc proper.
200         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
201         Remove version set (containing only __vdso_clock_gettime).
202         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
203         Add attribute_hidden.
204         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
205         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
206         libc_hidden_data_def.
207         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
208         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
210         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
211         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
212         setrpcent, and getrpcport to ...
213         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
214         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
215         getrpcbynumber_r, and getrpcent_r to ...
216         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
217         * inet/getrpcbyname.c: Moved ...
218         * sunrpc/getrpcbyname.c: ... here.
219         * inet/getrpcbyname_r.c: Moved ...
220         * sunrpc/getrpcbyname_r.c: ... here.
221         * inet/getrpcbynumber.c: Moved ...
222         * sunrpc/getrpcbynumber.c: ... here.
223         * inet/getrpcbynumber_r.c: Moved ...
224         * sunrpc/getrpcbynumber_r.c: ... here.
225         * inet/getrpcent.c: Moved ...
226         * sunrpc/getrpcent.c: ... here.
227         * inet/getrpcent_r.c: Moved ...
228         * sunrpc/getrpcent_r.c: ... here.
229         * inet/Makefile (routines): Move those to ...
230         * sunrpc/Makefile (routines): ... here.
231         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
232         the $(subdirs) list.
233         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
234         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
235         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
236         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
238         * elf/Makefile (routines): Include $(all-dl-routines), not just
239         $(dl-routines).
240         (rtld-routines): Likewise.  Use = rather than :=.
241         * sysdeps/aarch64/Makefile [$(subdir) = elf]
242         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
243         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
244         * sysdeps/arm/Makefile: Likewise.
245         * sysdeps/i386/Makefile: Likewise.
246         * sysdeps/x86_64/Makefile: Likewise.
247         * sysdeps/hppa/Makefile [$(subdir) = elf]
248         (sysdep_routines, sysdep-rtld-routines): Don't add
249         $(sysdep-dl-routines) to these.
250         * sysdeps/ia64/Makefile: Likewise.
251         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
252         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
253         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
254         Don't add dl-static to these; sysdep-dl-routines alone is enough.
255         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
256         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
257         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
258         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
259         * sysdeps/powerpc/Makefile [$(subdir) = elf]
260         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
261         these; sysdep-dl-routines alone is enough.
263 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
265         [BZ #17932]
266         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
267         where multiplication results in zero and third argument is finite
268         and nonzero.
269         * math/auto-libm-test-in: Add more tests of fma.
270         * math/auto-libm-test-out: Regenerated.
272         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
273         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
274         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
275         (_FP_CMP_EQ): Likewise.
276         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
278         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
279         extra argument CHECK_NAN.  Redefine as wrapper around
280         _FP_EXTEND_CNAN.
282 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
284         * version.h (RELEASE): Set to "stable".
285         (VERSION): Set to "2.21"
286         * include/features.h (__GLIBC_MINOR__): Set to 21.
288         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
290 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
291             Paul Eggert  <eggert@cs.ucla.edu>
293         [BZ #16618]
294         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
295         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
296         size in bytes. Store needed elements in wpmax. Use needed size
297         in bytes for extend_alloca.
299 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
301         * manual/install.texi: Latest tested versions are GCC 4.9.2,
302         binutls 2.25, and texinfo 5.2.
303         * INSTALL: Regenerate.
304         * sysdeps/nios2/configure: Regenerate.
305         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
306         * manual/contrib.texi: Update.
307         * po/be.po: Update.
308         * po/bg.po: Update.
309         * po/ca.po: Update.
310         * po/cs.po: Update.
311         * po/da.po: Update.
312         * po/de.po: Update.
313         * po/el.po: Update.
314         * po/eo.po: Update.
315         * po/es.po: Update.
316         * po/fi.po: Update.
317         * po/fr.po: Update.
318         * po/gl.po: Update.
319         * po/hr.po: Update.
320         * po/hu.po: Update.
321         * po/ia.po: Update.
322         * po/id.po: Update.
323         * po/it.po: Update.
324         * po/ja.po: Update.
325         * po/ko.po: Update.
326         * po/lt.po: Update.
327         * po/nb.po: Update.
328         * po/nl.po: Update.
329         * po/pl.po: Update.
330         * po/pt_BR.po: Update.
331         * po/ru.po: Update.
332         * po/rw.po: Update.
333         * po/sk.po: Update.
334         * po/sl.po: Update.
335         * po/sv.po: Update.
336         * po/tr.po: Update.
337         * po/uk.po: Update.
338         * po/vi.po: Update.
339         * po/zh_CN.po: Update.
340         * po/zh_TW.po: Update.
342         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
343         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
344         * sysdeps/hppa/dl-irel.h: Remove #warning.
345         * sysdeps/hppa/entry.h: Provide prototype for
346         __canonicalize_funcptr_for_compare and cast argument.
347         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
348         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
349         * sysdeps/hppa/sotruss-lib.c: New file.
350         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
351         (atomic_compare_and_exchange_val_acq): Use __typeof__.
352         (atomic_compare_and_exchange_bool_acq): Likewise.
353         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
354         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
356         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
357         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
358         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
360 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
362         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
363         called function in non-PIC case.
365 2015-01-31  David S. Miller  <davem@davemloft.net>
367         * sysdeps/sparc/sparc32/bits/atomic.h
368         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
369         unlock not after it.
370         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
371         volatile register usage warnings from the compiler.
373         * sysdeps/sparc/nptl/sem_init.c: Delete.
374         * sysdeps/sparc/nptl/sem_post.c: Delete.
375         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
376         * sysdeps/sparc/nptl/sem_wait.c: Delete.
377         * sysdeps/sparc/sparc32/sem_init.c: New file.
378         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
379         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
380         padding explicitly initialized.
381         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
382         padding for in-semaphore spinlock.
383         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
384         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
385         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
386         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
387         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
388         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
389         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
390         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
391         version.
392         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
393         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
395 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
397         [BZ #17801]
398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
399         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
400         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
401         New.
402         (index_AVX_Fast_Unaligned_Load): Likewise.
403         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
404         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
405         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
406         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
407         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
408         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
409         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
410         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
411         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
413 2015-01-29  Andreas Schwab  <schwab@suse.de>
415         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
417 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
419         [BZ #17892]
420         * nscd/nscd_stat.c (send_stats): Initialize DATA.
422 2015-01-28  Martin Sebor  <msebor@redhat.com>
424         * math/README.libm-test: Clarify. Add "How to read the test output."
426 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
428         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
429         Define to 0.
431 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
433         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
434         (__HAVE_64B_ATOMICS): Define to 0.
436 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
438         [BZ #17885]
439         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
440         value to set as new flag.
442         [BZ #16576]
443         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
444         and use _ARCH_PPCSQ instead.
445         (__ieee754_sqrt): Likewise.
446         (__ieee754_sqrtf): Likewise.
447         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
448         _ARCH_PPCSQ is defined.
449         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
450         fsqrt instruction.
451         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
452         _ARCH_PPCSQ is defined.
453         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
454         fsqrts instruction.
455         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
457 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
459         * iconv/loop.c: Suppress array out of bound warning caused by GCC
460         bug (GCC BZ #64739).
462 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
464         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
465         Mark _retval as used.
466         (lll_futex_wake_unlock): Likewise.
467         (lll_futex_timed_wait_requeue_pi): Likewise.
469         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
470         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
471         register variables.
473         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
474         libm_hidden_def.
476         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
477         (__bswap_64): Mark as __always_inline.
479 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
481         [BZ #15378]
482         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
483         when none of the search directories exist.
485 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
487         [BZ #17869]
488         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
489         power8 in .machine directive.
491         [BZ #17868]
492         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
493         set dependency from opd value.
495 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
498         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
499         architecture.
501 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
503         [BZ #17870]
504         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
505         with uint64_t.
506         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
507         (uint64_t) 1.
508         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
509         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
510         Replace 1UL with (uint64_t) 1.
511         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
512         int with uint64_t.
514 2015-01-23  Roland McGrath  <roland@hack.frob.com>
516         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
517         (if_freenameindex): Likewise.
519         * resource/getrlimit64.c: Add missing libc_hidden_def.
521 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
523         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
524         __label__.
525         (_FP_FMA): Likewise.
526         (_FP_TO_INT_ROUND): Likewise.
527         (_FP_FROM_INT): Likewise.
529 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
531         [BZ #16418]
532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
533         Make code racy and cancel safe.
535 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
537         * sysdeps/arm/unwind-resume.h: Fix copyright year.
538         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
539         attribution.
541         * pwd/tst-getpw.c: Rewrite.
543         [BZ #17702]
544         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
545         (modules-names): Add moddummy1 and moddummy2.
546         ($(objpfx)tst-rec-dlopen): Define.
547         * dlfcn/moddummy1.c: New file.
548         * dlfcn/moddummy2.c: New file.
549         * dlfcn/tst-rec-dlopen.c: New file.
550         * elf/dl-cache.c (_dl_load_cache_lookup):
551         Return char*. Copy result with alloca/strcpy/strdup.
552         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
553         returns char*. Free cached. If not saving realname
554         free cached.
555         * elf/dl-open.c (dl_open_worker): Do not assert that
556         _r_debug->r_state is RT_CONSISTENT.
557         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
558         returns char*.
560 2015-01-21  Torvald Riegel  <triegel@redhat.com>
561             Carlos O'Donell  <carlos@redhat.com>
563         [BZ #12674]
564         * nptl/sem_waitcommon.c: New file.
565         * nptl/sem_wait.c: Include sem_waitcommon.c.
566         (__sem_wait_cleanup, do_futex_wait): Remove.
567         (__new_sem_wait): Adapt.
568         (__new_sem_trywait): New function.
569         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
570         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
571         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
572         (sem_timedwait): Adapt.
573         * nptl/sem_post.c (__new_sem_post): Adapt.
574         (futex_wake): New function.
575         (__old_sem_post): Add release MO fence.
576         * nptl/sem_open.c (sem_open): Adapt.
577         * nptl/sem_init.c (__new_sem_init): Adapt.
578         (futex_private_if_supported): New function.
579         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
580         (__old_sem_getvalue): Add using previous code.
581         * sysdeps/nptl/internaltypes.h: Adapt.
582         * nptl/tst-sem13.c (do_test): Adapt.
583         * nptl/tst-sem11.c (main): Adapt.
584         * nptl/sem_trywait.c: Remove.
585         * nptl/DESIGN-sem.txt: Remove.
586         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
587         (gen-as-const-headers): Remove structsem.sym.
588         * nptl/structsem.sym: Remove.
589         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
590         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
591         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
592         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
593         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
594         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
595         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
596         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
597         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
598         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
599         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
600         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
601         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
602         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
603         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
604         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
605         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
606         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
607         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
608         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
609         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
610         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
612 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
614         * INSTALL: Regenerated.
616         * po/libc.pot: Regenerated.
618 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
619             Sandra Loosemore  <sandra@codesourcery.com>
620             Andrew Jenner  <andrew@codesourcery.com>
621             Joseph Myers  <joseph@codesourcery.com>
622             Nathan Sidwell  <nathan@codesourcery.com>
624         * NEWS: Mention new Nios II port.
625         * sysdeps/nios2/Implies: New file.
626         * sysdeps/nios2/Makefile: New file.
627         * sysdeps/nios2/Subdirs: New file.
628         * sysdeps/nios2/Versions: New file.
629         * sysdeps/nios2/__longjmp.S: New file.
630         * sysdeps/nios2/abort-instr.h: New file.
631         * sysdeps/nios2/backtrace.c: New file.
632         * sysdeps/nios2/bits/endian.h: New file.
633         * sysdeps/nios2/bits/fenv.h: New file.
634         * sysdeps/nios2/bits/link.h: New file.
635         * sysdeps/nios2/bits/setjmp.h: New file.
636         * sysdeps/nios2/bsd-_setjmp.S: New file.
637         * sysdeps/nios2/bsd-setjmp.S: New file.
638         * sysdeps/nios2/configure: New generated file.
639         * sysdeps/nios2/configure.ac: New file.
640         * sysdeps/nios2/crti.S: New file.
641         * sysdeps/nios2/crtn.S: New file.
642         * sysdeps/nios2/dl-init.c: New file.
643         * sysdeps/nios2/dl-machine.h: New file.
644         * sysdeps/nios2/dl-sysdep.h: New file.
645         * sysdeps/nios2/dl-tls.h: New file.
646         * sysdeps/nios2/dl-trampoline.S: New file.
647         * sysdeps/nios2/gccframe.h: New file.
648         * sysdeps/nios2/gmp-mparam.h: New file.
649         * sysdeps/nios2/jmpbuf-offsets.h: New file.
650         * sysdeps/nios2/jmpbuf-unwind.h: New file.
651         * sysdeps/nios2/ldsodefs.h: New file.
652         * sysdeps/nios2/libc-tls.c: New file.
653         * sysdeps/nios2/libm-test-ulps: New file.
654         * sysdeps/nios2/machine-gmon.h: New file.
655         * sysdeps/nios2/math-tests.h: New file.
656         * sysdeps/nios2/math_private.h: New file.
657         * sysdeps/nios2/memusage.h: New file.
658         * sysdeps/nios2/nptl/Makefile: New file.
659         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
660         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
661         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
662         * sysdeps/nios2/nptl/pthreaddef.h: New file.
663         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
664         * sysdeps/nios2/nptl/tls.h: New file.
665         * sysdeps/nios2/preconfigure: New file.
666         * sysdeps/nios2/s_fma.c: New file.
667         * sysdeps/nios2/s_fmaf.c: New file.
668         * sysdeps/nios2/setjmp.S: New file.
669         * sysdeps/nios2/sfp-machine.h: New file.
670         * sysdeps/nios2/sotruss-lib.c: New file.
671         * sysdeps/nios2/stackguard-macros.h: New file.
672         * sysdeps/nios2/stackinfo.h: New file.
673         * sysdeps/nios2/start.S: New file.
674         * sysdeps/nios2/sysdep.h: New file.
675         * sysdeps/nios2/tls-macros.h: New file.
676         * sysdeps/nios2/tst-audit.h: New file.
677         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
678         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
679         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
680         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
681         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
682         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
683         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
684         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
685         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
686         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
687         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
688         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
689         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
690         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
691         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
692         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
693         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
694         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
695         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
696         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
697         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
698         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
699         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
700         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
701         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
702         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
703         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
704         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
705         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
706         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
707         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
708         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
709         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
710         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
711         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
712         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
713         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
714         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
715         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
716         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
717         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
718         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
719         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
720         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
722 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
724         [BZ #17844]
725         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
726         (getutent): Use weak_alias in non SHARED case
727         and default_symbol_version in SHARED case.
728         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
729         (getutent_r, pututline): Likewise.
730         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
731         (getutid): Likewise.
732         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
733         (getutid_r): Likewise.
734         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
735         (getutline): Likewise.
736         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
737         (getutline_r): Likewise.
738         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
739         (updwtmp): Likewise.
741 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
743         [BZ #17848]
744         * sysdeps/s390/s390-32/memcmp.S
745         (memcmp_g5): Rename to __memcmp_g5.
746         * sysdeps/s390/s390-32/memcpy.S
747         (memcpy_g5): Rename to __memcpy_g5.
748         Jump to __memcpy_mvcle instead of memcpy_mvcle.
749         (memcpy_mvcle) Rename to __memcpy_mvcle.
750         * sysdeps/s390/s390-32/memset.S
751         (memset_g5): Rename to __memset_g5.
752         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
753         (IFUNC_RESOLVE): Prefix ifunc-resolve function
754         and use prefixed functions.
755         * sysdeps/s390/s390-32/multiarch/memcmp.S
756         (memcmp_z196): Rename to __memcmp_z196.
757         (memcmp_z10): Rename to __memcmp_z10.
758         (memcmp): Set alias to __memcmp_g5.
759         (bcmp): Set alias to __memcmp_g5.
760         * sysdeps/s390/s390-32/multiarch/memcpy.S
761         (memcpy_z196): Rename to __memcpy_z196.
762         Jump to __memcpy_mvcle instead of memcpy_mvcle.
763         (memcpy_z10): Rename to __memcpy_z10.
764         Jump to __memcpy_mvcle instead of memcpy_mvcle.
765         (memcpy): Set alias to __memcpy_g5.
766         * sysdeps/s390/s390-32/multiarch/memset.S
767         (memset_z196): Rename to __memset_z196.
768         Jump to __memset_mvcle instead of memset_mvcle.
769         (memset_z10): Rename to __memset_z10.
770         Jump to __memset_mvcle instead of memset_mvcle.
771         (memset_mvcle) Rename to __memset_mvcle.
772         (memset): Set alias to __memset_g5.
773         * sysdeps/s390/s390-64/memcmp.S
774         (memcmp_z900): Rename to __memcmp_z900.
775         * sysdeps/s390/s390-64/memcpy.S
776         (memcpy_z900): Rename to __memcpy_z900.
777         Jump to __memcpy_mvcle instead of memcpy_mvcle.
778         (memcpy_mvcle) Rename to __memcpy_mvcle.
779         * sysdeps/s390/s390-64/memset.S
780         (memset_z900): Rename to __memset_z900.
781         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
782         (IFUNC_RESOLVE): Prefix ifunc-resolve function
783         and use prefixed functions.
784         * sysdeps/s390/s390-64/multiarch/memcmp.S
785         (memcmp_z196): Rename to __memcmp_z196.
786         (memcmp_z10): Rename to __memcmp_z10.
787         (memcmp): Set alias to __memcmp_z900.
788         (bcmp): Set alias to __memcmp_z900.
789         * sysdeps/s390/s390-64/multiarch/memcpy.S
790         (memcpy_z196): Rename to __memcpy_z196.
791         Jump to __memcpy_mvcle instead of memcpy_mvcle.
792         (memcpy_z10): Rename to __memcpy_z10.
793         Jump to __memcpy_mvcle instead of memcpy_mvcle.
794         (memcpy): Set alias to __memcpy_z900.
795         * sysdeps/s390/s390-64/multiarch/memset.S
796         (memset_z196): Rename to __memset_z196.
797         Jump to __memset_mvcle instead of memset_mvcle.
798         (memset_z10): Rename to __memset_z10.
799         Jump to __memset_mvcle instead of memset_mvcle.
800         (memset_mvcle) Rename to __memset_mvcle.
801         (memset): Set alias to __memset_z900.
803 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
805         [BZ #17748]
806         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
807         __fesetenv instead of fesetenv.
809 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
811         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
812         macro.
814 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
816         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
817         regression on LE.
819         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
820         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
821         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
822         strncmp-power8 object.
823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
824         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
825         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
826         * NEWS: Update.
828 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
829             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
831         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
832         trailing byte check.
834 2015-01-13  David S. Miller  <davem@davemloft.net>
836         * include/signal.h (__sigreturn): Guard with __USE_MISC.
838 2015-01-13  Roland McGrath  <roland@hack.frob.com>
840         * login/logout.c (logout): Use memset rather than bzero.
841         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
842         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
843         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
844         (_gethtbyaddr): Likewise.
845         * locale/programs/simple-hash.c (bcopy): Macro removed.
847 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
850         Add strcmp-power8 object.
851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
852         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
853         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
854         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
855         __strcmp_power8 implementation.
856         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
857         * NEWS: Update.
859         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
860         Add strncpy-power8 and stpncpy-power8 objects.
861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
862         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
863         implementations.
864         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
865         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
866         __stpncpy_power8 implementation.
867         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
868         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
869         __strncpy_power8 implementation.
870         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
871         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
872         * NEWS: Update.
874         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
875         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
876         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
878         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
879         strncat-power8 object.
880         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
881         __strcat_power8 implementation.
882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
883         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
884         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
885         optimized strcat for power8.
887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
888         strcpy-power8 and stpcpy-power8 objects.
889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
890         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
891         implementations.
892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
893         multiarch stpcpy implementation for POWER8.
894         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
895         multiarch strcpy implementation for POWER8.
896         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
897         __strcpy_power8 function.
898         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
899         stpcpy for POWER8.
900         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
901         strcpy for POWER8.
902         * NEWS: Update.
904 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
906         [BZ #16009]
907         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
908         weights and rules. Use do_xfrm_cached if data fits in cache,
909         do_xfrm otherwise.  Moved former main loop to...
910         * (do_xfrm_cached): New function.
911         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
912         find_idx, find_position and stack_push.
913         * (find_idx): New function.
914         * (find_position): Likewise.
915         * localedata/sort-test.sh: Added test run for do_xfrm.
916         * localedata/xfrm-test.c (main): Added command line option
917         -nocache to run the test with strings that are too large for
918         the STRXFRM cache.
920 2015-01-13  Torvald Riegel  <triegel@redhat.com>
922         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
923         variable to lll_futex_wake call, not the value itself.
925 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
927         [BZ #17803]
928         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
929         twom64.  Adjust value to 0x1p-64L.
930         (__scalblnl): Only return standard underflowing result for K <=
931         -64 not K <= -63; adjust exponent for underflowing result by 64
932         not 63.
933         * math/libm-test.inc (scalbn_test_data): Add more tests.
934         (scalbln_test_data): Likewise.
936         [BZ #17834]
937         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
938         0x1p63L.
939         (__scalblnl): Get new exponent of adjusted subnormal value from ES
940         not HX.
941         * math/libm-test.inc (scalbn_test_data): Add more tests.
942         (scalbln_test_data): Likewise.
944 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
945             Stefani Seibold  <stefani@seibold.net>
947         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
948         (sysdep_routines): Add dl-vdso here, ...
949         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
950         (sysdep_routines): ... not here.
951         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
952         fallback when vDSO is not presented.
953         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
954         Define with libc_hidden_proto/libc_hidden_data_def definitions.
955         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
956         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
957         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
958         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
959         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
960         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
961         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
962         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
963         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
964         fallback configurable symbol when vDSO is not available.
965         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
966         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
967         be able to redefine fallback symbol when vDSO is not available.
968         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
969         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
971 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
973         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
974         (TLS_INIT_TP): Add tm_capable initialization.
975         (TLS_DEFINE_INIT_TP): Likewise.
976         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
977         TCB.
978         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
979         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
980         calculation.
981         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
982         transactoion is lock elision is built and TCB tm_capable is set.
983         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
985         (INTERNAL_SYSCALL_NCS): Likewise.
986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
987         (INTERNAL_SYSCALL_NCS): Likewise.
988         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
990         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
991         for powerpc.
992         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
993         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
994         and remove it for 32 bits case.
995         [pthread_rwlock_t] (__rwelision): New field for lock elision.
996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
997         initialization.
998         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
999         Disable lock elision with rdlocks if elision is not available.
1001         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1002         (sysdep_routines): Add lock elision objects.
1003         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1004         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1005         [pthread_mutex_t] (__elision): Add field.
1006         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1007         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1008         elision definitions for powerpc.
1009         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1010         implementation of lock elision for powerpc.
1011         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1012         implementation of timed lock elision for powerpc.
1013         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1014         implementation of trylock with lock elision for powerpc.
1015         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1016         implementaion of unlock for lock elision for powerpc.
1017         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1018         automatic enable lock elision for mutexes.
1019         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1020         transaction execution definitions for powerpc.
1021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1022         definitions.
1023         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1024         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1025         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1026         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1027         * NEWS: Update.
1029 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1031         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1032         for #include of <shm-directory.h>.
1034 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1036         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1037         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1039 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1041         [BZ #17791]
1042         * NEWS: Mention bug fix.
1043         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1044         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1045         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1047 2015-01-09  Torvald Riegel <triegel@redhat.com>
1049         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1051 2015-01-09  Torvald Riegel <triegel@redhat.com>
1053         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1055 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1057         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1058         pointer and cast to uintptr_t.
1060 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1062         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1063         removed.
1064         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1066 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1068         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1069         of 0.
1071 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1073         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1074         <nptl/pthreadP.h> instead.
1075         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1077         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1078         already defined.
1079         [__SIGRTMIN] (init): Function removed.
1080         [__SIGRTMIN] (initialized): Variable removed.
1081         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1082         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1083         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1084         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1085         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1086         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1087         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1088         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1089         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1090         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1091         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1092         * sysdeps/nptl/allocrtsig.c: New file.
1093         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1094         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1095         * sysdeps/generic/testrtsig.h: File removed.
1097         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1098         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1100         * nptl/nptl-init.c (pthread_functions): Conditionalize
1101         .ptr__nptl_setxid initialization on [SIGSETXID].
1103         * sysdeps/nptl/sys/procfs.h: New file.
1104         * nptl_db/Makefile (headers): Add it.
1105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1107         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1108         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1109         * nptl/pthread_attr_setaffinity.c: Include it.
1110         * nptl/pthread_setattr_default_np.c: Likewise.
1111         * nptl/check-cpuset.h: New file.
1113 2015-01-08  Richard Henderson  <rth@redhat.com>
1115         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1116         (CFLAGS-tst-execstack-prog.c): Likewise.
1117         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1119 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1120             Sandra Loosemore  <sandra@codesourcery.com>
1121             Andrew Jenner  <andrew@codesourcery.com>
1122             Joseph Myers  <joseph@codesourcery.com>
1123             Nathan Sidwell  <nathan@codesourcery.com>
1125         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1126         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1127         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1128         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1129         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1130         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1131         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1132         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1133         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1134         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1135         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1136         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1137         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1138         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1139         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1140         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1141         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1143 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1145         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1146         timespec struct member in syscall macro.
1147         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1148         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1149         first timeval struct member in syscall macro.
1150         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1152 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1154         [BZ #17748]
1155         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1156         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1157         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1158         __feupdateenv and define as weak alias of __feupdateenv.  Use
1159         libm_hidden_weak.
1160         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1161         libm_hidden_def.
1162         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1163         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1164         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1165         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1166         libm_hidden_def.
1167         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1168         __feupdateenv and define as weak alias of __feupdateenv.  Use
1169         libm_hidden_weak.
1170         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1171         libm_hidden_def.
1172         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1173         __feupdateenv and define as weak alias of __feupdateenv.  Use
1174         libm_hidden_weak.
1175         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1176         libm_hidden_def.
1177         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1178         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1179         (__feupdateenv): Likewise.
1180         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1181         __feupdateenv and define as weak alias of __feupdateenv.  Use
1182         libm_hidden_weak.
1183         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1184         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1185         libm_hidden_def.
1186         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1187         function.
1188         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1189         libm_hidden_def.
1190         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1191         __feupdateenv instead of feupdateenv.
1192         (default_libc_feupdateenv_test): Likewise.
1193         (libc_feresetround_ctx): Likewise.
1195 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1197         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1198         prototype.
1200 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1202         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1203         COLL_SYM in a couple of places to avoid uninitialized variable
1204         wanings on tilegx gcc 4.8.2.
1206 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1208         * sysdeps/aarch64/strcpy.S: New file.
1209         * sysdeps/aarch64/stpcpy.S: New file.
1210         * NEWS: Updated.
1212 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1214         * sysdeps/aarch64/strrchr.S: New file.
1215         * NEWS: Updated.
1217 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1219         [BZ #17658]
1220         * stdlib/setenv.c: Fix memory leak when setting large,
1221         duplicate string.
1223 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1225         [BZ #17273]
1226         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1227         and tabs from buffer before parsing fstab entry.
1228         * misc/tst-mntent.c (main): Add test for mount entry with
1229         trailing spaces and tabs.
1231 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1233         [BZ #17748]
1234         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1235         * math/fesetround.c (fesetround): Rename to __fesetround and
1236         define as weak alias of __fesetround.  Use libm_hidden_weak.
1237         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1238         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1239         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1240         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1241         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1242         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1243         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1244         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1245         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1246         __fesetround_inline.
1247         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1248         __fesetround_inline instead of __fesetround.
1249         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1250         __fesetround and define as weak alias of __fesetround.  Use
1251         libm_hidden_weak.  Call __fesetround_inline instead of
1252         __fesetround.
1253         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1254         __fesetround and define as weak alias of __fesetround.  Use
1255         libm_hidden_weak.
1256         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1257         Likewise.
1258         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1259         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1260         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1261         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1262         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1263         __fesetround and define as weak alias of __fesetround.  Use
1264         libm_hidden_weak.
1265         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1266         __fesetround instead of fesetround.
1267         (default_libc_feholdexcept_setround): Likewise.
1268         (libc_feholdsetround_ctx): Likewise.
1269         (libc_feholdsetround_noex_ctx): Likewise.
1271         [BZ #17748]
1272         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1273         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1274         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1275         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1276         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1277         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1278         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1279         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1280         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1281         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1282         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1283         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1284         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1285         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1286         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1287         libm_hidden_def.
1288         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1289         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1290         Likewise.
1291         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1292         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1293         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1294         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1295         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1296         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1297         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1298         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1299         __fesetenv instead of fesetenv.
1300         (libc_feresetround_noex_ctx): Likewise.
1301         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1302         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1303         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1304         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1305         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1306         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1307         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1308         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1309         (__feupdateenv): Likewise.
1310         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1311         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1312         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1313         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1315 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1317         [BZ #17806]
1318         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1319         addresses have been freed.
1321 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1323         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1324         and nservall.
1326 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1328         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1329         Clean up check_pf allocation pattern. addresses
1331 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1333         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1334         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1335         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1336         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1337         * nptl/pthread_join.c (pthread_join): Likewise.
1338         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1339         * sysdeps/posix/waitid.c (__waitid): Likewise.
1340         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1341         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1342         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1343         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1347         (__libc_pread64): Likewise.
1348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1349         (__libc_pwrite): Likewise.
1350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1351         (__libc_pwrite64): Likewsie.
1352         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1353         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1354         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1355         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1356         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1357         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1358         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1360         Likewise.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1362         (__libc_pread64): Likewise.
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1364         Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1366         (__libc_pwrite64): Likewise.
1367         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1368         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1369         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1370         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1371         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1372         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1373         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1374         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1375         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1376         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1377         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1378         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1379         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1380         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1381         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1382         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1383         Likewise.
1385 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1387         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1388         (CFLAGS-test-double.c): Likewise.
1389         (CFLAGS-test-ldouble.c): Likewise.
1390         (CPPFLAGS-test-ifloat.c): Likewise.
1391         (CPPFLAGS-test-idouble.c): Likewise.
1392         (CPPFLAGS-test-ildoubl.c): Likewise.
1393         (CFLAGS-test-test-fenv.c): Remove variable.
1394         (CFLAGS-test-misc.c): Likewise.
1396 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1398         [BZ #17797]
1399         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1400         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1401         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1402         CLOCKS_PER_SEC == 1000000.
1403         * time/clocktest.c (main): Replace %ld with %jd and cast to
1404         intmax_t.
1406 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1408         * sysdeps/generic/unwind-resume.h: New file.
1409         * sysdeps/gnu/unwind-resume.c: Include it.
1410         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1411         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1412         argument list.
1413         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1414         global rather than static.
1415         (_Unwind_Resume): Update user.
1416         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1417         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1418         rather than static.  Add __attribute__ ((cold)).
1419         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1420         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1421         * sysdeps/arm/arm-unwind-resume.S: New file.
1422         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1423         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1424         * sysdeps/arm/Makefile [$(subdir) = csu]
1425         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1426         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1427         Add rt-arm-unwind-resume.
1428         [$(subdir) = nptl]
1429         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1430         Add pt-arm-unwind-resume.
1431         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1432         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1434 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1436         [BZ #17748]
1437         * include/fenv.h (__feholdexcept): Declare.  Use
1438         libm_hidden_proto.
1439         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1440         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1441         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1442         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1443         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1444         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1445         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1446         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1447         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1448         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1449         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1450         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1451         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1452         (feholdexcept): Likewise.
1453         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1454         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1455         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1456         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1457         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1458         __feholdexcept instead of feholdexcept.
1459         (default_libc_feholdexcept_setround): Likewise.
1461 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1463         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1464         to avoid using stl/str to align destination.
1466 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1468         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1470 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1472         [BZ #17796]
1473         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1474         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1475         Define as weak alias not strong alias.
1477 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1479         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1480         bltzal with addiupc.
1481         (RTLD_START): Ditto.
1483 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1485         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1486         for __vdso_* functions in declarations.
1487         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1488         definitions.
1489         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1490         INTERNAL_VSYSCALL): Use struct return types to check for error.
1492         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1493         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1494         function with cast from llround().
1495         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1496         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1497         Define.
1499 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1501         [BZ #17793]
1502         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1503         Define as weak alias not strong alias.
1505         [BZ #17635]
1506         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1507         ...
1508         * ctype/ctype-extn.c: ... here.
1509         (__isblank_l): Move to ...
1510         * ctype/ctype-c99_l.c: ... here.  New file.
1511         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1512         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1513         Remove variable.
1514         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1515         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1516         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1517         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1518         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1520         [BZ #17777]
1521         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1522         (posix_fadvise64): Define as weak alias not strong alias.
1523         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1524         (posix_fallocate64): Likewise.
1525         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1526         Remove variable.
1527         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1528         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1529         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1530         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1531         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1533 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1535         [BZ #16191]
1536         * NEWS: Mention bug fix.
1537         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1538         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1539         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1540         (HOST_STACK_END_ADDR): Likewise.
1542 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1544         [BZ #17748]
1545         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1546         * math/fegetround.c (fegetround): Rename to __fegetround and
1547         define as weak alias of __fegetround.  Use libm_hidden_weak.
1548         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1549         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1550         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1551         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1552         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1553         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1554         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1555         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1556         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1557         Undefine after rather than before function definition; use
1558         parentheses around function name in definition.
1559         (__fegetround): Also undefine macro after function definition.
1560         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1561         __fegetround and define as weak alias of __fegetround.  Use
1562         libm_hidden_weak.  Do not undefine as macro.
1563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1564         Likewise.
1565         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1566         __fegetround and define as weak alias of __fegetround.  Use
1567         libm_hidden_weak.
1568         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1569         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1570         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1571         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1572         __fegetround and define as weak alias of __fegetround.  Use
1573         libm_hidden_weak.
1574         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1575         __fegetround instead of fegetround.
1577         [BZ #17782]
1578         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1579         Condition macro definition on [__USE_MISC].
1581         [BZ #17781]
1582         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1583         (struct sigaction): Change type of sa_flags field to int.
1585         [BZ #17780]
1586         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1587         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1588         __glibc_reserved0.
1590         * nptl/version.c (banner): Use single year in copyright notice.
1592         * NEWS: Update copyright dates.
1593         * catgets/gencat.c (print_version): Likewise.
1594         * csu/version.c (banner): Likewise.
1595         * debug/catchsegv.sh: Likewise.
1596         * debug/pcprofiledump.c (print_version): Likewise.
1597         * debug/xtrace.sh (do_version): Likewise.
1598         * elf/ldconfig.c (print_version): Likewise.
1599         * elf/ldd.bash.in: Likewise.
1600         * elf/pldd.c (print_version): Likewise.
1601         * elf/sotruss.sh: Likewise.
1602         * elf/sprof.c (print_version): Likewise.
1603         * iconv/iconv_prog.c (print_version): Likewise.
1604         * iconv/iconvconfig.c (print_version): Likewise.
1605         * locale/programs/locale.c (print_version): Likewise.
1606         * locale/programs/localedef.c (print_version): Likewise.
1607         * login/programs/pt_chown.c (print_version): Likewise.
1608         * malloc/memusage.sh (do_version): Likewise.
1609         * malloc/memusagestat.c (print_version): Likewise.
1610         * malloc/mtrace.pl: Likewise.
1611         * manual/libc.texinfo: Likewise.
1612         * nptl/version.c (banner): Likewise.
1613         * nscd/nscd.c (print_version): Likewise.
1614         * nss/getent.c (print_version): Likewise.
1615         * nss/makedb.c (print_version): Likewise.
1616         * posix/getconf.c (main): Likewise.
1617         * scripts/test-installation.pl: Likewise.
1618         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1620 2015-01-02  Will Newton  <will.newton@linaro.org>
1622         * sysdeps/arm/armv7/configure: Removed.
1623         * sysdeps/arm/armv7/configure.ac: Likewise.
1625 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1627         * All files with FSF copyright notices: Update copyright dates
1628         using scripts/update-copyrights.
1629         * intl/plural.c: Regenerated.
1630         * locale/programs/charmap-kw.h: Likewise.
1631         * locale/programs/locfile-kw.h: Likewise.
1633 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1635         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1637 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1639         [BZ #17748]
1640         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1641         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1642         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1643         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1644         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1645         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1646         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1647         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1648         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1649         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1650         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1651         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1652         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1653         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1654         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1655         libm_hidden_def.
1656         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1657         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1658         Likewise.
1659         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1660         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1661         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1662         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1663         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1664         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1665         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1666         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1667         __fegetenv instead of fegetenv.
1668         (libc_feholdsetround_noex_ctx): Likewise.
1670 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1672         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1673         (Elf_MIPS_ABIFlags_v0): New structure.
1674         (EF_MIPS_FP64): Define.
1675         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1676         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1677         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1678         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1679         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1680         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1681         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1682         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1683         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1684         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1685         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1686         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1687         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1688         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1689         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1690         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1691         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1692         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1693         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1694         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1695         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1696         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1697         field.
1698         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1699         EF_MIPS_FP64.
1700         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1701         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1702         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1703         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1704         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1705         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1706         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1707         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1708         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1709         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1710         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1711         record the current FP ABI extension.
1712         (mips-mode-switch): Define to show if kernel headers support mode
1713         switching.
1714         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1715         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1716         supported SYSV ABI version to 3.
1717         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1718         feature.
1720 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1721             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1723         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1724         path.
1725         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1727 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1729         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1730         __fegetround and redefine to call __fegetround.  Remove condition
1731         on [!__NO_MATH_INLINES].
1732         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1733         function.
1734         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1735         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1736         Remove macro.
1737         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1738         instead of <fenv_libc.h>.
1739         (__llrintl): Call fegetround instead of __fegetround.
1740         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1741         instead of <fenv_libc.h>.
1742         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1743         (__lrintl): Call fegetround instead of __fegetround.
1744         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1745         instead of <fenv_libc.h>.
1746         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1747         (__rintl): Call fegetround instead of __fegetround.
1749 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1751         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1752         arrays.
1754 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1756         [BZ #17775]
1757         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1758         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1759         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1761 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1763         * sysdeps/i386/tls-macros.h: Include <features.h>.
1764         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1765         (TLS_IE): Likewise.
1766         (TLS_LD): Likewise.
1767         (TLS_GD): Likewise.
1768         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1769         define for GCC >= 5.0.
1771 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1773         * math/test-fenv.c (test_single_exception, set_single_exc,
1774         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1775         feexcp_mask_test, feenable_test, fe_single_test): Add
1776         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1777         case where they are not used.
1778         * math/libm-test.inc: Likewise.
1779         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1780         unused in the absence of FP rounding/exception support.
1781         * stdio-common/tst-printf-round.c: Likewise.
1782         * stdlib/tst-strtod-round.c: Likewise.
1783         * stdlib/tst-strtod-underflow.c: Likewise.
1785 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #17723]
1788         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1789         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1790         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1791         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1792         libm_hidden_weak.
1793         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1794         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1795         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1796         libm_hidden_def.
1797         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1798         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1799         libm_hidden_weak.
1800         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1801         Likewise.
1802         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1803         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1804         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1805         libm_hidden_weak.
1806         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1807         libm_hidden_def.
1808         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1809         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1810         (__feraiseexcept): Likewise.
1811         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1812         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1813         libm_hidden_weak.
1814         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1815         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1816         libm_hidden_def.
1817         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1818         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1819         Use libm_hidden_def.
1820         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1821         libm_hidden_def.
1822         (feraiseexcept): Define as weak not strong alias.  Use
1823         libm_hidden_weak.
1824         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1825         New inline function.  Factored out of ...
1826         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1827         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1828         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1829         feraiseexcept.
1830         * math/w_acos.c (__acos): Likewise.
1831         * math/w_asin.c (__asin): Likewise.
1832         * math/w_ilogb.c (__ilogb): Likewise.
1833         * math/w_j0.c (y0): Likewise.
1834         * math/w_j1.c (y1): Likewise.
1835         * math/w_jn.c (yn): Likewise.
1836         * math/w_log.c (__log): Likewise.
1837         * math/w_log10.c (__log10): Likewise.
1838         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1839         * sysdeps/aarch64/fpu/math_private.h
1840         (libc_feupdateenv_test_aarch64): Likewise.
1841         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1842         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1843         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1844         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1845         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1846         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1847         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1848         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1849         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1850         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1852 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1854         [BZ #17732]
1855         * io/test-utime.c (main): Replace %ld with %jd and cast to
1856         intmax_t.
1857         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1858         * nptl/tst-mutex5.c: Include <stdint.h>.
1859         (do_test): Replace %ld with %jd and cast to intmax_t.
1860         * posix/tst-regex.c (run_test): Likewise.
1861         (run_test_backwards): Likewise.
1862         * rt/tst-clock.c: Include <stdint.h>.
1863         (clock_test): Replace %ld with %jd and cast to intmax_t.
1864         * rt/tst-cpuclock1.c: Include <stdint.h>.
1865         (do_test): Replace %lu with %ju and cast to uintmax_t.
1866         * rt/tst-cpuclock2.c: Include <stdint.h>.
1867         (do_test): Replace %lu with %ju and cast to uintmax_t.
1868         * rt/tst-mqueue1.c: Include <stdint.h>.
1869         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1870         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1871         intmax_t.
1872         * rt/tst-mqueue4.c (do_test): Likewise.
1873         * rt/tst-timer4.c: Include <stdint.h>.
1874         (check_ts): Replace %ld with %jd and cast to intmax_t.
1875         (do_test): Likewise.
1876         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1877         and cast to intmax_t.
1878         * sysdeps/pthread/tst-timer.c (main): Likewise.
1879         * time/clocktest.c (main): Likewise.
1880         * time/tst-posixtz.c (do_test): Likewise.
1881         * timezone/tst-timezone.c (main): Likewise.
1883 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1884             H.J. Lu  <hongjiu.lu@intel.com>
1886         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1887         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1888         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1889         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1890         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1891         version if bit_Fast_Unaligned_Load is set.
1892         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1893         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1894         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1895         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1896         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1897         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1899         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1900         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1901         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1902         to 4.
1903         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1904         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1905         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1906         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1908 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1910         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1911         instead of #if to avoid a Wundef warning.
1912         * stdlib/tst-limits.c (do_test): Likewise.
1914         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1915         parallel other exception macros.
1916         (fegetenv): Convert from macro to extern inline so that it applies
1917         retroactively to inline functions already seen by the compiler.
1918         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1920         * posix/Makefile (before-compile): Use $(objpfx) for
1921         posix-conf-vars-def.h.
1923 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1925         * posix/getconf.c (main): Use size_t for type of I.
1926         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1927         NSPEC.
1929         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1930         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1931         * posix/posix-envs.def: Likewise.
1932         * sysdeps/posix/sysconf.c: Likewise.
1933         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1934         (specs): Remove array.
1935         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1936         array.
1938         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1939         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1940         (__sysconf): Use CONF_IS_* macros.
1942         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1943         ($(objpfx)posix-conf-vars-def.h): New target.
1944         * posix/posix-conf-vars.list: New file.
1945         * posix/posix-conf-vars.h: New file.
1946         * posix/confstr.c: Include posix-conf-vars.h.
1947         (confstr): Use CONF_IS_* macros.
1948         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1949         CONF_IS_* macros.
1950         * scripts/gen-posix-conf-vars.awk: New file.
1952 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1954         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1955         fegetround): Add no-op macros to avoid linknamespace issues.
1957         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1958         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1960         * sysdeps/unix/sysv/linux/tile/sysdep.h
1961         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1962         assembly-specific section to avoid a redefinition warning.
1964         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1965         long before casting to pointer to avoid a cast warning.
1967 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1969         * sysdeps/tile/tilegx/Implies: New file.
1971 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1973         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1975 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1977         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1979 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1981         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1982         not define.
1983         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1984         <kernel-features.h>.
1985         (__utimes) [__NR_utimes]: Make code unconditional.
1986         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1987         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1988         (__ASSUME_UTIMES): Do not undefine.
1989         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1990         (__ASSUME_UTIMES): Likewise.
1991         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1992         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1993         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1994         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1996 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1998         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2000 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2002         [BZ #17747]
2003         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2004         alias to weak alias for j0l, y0l.
2005         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2006         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2008         [BZ #17746]
2009         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2010         conversion.
2012 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2014         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2015         to zero if not already defined.
2017 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2019         [BZ #17724]
2020         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2021         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2022         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2023         (char *) casts added.
2024         * sysdeps/ieee754/k_standardf.c: New file.
2025         * sysdeps/ieee754/k_standardl.c: Likewise.
2026         * math/Makefile (libm-support): Remove k_standard.
2027         (libm-calls): Add k_standard.
2029 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2031         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2032         Optimize to avoid an unnecessary FPCR read.
2034 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2036         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2037         Optimize to reduce FPCR/FPSR accesses.
2039 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2041         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2042         Call libc_fetestexcept_aarch64.
2044 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2046         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2047         Call libc_fesetround_aarch64.
2049 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2051         [BZ #17733]
2052         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2053         (__bind): Do not define as weak alias.
2054         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2055         define.
2056         (__getsockname): Do not define as weak alias.
2058 2014-12-22  Will Newton  <will.newton@linaro.org>
2060         * manual/install.texi: Document that we require bison 2.7
2061         or above.
2062         * INSTALL: Regenerate.
2063         * configure.ac: Use AC_CHECK_PROG_VER instead of
2064         AC_PATH_PROG when checking for bison and check for
2065         version 2.7 or above.
2066         * configure: Regenerate.
2068 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2070         [BZ #17745]
2071         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2072         * sysdeps/tile/ffsll.c (ffsll): To here.
2074         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2076 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2078         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2079         if not defined.
2080         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2081         definition.
2082         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2083         hidden ___tls_get_addr.
2084         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2085         hidden __tls_get_addr.
2086         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2087         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2088         Likewise.
2090 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2092         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2093         _dl_init call.
2095 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2097         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2098         from "call _dl_init@PLT".
2099         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2101 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2103         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2104         guarantees.
2106 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2108         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2110 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2112         [BZ #17744]
2113         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2114         strnlen.
2116 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2118         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2119         of multu on MIPSr6.
2120         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2121         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2122         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2123         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2124         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2126 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2128         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2129         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2130         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2131         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2132         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2133         mips32r6/mips64r6.
2134         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2136 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2138         * string/strncat.c (STRNCAT): Simplify implementation.
2140 2014-12-19  David S. Miller  <davem@davemloft.net>
2142         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2143         access the quad as both a long double and as a series of 4 words.
2145         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2146         link_map->l_info array access.
2148 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2150         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2152         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2153         * math/atest-exp2.c (TIMEOUT): Likewise.
2154         * math/atest-sincos.c (TIMEOUT): Likewise.
2156 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2158         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2159         -Wno-error with -fno-builtin-lround.
2161 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2163         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2164         Contains futex constants and functions moved over from ...
2165         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2166         <lowlevellock-futex.h>.
2167         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2168         (lll_timedwait_tid): Add comments and parentheses around macro
2169         arguments.
2171 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2173         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2174         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2175         (__lll_private_flag): Remove.
2176         (lll_futex_wait): Likewise.
2177         (lll_futex_timed_wait): Likewise.
2178         (lll_futex_wake): Likewise.
2179         (lll_futex_requeue): Likewise.
2180         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2181         (__lll_timedwait_tid): Spell out argument names.
2182         (lll_timedwait_tid): Add comments and parentheses around macro
2183         arguments.
2184         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2185         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2187 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2189         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2190         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2191         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2192         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2193         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2194         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2195         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2196         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2197         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2198         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2199         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2201         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2203         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2204         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2205         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2206         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2207         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2209 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2211         * sysdeps/x86_64/x32/Makefile: New file.
2213 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2215         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2216         1L with (mp_limb_t) 1.
2218 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2220         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2221         * nptl/libc_pthread_init.c: ... here.
2222         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2223         * nptl/register-atfork.c: ... here.
2225         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2226         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2227         Use assert_perror to check its return value.
2228         (__gai_create_helper_thread): Likewise.
2230         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2232         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2234 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2236         [BZ #17725]
2237         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2238         __profil_counter.
2239         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2240         Likewise.
2241         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2242         Likewise.
2243         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2244         Likewise.
2245         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2246         (profil_counter): Likewise.
2247         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2248         (profil_counter): Likewise.
2249         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2250         Likewise.
2251         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2252         Likewise.
2253         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2254         (profil_counter): Likewise.
2255         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2256         Likewise.
2257         [!__profil_counter] (profil_counter): Define as weak alias of
2258         __profil_counter.
2259         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2260         (profil_counter): Rename to __profil_counter.
2261         [!__profil_counter] (profil_counter): Define as weak alias of
2262         __profil_counter.
2263         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2264         (profil_counter): Rename to __profil_counter.
2265         [!__profil_counter] (profil_counter): Define as weak alias of
2266         __profil_counter.
2267         * sysdeps/posix/profil.c: Update comment referring to
2268         profil_counter.
2269         (__profil): Use __profil_counter instead of profil_counter.
2270         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2271         __profil_counter.  Use __profil_counter_ushort and
2272         __profil_counter_uint in definitions.
2273         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2274         instead of profil_counter_uint and profil_counter_ushort.
2276         [BZ #17722]
2277         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2278         define as weak alias of __inet_makeaddr.
2279         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2280         as weak alias of __inet_addr.
2281         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2282         as weak alias of __inet_pton.  Use libc_hidden_weak.
2283         * include/arpa/inet.h (__inet_pton): Declare.  Use
2284         libc_hidden_proto.
2285         (inet_makeaddr): Don't use libc_hidden_proto.
2286         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2287         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2288         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2289         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2290         Remove variable.
2291         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2292         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2294 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2296         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2298 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2300         * stdio-common/bug-vfprintf-nargs.c (do_test):
2301         Cast value to intptr_t to avoid format warning
2302         for usage with PRIdPTR printing macro.
2304 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2306         * libio/tst-widetext.c (do_test):
2307         Use format type %td instead of %Zd for ptrdiff_t
2308         in order to avoid format warning.
2310 2014-12-17  Andreas Schwab  <schwab@suse.de>
2312         * nscd/mem.c (gc): Add size_t cast to match printf format.
2314 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2316         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2317         (init): Apply PTR_MANGLE to pointers before storing them.
2318         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2319         before using them.
2321 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2323         [BZ #17719]
2324         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2325         define as weak alias of __memrchr.
2326         (__memrchr): Do not define as strong alias of memrchr.
2327         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2328         Remove variable.
2329         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2330         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2331         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2333         [BZ #17717]
2334         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2335         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2336         (if_indextoname): Rename to __if_indextoname and define as weak
2337         alias of __if_indextoname.  Use libc_hidden_weak.
2338         (if_freenameindex): Rename to __if_freenameindex and define as
2339         weak alias of __if_freenameindex.
2340         (if_nameindex): Rename to __if_nameindex and define as weak alias
2341         of __if_nameindex.
2342         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2343         __if_nametoindex and define as weak alias of __if_nametoindex.
2344         Use libc_hidden_weak.
2345         (if_freenameindex): Rename to __if_freenameindex and define as
2346         weak alias of __if_freenameindex.
2347         (if_nameindex): Rename to __if_nameindex and define as weak alias
2348         of __if_nameindex.
2349         (if_indextoname): Rename to __if_indextoname and define as weak
2350         alias of __if_indextoname.  Use libc_hidden_weak.
2351         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2352         __if_nametoindex and define as weak alias of __if_nametoindex.
2353         Use libc_hidden_weak.
2354         (if_freenameindex): Rename to __if_freenameindex and define as
2355         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2356         (if_nameindex_netlink): Use __if_freenameindex instead of
2357         if_freenameindex.
2358         (if_nameindex): Rename to __if_nameindex and define as weak alias
2359         of __if_nameindex.  Use libc_hidden_weak.
2360         (if_indextoname): Rename to __if_indextoname and define as weak
2361         alias of __if_indextoname.  Use libc_hidden_weak.
2362         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2363         libc_hidden_proto.
2364         [!_ISOMAC] (__if_freenameindex): Likewise.
2365         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2366         if_nametoindex.
2367         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2368         variable.
2369         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2370         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2371         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2372         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2373         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2374         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2375         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2377         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2378         Remove variable.
2379         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2380         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2382 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2384         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2385         subscript above bounds'
2387         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2388         bounds.
2390 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2392         * libio/tst-fopenloc.c: Use test-skeleton.c.
2394         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2395         (entry): Rename to ITEM.
2396         (do_test, comp): Adjust.
2398         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2400 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2402         * string/tester.c: Include <libc-internal.h>.
2403         (test_memset): Ignore -Wmemset-transposed-args.
2405 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2407         * misc/tst-mntent2.c (do_test): Fix warning.
2409 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2411         * elf/tst-unique4lib.cc(a): Mark as used.
2413 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2415         [BZ #17630]
2416         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2417         names.
2419 2014-12-16  Allan McRae  <allan@archlinux.org>
2421         * stdio-common/Makefile (tests): Re-add bug26.
2423 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2425         [BZ #17657]
2426         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2427         static array.
2429 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2431         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2432         (__lll_lock_wait): Likewise.
2433         (__lll_timedlock_wait): Likewise.
2434         (__lll_timedwait_tid): Likewise.
2435         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2436         (__lll_robust_timedlock_wait): Likewise.
2437         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2438         (lll_cond_trylock): Likewise.
2439         (__lll_lock): Likewise.
2440         (__lll_robust_lock): Likewise.
2441         (__lll_cond_lock): Likewise.
2442         (lll_robust_cond_lock): Likewise.
2443         (__lll_timedlock): Likewise.
2444         (__lll_robust_timedlock): Likewise.
2445         (__lll_unlock): Likewise.
2446         (__lll_robust_unlock): Likewise.
2447         (lll_wait_tid): Likewise.
2448         (lll_timedwait_tid): Likewise.
2450 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2452         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2454 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2456         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2458 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2460         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2461         * stdio-common/tst-sprintf.c: Likewise.
2463 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2465         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2467 2014-12-15  Jeff Law  <law@redhat.com>
2469         [BZ #16617]
2470         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2471         on the heap.  (CVE-2012-3406)
2472         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2473         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2474         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2476 2014-12-15  Will Newton  <will.newton@linaro.org>
2478         * manual/install.texi: Bump required version of texinfo
2479         to 4.7 from 4.5.
2480         * INSTALL: Regenerated.
2481         * configure.ac: Check for makeinfo version 4.7 and above.
2482         * configure: Regenerated.
2484 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2486         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2487         PREFIX, string constant to insert between directory and name.
2488         * sysdeps/posix/shm_open.c: Update caller.
2489         * sysdeps/posix/shm_unlink.c: Likewise.
2490         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2491         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2492         (SEM_SHM_PREFIX): New macro.
2493         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2494         [$(have-thread-library) = no].
2495         * nptl/Makefile (libpthread-routines): Add shm-directory.
2496         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2497         * sysdeps/nptl/shm-directory.h: New file.
2498         * sysdeps/posix/shm-directory.c
2499         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2500         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2501         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2502         INTERNAL_SYSCALL.
2503         (__where_is_shmfs): Function removed.
2504         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2505         Variables removed.
2506         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2507         Use SHM_GET_NAME.
2508         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2510         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2511         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2512         unconditional for use inside libpthread.
2513         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2515 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2517         * nptl/pthread_getaffinity.c: New file.
2518         * nptl/pthread_setaffinity.c: New file.
2519         * nptl/pthread_getname.c: New file.
2520         * nptl/pthread_setname.c: New file.
2522         * nptl/pthread_create.c (START_THREAD_DEFN)
2523         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2525 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2526             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2528         * resolv/res_send.c (send_vc): Disable warning resplen may
2529         be used uninitialized.
2531 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2533         * nptl/tst-mutex6.c
2534         (ATTR_NULL): New define checks ATTR against NULL.
2535         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2536         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2538 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2540         [BZ #17581]
2541         * malloc/hooks.c
2542         (mem2mem_check): Revert my previous change.
2543         (malloc_check_get_size): Revert my previous change.
2544         (mem2chunk_check): Revert my previous change.
2546 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2548         * sysdeps/posix/shm-directory.c: New file.
2549         * sysdeps/posix/shm-directory.h: New file.
2550         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2551         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2552         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2553         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2554         Transmute EPERM to EACCES.
2555         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2556         from ...
2557         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2558         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2560 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2562         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2563         pointer and cast to uintptr_t.
2564         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2565         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2566         Add cast to avoid warning.
2567         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2569 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2571         * nptl/semaphore.h: Move to ...
2572         * sysdeps/pthread/semaphore.h: ... here.
2573         * Makefile (installed-headers): Change nptl/semaphore.h to
2574         sysdeps/pthread/semaphore.h.
2576 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2578         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2579         generated error format strings.
2581         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2582         -Wformat-extra-args warnings for scanf formats.
2583         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2584         test of zero-length format (duh).
2585         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2586         corner-case scanf format test.
2587         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2588         generated fprintf format string.
2589         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2590         corner-case sprintf format tests.
2591         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2592         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2593         -Wformat-extra-args warnings throughout.
2594         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2595         (CFLAGS-scanf4.c): Likewise.
2596         (CFLAGS-scanf7.c): Likewise.
2597         (CFLAGS-tst-sprintf.c): Likewise.
2598         (CFLAGS-tst-printf.c): Likewise.
2599         (CFLAGS-tst-printfsz.c): Likewise.
2601 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2603         * include/cpio.h: New file.
2604         * include/fmtmsg.h: Likewise.
2606         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2607         corresponding format argument to size_t.
2608         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2609         arguments.
2610         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2611         corresponding format argument to size_t.
2612         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2613         arguments.
2614         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2615         corresponding format argument to size_t.
2616         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2617         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2618         (CFLAGS-tst-mbswcs2.c): Likewise.
2619         (CFLAGS-tst-mbswcs3.c): Likewise.
2620         (CFLAGS-tst-mbswcs4.c): Likewise.
2621         (CFLAGS-tst-mbswcs5.c): Likewise.
2622         (CFLAGS-tst-trans.c): Likewise
2624 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2626         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2627         rather than assuming they won't contain any '%'s.
2629 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2631         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2632         inhibit_loop_to_libcall to avoid recursive calls.
2633         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2634         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2636 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2638         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2639         prototype.
2641 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2643         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2644         integer value instead of boolean.
2646 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2648         * malloc/malloc.c: Fix powerof2 check.
2650 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2652         * locale/programs/locfile.h (maybe_swap_uint32):
2653         Remove inline and add unused attribute.
2655 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2657         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2658         Truncating assembler expression to a .long expression.
2660 2014-12-11  Andreas Schwab  <schwab@suse.de>
2662         * elf/rtld.c (struct map_args): Constify str member.
2663         (do_preload): Constify fname argument.
2665 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2667         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2668         constants definition.
2670 2014-12-11  Andreas Schwab  <schwab@suse.de>
2672         [BZ #16657]
2673         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2674         FORCE_ELISION instead of DO_ELISION.
2675         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2676         Remove.
2677         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2678         Likewise.
2680         * iconvdata/gconv-modules: Remove duplicate entry.
2682 2014-12-11  Will Newton  <will.newton@linaro.org>
2684         Merge gettext 0.19.3 into intl/.
2686         This involves a number of cosmetic changes to comments
2687         and ANSI function definitions and prototypes throughout
2688         all the files. The gettext copyright header is used but
2689         with the date ranges taken from the glibc copy.
2691         * NEWS: Add gettext merge to 2.21.
2692         * intl/bindtextdom.c: Switch to gettext copyright.
2693         Use ANSI definitions and prototypes.
2694         Use gl_* locking primitives rather than __libc_* ones.
2695         Use __builtin_expect rather than __glibc_likely/unlikely.
2696         * intl/dcgettext.c: Switch to gettext copyright.
2697         Use ANSI definitions and prototypes.
2698         * intl/dcigettext.c: Switch to gettext copyright.
2699         Use ANSI definitions and prototypes.
2700         (INTDIV0_RAISES_SIGFPE): New define.
2701         Use gl_* locking primitives rather than __libc_* ones.
2702         Include eval-plural.h instead of plural-eval.c.
2703         Use __builtin_expect rather than __glibc_likely/unlikely.
2704         * intl/dcngettext.c: Switch to gettext copyright.
2705         Use ANSI definitions and prototypes.
2706         * intl/dgettext.c: Likewise.
2707         * intl/dngettext.c: Likewise.
2708         * intl/plural-eval.c: Renamed to...
2709         * intl/eval-plural.h: ...this.
2710         * intl/explodename.c: Switch to gettext copyright.
2711         Use ANSI definitions and prototypes.
2712         (_nl_explode_name): Use strchr instead of __rawmemchr.
2713         * intl/finddomain.c: Switch to gettext copyright.
2714         Use ANSI definitions and prototypes.
2715         Use gl_* locking primitives rather than __libc_* ones.
2716         (_nl_find_domain): Use malloc rather than alloca for
2717         allocation of temporary locale name.
2718         * intl/gettext.c: Switch to gettext copyright.
2719         Use ANSI definitions and prototypes.
2720         * intl/gettextP.h: Switch to gettext copyright.
2721         Use ANSI definitions and prototypes.
2722         Use gl_* locking primitives rather than __libc_* ones.
2723         * intl/gmo.h: Switch to gettext copyright.
2724         (struct sysdep_string): Move struct segment_pair outside of
2725         struct definition.
2726         * intl/hash-string.c: Use ANSI definitions and prototypes.
2727         * intl/hash-string.h: Switch to gettext copyright.
2728         Use ANSI definitions and prototypes.
2729         * intl/l10nflist.c: Switch to gettext copyright.
2730         Use ANSI definitions and prototypes.
2731         (_nl_normalize_codeset): Avoid integer overflow.
2732         * intl/loadinfo.h: Switch to gettext copyright.
2733         Use ANSI definitions and prototypes.
2734         (LIBINTL_DLL_EXPORTED): New define.
2735         (PATH_SEPARATOR): New define.
2736         * intl/loadmsgcat.c: Switch to gettext copyright.
2737         * intl/localealias.c: Switch to gettext copyright.
2738         Use ANSI definitions and prototypes.
2739         (_nl_expand_alias): Use PATH_SEPARATOR.
2740         * intl/ngettext.c: Switch to gettext copyright.
2741         Use ANSI definitions and prototypes.
2742         * intl/plural-exp.c: Likewise.
2743         * intl/plural-exp.h: Switch to gettext copyright.
2744         Use ANSI definitions and prototypes.
2745         (struct expression): Move definition of enum operator outside
2746         of struct definition.
2747         * intl/plural.c: Regenerate.
2748         * intl/plural.y: Switch to gettext copyright.
2749         Use ANSI definitions and prototypes.
2750         Port to bison 3.0.
2751         * intl/textdomain.c: Switch to gettext copyright.
2752         Use ANSI definitions and prototypes.
2753         Use gl_* locking primitives rather than __libc_* ones.
2755 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2757         * debug/warning-nop.c: Add used atrribute.
2759 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2761         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2763         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2764         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2765         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2767 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2768             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2770         [BZ #17634]
2771         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2772         Undefine after defining function.  Define as weak alias of
2773         __wcschr.  Use libc_hidden_weak.
2774         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2775         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2776         (libc_hidden_def): Also define __GI___wcschr alias.
2777         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2778         __wcschr and define as weak alias of __wcschr.
2779         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2780         __wcschr.
2781         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2782         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2783         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2784         libc_hidden_weak.  Do not use libc_hidden_def.
2785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2786         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2787         __GI___wcschr alias.
2788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2789         [IS_IN (libc)] (wcschr): Define as macro expanding to
2790         __redirect_wcschr.
2791         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2792         [IS_IN (libc)] (__wcschr_power6): Likewise.
2793         [IS_IN (libc)] (__wcschr_power7): Likewise.
2794         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2795         instead of wcschr.
2796         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2797         __libc_wcschr.
2798         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2799         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2800         __wcschr and define as weak alias of __wcschr.  Use
2801         libc_hidden_builtin_def.
2802         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2803         as weak alias of __wcschr.  Use libc_hidden_weak.
2804         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2805         wcschr.
2806         * time/era.c (_nl_init_era_entries): Likewise.
2807         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2808         variable.
2809         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2810         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2812 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2814         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2815         format for long int variable.
2817 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2819         [BZ #10672]
2820         * manual/search.texi: (Array Sort Function): Remove claim how to make
2821         qsort stable.
2823 2014-12-10  Andreas Schwab  <schwab@suse.de>
2825         [BZ #12847]
2826         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2827         user-controlled locks.
2829 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2831         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2832         register.
2834 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2836         * configure.ac (--disable-werror): New configure option.
2837         (enable_werror): New AC_SUBST.
2838         * configure: Regenerated.
2839         * config.make.in (enable-werror): New variable.
2840         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2841         -Wno-error=undef.
2842         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2843         * manual/install.texi (Configuring and compiling): Document
2844         --disable-werror.
2845         * INSTALL: Regenerated.
2846         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2847         (CFLAGS-tst-chk2.c): Likewise.
2848         (CFLAGS-tst-chk3.c): Likewise.
2849         (CFLAGS-tst-chk4.cc): Likewise.
2850         (CFLAGS-tst-chk5.cc): Likewise.
2851         (CFLAGS-tst-chk6.cc): Likewise.
2852         (CFLAGS-tst-lfschk1.c): Likewise.
2853         (CFLAGS-tst-lfschk2.c): Likewise.
2854         (CFLAGS-tst-lfschk3.c): Likewise.
2855         (CFLAGS-tst-lfschk4.cc): Likewise.
2856         (CFLAGS-tst-lfschk5.cc): Likewise.
2857         (CFLAGS-tst-lfschk6.cc): Likewise.
2859         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2860         (main): Disable -Wdeprecated-declarations around calls to
2861         register_printf_function.
2863         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2864         (do_test): Disable -Wdiv-by-zero around some calls to
2865         fwrite_unlocked and fread_unlocked.
2867         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2868         (DIAG_POP_NEEDS_COMMENT): Likewise.
2869         (_DIAG_STR1): Likewise.
2870         (_DIAG_STR): Likewise.
2871         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2872         * stdio-common/bug21.c: Include <libc-internal.h>.
2873         (do_test): Disable -Wformat around call to sscanf.
2874         * stdio-common/scanf14.c: Include <libc-internal.h>.
2875         (main): Disable -Wformat around some calls to scanf functions.
2877 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2879         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2881 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2883         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2884         stack variable alignment.
2886 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2888         [BZ #17682]
2889         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2890         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2891         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2892         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2893         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2894         __getrlimit instead of getrlimit.
2895         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2896         __gettimeofday instead of gettimeofday.
2897         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2898         Likewise.
2899         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2900         Likewise.
2901         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2902         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2903         Remove variable.
2904         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2905         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2907 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2909         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2910         for wide-character tests.
2912 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2914         * io/openat64.c: #include <libc-internal.h>
2915         (__openat64): Prototypify.  Use ignore_value on MODE.
2916         * io/openat.c: Likewise.
2917         * misc/reboot.c: #include <libc-internal.h>
2918         (reboot): Prototypify.  Use ignore_value on HOWTO.
2919         * misc/ptrace.c: #include <libc-internal.h>
2920         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2922 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2924         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2925         XPG4, UNIX98 and XOPEN2K.
2926         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2927         Remove variable.
2928         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2930 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2932         * libio/fileops.c: Use ISO C style for function definitions.
2933         * libio/iofopen.c: Likewise.
2934         * libio/wfileops.c: Likewise.
2936         [BZ #17653]
2937         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2938         offset on EOF.
2939         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2940         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2941         (fgets_func): Function pointer to fgets and fgetws.
2942         (do_ftell_test): Add test to verify ftell value after read
2943         EOF.
2944         (do_test): Set fgets_func.
2946         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2947         O_TRUNC flag for w and w+ modes.
2948         (do_rewind_test): Likewise.
2949         (do_ftell_test): Likewise.
2950         (do_write_test): Likewise.
2952         [BZ #17647]
2953         * libio/fileops.c (do_ftell): Seek only when there are
2954         unflushed writes.
2955         * libio/wfileops.c (do_ftell_wide): Likewise.
2956         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2957         test case.
2958         (do_one_test): Call it.
2960 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2962         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2963         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2964         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2965         Remove variable.
2966         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2967         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2968         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2970 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2972         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2973         Remove variable.
2974         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2976         [BZ #17668]
2977         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2978         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2979         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2980         __freeifaddrs.  Use libc_hidden_weak.
2981         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2982         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2983         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2984         __freeifaddrs.  Use libc_hidden_weak.
2985         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2986         __getifaddrs and define as weak alias of __getifaddrs.  Use
2987         libc_hidden_weak.
2988         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2989         __freeifaddrs.  Use libc_hidden_weak.
2990         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2991         Remove variable.
2992         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2993         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2995 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2997         [BZ #17601]
2998         * sysdeps/mips/start.S (__start): Use indirect jump to call
2999         __libc_start_main.
3001 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3003         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3005         * nptl/tst-mutex1.c: Include <stdbool.h>.
3006         [!ATTR] (ATTR_NULL): New macro.
3007         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3008         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3009         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3011         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3012         to char *.
3014         [BZ #17665]
3015         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3016         Change conditional to [__USE_MISC].
3018         [BZ #17664]
3019         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3020         fgets_unlocked.
3021         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3022         __fgets_unlocked.
3023         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3024         fgets_unlocked.
3025         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3026         Remove variable.
3027         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3028         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3029         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3030         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3031         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3032         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3033         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3034         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3035         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3037         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3039 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3041         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3042         Remove strpbrk objects.
3043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3044         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3045         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3046         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3047         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3048         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3051         Remove strcspn objects.
3052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3053         (__libc_ifunc_impl_list): Remove strcspn implementation.
3054         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3055         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3056         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3057         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3060         Remove strspn objetcs.
3061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3062         (__libc_ifunc_impl_list): Remove strspn implementation.
3063         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3064         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3065         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3066         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3068 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3070         [BZ #17581]
3071         * malloc/hooks.c
3072         (mem2mem_check): Add a terminator to the chain of checking blocks.
3073         (malloc_check_get_size): Use it here.
3074         (mem2chunk_check): Ditto.
3076 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3078         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3079         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3081 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3083         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3085         * nptl/nptl-init.c: Include libc-internal.h.
3086         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3088         * elf/ldconfig.c (search_dir): Expand comment.
3090 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3092         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3093         variable.
3094         (linknamespace-symlist-stdlibs-tests): Likewise.
3095         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3096         instead of $(objpfx)symlist-stdlibs.
3097         (linknamespace-libs-isoc): New variable.
3098         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3099         (linknamespace-libs-ISO): New variable.
3100         (linknamespace-libs-ISO99): Likewise.
3101         (linknamespace-libs-ISO11): Likewise.
3102         (linknamespace-libs-XPG3): Likewise.
3103         (linknamespace-libs-XPG4): Likewise.
3104         (linknamespace-libs-POSIX): Likewise.
3105         (linknamespace-libs-UNIX98): Likewise.
3106         (linknamespace-libs-XOPEN2K): Likewise.
3107         (linknamespace-libs-POSIX2008): Likewise.
3108         (linknamespace-libs-XOPEN2K8): Likewise.
3109         ($(objpfx)symlist-stdlibs): Replace by
3110         $(linknamespace-symlist-stdlibs-tests).  Use
3111         $(linknamespace-libs-$*) as set of libraries.
3112         ($(linknamespace-header-tests)): Update dependencies.  Use
3113         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3114         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3115         * conform/linknamespace.pl: Remove comment about considering
3116         definitions of symbols from irrelevant libraries.
3118 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3120         [BZ #13862]
3121         * elf/dl-tls.c: Include <atomic.h>.
3122         (oom): Remove #ifdef SHARED/#endif.
3123         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3124         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3125         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3126         big enough.
3127         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3128         * nptl/Makefile (tests): Add tst-stack4.
3129         (modules-names): Add tst-stack4mod.
3130         ($(objpfx)tst-stack4): New.
3131         (tst-stack4mod.sos): Likewise.
3132         ($(objpfx)tst-stack4.out): Likewise.
3133         ($(tst-stack4mod.sos)): Likewise.
3134         (clean): Likewise.
3135         * nptl/tst-stack4.c: New file.
3136         * nptl/tst-stack4mod.c: Likewise.
3138 2014-11-27  J. Brown  <jb999@gmx.de>
3140         * sysdeps/x86/bits/string.h: Add recent CPUs.
3142 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3144         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3145         sigblock.
3147         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3148         feof.
3150         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3151         variable.
3153 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3155         * nscd/connections.c: Include libc-internal.h because of macro
3156         usage ignore_value.
3158 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3160         * string/bits/string3.h (__warn_memset_zero_len): Don't
3161         declare for gcc newer than 5.0.
3162         (memset): Don't test for zero-length __LEN for gcc newer than
3163         5.0.
3165 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3167         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3168         size_t for %zu format.
3170         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3171         difference, not %ju.
3173 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3175         * include/libc-internal.h (ignore_value): New macro.
3176         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3177         with ignore_value.
3179         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3180         definition.
3182         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3183         pthread_cleanup_push to void *.
3185         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3186         Undefine.
3188         [BZ #16619]
3189         [BZ #16740]
3190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3191         instead of 1L << 52.
3193         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3194         * libio/bug-rewind2.c (do_test): Likewise.
3196         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3197         * debug/test-strcpy_chk-ifunc.c: Likewise.
3198         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3199         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3200         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3201         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3202         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3203         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3204         * Rules [$(multi-arch) = no] (tests): Do not filter out
3205         $(tests-ifunc).
3206         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3207         * debug/Makefile (tests-ifunc): Remove variable.
3208         (tests): Do not add $(tests-ifunc).
3209         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3210         (tests): Do not add $(tests-ifunc).
3211         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3212         [TEST_IFUNC]: Remove conditionals.
3213         * string/test-string.h (TEST_IFUNC): Remove macro.
3214         [TEST_IFUNC]: Remove conditionals.
3216         * string/test-strchr.c [!WIDE] (L): New macro.
3217         [WIDE] (L): Likewise.
3218         (check1): Use CHAR instead of char.  Use L on string and character
3219         constants.
3221 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3223         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3224         tests.
3225         * sysdeps/powerpc/bits/atomic.h
3226         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3227         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3228         (atomic_exchange_and_add_acq): Likewise.
3229         (atomic_exchange_and_add_rel): Likewise.
3230         * sysdeps/powerpc/powerpc32/bits/atomic.h
3231         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3232         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3233         * sysdeps/powerpc/powerpc64/bits/atomic.h
3234         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3235         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3237 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3239         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3240         Change synchronization of __sched_fifo_min_prio and
3241         __sched_fifo_max_prio.
3242         * nptl/pthread_mutexattr_getprioceiling.c
3243         (pthread_mutexattr_getprioceiling): Likewise.
3244         * nptl/pthread_mutexattr_setprioceiling.c
3245         (pthread_mutexattr_setprioceiling): Likewise.
3246         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3247         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3248         Likewise.
3250 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3252         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3253         void.
3255 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3257         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3258         third argument const.
3260 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3262         fnmatch: work around GCC compiler warning bug with uninit var
3263         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3264         This works around a bug with x86-64 GCC 4.9.2 and earlier
3265         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3266         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3267         used uninitialized in this function [-Wmaybe-uninitialized]".
3269 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3271         * posix/bug-regex31.c (main): Return RES not 0.
3273 2014-11-25  Anton Blanchard <anton@samba.org>
3275         * sysdeps/powerpc/bits/atomic.h
3276         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3278 2014-11-24  Sterling Augustine  <saugustine@google.com>
3280         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3282 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3284         [BZ #17608]
3285         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3287 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3289         [BZ #17633]
3290         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3291         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3292         variable.
3293         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3294         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3296 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3298         * string/strncpy.c (strncpy): Improve performance by using memset.
3300 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3302         * string/strcpy.c (strcpy):
3303         Improve performance by using strlen and memcpy.
3305 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3307         * string/strcoll_l.c (get_next_seq): __always_inline.
3308         * string/strcoll_l.c (do_compare): __always_inline.
3310 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3312         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3313         defined.
3314         * include/mqueue.h: Likewise.
3315         * include/stdlib.h: Likewise.
3317         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3318         (get_null_defines): Adjust.
3319         * sunrpc/Makefile: Adjust comment.
3320         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3321         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3322         (CFLAGS-interp.c): Likewise.
3323         (CFLAGS-ldconfig.c): Likewise.
3324         (CPPFLAGS-.os): Likewise.
3325         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3326         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3327         * extra-modules.mk (extra-modules.mk): Likewise.
3328         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3329         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3330         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3331         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3332         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3333         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3334         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3335         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3336         * iconvdata/Makefile (CPPFLAGS): Likewise.
3337         (cpp-srcs-left): Add libof for all iconvdata routines.
3338         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3339         * include/assert.h: Likewise.
3340         * include/ctype.h: Likewise.
3341         * include/errno.h: Likewise.
3342         * include/libc-symbols.h: Likewise.
3343         * include/math.h: Likewise.
3344         * include/netdb.h: Likewise.
3345         * include/resolv.h: Likewise.
3346         * include/stdio.h: Likewise.
3347         * include/stdlib.h: Likewise.
3348         * include/string.h: Likewise.
3349         * include/sys/stat.h: Likewise.
3350         * include/wctype.h: Likewise.
3351         * intl/l10nflist.c: Likewise.
3352         * libidn/idn-stub.c: Likewise.
3353         * libio/libioP.h: Likewise.
3354         * nptl/libc_multiple_threads.c: Likewise.
3355         * nptl/pthreadP.h: Likewise.
3356         * posix/regex_internal.h: Likewise.
3357         * resolv/res_hconf.c: Likewise.
3358         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3359         * sysdeps/arm/memmove.S: Likewise.
3360         * sysdeps/arm/sysdep.h: Likewise.
3361         * sysdeps/generic/_itoa.h: Likewise.
3362         * sysdeps/generic/symbol-hacks.h: Likewise.
3363         * sysdeps/gnu/errlist.awk: Likewise.
3364         * sysdeps/gnu/errlist.c: Likewise.
3365         * sysdeps/i386/i586/memcpy.S: Likewise.
3366         * sysdeps/i386/i586/memset.S: Likewise.
3367         * sysdeps/i386/i686/memcpy.S: Likewise.
3368         * sysdeps/i386/i686/memmove.S: Likewise.
3369         * sysdeps/i386/i686/mempcpy.S: Likewise.
3370         * sysdeps/i386/i686/memset.S: Likewise.
3371         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3372         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3373         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3374         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3375         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3376         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3377         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3378         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3379         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3380         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3381         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3382         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3383         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3384         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3385         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3386         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3387         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3388         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3389         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3390         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3391         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3392         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3393         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3394         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3395         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3396         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3397         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3398         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3399         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3400         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3402         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3404         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3405         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3406         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3407         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3408         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3409         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3411         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3412         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3413         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3414         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3415         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3416         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3417         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3418         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3419         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3420         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3421         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3422         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3423         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3424         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3425         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3426         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3427         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3428         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3429         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3430         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3431         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3432         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3433         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3434         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3435         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3436         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3437         * sysdeps/posix/closedir.c: Likewise.
3438         * sysdeps/posix/opendir.c: Likewise.
3439         * sysdeps/posix/readdir.c: Likewise.
3440         * sysdeps/posix/rewinddir.c: Likewise.
3441         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3442         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3443         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3444         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3445         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3446         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3447         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3450         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3452         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3453         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3454         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3455         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3456         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3457         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3458         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3459         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3460         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3461         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3462         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3463         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3464         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3465         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3466         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3467         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3468         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3469         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3476         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3477         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3478         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3479         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3480         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3481         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3482         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3483         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3484         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3485         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3486         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3487         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3488         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3489         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3490         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3491         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3492         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3493         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3494         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3495         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3496         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3497         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3498         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3499         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3500         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3501         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3502         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3503         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3504         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3505         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3506         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3507         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3508         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3509         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3510         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3511         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3512         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3513         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3514         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3515         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3516         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3517         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3518         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3519         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3520         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3521         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3522         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3523         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3524         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3525         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3526         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3527         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3528         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3529         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3530         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3531         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3532         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3533         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3537         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3539         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3540         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3541         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3542         * sysdeps/unix/alpha/sysdep.S: Likewise.
3543         * sysdeps/unix/alpha/sysdep.h: Likewise.
3544         * sysdeps/unix/make-syscalls.sh: Likewise.
3545         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3547         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3548         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3549         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3550         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3551         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3552         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3553         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3554         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3555         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3556         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3557         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3558         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3559         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3560         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3561         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3562         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3563         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3564         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3565         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3566         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3567         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3568         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3569         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3570         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3574         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3575         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3579         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3583         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3584         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3585         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3586         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3587         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3588         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3589         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3592         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3595         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3596         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3597         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3598         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3599         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3600         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3601         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3603         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3604         * sysdeps/x86_64/memcpy.S: Likewise.
3605         * sysdeps/x86_64/memmove.c: Likewise.
3606         * sysdeps/x86_64/memset.S: Likewise.
3607         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3608         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3609         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3610         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3611         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3612         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3613         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3614         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3615         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3616         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3617         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3618         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3619         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3620         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3622         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3623         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3624         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3625         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3626         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3627         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3628         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3630         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3631         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3632         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3633         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3634         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3635         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3636         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3637         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3638         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3639         * sysdeps/x86_64/strcmp.S: Likewise.
3641         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3643         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3644         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3645         * elf/rtld-Rules: Likewise.
3646         * elf/setup-vdso.h: Likewise.
3647         * include/assert.h: Likewise.
3648         * include/bits/stdlib-float.h: Likewise.
3649         * include/errno.h: Likewise.
3650         * include/sys/stat.h: Likewise.
3651         * include/unistd.h: Likewise.
3652         * sysdeps/aarch64/setjmp.S: Likewise.
3653         * sysdeps/alpha/setjmp.S: Likewise.
3654         * sysdeps/arm/__longjmp.S: Likewise.
3655         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3656         * sysdeps/arm/setjmp.S: Likewise.
3657         * sysdeps/arm/sysdep.h: Likewise.
3658         * sysdeps/generic/_itoa.h: Likewise.
3659         * sysdeps/generic/dl-sysdep.h: Likewise.
3660         * sysdeps/generic/ldsodefs.h: Likewise.
3661         * sysdeps/i386/dl-tls.h: Likewise.
3662         * sysdeps/i386/setjmp.S: Likewise.
3663         * sysdeps/m68k/setjmp.c: Likewise.
3664         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3665         * sysdeps/mach/hurd/opendir.c: Likewise.
3666         * sysdeps/posix/getcwd.c: Likewise.
3667         * sysdeps/posix/opendir.c: Likewise.
3668         * sysdeps/posix/profil.c: Likewise.
3669         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3670         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3671         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3672         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3673         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3674         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3675         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3676         * sysdeps/s390/dl-tls.h: Likewise.
3677         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3678         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3679         * sysdeps/sh/sh3/setjmp.S: Likewise.
3680         * sysdeps/sh/sh4/setjmp.S: Likewise.
3681         * sysdeps/unix/alpha/sysdep.h: Likewise.
3682         * sysdeps/unix/arm/sysdep.S: Likewise.
3683         * sysdeps/unix/i386/sysdep.S: Likewise.
3684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3685         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3686         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3687         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3689         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3690         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3691         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3692         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3693         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3694         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3695         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3696         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3699         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3702         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3703         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3704         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3707         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3708         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3709         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3711         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3712         * sysdeps/x86_64/setjmp.S: Likewise.
3714         * include/math.h: Use IS_IN instead of IS_IN_libm.
3715         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3716         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3717         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3718         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3719         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3720         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3721         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3722         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3723         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3724         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3725         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3726         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3727         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3728         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3729         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3730         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3731         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3732         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3733         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3734         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3735         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3736         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3737         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3738         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3739         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3740         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3741         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3742         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3743         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3744         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3745         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3746         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3747         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3749         Likewise.
3750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3751         Likewise.
3752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3753         Likewise.
3754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3755         Likewise.
3756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3757         Likewise.
3758         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3759         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3760         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3761         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3762         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3763         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3769         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3770         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3771         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3772         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3773         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3774         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3775         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3776         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3777         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3778         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3779         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3780         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3781         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3782         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3784         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3786         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3787         * nptl/pthreadP.h: Likewise.
3788         * nptl_db/structs.def: Likewise.
3789         * sysdeps/arm/sysdep.h: Likewise.
3790         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3791         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3792         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3793         * sysdeps/unix/alpha/sysdep.h: Likewise.
3794         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3795         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3796         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3797         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3798         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3799         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3800         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3801         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3802         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3803         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3804         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3805         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3806         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3807         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3812         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3815         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3816         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3817         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3818         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3819         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3821         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3822         * nptl/pthreadP.h: Likewise.
3823         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3824         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3825         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3826         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3827         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3828         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3829         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3830         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3831         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3832         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3833         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3834         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3836         Likewise.
3837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3838         Likewise.
3839         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3840         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3841         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3842         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3844         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3845         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3846         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3848         * dlfcn/dladdr.c: Use IS_IN.
3849         * dlfcn/dladdr1.c: Likewise.
3850         * dlfcn/dlclose.c: Likewise.
3851         * dlfcn/dlerror.c: Likewise.
3852         * dlfcn/dlinfo.c: Likewise.
3853         * dlfcn/dlmopen.c: Likewise.
3854         * dlfcn/dlopen.c: Likewise.
3855         * dlfcn/dlsym.c: Likewise.
3856         * dlfcn/dlvsym.c: Likewise.
3858         * include/ifaddrs.h: Use IS_IN.
3859         * inet/check_pf.c: Likewise.
3860         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3861         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3863         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3864         IS_IN_ldconfig.
3865         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3866         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3868         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3869         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3870         IS_IN (libc).
3872         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3874         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3875         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3876         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3877         * include/libc-symbols.h (IS_IN_LIB): New macro.
3878         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3879         * include/netdb.h: Likewise.
3880         * include/stap-probe.h: Remove all uses of IN_LIB.
3882         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3883         instead of IN_MODULE.
3884         * include/libc-symbols.h (IN_MODULE): Define using
3885         MODULE_NAME.
3886         (PASTE_NAME, PASTE_NAME1): New macros.
3887         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3888         of IN_LIB.
3889         (STAP_PROBE_ASM): Likewise.
3891 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3893         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3894         __mach_init in dlopened libc.
3896 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3898         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3899         * sysdeps/arm/preconfigure: Regenerate.
3901 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3903         * nptl/pthread_create.c (__pthread_create_2_1): Set
3904         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3905         when copying values from IATTR into PD.
3907 2014-11-21  Will Newton  <will.newton@linaro.org>
3908             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3910         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3911         Refactor inline-asm.  Also add comment.
3913         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3914         ElfW macro instead of hardcoded Elf64 types.
3915         (la_aarch64_gnu_pltenter): Likewise.
3916         * sysdeps/aarch64/dl-machine.h
3917         (elf_machine_runtime_setup): Use ElfW(Addr).
3919         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3920         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3921         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3922         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3923         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3924         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3925         (R_AARCH64_TLS_DTPMOD): This.
3926         (R_AARCH64_TLS_DTPREL64): Rename to ...
3927         (R_AARCH64_TLS_DTPREL): This.
3928         (R_AARCH64_TLS_TPREL64): Rename to ...
3929         (R_AARCH64_TLS_TPREL): This.
3930         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3931         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3932         R_AARCH64_TLS_TPREL64.
3933         (elf_machine_rela): Likewise.
3935 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3937         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3938         by setting it to 0.  64b atomics are not supported currently.
3940 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3942         [BZ #16469]
3943         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3944         search domain names.
3946 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3948         [BZ #16469]
3949         * NEWS: Update.
3950         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3951         trailing dot.
3952         * posix/tst-getaddrinfo5.c: New.
3953         * posix/Makefile (tests): Add it.
3955 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3957         [BZ #14498]
3958         * NEWS: Fixed.
3959         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3960         after parsing line but before break_if_match.
3961         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3962         if there is a protocol mismatch.
3964 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3966         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3967         because the potential race is on the user-supplied stream.
3969 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3971         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3972         string literal if not passed a buffer.
3973         * manual/job.texi (ctermid): Update reasoning, note deviation
3974         from posix, suggest mtasurace when not passed a buffer, for
3975         future non-preliminary safety notes.
3977 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3979         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3980         of not passing it a buffer.
3981         Reported by Peng Haitao.
3983 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3985         * manual/Makefile ($(objpfx)stamp-summary): Require
3986         check-safety.sh to pass.
3987         * manual/check-safety.sh: Wish for verification that every
3988         @deftypefn and @deftypefun is followed by a @safety remark.
3990 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3992         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3994         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3995         PTHREAD_CANCEL_ASYNCHRONOUS.
3996         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3997         send SIGCANCEL.
3999         * nptl/default-sched.h: New file.
4000         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4001         * nptl/pthread_create.c: Include it.
4002         (__pthread_create_2_1): Use collect_default_sched instead of making
4003         Linux syscalls here directly.
4005 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4007         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4008         __pthread_once): Use C11 atomics.
4010 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4012         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4014 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4016         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4017         atomic_thread_fence_acquire, atomic_thread_fence_release,
4018         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4019         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4020         atomic_compare_exchange_weak_relaxed,
4021         atomic_compare_exchange_weak_acquire,
4022         atomic_compare_exchange_weak_release,
4023         atomic_exchange_acquire, atomic_exchange_release,
4024         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4025         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4026         atomic_fetch_and_acquire,
4027         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4029 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4031         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4032         USE_ATOMIC_COMPILER_BUILTINS): Define.
4033         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4035         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4037         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4039         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4041         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4043         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4045         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4047         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4049         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4051         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4053         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4055         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4057         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4059         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4061         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4063         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4065         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4067         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4068         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4069         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4071         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4074 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4076         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4077         the sched_priority value here.  It was already checked when the user
4078         called pthread_attr_setschedparam.
4080         * nptl/tst-bad-schedattr.c: New file.
4081         * nptl/Makefile (tests): Add it.
4083 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4084             Florian Weimer  <fweimer@redhat.com>
4085             Joseph Myers  <joseph@codesourcery.com>
4086             Adam Conrad  <adconrad@0c3.net>
4087             Andreas Schwab  <schwab@suse.de>
4088             Brooks  <bmoses@google.com>
4090         [BZ #17625]
4091         * wordexp-test.c (__dso_handle): Add prototype.
4092         (__register_atfork): Likewise.
4093         (__app_register_atfork): New function.
4094         (registered_forks): New global.
4095         (register_fork): New function.
4096         (test_case): Add 3 new tests for WRDE_CMDSUB.
4097         (main): Call __app_register_atfork.
4098         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4099         fork count is non-zero fail the test.
4100         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4101         is set.
4102         (parse_dollars): Remove check for WRDE_NOCMD.
4103         (parse_dquote): Likewise.
4105 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4107         * Makeconfig (built-modules): List non-library modules to be
4108         built.
4109         (module-cppflags): Include libc-modules.h for
4110         everything except shlib-versions.v.i.
4111         (CPPFLAGS): Use it.
4112         (before-compile): Add libc-modules.h.
4113         ($(common-objpfx)libc-modules.h,
4114         $(common-objpfx)libc-modules.stmp): New targets.
4115         (common-generated): Add libc-modules.h and libc-modules.stmp.
4116         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4117         * include/libc-symbols.h: Don't include libc-modules.h.
4118         * include/libc-modules.h: Remove file.
4119         * scripts/gen-libc-modules.awk: New script to generate
4120         libc-modules.h.
4121         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4122         Depend on libc-modules.stmp.
4124         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4126         * Makeconfig (in-module): Get value of libof set for the
4127         translation unit.
4128         (CPPFLAGS): Use $(in-module).
4129         * Makerules: Don't suffix routine names for nonlib.
4130         * include/libc-modules.h: New file.
4131         * include/libc-symbols.h: Include libc-modules.h
4132         (IS_IN): New macro to replace IS_IN_* macros.
4133         * elf/Makefile: Set libof-* for each routine.
4134         * elf/rtld-Rules: Likewise.
4135         * extra-modules.mk: Likewise.
4136         * iconv/Makefile: Likewise.
4137         * iconvdata/Makefile: Likewise.
4138         * locale/Makefile: Likewise.
4139         * malloc/Makefile: Likewise.
4140         * nss/Makefile: Likewise.
4141         * sysdeps/gnu/Makefile: Likewise.
4142         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4143         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4144         * sysdeps/s390/s390-64/Makefile: Likewise.
4145         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4146         CPPFLAGS for nscd instead of nonlib.
4148 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4150         * nptl/createthread.c: New file.
4152         * nptl/createthread.c: Moved ...
4153         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4155         * nptl/createthread.c: Add proper top-line comment.
4156         (do_clone): Folded into ...
4157         (create_thread): ... here.  Take new arguments STOPPED_START and
4158         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4159         increment __nptl_threads, do event-reporting logic, do
4160         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4161         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4162         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4163         just send SIGCANCEL.
4164         * nptl/pthread_create.c: Forward-declare create_thread before
4165         including createthread.c.
4166         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4167         declaration, and new macro START_THREAD_SELF to replace argument.
4168         Remove return statement.
4169         (report_thread_creation): New function.
4170         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4171         synchronization logic, and __nptl_nthreads increment here, around
4172         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4173         PD->parent_cancelhandling here, before create_thread.  When
4174         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4175         __deallocate_stack, and ENOMEM translation here.
4177 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4179         [BZ #17616]
4180         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4181         (mptwo): Rename to __mptwo.
4182         (__inv): Use __mptwo instead of mptwo.
4183         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4184         (mptwo): Rename to __mptwo.
4185         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4186         of mpone and __mptwo instead of mptwo.
4187         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4188         instead of mpone.
4189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4190         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4191         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4192         of mpone and __mptwo instead of mptwo.
4193         (__mpranred): Use __mpone instead of mpone.
4194         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4195         variable.
4196         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4197         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4198         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4199         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4200         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4201         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4202         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4203         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4204         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4205         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4206         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4207         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4208         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4209         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4210         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4211         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4212         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4213         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4214         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4216 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4218         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4219         replace BSD Handler xref with BSD Signal Handling.
4221 2014-11-17  Richard Henderson  <rth@redhat.com>
4223         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4224         (_FP_PACK_RAW_2): Remove.
4225         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4226         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4227         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4228         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4229         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4230         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4231         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4232         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4233         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4234         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4235         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4236         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4237         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4238         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4239         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4240         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4242 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4244         * signal/signal.h [__USE_MISC]
4245         (struct sigvec): Remove type.
4246         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4247         (sigvec): Remove declaration.
4248         * sysdeps/posix/sigvec.c: Moved ...
4249         * signal/sigvec.c: ... here, replacing old file.
4250         (struct sigvec): New type, copied from old signal.h definition.
4251         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4252         (__sigvec): Convert definition to prototype.
4253         (sigvec): Replace weak_alias with compat_symbol.
4254         * signal/Versions (libc: GLIBC_2.21): New version set.
4255         * include/signal.h: Remove __sigvec declaration.
4256         * sysdeps/unix/bsd/sigvec.c: Remove file.
4257         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4258         * manual/signal.texi (BSD Handler): Remove subsection.
4259         Move siginterrupt up to ...
4260         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4261         (Blocking in BSD): Fold subsection into its parent.
4262         * NEWS: Mention sigvec removal.
4264 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4266         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4267         (DLA_FMS): Make definition conditional only on [__FMA4__].
4268         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4269         definition.
4271         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4272         Make definition conditional only on [PROF].
4273         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4274         definition.
4275         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4276         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4278         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4279         !__GNUC__].
4280         * include/signal.h (__sigpause): Move declaration above call to
4281         libc_hidden_proto.
4282         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4283         variable.
4284         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4285         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4287 2014-11-14  David S. Miller  <davem@davemloft.net>
4289         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4290         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4292 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4294         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4295         * configure: Regenerated.
4296         * manual/install.texi (Tools for Compilation): Document a
4297         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4298         compiler verified to work.
4299         * INSTALL: Regenerated.
4301         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4302         redeclare with asm name.
4303         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4304         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4305         including <string.h>.
4306         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4307         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4308         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4309         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4310         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4312         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4314 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4316         * stdlib/strtol.c (__strtol): Use prototype definition.
4318         [BZ #17594]
4319         * stdlib/strtol.c (SYM__): New macro.
4320         (SYM__1): Likewise.
4321         (__strtol): Likewise.
4322         (strtol): Rename to __strtol and define as weak alias of
4323         __strtol.  Use libc_hidden_weak.
4325 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4327         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4328         Use numbered labels in inline assembly.
4330 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4332         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4333         Add setjmp LIBC_PROBE.
4334         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4335         Likewise.
4336         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4337         Add longjmp, longjmp_target LIBC_PROBE.
4338         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4339         Likewise.
4341 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4343         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4344         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4345         to get rid of unused variable warning.
4347 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4349         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4350         Check for unwind_backtrace ==  NULL only in SHARED case.
4351         (__backchain_backtrace): Compile only in SHARED case.
4352         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4353         Likewise.
4354         (__backchain_backtrace): Declare as static.
4356 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4358         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4359         (__libc_multiple_threads_ptr): Variable moved ...
4360         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4362 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4364         * conform/GlibcConform.pm: New file.
4365         * conform/conformtest.pl: Use GlibcConform module.
4366         * conform/linknamespace.pl: New file.
4367         * conform/list-header-symbols.pl: Likewise.
4368         * conform/Makefile (linknamespace-symlists-base): New variable.
4369         (linknamespace-symlists-tests): Likewise.
4370         (linknamespace-header-base): Likewise.
4371         (linknamespace-header-tests): Likewise.
4372         (tests-special): Add new tests.
4373         ($(linknamespace-symlists-tests)): New rule.
4374         (linknamespace-libs): New variable.
4375         ($(objpfx)symlist-stdlibs): New rule.
4376         ($(linknamespace-header-tests)): Likewise.
4377         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4378         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4379         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4380         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4381         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4382         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4383         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4384         (test-xfail-ISO/math.h/linknamespace): Likewise.
4385         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4386         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4387         (test-xfail-ISO/time.h/linknamespace): Likewise.
4388         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4389         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4390         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4391         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4392         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4393         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4394         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4395         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4396         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4397         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4398         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4399         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4400         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4401         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4402         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4403         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4404         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4405         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4406         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4407         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4408         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4409         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4410         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4411         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4412         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4413         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4414         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4415         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4416         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4417         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4418         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4419         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4420         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4421         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4422         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4423         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4424         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4425         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4426         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4427         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4428         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4429         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4430         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4431         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4432         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4433         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4434         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4435         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4436         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4437         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4438         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4439         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4440         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4441         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4442         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4443         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4444         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4445         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4446         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4447         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4448         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4449         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4450         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4451         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4452         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4453         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4454         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4455         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4456         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4457         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4458         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4459         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4460         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4461         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4462         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4463         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4464         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4465         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4466         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4467         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4468         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4469         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4470         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4471         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4472         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4473         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4474         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4475         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4476         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4477         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4478         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4479         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4480         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4481         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4482         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4483         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4484         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4485         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4486         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4487         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4488         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4489         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4490         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4491         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4492         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4493         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4494         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4495         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4496         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4497         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4498         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4499         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4500         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4501         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4502         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4503         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4504         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4505         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4506         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4507         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4508         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4509         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4510         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4511         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4512         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4513         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4514         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4515         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4516         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4517         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4518         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4519         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4520         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4521         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4522         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4523         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4524         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4525         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4526         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4527         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4528         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4529         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4530         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4531         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4532         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4533         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4534         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4535         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4536         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4537         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4539         [BZ #17589]
4540         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4541         of fgets_unlocked.
4543         [BZ #17585]
4544         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4545         (memmem): Rename to __memmem and define as weak alias of
4546         __memmem.  Use libc_hidden_weak.
4547         (__memmem): Use libc_hidden_def.
4548         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4549         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4550         memmem.
4552         [BZ #17582]
4553         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4554         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4555         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4556         and define as weak alias of __fgets_unlocked.  Use
4557         libc_hidden_weak.
4558         (__fgets_unlocked): Use libc_hidden_def.
4559         * include/stdio.h (__fgets_unlocked): Declare.  Use
4560         libc_hidden_proto.
4561         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4562         __fgets_unlocked instead of fgets_unlocked.
4563         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4564         (GET_NPROCS_CONF_PARSER): Likewise.
4565         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4566         (GET_NPROCS_CONF_PARSER): Likewise.
4568         [BZ #17574]
4569         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4570         weak alias of __wmemset.  Use libc_hidden_weak.
4571         (__wmemset): Use libc_hidden_def.
4572         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4573         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4574         of wmemset.
4576         [BZ #17573]
4577         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4578         with asm name __mempcpy.
4579         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4581         [BZ #17572]
4582         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4583         and define as weak alias of __rawmemchr.
4584         (__rawmemchr): Do not define as strong alias of rawmemchr.
4586         [BZ #17571]
4587         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4588         alias of __qsort_r.
4589         (qsort): Call __qsort_r instead of qsort_r.
4590         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4591         (__qsort_r): Declare.  Call libc_hidden_proto.
4592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4593         instead of qsort_r.
4594         * nscd/gai.c (__qsort_r): Define to qsort_r.
4595         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4596         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4597         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4599         [BZ #17570]
4600         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4601         define as weak alias of __malloc_info.
4603         [BZ #17584]
4604         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4605         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4606         (__rewinddir): Use libc_hidden_def.
4607         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4608         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4609         (__rewinddir): Use libc_hidden_def.
4610         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4611         weak alias of __rewinddir.  Don't use libc_hidden_def.
4612         (__rewinddir): Use libc_hidden_def.
4613         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4614         (__rewinddir): Use libc_hidden_proto.
4615         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4616         rewinddir.
4617         (__getcwd): Use __rewinddir instead of rewinddir.
4619         [BZ #17583]
4620         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4621         alias of __fileno.  Use libc_hidden_weak.
4622         (__fileno): Use libc_hidden_def.
4623         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4624         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4625         alias of __ftello.
4626         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4627         __ftello.
4628         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4629         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4630         libc_hidden_def.
4631         (fread_unlocked): Don't use libc_hidden_ver.
4632         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4633         and define as weak alias of __fread_unlocked.  Don't use
4634         libc_hidden_def.
4635         (__fread_unlocked): Use libc_hidden_def.
4636         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4637         (ftello): Don't use libc_hidden_proto.
4638         (__ftello): Declare.  Use libc_hidden_proto.
4639         (fread_unlocked): Don't use libc_hidden_proto.
4640         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4641         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4642         and __ftello instead of fileno, fread_unlocked and ftello.
4644 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4646         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4647         GOT12.
4648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4649         Likewise.
4650         (_dl_start_user): Likewise.
4651         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4653 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4654             Siddhesh Poyarekar  <siddhesh@redhat.com>
4656         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4657         Move argv and envp down instead of moving argc up.
4658         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4660 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4662         [BZ #17506]
4663         * test-skeleton.c (main): Return successful if one of
4664         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4665         * string/tst-strcoll-overflow.c: Define expected status.
4667 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4669         [BZ #17475]
4670         * locale/iso-639.def: Define Bhili and Tulu language codes.
4672 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4674         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4676 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4678         [BZ #17555]
4679         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4681 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4683         * configure.ac: Updated check of minimal required version to
4684         2.22.
4685         * manual/install.texi (Tools for Compilation): Updated version
4686         number.
4687         * configure: Regenerated.
4688         * INSTALL: Likewise.
4690 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4692         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4693         __tls_get_addr.
4695 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4697         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4698         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4699         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4700         libc_hidden_weak.
4701         (waitpid): Define as alias of __waitpid.
4702         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4703         __waitpid.
4704         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4705         libc_hidden_weak.
4706         (waitpid): Define as alias of __waitpid.
4707         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4708         __libc_waitpid alias.
4709         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4710         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4711         Likewise.
4712         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4713         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4714         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4715         alias.
4716         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4717         __waitpid.
4718         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4719         libc_hidden_weak.
4720         (waitpid): Define as alias of __waitpid.
4722 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4724         * manual/llio.texi: Add comment that write safety has been
4725         fixed in Linux.
4727         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4728         (localplt-build-dso): Add elf/ld.so.
4729         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4730         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4731         and free for ld.so.
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4733         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4735         Likewise.
4736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4737         Likewise.
4738         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4739         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4740         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4741         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4742         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4743         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4744         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4745         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4746         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4747         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4748         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4750 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4752         [BZ #14132]
4753         * include/libc-symbols.h (INTUSE): Remove macro.
4754         (INTDEF): Likewise.
4755         (INTVARDEF): Likewise.
4756         (_INTVARDEF): Likewise.
4757         (INTDEF2): Likewise.
4758         (INTVARDEF2): Likewise.
4759         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4760         rtld_hidden_def instead of INTVARDEF.
4761         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4762         (_dl_starting_up_internal): Remove declaration.
4763         (_dl_starting_up): Use rtld_hidden_proto.
4764         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4765         declaration.
4766         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4767         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4768         _dl_starting_up.
4769         * elf/dl-writev.h (_dl_writev): Likewise.
4770         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4771         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4772         _dl_starting_up_internal.
4774 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4776         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4777         test-skeleton.c.
4779 2014-11-05  Will Newton  <will.newton@linaro.org>
4781         * benchtests/Makefile: (bench-malloc): Add malloc thread
4782         scalability benchmark.
4783         * benchtests/bench-malloc-threads.c: New file.
4785 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4787         * sysdeps/aarch64/strchrnul.S: New file.
4789 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4791         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4792         definition.
4793         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4794         Likwise.
4795         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4796         Likewise.
4797         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4798         Likewise.
4799         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4800         Likewise.
4801         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4802         Likewise.
4804 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4806         * catgets/test-gencat.c: Use test-skeleton.c.
4807         * catgets/tst-catgets.c: Likewise.
4808         * csu/tst-empty.c: Likewise.
4809         * elf/tst-audit2.c: Likewise.
4810         * elf/tst-global1.c: Likewise.
4811         * elf/tst-pathopt.c: Likewise.
4812         * elf/tst-piemod1.c: Likewise.
4813         * elf/tst-tls10.c: Likewise.
4814         * elf/tst-tls11.c: Likewise.
4815         * elf/tst-tls12.c: Likewise.
4816         * gnulib/tst-gcc.c: Likewise.
4817         * iconvdata/tst-e2big.c: Likewise.
4818         * iconvdata/tst-loading.c: Likewise.
4819         * iconv/tst-iconv1.c: Likewise.
4820         * iconv/tst-iconv2.c: Likewise.
4821         * inet/test-inet6_opt.c: Likewise.
4822         * inet/tst-gethnm.c: Likewise.
4823         * inet/tst-network.c: Likewise.
4824         * inet/tst-ntoa.c: Likewise.
4825         * intl/tst-codeset.c: Likewise.
4826         * intl/tst-gettext2.c: Likewise.
4827         * intl/tst-gettext3.c: Likewise.
4828         * intl/tst-ngettext.c: Likewise.
4829         * intl/tst-translit.c: Likewise.
4830         * io/test-stat.c: Likewise.
4831         * libio/test-fmemopen.c: Likewise.
4832         * libio/tst-freopen.c: Likewise.
4833         * libio/tst-sscanf.c: Likewise.
4834         * libio/tst-ungetwc1.c: Likewise.
4835         * libio/tst-ungetwc2.c: Likewise.
4836         * libio/tst-widetext.c: Likewise.
4837         * localedata/tst-ctype.c: Likewise.
4838         * localedata/tst-digits.c: Likewise.
4839         * localedata/tst-leaks.c: Likewise.
4840         * localedata/tst-mbswcs1.c: Likewise.
4841         * localedata/tst-mbswcs2.c: Likewise.
4842         * localedata/tst-mbswcs3.c: Likewise.
4843         * localedata/tst-mbswcs4.c: Likewise.
4844         * localedata/tst-mbswcs5.c: Likewise.
4845         * localedata/tst-setlocale.c: Likewise.
4846         * localedata/tst-trans.c: Likewise.
4847         * localedata/tst-wctype.c: Likewise.
4848         * localedata/tst-xlocale1.c: Likewise.
4849         * login/tst-grantpt.c: Likewise.
4850         * malloc/tst-calloc.c: Likewise.
4851         * malloc/tst-malloc.c: Likewise.
4852         * malloc/tst-mallocstate.c: Likewise.
4853         * malloc/tst-mcheck.c: Likewise.
4854         * malloc/tst-mtrace.c: Likewise.
4855         * malloc/tst-obstack.c: Likewise.
4856         * math/atest-exp2.c: Likewise.
4857         * math/atest-exp.c: Likewise.
4858         * math/atest-sincos.c: Likewise.
4859         * math/test-matherr.c: Likewise.
4860         * math/test-misc.c: Likewise.
4861         * math/test-powl.c: Likewise.
4862         * math/tst-definitions.c: Likewise.
4863         * misc/tst-dirname.c: Likewise.
4864         * misc/tst-efgcvt.c: Likewise.
4865         * misc/tst-fdset.c: Likewise.
4866         * misc/tst-hsearch.c: Likewise.
4867         * misc/tst-mntent2.c: Likewise.
4868         * nptl/tst-sem7.c: Likewise.
4869         * nptl/tst-sem8.c: Likewise.
4870         * nptl/tst-sem9.c: Likewise.
4871         * nss/test-netdb.c: Likewise.
4872         * posix/tst-fnmatch.c: Likewise.
4873         * posix/tst-getlogin.c: Likewise.
4874         * posix/tst-gnuglob.c: Likewise.
4875         * posix/tst-mmap.c: Likewise.
4876         * pwd/tst-getpw.c: Likewise.
4877         * resolv/tst-inet_ntop.c: Likewise.
4878         * rt/tst-timer.c: Likewise.
4879         * stdio-common/test-fseek.c: Likewise.
4880         * stdio-common/test-popen.c: Likewise.
4881         * stdio-common/test-vfprintf.c: Likewise.
4882         * stdio-common/tst-cookie.c: Likewise.
4883         * stdio-common/tst-fileno.c: Likewise.
4884         * stdio-common/tst-gets.c: Likewise.
4885         * stdio-common/tst-obprintf.c: Likewise.
4886         * stdio-common/tst-perror.c: Likewise.
4887         * stdio-common/tst-sprintf2.c: Likewise.
4888         * stdio-common/tst-sprintf3.c: Likewise.
4889         * stdio-common/tst-sprintf.c: Likewise.
4890         * stdio-common/tst-swprintf.c: Likewise.
4891         * stdio-common/tst-tmpnam.c: Likewise.
4892         * stdio-common/tst-unbputc.c: Likewise.
4893         * stdio-common/tst-wc-printf.c: Likewise.
4894         * stdlib/tst-environ.c: Likewise.
4895         * stdlib/tst-fmtmsg.c: Likewise.
4896         * stdlib/tst-limits.c: Likewise.
4897         * stdlib/tst-rand48-2.c: Likewise.
4898         * stdlib/tst-rand48.c: Likewise.
4899         * stdlib/tst-random2.c: Likewise.
4900         * stdlib/tst-random.c: Likewise.
4901         * stdlib/tst-strtol.c: Likewise.
4902         * stdlib/tst-strtoll.c: Likewise.
4903         * stdlib/tst-tls-atexit.c: Likewise.
4904         * stdlib/tst-xpg-basename.c: Likewise.
4905         * string/test-ffs.c: Likewise.
4906         * string/tst-bswap.c: Likewise.
4907         * string/tst-inlcall.c: Likewise.
4908         * string/tst-strtok.c: Likewise.
4909         * string/tst-strxfrm.c: Likewise.
4910         * sysdeps/x86_64/tst-audit10.c: Likewise.
4911         * sysdeps/x86_64/tst-audit3.c: Likewise.
4912         * sysdeps/x86_64/tst-audit4.c: Likewise.
4913         * sysdeps/x86_64/tst-audit5.c: Likewise.
4914         * time/tst-ftime_l.c: Likewise.
4915         * time/tst-getdate.c: Likewise.
4916         * time/tst-mktime3.c: Likewise.
4917         * time/tst-mktime.c: Likewise.
4918         * time/tst-posixtz.c: Likewise.
4919         * time/tst-strptime2.c: Likewise.
4920         * time/tst-strptime3.c: Likewise.
4921         * wcsmbs/tst-btowc.c: Likewise.
4922         * wcsmbs/tst-mbrtowc.c: Likewise.
4923         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4924         * wcsmbs/tst-wchar-h.c: Likewise.
4925         * wcsmbs/tst-wcpncpy.c: Likewise.
4926         * wcsmbs/tst-wcrtomb.c: Likewise.
4927         * wcsmbs/tst-wcsnlen.c: Likewise.
4928         * wcsmbs/tst-wcstof.c: Likewise.
4930 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4932         [BZ #14132]
4933         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4934         INTDEF.
4935         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4936         declaration.
4937         (_dl_mcount): Use rtld_hidden_proto.
4938         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4939         _dl_mcount.
4940         * elf/rtld.c (_rtld_global_ro): Likewise.
4942         [BZ #14132]
4943         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4944         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4945         of _dl_init_internal.
4946         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4947         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4948         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4949         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4950         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4951         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4952         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4953         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4954         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4955         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4956         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4957         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4958         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4959         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4960         * sysdeps/tile/dl-start.S (_start): Likewise.
4961         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4962         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4964         [BZ #14132]
4965         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4966         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4967         (rtld_progname): Make macro definition unconditional.
4968         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4969         INTDEF.
4970         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4971         (dl_main): Likewise.
4972         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4973         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4974         instead of _dl_argv_internal.
4975         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4976         __GI__dl_argv instead of INTUSE(_dl_argv).
4977         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4978         __GI__dl_argv instead of _dl_argv_internal.
4980         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4981         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4982         macro.
4983         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4984         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4985         New macro.
4986         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4987         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4988         macro.
4989         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4990         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4992 2014-11-04  Andreas Schwab  <schwab@suse.de>
4994         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4996 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4998         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4999         mtvsrd instruction in binary form.
5001 2014-11-03  Andreas Schwab  <schwab@suse.de>
5003         [BZ #17522]
5004         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5005         for less than MB_LEN_MAX use a local buffer of that size.
5006         * libio/tst-fputws.c: New file.
5007         * libio/Makefile (tests): Add tst-fputws.
5009 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5011         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5012         the size of the fpu_fr.fpu_dregs[] array.
5014 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5016         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5017         (__nanosleep): Do not define as alias.
5018         (nanosleep): Define as alias of __nanosleep.
5019         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5020         __libc_nanosleep name.
5022 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5024         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5025         install.texi in comment.
5027 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5029         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5030         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5031         ... add here and use lwsync or sync ...
5032         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5033         ... and add here using lwsync.
5035 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5037         * elf/dl-machine-reject-phdr.h: New file.
5038         * elf/dl-load.c: #include that.
5039         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5040         if that returned true.
5042 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5044         [BZ #17496]
5045         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5046         gen-as-const-headers chunk.  Add a big scare comment after the last
5047         safe place to touch before-compile.
5049 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5051         * manual/install.texi (Tools for Compilation): Update autoconf
5052         version requirements.
5053         * INSTALL: Regenerated.
5055         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5056         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5057         (__libc_pselect): Likewise.
5059         [BZ #14138]
5060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5065 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5067         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5068         correct barrier instruction.
5069         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5070         Likewise.
5071         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5072         Likewise.
5074 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5076         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5077         after defining inlines.  Instead, just use parens to defeat macro
5078         expansion of __isctype in its declaration.
5080 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5082         * include/sys/uio.h (__libc_readv): Remove declaration.
5083         (__libc_writev): Likewise.
5084         * misc/readv.c (__libc_readv): Rename to __readv.
5085         (__readv): Do not define as alias.
5086         (readv): Define as alias of __readv.
5087         * misc/writev.c (__libc_writev): Rename to __writev.
5088         (__writev): Do not define as alias.
5089         (writev): Define as alias of __writev.
5090         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5091         (__readv): Do not define as alias.
5092         (readv): Define unconditionally as alias of __readv.
5093         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5094         (__writev): Do not define as alias.
5095         (writev): Define unconditionally as alias of __writev.
5096         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5097         name.
5098         (writev): Do not define __libc_writev name.
5100 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5102         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5103         (convert_charseq): New function, broken out of ...
5104         (use_from_charmap): ... here.  Call it.
5105         (use_to_charmap): Use convert_charseq and free instead of duplicating
5106         its code with a variable-length stack struct.
5108 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5110         * include/fcntl.h (__libc_creat): Remove declaration.
5111         * io/creat.c (__libc_creat): Rename to creat.
5112         (creat): Do not define as alias.
5113         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5114         of creat instead of __libc_creat.
5115         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5116         to creat.
5117         (creat): Do not define as alias.
5118         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5119         __libc_creat.
5120         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5121         __libc_creat name.
5122         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5123         Likewise.
5125 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5127         * manual/llio.texi: Add comments discussing why write() may be
5128         considered MT-unsafe on Linux.
5130 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5132         * dl-load.c (local_strdup): Remove.
5133         (expand_dynamic_string_token): Use __strdup.
5134         (decompose_rpath): Likewise.
5135         (_dl_map_object): Likewise.
5137 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5139         [BZ #14132]
5140         * sysdeps/generic/unwind-dw2-fde.c
5141         (__register_frame_info_bases_internal): Do not declare.
5142         (__register_frame_info_table_bases_internal): Likewise.
5143         (__deregister_frame_info_bases_internal): Likewise.
5144         (__register_frame_info_bases): Declare and use hidden_proto before
5145         definition.  Use hidden_def instead of INTDEF.
5146         (__register_frame_info_table_bases): Likewise.
5147         (__deregister_frame_info_bases): Likewise.
5148         (__register_frame_info): Do not use INTUSE.
5149         (__register_frame): Likewise.
5150         (__register_frame_info_table): Likewise.
5151         (__register_frame_table): Likewise.
5152         (__deregister_frame_info): Likewise.
5153         (__deregister_frame): Likewise.
5155 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5157         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5158         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5159         not undefine.
5160         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5161         Likewise.
5162         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5163         Likewise.
5165 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5167         [BZ #14138]
5168         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5169         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5170         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5171         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5172         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5173         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5174         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5175         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5176         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5177         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5178         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5179         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5180         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5181         syscall.
5182         (setfsuid): Likewise.
5183         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5184         (setfsuid): Likewise.
5185         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5186         (setfsuid): Likewise.
5187         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5188         Likewise.
5189         (setfsuid): Likewise.
5190         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5191         (setfsuid): Likewise.
5192         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5193         Likewise.
5194         (setfsuid): Likewise.
5196 2014-10-27  Andreas Schwab  <schwab@suse.de>
5198         [BZ #17501]
5199         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5200         check for Slow_SSE4_2 feature bit.
5201         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5202         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5203         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5204         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5206 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5208         * configure.ac: Validate compiler version with a empirical test of
5209         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5210         $CC -v output.
5211         * configure: Regenerated.
5213         * inet/htons.c (htons): Prototypify.
5214         * inet/htonl.c (htonl): Likewise.
5216 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5218         * string/strncat.c (strncat): Improve performance by using strlen.
5220 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5222         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5224 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5226         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5227         Call libc_fetestexcept_aarch64.
5229 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5231         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5232         Call libc_feholdexcept_aarch64.
5234 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5236         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5237         Call get_rounding_mode.
5239 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5241         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5242         Simplify logic.
5244 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5246         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5247         Simplify logic.
5249 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5251         [BZ #14138]
5252         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5253         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5254         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5255         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5256         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5257         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5258         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5259         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5260         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5261         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5262         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5263         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5264         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5265         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5266         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5267         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5268         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5269         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5270         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5271         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5272         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5273         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5274         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5275         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5276         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5277         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5278         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5279         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5280         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5281         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5282         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5283         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5284         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5285         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5286         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5288         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5289         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5290         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5291         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5292         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5293         syscall.
5294         (geteuid): Likewise.
5295         (getgid): Likewise.
5296         (getuid): Likewise.
5297         (getresgid): Likewise.
5298         (getresuid): Likewise.
5299         (getgroups): Likewise.
5300         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5301         (geteuid): Likewise.
5302         (getgid): Likewise.
5303         (getuid): Likewise.
5304         (getresgid): Likewise.
5305         (getresuid): Likewise.
5306         (getgroups): Likewise.
5307         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5308         (geteuid): Likewise.
5309         (getgid): Likewise.
5310         (getuid): Likewise.
5311         (getresgid): Likewise.
5312         (getresuid): Likewise.
5313         (getgroups): Likewise.
5314         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5315         Likewise.
5316         (geteuid): Likewise.
5317         (getgid): Likewise.
5318         (getuid): Likewise.
5319         (getresgid): Likewise.
5320         (getresuid): Likewise.
5321         (getgroups): Likewise.
5322         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5323         (geteuid): Likewise.
5324         (getgid): Likewise.
5325         (getuid): Likewise.
5326         (getresgid): Likewise.
5327         (getresuid): Likewise.
5328         (getgroups): Likewise.
5329         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5330         Likewise.
5331         (geteuid): Likewise.
5332         (getgid): Likewise.
5333         (getuid): Likewise.
5334         (getgroups): Likewise.
5336         [BZ #14138]
5337         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5338         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5339         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5340         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5341         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5342         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5343         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5344         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5345         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5346         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5347         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5348         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5349         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5350         __chown.
5351         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5352         (lchown): Likewise.
5353         (fchown): Likewise.
5354         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5355         Likewise.
5356         (lchown): Likewise.
5357         (fchown): Likewise.
5358         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5359         (lchown): Likewise.
5360         (fchown): Likewise.
5361         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5362         Likewise.
5363         (lchown): Likewise.
5364         (fchown): Likewise.
5366 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5368         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5369         Simplify logic.
5371 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5373         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5374         Cleanup logic.
5376 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5378         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5379         Remove unused include.
5381 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5383         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5384         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5385         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5386         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5388 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5389             Helge Deller <deller@gmx.de>
5391         [BZ #17508]
5392         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5393         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5394         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5396 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #14132]
5399         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5400         Remove macro definition.
5401         (__ashrdi3_v_glibc20): Likewise.
5402         (__lshrdi3_v_glibc20): Likewise.
5403         (__cmpdi2_v_glibc20): Likewise.
5404         (__ucmpdi2_v_glibc20): Likewise.
5405         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5406         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5407         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5408         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5409         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5410         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5412 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5414         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5415         old GNU extension [0] syntax.
5416         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5417         alloca rather than an array member with variable length.
5418         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5419         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5420         (parse_opt): ... here.  Likewise use alloca there.
5421         Validate the -i argument before checking for rootness.
5422         (send_shutdown): New function, broken out of ...
5423         (parse_opt): ... here.
5425 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5427         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5428         macro to get at the _rt_local_ro field.
5429         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5430         ([PIC] case) or _dl_hwcap ([!PIC] case).
5431         * sysdeps/arm/setjmp.S: Likewise.
5433         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5434         * sysdeps/arm/configure.ac: New check to define it.
5435         * sysdeps/arm/configure: Regenerated.
5436         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5437         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5438         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5439         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5440         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5441         Use move/movt pair instead of a load.
5442         (LDST_GLOBAL): Macro removed.
5443         (LDR_GLOBAL): New macro replaces it.
5444         (LDR_HIDDEN): New macro.
5445         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5446         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5448         * setjmp/tst-setjmp-static.c: New file.
5449         * setjmp/Makefile (tests): Add it.
5450         (tests-static): New variable.
5452 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5454         [BZ #17485]
5455         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5457 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5459         [BZ #14132]
5460         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5462 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5464         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5466 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5468         * io/fts.c (dirent_not_directory): New function.
5469         (fts_build): Call it.
5471 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5473         * nptl/version.c (__nptl_main): Use normal __write rather than
5474         INTERNAL_SYSCALL.
5475         (banner): Update copyright years.
5477         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5478         gettimeofday.
5479         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5480         * nptl/pthread_cond_timedwait.c: Likewise.
5481         * nptl/pthread_mutex_timedlock.c: Likewise.
5482         * nptl/sem_timedwait.c: Likewise.
5484         * sysdeps/nptl/bits/libc-lock.h
5485         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5486         (__libc_lock_init_recursive): Return void, not 0.
5487         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5488         (__libc_rwlock_init): Likewise.
5489         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5491 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5493         [BZ #15215]
5494         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5495         (__pthread_once_slow): ... here.
5496         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5497         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5499 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5501         [BZ #15215]
5502         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5503         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5504         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5505         * nptl/pthread_once.c (__pthread_once): Likewise.
5506         Update comments.
5508 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5510         [BZ #14138]
5511         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5512         name.
5513         (writev): Use __libc_writev as strong name.
5514         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5515         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5517 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5519         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5521         * sysdeps/i386/nptl/tls.h
5522         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5523         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5524         New macros.
5525         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5526         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5527         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5528         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5529         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5530         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5532         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5533         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5534         on [__NR_futex].
5535         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5536         broken out of ...
5537         (__pthread_mutex_init): ... here.  Call it.
5538         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5539         Conditionalize PI cases on [__NR_futex].
5540         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5541         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5542         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5544         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5545         conditional on [SIGSETXID].
5546         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5547         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5548         is defined.  Likewise for SIGSETXID.
5549         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5550         Conditionalize definitions on [SIGSETXID].
5551         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5552         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5553         unblocking on [SIGCANCEL].
5555         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5556         [__NR_set_robust_list].
5558 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5560         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5561         (do_compare): Likewise.
5563 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5565         [BZ #15884]
5566         * string/strcoll_l.c: Don't include stdio.h.
5567         (coll_seq): Remove members idxarr and rulearr.
5568         (get_next_seq_cached): Remove function.
5569         (get_next_seq): Likewise.
5570         (get_next_seq_nocache): Rename to get_next_seq.
5571         (do_compare): Remove function.
5572         (do_compare_nocache): Rename to do_compare.
5573         (STRCOLL): Remove weight and rules cache.
5575 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5577         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5578         * sysdeps/arm/sfp-machine.h: ... to here.
5579         * sysdeps/arm/Implies: Remove arm/soft-fp.
5581 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5583         * conform/data/sys/utsname.h-data (*_t): Allow.
5584         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5585         [POSIX] (WEXITED): Do not expect constant.
5586         [POSIX] (WSTOPPED): Likewise.
5587         [POSIX] (WNOHANG): Likewise.
5588         [POSIX] (WNOWAIT): Likewise.
5589         [POSIX] (siginfo_t): Do not expect type or elements.
5590         [POSIX] (pid_t): Do not expect type.
5591         [POSIX] (signal.h): Do not allow header.
5592         [POSIX] (sys/resource.h): Likewise.
5593         [POSIX] (si_*): Do not allow pattern.
5594         [POSIX] (W*): Likewise.
5595         [POSIX] (P_*): Likewise.
5596         [POSIX] (BUS_*): Likewise.
5597         [POSIX] (CLD_*): Likewise.
5598         [POSIX] (FPE_*): Likewise.
5599         [POSIX] (ILL_*): Likewise.
5600         [POSIX] (POLL_*): Likewise.
5601         [POSIX] (SEGV_*): Likewise.
5602         [POSIX] (SI_*): Likewise.
5603         [POSIX] (TRAP_*): Likewise.
5604         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5605         variable.
5607 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5609         [BZ #12926]
5610         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5611         infinite loop when __recvmsg returns 0.
5613 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5615         * CANCEL-FCT-WAIVE: Remove file.
5616         * CANCEL-FILE-WAIVE: Likewise.
5618         [BZ #14132]
5619         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5620         instead of INTVARDEF.
5621         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5622         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5623         rtld_hidden_data_def instead of INTVARDEF.
5624         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5625         * elf/dl-deps.c (expand_dst): Likewise.
5626         * elf/dl-load.c (_dl_dst_count): Likewise.
5627         (_dl_dst_substitute): Likewise.
5628         (decompose_rpath): Likewise.
5629         (_dl_init_paths): Likewise.
5630         (open_path): Likewise.
5631         (_dl_map_object): Likewise.
5632         * elf/rtld.c (dl_main): Likewise.
5633         (process_dl_audit): Likewise.
5634         (process_envvars): Likewise.
5635         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5636         Remove declaration.
5637         (__libc_enable_secure): Use rtld_hidden_proto.
5639 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5641         * elf/dl-load.c
5642         (add_path): New function broken out of _dl_rtld_di_serinfo.
5643         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5645 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5647         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5648         parentheses around macro arguments.
5649         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5654         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5656         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5660         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5661         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5662         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5663         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5664         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5665         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5667         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5672         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5678         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5679         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5680         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5681         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5682         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5683         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5684         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5685         Likewise.
5686         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5687         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5688         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5690         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5691         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5692         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5693         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5694         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5695         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5696         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5697         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5698         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5699         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5707         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5708         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5709         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5710         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5711         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5712         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5713         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5714         (_FP_FRAC_SRS_1): Likewise.
5715         (_FP_FRAC_CLZ_1): Likewise.
5716         (_FP_MUL_MEAT_1_imm): Likewise.
5717         (_FP_MUL_MEAT_1_wide): Likewise.
5718         (_FP_MUL_MEAT_1_hard): Likewise.
5719         (_FP_SQRT_MEAT_1): Likewise.
5720         (_FP_FRAC_ASSEMBLE_1): Likewise.
5721         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5722         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5723         (__FP_CLZ_2): Likewise.
5724         (_FP_MUL_MEAT_2_wide): Likewise.
5725         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5726         (_FP_MUL_MEAT_2_gmp): Likewise.
5727         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5728         (_FP_SQRT_MEAT_2): Likewise.
5729         (_FP_FRAC_ASSEMBLE_2): Likewise.
5730         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5731         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5732         (_FP_FRAC_CLZ_4): Likewise.
5733         (_FP_MUL_MEAT_4_wide): Likewise.
5734         (_FP_MUL_MEAT_4_gmp): Likewise.
5735         (_FP_SQRT_MEAT_4): Likewise.
5736         (_FP_FRAC_ASSEMBLE_4): Likewise.
5737         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5738         * soft-fp/op-common.h (_FP_CMP): Likewise.
5739         (_FP_CMP_EQ): Likewise.
5740         (_FP_CMP_UNORD): Likewise.
5741         (_FP_TO_INT): Likewise.
5742         (_FP_FROM_INT): Likewise.
5743         [!__FP_CLZ] (__FP_CLZ): Likewise.
5744         (_FP_DIV_HELP_imm): Likewise.
5745         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5746         Likewise.
5747         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5749         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5752         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5757         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5758         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5759         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5760         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5761         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5762         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5763         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5770         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5771         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5773         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5774         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5775         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5776         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5777         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5778         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5779         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5780         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5781         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5782         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5783         (FP_UNPACK_RAW_SP): Likewise.
5784         (FP_PACK_RAW_S): Likewise.
5785         (FP_PACK_RAW_SP): Likewise.
5786         (FP_UNPACK_S): Likewise.
5787         (FP_UNPACK_SP): Likewise.
5788         (FP_UNPACK_SEMIRAW_S): Likewise.
5789         (FP_UNPACK_SEMIRAW_SP): Likewise.
5790         (FP_PACK_S): Likewise.
5791         (FP_PACK_SP): Likewise.
5792         (FP_PACK_SEMIRAW_S): Likewise.
5793         (FP_PACK_SEMIRAW_SP): Likewise.
5794         (_FP_SQRT_MEAT_S): Likewise.
5795         (FP_CMP_S): Likewise.
5796         (FP_CMP_EQ_S): Likewise.
5797         (FP_CMP_UNORD_S): Likewise.
5798         (FP_TO_INT_S): Likewise.
5799         (FP_FROM_INT_S): Likewise.
5801         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5803         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5804         (FP_EX_INVALID_IMZ): Likewise.
5805         (FP_EX_INVALID_IMZ_FMA): Likewise.
5806         (FP_EX_INVALID_ISI): Likewise.
5807         (FP_EX_INVALID_ZDZ): Likewise.
5808         (FP_EX_INVALID_IDI): Likewise.
5809         (FP_EX_INVALID_SQRT): Likewise.
5810         (FP_EX_INVALID_CVI): Likewise.
5811         (FP_EX_INVALID_VC): Likewise.
5812         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5813         "invalid" exceptions.
5814         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5815         (_FP_ADD_INTERNAL): Likewise.
5816         (_FP_MUL): Likewise.
5817         (_FP_FMA): Likewise.
5818         (_FP_DIV): Likewise.
5819         (_FP_CMP_CHECK_NAN): Likewise.
5820         (_FP_SQRT): Likewise.
5821         (_FP_TO_INT): Likewise.
5822         (FP_EXTEND): Likewise.
5824 2014-10-09  Allan McRae  <allan@archlinux.org>
5826         * po/fr.po: Update French translation from translation project.
5828 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #14132]
5831         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5832         of INTDEF.
5833         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5834         (__cxa_atexit): Use libc_hidden_proto.
5835         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5837         [BZ #14132]
5838         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5839         declaration.
5840         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5841         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5842         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5843         [!_ISOMAC] (__iswctype_internal): Likewise.
5844         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5845         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5846         alias.
5847         (fcntl): Remove __fcntl_internal alias.
5848         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5849         __connect_internal alias.
5850         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5851         Likewise.
5853         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5854         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5855         FP_DENORM_ZERO.
5856         (_FP_CHECK_FLUSH_ZERO): New macro.
5857         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5858         (_FP_CMP): Likewise.
5859         (_FP_CMP_EQ): Likewise.
5860         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5861         FP_DENORM_ZERO.
5862         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5863         (FP_TRUNC): Likewise.
5865         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5866         treated as invalid conversion, not as normal exponent.
5868         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5869         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5870         (_FP_CMP_EQ): Likewise.
5871         (_FP_CMP_UNORD): Likewise.
5872         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5873         (FP_CMP_EQ_D): Likewise.
5874         (FP_CMP_UNORD_D): Likewise.
5875         * soft-fp/extended.h (FP_CMP_E): Likewise.
5876         (FP_CMP_EQ_E): Likewise.
5877         (FP_CMP_UNORD_E): Likewise.
5878         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5879         (FP_CMP_EQ_Q): Likewise.
5880         (FP_CMP_UNORD_Q): Likewise.
5881         * soft-fp/single.h (FP_CMP_S): Likewise.
5882         (FP_CMP_EQ_S): Likewise.
5883         (FP_CMP_UNORD_S): Likewise.
5884         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5885         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5886         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5887         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5888         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5889         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5890         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5891         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5892         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5893         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5894         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5895         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5896         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5897         to FP_CMP_Q.
5898         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5899         FP_CMP_Q.
5900         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5901         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5902         FP_CMP_EQ_Q.
5903         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5904         FP_CMP_Q.
5905         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5906         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5907         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5908         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5909         FP_CMP_EQ_Q.
5910         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5911         FP_CMP_Q.
5912         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5913         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5914         FP_CMP_EQ_Q.
5915         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5916         FP_CMP_Q.
5917         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5918         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5919         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5920         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5921         FP_CMP_EQ_Q.
5923         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5924         a subnormal result, set the underflow exception if trapping on
5925         underflow is enabled.
5926         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5927         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5928         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5929         redefine to 0.
5930         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5931         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5932         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5933         * soft-fp/extendxftf2.c (__extendxftf2): Use
5934         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5936         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5937         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5938         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5939         FP_HANDLE_EXCEPTIONS.
5940         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5941         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5942         FP_HANDLE_EXCEPTIONS.
5943         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5944         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5945         FP_HANDLE_EXCEPTIONS.
5946         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5947         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5948         FP_HANDLE_EXCEPTIONS.
5950 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5952         [BZ #14132]
5953         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5954         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5955         use INTUSE.
5956         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5957         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5958         Remove alias.
5959         (__adjtimex): Define using libc_hidden_ver.
5960         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5961         Remove declaration.
5962         (ntp_gettime): Call __adjtimex directly.
5963         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5964         Remove declaration.
5965         (ntp_gettimex): Call __adjtimex directly.
5966         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5967         __adjtimex_internal alias.
5969 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5971         [BZ #17460]
5972         * nscd/nscd.c (more_help): Rewrite list of tables collection
5973         using xstrdup and asprintf.
5975         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5977 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5978             Roland McGrath  <roland@hack.frob.com>
5980         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5981         (do_lookup_unique): ... local function 'enter' here; update callers.
5983 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5985         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5986         compat_symbol calls on [SHARED].
5987         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5988         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5989         Remove.
5990         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5991         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5992         (oldsetrlimit): Remove.
5993         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5995         (lchown): New syscall entry.
5996         (oldsetrlimit): Remove.
5997         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5998         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5999         (oldsetrlimit): Remove.
6000         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6002         [BZ #14138]
6003         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6004         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6005         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6006         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6007         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6008         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6009         (fchown): Likewise.
6010         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6011         (fchown): Likewise.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6013         Likewise.
6015 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6018         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6019         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6020         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6021         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6022         Likewise.
6023         (__old_sem_post): Likewise.
6025 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6027         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6028         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6029         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6030         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6031         Use INLINE_VSYSCALL macro.
6032         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6033         __vdso_clock_gettime.
6034         * sysdeps/unix/sysv/linux/tile/init-first.c
6035         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6036         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6037         __vdso_clock_gettime.
6039         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6040         to set up frame more cleanly.
6042         * sysdeps/tile/memcmp.c: New file.
6044         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6046         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6047         * sysdeps/tile/tilegx/strcasestr.c: New file.
6048         * sysdeps/tile/tilegx/strnlen.c: New file.
6049         * sysdeps/tile/tilegx/strstr.c: New file.
6051         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6053 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6055         * nptl/tst-setuid3.c: Write errors to stdout.
6057 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6059         * elf/dl-deps.c
6060         (preload): New functions broken out of _dl_map_object_deps.
6061         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6063 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6065         [BZ #14138]
6066         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6067         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6069 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6071         * sysdeps/mips/strcmp.S: New.
6073 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6075         [BZ #14138]
6076         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6077         (linkat): Likewise.
6078         (mkdirat): Likewise.
6079         (readlinkat): Likewise.
6080         (renameat): Likewise.
6081         (symlinkat): Likewise.
6082         (unlinkat): Likewise.
6083         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6084         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6085         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6086         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6087         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6088         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6089         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6091 2014-09-30  Will Newton  <will.newton@linaro.org>
6093         * math/math.h: Define long double math functions if
6094         _LIBC_TEST is defined.
6095         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6097         * localedata/Makefile: Move assignment to tests-special
6098         into an ifdef testing run-built-tests.
6099         * timezone/Makefile: Likewise.
6101 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6103         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6104         with $(BASH) not $(SHELL).
6106 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6107             Matthew LeGendre  <legendre1@llnl.gov>
6109         [BZ #17411]
6110         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6111         l_reloc_result.
6113 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6115         * stdio-common/printf_fp.c
6116         (hack_digit): New function, broken out of ...
6117         (__printf_fp): ... local function here.  Update call sites.
6118         hack_digit now takes an additional parameter that is a pointer
6119         to a struct of the referenced locals.  Those locals moved inside
6120         the struct and references updated.
6122 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6124         * aclocal.m4: Require autoconf 2.69.
6125         * configure: Regenerated.
6126         * sysdeps/aarch64/configure: Likewise.
6127         * sysdeps/alpha/configure: Likewise.
6128         * sysdeps/arm/armv7/configure: Likewise.
6129         * sysdeps/arm/configure: Likewise.
6130         * sysdeps/ia64/configure: Likewise.
6131         * sysdeps/mach/configure: Likewise.
6132         * sysdeps/mips/configure: Likewise.
6133         * sysdeps/s390/configure: Likewise.
6134         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6137         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6138         file.
6139         * sysdeps/ia64/configure.ac: Likewise.
6141 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6144         specify symbol version for ld.so.  Do not include entry for
6145         libpthread.
6146         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6147         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6148         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6150         [BZ #14171]
6151         * Makeconfig [$(build-shared) = yes]
6152         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6153         makefiles.
6154         [$(build-shared) = yes && $(soversions.mk-done) = t]
6155         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6156         [$(build-shared) = yes && $(soversions.mk-done) = t]
6157         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6158         to Makerules.
6159         [$(build-shared) = yes && $(soversions.mk-done) = t]
6160         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6161         here.
6162         [$(build-shared) = yes && $(soversions.mk-done) = t]
6163         (common-generated): Don't append gnu/lib-names.h and
6164         gnu/lib-names.stmp here.
6165         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6166         (lib-names-h-abi): New variable.
6167         [$(build-shared) = yes && $(soversions.mk-done) = t]
6168         (lib-names-stmp-abi): Likewise.
6169         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6170         abi-variants] (before-compile): Append
6171         $(common-objpfx)$(lib-names-h-abi).
6172         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6173         abi-variants] (common-generated): Append gnu/lib-names.h.
6174         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6175         abi-variants] (install-others-nosubdir): Depend on
6176         $(inst_includedir)/$(lib-names-h-abi).
6177         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6178         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6179         [$(build-shared) = yes && $(soversions.mk-done) = t]
6180         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6181         [$(build-shared) = yes && $(soversions.mk-done) = t]
6182         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6183         [$(build-shared) = yes && $(soversions.mk-done) = t]
6184         (common-generated): Append $(lib-names-h-abi) and
6185         $(lib-names-stmp-abi).
6186         * scripts/lib-names.awk: Do not handle multi being set.
6187         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6188         Remove variable.
6189         (abi-lp64_be-ld-soname): Likewise.
6190         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6191         Likewise.
6192         (abi-hard-ld-soname): Likewise.
6193         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6194         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6195         Remove variable.
6196         (abi-o32_hard-ld-soname): Likewise.
6197         (abi-o32_soft_2008-ld-soname): Likewise.
6198         (abi-o32_hard_2008-ld-soname): Likewise.
6199         (abi-n32_soft-ld-soname): Likewise.
6200         (abi-n32_hard-ld-soname): Likewise.
6201         (abi-n32_soft_2008-ld-soname): Likewise.
6202         (abi-n32_hard_2008-ld-soname): Likewise.
6203         (abi-n64_soft-ld-soname): Likewise.
6204         (abi-n64_hard-ld-soname): Likewise.
6205         (abi-n64_soft_2008-ld-soname): Likewise.
6206         (abi-n64_hard_2008-ld-soname): Likewise.
6207         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6208         Likewise.
6209         (abi-64-v2-ld-soname): Likewise.
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6211         ld.so entries.
6212         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6213         variable.
6214         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6215         entry.
6216         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6217         variable.
6218         (abi-64-ld-soname): Likewise.
6219         (abi-x32-ld-soname): Likewise.
6220         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6221         entry.
6222         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6224 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6226         [BZ #14138]
6227         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6228         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6229         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6230         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6231         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6232         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6233         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6234         syscall entry for GLIBC_2.2 symbol version.
6235         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6236         Likewise.
6237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6238         (setrlimit): Likewise.
6239         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6240         Likewise.
6242 2014-09-23  Will Newton  <will.newton@linaro.org>
6244         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6245         _LINUX_ARM_SYSDEP_H include guard too.
6246         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6247         define.
6249 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6251         * sysdeps/unix/sysv/linux/eventfd.c:
6252         Make first argument unsigned.
6253         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6254         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6256 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6258         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6259         * socket/sys/socket.h: Likewise
6260         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6262 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6264         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6266 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6268         * time/tst-ftime.c: New test.
6269         * time/Makefile (tests): Add tst-ftime.
6271 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6273         * soft-fp/extended.h: Fix comment formatting.
6274         * soft-fp/op-1.h: Likewise.
6275         * soft-fp/op-2.h: Likewise.
6276         * soft-fp/op-4.h: Likewise.
6277         * soft-fp/op-8.h: Likewise.
6278         * soft-fp/op-common.h: Likewise.
6279         * soft-fp/soft-fp.h: Likewise.
6281         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6283 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6285         [BZ #6652]
6286         * Makeconfig (soversions-default-setname): Remove variable.
6287         ($(common-objpfx)soversions.i): Don't pass default_setname to
6288         soversions.awk.
6289         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6290         oldest_abi to abi-versions.awk.
6291         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6292         * config.make.in (oldest-abi): Remove variable.
6293         * configure.ac (--enable-oldest-abi): Remove configure option.
6294         * configure: Regenerated.
6295         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6296         text.
6297         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6298         * scripts/soversions.awk: Do not handle default_setname variable.
6299         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6300         variable.
6301         * sysdeps/mach/hurd/configure: Regenerated.
6302         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6303         variable.
6304         * sysdeps/unix/sysv/linux/configure: Regenerated.
6306 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6308         * elf/Makefile (CFLAGS-interp.c): Remove.
6309         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6310         path string.
6311         * elf/interp.c: Include generated runtime-linker.h
6313         * Makerules (lib%.so): Don't include $(+interp) in
6314         prerequisites.
6315         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6316         * dlfcn/eval.c: Remove file.
6318         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6319         macros.
6321         [BZ #17266]
6322         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6323         4.2 and newer.
6325         [BZ #17370]
6326         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6328 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6329             Jakub Jelinek  <jakub@redhat.com>
6331         [BZ #17266]
6332         * libio/stdio.h: Check definition of __fortify_function
6333         instead of __extern_always_inline to include bits/stdio2.h.
6334         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6335         check if __extern_always_inline is defined.
6336         [__USE_MISC || __USE_XOPEN]: Likewise.
6337         [__USE_ISOC99] Likewise.
6338         * misc/sys/cdefs.h (__fortify_function): Define only if
6339         __extern_always_inline is defined.
6340         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6341         __extern_always_inline and __extern_inline only for g++-4.3
6342         and newer or a compatible gcc.
6344 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6346         [BZ #17371]
6347         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6348         last change to handle zero prefix length.
6350 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6352         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6353         _SC_REGEX_VERSION.
6355         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6356         _POSIX_RAW_SOCKETS.
6358 2014-09-13  Allan McRae  <allan@archlinux.org>
6360         * po/ru.po: Update Russian translation from translation project.
6362 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6364         * locale/programs/locale.c (show_locale_vars): Inline local function
6365         into its sole call site.  Clean up some style nits.
6366         (print_item): New function, broken out of ...
6367         (show_info): ... local function here.  Clean up style nits.
6369         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6370         out of ...
6371         (set_class_defaults): ... local function set_default here.
6372         Define set_default as a macro locally to pass constant parameters.
6373         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6374         rather than a shared local.
6376         * stdlib/rpmatch.c (try): New function, broken out of ...
6377         (rpmatch): ... local function here.  Also, prototypify definition.
6379 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6381         * scripts/soversions.awk: Do not handle configuration names.
6382         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6383         vendor and os variables to soversions.awk.
6384         * configure.ac: Do not modify gnu-* host_os.
6385         * configure: Regenerated
6386         * shlib-versions: Remove first column with configuration names.
6387         * nptl/shlib-versions: Likewise.
6388         * nptl_db/shlib-versions: Likewise.
6389         * sysdeps/hppa/shlib-versions: Likewise.
6390         * sysdeps/m68k/shlib-versions: Likewise.
6391         * sysdeps/mach/hurd/shlib-versions: Likewise.
6392         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6393         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6394         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6395         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6396         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6397         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6398         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6399         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6401         Likewise.
6402         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6403         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6404         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6405         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6406         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6407         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6408         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6409         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6412         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6414         Regenerated.
6415         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6417         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6419         * shlib-versions: Remove OS-specific entries.  Moved to files in
6420         sysdeps.
6421         * sysdeps/mach/hurd/shlib-versions: New file.
6422         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6424         * nptl/shlib-versions: Remove architecture-specific entries.
6425         Moved to files in sysdeps.
6426         * shlib-versions: Likewise.
6427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6428         file.
6429         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6430         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6431         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6434         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6435         (UDP_NO_CHECK6_RX): Likewise.
6437 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6439         * sysdeps/posix/sysconf.c (__sysconf): Spell
6440         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6442 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6444         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6445         loading.
6446         * iconv/Versions (__gconv_transliterate): Export for use from
6447         gconv modules.
6448         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6449         (struct __gconv_trans_data, __gconv_trans_fct,
6450         __gconv_trans_context_fct, __gconv_trans_query_fct,
6451         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6452         definitions.
6453         (struct __gconv_step_data): Remove __trans member.
6454         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6455         longer hidden.  Remove unused trans_data argument.
6456         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6457         (__gconv_translit_find): Remove declaration.
6458         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6459         prototype.
6460         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6461         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6462         trans_data argument.  Add hidden definition.
6463         (__gconv_translit_find): Remove.
6464         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6465         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6466         * iconv/skeleton.c: Remove transliteration initialization.
6467         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6468         __gconv_step_data initialization.
6469         * libio/iofwide.c (__libio_translit_): Remove.
6470         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6471         * wcsmbs/btowc.c (__btowc): Likewise.
6472         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6473         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6474         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6475         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6476         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6477         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6478         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6479         * wcsmbs/wctob.c (wctob): Likewise.
6481 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6483         [BZ #16194]
6484         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6485         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6486         register usage.
6487         * sysdeps/x86/Makefile: Adjust.
6489 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6490             Roland McGrath  <roland@hack.frob.com>
6492         * locale/weight.h: Add include guard.
6493         (findidx): Make static rather than auto; take new parameters
6494         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6495         * locale/weightwc.h: Likewise.
6496         * posix/fnmatch_loop.c
6497         (FCT): Change type of EXTRA from int32_t to wint_t.
6498         Don't include either header inside the function.
6499         Call FINDIDX rather than findidx, and pass new arguments.
6500         #undef FINDIDX at the end of the file.
6501         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6502         FINDIDX before including fnmatch_loop.c for the non-wide version.
6503         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6504         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6505         for the wide version.
6506         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6507         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6508         Pass new arguments to findidx.
6509         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6510         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6511         Don't #include it inside the function.  Pass new arguments to findidx.
6512         * posix/regex_internal.h
6513         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6514         (re_string_elem_size_at): Don't #include it inside the function.
6515         Pass new arguments to findidx.
6516         * string/strcoll_l.c: #include WEIGHT_H at top level.
6517         (get_next_seq): Don't #include it inside the function.
6518         Pass new arguments to findidx.
6519         (get_next_seq_nocache): Likewise.
6520         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6521         (STRXFRM): Don't #include it inside the function.
6522         Pass new arguments to findidx.
6524 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6526         [BZ #17344]
6527         * malloc/malloc.c (unlink): Turn asserts into a call to
6528         malloc_printerr.
6530 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6532         [BZ #17370]
6533         * libio/wfileops (do_ftell_wide): Free OUT.
6535 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6537         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6539 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6541         [BZ #17363]
6542         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6543         group if the current group is empty.
6545 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6547         * benchtests/bench-memset.c (test_main): Add more test from size
6548         from 32 to 512 bytes.
6549         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6550         Add POWER8 memset object.
6551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6552         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6553         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6554         implementation.
6555         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6556         Likewise.
6557         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6558         multiarch POWER8 memset optimization.
6559         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6560         POWER8 memset optimization.
6562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6563         Remove bzero multiarch objects.
6564         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6565         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6566         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6567         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6568         Remove define.
6569         [__bzero]: Redefine to specific name.
6570         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6571         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6572         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6573         define.
6574         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6575         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6577 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6579         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6580         warnings into errors.
6582         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6583         __cxa_thread_atexit_impl prototype.
6585 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6587         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6588         Fix capitalization of error message.
6590 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6592         * sysdeps/mips/preconfigure: Modify ABI tests.
6594 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6596         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6598 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6599             Carlos O'Donell  <carlos@systemhalted.org>
6601         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6602         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6603         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6604         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6605         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6606         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6607         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6608         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6609         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6610         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6611         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6612         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6614         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6615         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6616         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6617         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6618         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6619         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6620         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6621         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6622         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6623         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6624         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6625         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6626         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6627         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6628         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6629         Deconditionalize the code that was previously under [RESET_PID].
6630         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6631         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6632         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6633         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6634         include sysdep.h.
6636 2014-09-08  Allan McRae  <allan@archlinux.org>
6638         * version.h (RELEASE): Set to "development".
6639         (VERSION): Set to "2.20.90"
6641 2014-09-07  Allan McRae  <allan@archlinux.org
6643         * version.h (RELEASE): Set to "stable".
6644         (VERSION): Set to "2.20"
6645         * include/features.h (__GLIBC_MINOR__): Set to 20.
6647         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6648         Liebler.
6650         * po/ko.po: Update Korean translation from translation project.
6652 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6654         [BZ #17354]
6655         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6656         macro for handling signed relocations.
6658 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6660         [BZ #17325]
6661         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6662         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6663         assert.
6664         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6665         * iconvdata/ibm935.c (BODY): Likewise.
6666         * iconvdata/ibm937.c (BODY): Likewise.
6667         * iconvdata/ibm939.c (BODY): Likewise.
6668         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6669         assert.
6670         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6671         script.
6672         * iconvdata/run-iconv-test.sh: New test loop for checking for
6673         decoder crashers.
6675 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6677         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6678         libm_hidden_ver.
6680 2014-09-01  Allan McRae  <allan@archlinux.org>
6682         * po/eo.po: Update Esperanto translation from translation project.
6684         * po/ca.po: Update Catalan translation from translation project.
6686 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6688         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6689         __proc_dostop call.
6691 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6693         [BZ #17319]
6694         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6695         to call set_thread_area instead of hand written asm.
6696         (__NR_set_thread_area): Removed define.
6697         (TLS_FLAG_WRITABLE): Likewise.
6698         (__ASSUME_SET_THREAD_AREA): Remove check.
6699         (TLS_EBX_ARG): Remove define.
6700         (TLS_LOAD_EBX): Likewise.
6702 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6704         Simplify atomicity of socket creation in bind.
6706         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6707         looking up the name after linking the file.
6709 2014-08-27  Allan McRae  <allan@archlinux.org>
6711         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6713 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6715         [BZ #17187]
6716         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6717         trans_compare, open_translit, __gconv_translit_find):
6718         Remove module loading code.
6720 2014-08-26  Allan McRae  <allan@archlinux.org>
6722         * po/vi.po: Update Vietnamese translation from translation project.
6724         * po/uk.po: Update Ukrainian translation from translation project.
6726         * po/fr.po: Update French translation from translation project.
6728         * po/ru.po: Update Russian translation from translation project.
6730         * po/pl.po: Update Polish translation from translation project.
6732         * po/cs.po: Update Czech translation from translation project.
6734         * po/de.po: Update German translation from translation project.
6736         * po/bg.po: Update Bulgarian translation from translation project.
6738         * po/sv.po: Update Sweedish translation from translation project.
6740         * po/nl.po: Update Dutch translation from translation project.
6742         * po/es.po: Update Spanish translation from translation project.
6744 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6746         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6748         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6749         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6750         (CPPFLAGS-iconvconfig): Likewise.
6751         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6753         * include/libc-symbols.h: Remove unnecessary check for
6754         NOT_IN_libc.
6755         * nptl/pthreadP.h: Likewise.
6756         * sysdeps/aarch64/setjmp.S: Likewise.
6757         * sysdeps/alpha/setjmp.S: Likewise.
6758         * sysdeps/arm/sysdep.h: Likewise.
6759         * sysdeps/i386/setjmp.S: Likewise.
6760         * sysdeps/m68k/setjmp.c: Likewise.
6761         * sysdeps/posix/getcwd.c: Likewise.
6762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6763         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6764         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6765         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6766         * sysdeps/sh/sh3/setjmp.S: Likewise.
6767         * sysdeps/sh/sh4/setjmp.S: Likewise.
6768         * sysdeps/unix/alpha/sysdep.h: Likewise.
6769         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6771         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6772         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6775         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6777         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6778         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6780         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6782         * sysdeps/x86_64/setjmp.S: Likewise.
6784 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6786         [BZ #17263]
6787         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6788         <stdint.h>.
6789         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6790         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6792 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6794         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6796         [BZ #17262]
6797         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6798         and __x86_64__ when disabling x87 inline functions.
6800 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6802         [BZ #17259]
6803         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6804         asm statement with __cpuid_count.
6806 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6808         * configure.ac: Change __ehdr_start code to dereference the struct.
6809         Run readelf on the output to look for relocations.
6810         * configure: Regenerated.
6812 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6814         [BZ #17261]
6815         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6816         value to 0.
6817         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6819 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6821         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6823 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6825         [BZ #16892]
6826         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6827         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6829 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6831         * malloc/malloc.c: Fix typo in comment.
6833 2014-08-09  Allan McRae  <allan@archlinux.org>
6835         * Regenerate libc.po.
6837 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6839         * intl/tst-gettext2.sh: Check every lang file for creation.
6841 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6843         * sysdeps/aarch64/fpu/math_private.h
6844         (libc_feholdsetround_noex_aarch64_ctx): New function.
6846 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6848         * sysdeps/arm/armv6/strcpy.S (strcpy):
6849         Fix performance issue in misaligned cases.
6851 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6853         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6854         Move definition from termios.h.
6855         (struct termio): Likewise.
6856         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6857         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6858         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6859         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6860         Likewise.
6861         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6862         Move definition to ioctl-types.h
6863         (struct termio): Likewise.
6864         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6865         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6866         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6867         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6868         Likewise.
6870 2014-08-05  Richard Henderson  <rth@redhat.com>
6872         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6873         exceptions.
6874         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6875         Add fraiseexcpt.
6876         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6877         Use __feraiseexcept.
6878         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6879         Protect libm symbols with IS_IN_libm.
6881         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6883 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6885         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6887 2014-08-04  Will Newton  <will.newton@linaro.org>
6889         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6890         file.
6892 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6894         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6895         variants for each function.
6897 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6899         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6900         appended ...
6901         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6902         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6903         appended ...
6904         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6905         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6906         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6907         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6908         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6909         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6910         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6911         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6912         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6913         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6914         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6915         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6916         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6917         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6918         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6919         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6920         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6921         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6922         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6923         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6924         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6925         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6926         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6927         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6928         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6930         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6931         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6932         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6933         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6934         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6935         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6936         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6937         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6938         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6939         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6940         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6941         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6942         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6943         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6944         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6946         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6947         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6948         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6949         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6950         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6952         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6953         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6954         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6955         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6956         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6957         Update #include.
6958         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6959         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6961 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6963         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6964         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6965         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6966         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6967         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6968         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6970 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6972         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6973         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6974         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6975         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6977 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6979         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6980         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6981         (__libc_vfork): Define function under this name.
6982         (__vfork): Define as an alias.
6983         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6984         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6986 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6988         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6989         that was previously under [RESET_PID].
6990         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6992 2014-08-04  Andreas Schwab  <schwab@suse.de>
6994         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6996 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6998         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6999         (main): Likewise.
7001 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7003         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7005 2014-08-01  Richard Henderon  <rth@redhat.com>
7007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7008         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7009         typo in exact zero test.
7010         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7011         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7012         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7014 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7016         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7017         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7018         * sysdeps/arm/sysdep.h: ... here.
7019         [!__ASSEMBLER__]: Include <stdint.h>.
7021 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7023         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7024         (HAVE_WCTYPE_H): Likewise.
7025         (HAVE_ISWCTYPE): Likewise.
7026         (ENABLE_NLS): Likewise.
7027         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7028         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7030         * posix/regex_internal.c: Check if DEBUG is defined and is
7031         set.
7033         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7034         (HAVE_MBSRTOWCS): Likewise.
7035         * posix/fnmatch.c: Include string.h unconditionally.
7037 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7039         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7040         reversal.
7042 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7044         * sysdeps/generic/safe-fatal.h: New file.
7045         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7046         * nptl/forward.c: Include it.
7047         (__pthread_unwind): Use __safe_fatal as default action, rather
7048         than a bogus use of INTERNAL_SYSCALL that could never work.
7050         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7051         * configure.ac (libc_cv_builtin_trap): New test.
7052         * configure: Regenerated.
7053         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7054         (ABORT_INSTRUCTION): Define using __builtin_trap.
7056         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7057         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7058         * sysdeps/nptl/nptl-signals.h: New file.
7059         * nptl/pthreadP.h: Include <nptl-signals.h>.
7061 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7063         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7064         (ONE_DIRECTION): Define.
7065         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7066         (ONE_DIRECTION): Define.
7067         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7068         (ONE_DIRECTION): Define.
7070 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7072         * sysdeps/s390/Makefile: Delete file.
7073         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7074         * sysdeps/s390/__longjmp.c: Delete file.
7075         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7076         Remove fields __flags and __reserved.
7077         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7078         and add versioning.
7079         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7080         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7081         * sysdeps/s390/rtld-setjmp.S: Likewise.
7082         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7083         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7084         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7085         * sysdeps/s390/s390-32/setjmp.S: ... here.
7086         Add versioning.
7087         (__sigsetjmp): Remove setting __flags field.
7088         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7089         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7090         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7091         * sysdeps/s390/s390-64/setjmp.S: ... here.
7092         Add versioning.
7093         (__sigsetjmp): Remove setting __flags field.
7094         * sysdeps/s390/setjmp.S: Delete file.
7095         * sysdeps/s390/sigjmp.c: Likewise.
7096         * sysdeps/s390/v1-longjmp.c: Likewise.
7097         * sysdeps/s390/v1-setjmp.h: Likewise.
7098         * sysdeps/s390/v1-sigjmp.c: Likewise.
7099         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7100         Remove v1-longjmp_chk.
7101         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7102         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7103         Include debug/longjmp_chk.c and add versioning.
7104         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7105         Include nptl/pt-longjmp.c and add versioning.
7106         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7107         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7108         Include __longjmp.c.
7109         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7110         Move to ...
7111         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7112         (__getcontext): Remove setting __flags field.
7113         Add versioning.
7114         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7115         Don't restore upper high grps.
7116         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7117         Likewise.
7118         (__swapcontext): Remove setting uc_flags field.
7119         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7120         Delete file.
7121         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7122         Include __longjmp.c.
7123         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7124         Move to ...
7125         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7126         (__getcontext): Remove setting __flags field.
7127         Add versioning.
7128         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7129         (__swapcontext): Remove setting uc_flags field.
7130         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7131         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7132         Remove fields uc_high_gprs and __reserved.
7133         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7134         New file with reverted content.
7135         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7136         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7137         Regenerated.
7138         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7139         Regenerated.
7141 2014-07-31  Andreas Schwab  <schwab@suse.de>
7143         * config.h.in (HAVE_IFUNC): Define to 0.
7144         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7145         definedness.
7147 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7150         memmove-avx-unaligned, memcpy-avx-unaligned and
7151         mempcpy-avx-unaligned.
7152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7153         Add tests for AVX memcpy functions.
7154         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7155         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7156         memcpy_chk.
7157         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7158         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7159         memmove_chk.
7160         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7161         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7162         mempcpy_chk.
7163         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7164         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7165         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7167 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7169         [BZ #17213]
7170         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7171         powerpc64le.
7173 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7175         [BZ #16839]
7176         * manual/llio.texi: Add section about open file description locks.
7177         * manual/examples/ofdlocks.c: Example of open file description
7178         lock usage.
7179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7180         F_OFD_SETLK, and F_OFD_SETLKW.
7182 2014-07-23  Allan McRae  <allan@archlinux.org>
7184         * po/es.po: Update Spanish translation from translation project.
7186 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7188         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7190 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7192         [BZ #17078]
7193         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7194         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7195         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7197 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #17088]
7200         * math/fesetenv.c (__fesetenv)
7201         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7202         * math/feupdateenv.c (__feupdateenv)
7203         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7205         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7206         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7207         (__ASSUME_SOCKETCALL): Do not define.
7209         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7210         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7211         (__ASSUME_SOCKETCALL): Do not define.
7212         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7213         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7214         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7215         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7217         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7218         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7219         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7222         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7223         (__ASSUME_SOCKETCALL): Do not define.
7224         (__ASSUME_IPC64): Define unconditionally.
7225         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7226         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7227         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7228         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7229         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7230         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7231         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7232         Likewise.
7234         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7235         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7236         (__ASSUME_SOCKETCALL): Do not define.
7237         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7238         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7239         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7240         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7241         (__ASSUME_REQUEUE_PI): Define unconditionally.
7242         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7243         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7244         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7245         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7247         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7249         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7250         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7251         (__ASSUME_SOCKETCALL): Do not define.
7252         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7253         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7254         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7255         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7257         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7259         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7260         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7261         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7262         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7263         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7264         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7265         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7266         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7267         (__ASSUME_GETCPU_SYSCALL): Likewise.
7269         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7270         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7271         cases for individual architectures.
7272         * sysdeps/gnu/configure: Regenerated.
7273         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7274         LIBC_SLIBDIR_RTLDDIR.
7275         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7276         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7277         LIBC_SLIBDIR_RTLDDIR.
7278         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7280         LIBC_SLIBDIR_RTLDDIR.
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7282         Regenerated.
7283         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7284         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7285         file.
7286         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7287         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7288         file.
7289         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7290         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7291         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7292         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7294         * sysdeps/aarch64/shlib-versions: Move to ...
7295         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7296         * sysdeps/alpha/shlib-versions: Move to ...
7297         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7298         * sysdeps/arm/shlib-versions: Move to ...
7299         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7300         * sysdeps/hppa/shlib-versions: Move all contents except for
7301         libgcc_s entry to ...
7302         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7303         entry from ...
7304         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7305         * sysdeps/ia64/shlib-versions: Move to ...
7306         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7307         entry from ...
7308         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7309         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7310         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7311         * sysdeps/microblaze/shlib-versions: Move to ...
7312         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7313         * sysdeps/mips/shlib-versions: Move to ...
7314         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7315         entry from ...
7316         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7317         * sysdeps/tile/shlib-versions: Move to ...
7318         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7319         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7320         from ...
7321         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7322         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7323         entry from ...
7324         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7326 2014-07-17  Will Newton  <will.newton@linaro.org>
7328         * sysdeps/arm/bits/atomic.h
7329         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7330         (__arch_compare_and_exchange_bool_16_int): Likewise.
7331         (__arch_compare_and_exchange_bool_64_int): Likewise.
7333         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7334         into an #else block.
7336 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7338         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7339         just Linux configurations.  Test empirically that the compiler sets
7340         __ARM_EABI__, rather than using the tuple to decide.
7341         * sysdeps/arm/preconfigure: Regenerated.
7342         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7343         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7344         contents appended ...
7345         * sysdeps/arm/configure.ac: ... here.
7346         * sysdeps/arm/configure: Regenerated.
7348 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7350         * nptl/pthread_kill.c: New file.
7351         * nptl/pthread_sigmask.c: New file.
7352         * nptl/pthread_sigqueue.c: New file.
7354         * sysdeps/nptl/lowlevellock.h: New file.
7355         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7356         * sysdeps/nptl/lowlevellock-futex.h: New file.
7358         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7359         Remove dead declarations.
7361 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7363         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7364         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7365         config-cflags-avx2.
7366         * sysdeps/x86_64/configure.ac: Likewise.
7367         * sysdeps/i386/configure: Regenerated.
7368         * sysdeps/x86_64/configure: Likewise.
7369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7370         memset-avx2 only if config-cflags-avx2 is yes.
7371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7372         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7373         defined.
7374         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7375         only if HAVE_AVX2_SUPPORT is defined.
7376         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7378 2014-07-14  Alan Modra  <amodra@gmail.com>
7380         [BZ #17153]
7381         * elf/elf.h (DT_PPC64_NUM): Correct value.
7382         * NEWS: Add to fixed bug list.
7384 2014-07-13  Jim Meyering  <meyering@fb.com>
7386         [BZ 17150]
7387         regex: don't deref NULL upon heap allocation failure
7388         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7389         failure in one more place.
7390         To trigger the segfault, configure grep -with-included-regex,
7391         build it, and run these commands:
7392         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7394 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7398 2014-07-11  Richard Henderson  <rth@redhat.com>
7400         * sysdeps/aarch64/libm-test-ulps: Update.
7402 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7404         [BZ #17135]
7405         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7406         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7407         (__nptl_setxid): Initialize error member.  Call
7408         __nptl_setxid_error.
7409         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7410         * nptl/descr.h (struct xid_command): Add error member.
7411         * nptl/tst-setuid3.c: New file.
7412         * nptl/Makefile (tests): Add it.
7414 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7416         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7417         New define.
7418         (__lll_trylock): Use __lll_base_trylock.
7419         (__lll_cond_trylock): Likewise.
7421 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7423         * nptl/pthread_create.c (start_thread): Use atomic_or and
7424         lll_futex_wake directly rather than lll_robust_dead.
7425         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7426         (lll_robust_dead): Macro removed.
7427         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7428         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7429         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7430         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7431         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7432         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7433         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7434         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7435         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7436         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7437         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7439         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7440         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7441         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7443         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7444         Use atomic_compare_and_exchange_val_acq directly rather than
7445         lll_robust_trylock.
7446         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7447         (__lll_robust_trylock, lll_robust_trylock): Removed.
7448         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7449         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7450         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7451         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7452         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7453         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7454         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7455         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7456         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7457         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7458         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7459         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7460         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7461         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7463 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7465         * manual/locale.texi (Locale Names): New section documenting
7466         locale name syntax.  Adjust menu and node chaining accordingly.
7467         (Choosing Locale): Reference Locale Names, Locale Categories.
7468         Mention setting LC_ALL=C.  Reflect that name syntax is now
7469         documented.
7470         (Locale Categories): New section title.  Reference Locale Names.
7471         LC_ALL is an environment variable, but not a category.
7472         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7473         description, now in Locale Name.  Reference that section.  Locale
7474         name syntax is now documented.
7476 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7478         [BZ #17137]
7479         * locale/findlocale.c (name_present, valid_locale_name): New
7480         functions.
7481         (_nl_find_locale): Use the loc_name variable to store name
7482         candidates.  Call name_present and valid_locale_name to check and
7483         validate locale names.  Return an error if the locale is invalid.
7485 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7487         * locale/setlocale.c (setlocale): Use strdup for allocating
7488         composite name copy.
7490 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7492         Sync up with gnulib.
7493         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7494         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7495         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7496         and _GL_ARG_NONNULL.
7497         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7498         [!_LIBC]: Include code for Windows and Cygwin.
7499         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7500         Include prototype for int strerror_r.
7501         [!_LIBC] (is_open): New function.
7502         (flush_stdout): New function.
7503         (print_errno_message): Use it.
7504         (error): Likewise.
7505         (error_at_line): Likewise.
7506         (error_tail) Add function attribute macros.  Use
7507         __builtin_expect.
7509         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7511         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7513         * io/ftw.c: Include sys/param.h unconditionally.
7515         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7517         [BZ #17125]
7518         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7519         libc_freeres_ptr.
7520         (freecache): New function to free CACHE on exit.
7522         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7523         initialization.
7525 2014-07-09  David S. Miller  <davem@davemloft.net>
7527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7529         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7530         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7531         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7532         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7533         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7534         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7535         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7536         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7537         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7538         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7539         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7540         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7541         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7543 2014-07-09  Andreas Schwab  <schwab@suse.de>
7545         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7546         output.
7547         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7548         (do_test): Likewise.
7550         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7552 2014-07-09  Will Newton  <will.newton@linaro.org>
7554         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7555         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7556         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7557         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7558         * sysdeps/hppa/start.S (_start): Likewise.
7560 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7562         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7564         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7565         defined.
7567 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7569         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7570         after checking that it is non-NULL.
7572         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7574 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7576         * sysdeps/powerpc/memmove.c: Remove file.
7577         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7578         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7579         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7580         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7581         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7582         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7583         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7584         string memmove instead of removed powerpc one.
7586         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7587         [weak_alias]: Fix compiler warning due trailing data.
7588         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7589         [weak_alias]: Likewise.
7590         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7591         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7594         (__libc_ifunc_impl_list): Add memmove functions.
7596 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7598         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7599         Remove code.
7600         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7601         Likewise
7602         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7603         Likewise
7604         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7605         Likewise
7606         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7607         Likewise
7608         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7609         Likewise
7610         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7611         Likewise
7612         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7613         Likewise
7614         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7615         Likewise
7616         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7617         Likewise
7618         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7619         Likewise
7620         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7621         Likewise
7622         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7623         Likewise
7624         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7625         Likewise
7626         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7627         Likewise
7628         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7629         Likewise
7630         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7631         Likewise
7633 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7635         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7636         to avoid alignment traps in non-cacheable memory.
7637         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7640         multiarch objects.
7641         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7642         file: multiarch power7 memmove.
7643         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7644         multiarch default memmove.
7645         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7646         multiarch memove for powerpc32/power4.
7648         * string/bcopy.c: Use full path to include memmove.c.
7649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7650         multiarch objects.
7651         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7652         bcopy for powerpc64.
7653         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7654         bcopy for powerpc64.
7655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7656         and memmove implementations.
7657         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7658         optimized multiarch memmove for POWER7/powerpc64.
7659         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7660         default multiarch memmove for powerpc64.
7661         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7662         multiarch for powerpc64.
7663         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7664         for POWER7/powerpc64.
7665         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7666         memmove for POWER7/powerpc64.
7668         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7669         glibc default one.
7671         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7672         __ELF_NATIVE_CLASS equal to 64.
7674 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7676         * sysdeps/nptl/lowlevellock.h: File removed.
7678         * NEWS: NPTL is no longer an add-on!
7679         * nptl/internaltypes.h: Moved ...
7680         * sysdeps/nptl/internaltypes.h: ... here.
7681         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7682         * sysdeps/nptl/fork.c: Likewise.
7683         * sysdeps/nptl/gai_misc.h: Likewise.
7684         * sysdeps/nptl/librt-cancellation.c: Likewise.
7685         * sysdeps/nptl/jmp-unwind.c: Likewise.
7686         * sysdeps/nptl/setxid.h: Likewise.
7687         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7688         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7689         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7690         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7691         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7692         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7693         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7694         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7695         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7696         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7697         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7698         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7699         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7700         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7701         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7702         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7703         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7704         * nptl/Makeconfig: Moved ...
7705         * sysdeps/nptl/Makeconfig: ... here.
7706         * nptl/configure: File removed.
7707         * nptl/ANNOUNCE: File removed.
7708         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7709         * sysdeps/unix/sysv/linux/configure: Regenerated.
7711         * nptl/Makefile (routines): Add libc_pthread_init,
7712         libc_multiple_threads, register-atfork and unregister-atfork.
7713         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7714         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7715         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7716         pthread-pi-defines.sym, structsem.sym.
7717         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7718         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7719         [$(subdir) = nptl] (tests): Add tst-setgetname.
7720         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7721         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7722         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7723         [!LIBC_SIGACTION]: Remove aliases.
7724         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7725         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7726         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7727         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7728         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7729         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7730         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7731         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7732         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7733         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7734         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7735         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7736         __libc_allocate_rtsig_private.
7737         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7738         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7739         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7740         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7741         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7742         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7743         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7744         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7745         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7746         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7747         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7748         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7749         * nptl/internaltypes.h: ... here.
7750         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7751         * sysdeps/nptl/jmp-unwind.c: ... here.
7752         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7753         * nptl/libc-lowlevellock.c: ... here.
7754         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7755         * nptl/libc_multiple_threads.c: ... here.
7756         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7757         * nptl/libc_pthread_init.c: ... here.
7758         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7759         * nptl/lowlevelbarrier.sym: ... here.
7760         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7761         * nptl/lowlevelcond.sym: ... here.
7762         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7763         * nptl/lowlevellock.c: ... here.
7764         * nptl/lowlevellock.h: Moved ...
7765         * sysdeps/nptl/lowlevellock.h: ... here.
7766         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7767         * nptl/lowlevelrobustlock.c: ... here.
7768         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7769         * nptl/lowlevelrobustlock.sym: ... here.
7770         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7771         * nptl/lowlevelrwlock.sym: ... here.
7772         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7773         * nptl/pt-fork.c: ... here.
7774         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7775         * nptl/pthread-pi-defines.sym: ... here.
7776         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7777         * nptl/pthread_attr_getaffinity.c: ... here.
7778         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7779         * nptl/pthread_attr_setaffinity.c: ... here.
7780         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7781         * nptl/pthread_mutex_cond_lock.c: ... here.
7782         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7783         Update #include.
7784         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7785         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7786         * nptl/pthread_once.c: ... here, replacing old file.
7787         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7788         * nptl/pthread_yield.c: ... here.
7789         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7790         * nptl/register-atfork.c: ... here.
7791         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7792         * nptl/sem_post.c: ... here.
7793         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7794         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7795         * nptl/sem_timedwait.c: ... here.
7796         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7797         * nptl/sem_trywait.c: ... here.
7798         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7799         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7800         * nptl/sem_wait.c: ... here.
7801         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7802         * nptl/structsem.sym: ... here.
7803         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7804         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7805         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7806         * nptl/unregister-atfork.c: ... here.
7807         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7808         * nptl/unwindbuf.sym: ... here.
7809         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7810         * sysdeps/nptl/fork.c: ... here.
7811         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7812         * sysdeps/nptl/fork.h: ... here.
7813         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7814         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7815         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7816         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7817         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7818         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7819         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7820         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7821         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7822         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7823         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7824         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7825         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7826         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7827         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7828         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7829         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7830         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7831         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7832         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7833         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7834         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7835         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7836         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7837         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7838         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7839         * sysdeps/unix/sysv/linux/raise.c: ... here.
7840         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7841         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7842         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7843         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7844         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7845         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7846         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7847         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7848         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7849         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7850         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7851         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7852         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7853         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7854         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7856 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7858         * sysdeps/generic/memcopy.h: Add comment for
7859         MEMCPY_OK_FOR_FWD_MEMMOVE.
7861 2014-07-04  Will Newton  <will.newton@linaro.org>
7863         * string/memchr.c: Merge from gnulib.
7864         [_LIBC]: Remove conditionals.
7865         (__ptr_t): Remove define.
7866         (LONG_MAX_32_BITS): Likewise.
7867         (LONG_MAX): Likewise.
7868         (MEMCHR): Use ANSI prototype and optimize algorithm.
7870         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7872 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7874         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7875         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7877         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7878         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7879         in a bare environment with no <stdlib.h> installed.
7880         * sysdeps/nptl/configure: Regenerated.
7882         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7884         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7885         AC_EGREP_CPP for kernel header checks, so they only succeed if
7886         including <linux/version.h> actually works right.
7887         * sysdeps/unix/sysv/linux/configure: Regenerated.
7889         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7890         value so it's not diagnosed as unused.
7892         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7893         thing) with "ifeq ($(subdir),rt)".
7895 2014-07-03  Richard Henderson  <rth@redhat.com>
7897         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7898         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7899         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7901         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7902         (math_force_eval): New.
7904         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7905         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7907         * sysdeps/alpha/fpu/s_round.c: Remove file.
7908         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7910         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7911         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7912         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7913         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7914         (_dl_start, print_statistics): Likewise.
7915         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7916         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7918         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7919         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7920         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7921         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7922         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7923         (HP_SMALL_TIMING_AVAIL): Define.
7924         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7925         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7926         (HP_SMALL_TIMING_AVAIL): Define.
7927         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7928         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7930         * sysdeps/aarch64/hp-timing.h: New file.
7932         * sysdeps/generic/hp-timing.h: Remove dead comment.
7933         * sysdeps/generic/hp-timing-common.h: New file.
7934         * sysdeps/alpha/hp-timing.h: Include it.
7935         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7936         * sysdeps/i386/i686/hp-timing.h: Likewise.
7937         * sysdeps/ia64/hp-timing.h: Likewise.
7938         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7939         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7940         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7941         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7942         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7943         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7944         (hp_timing_t): New.
7946         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7947         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7948         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7949         * elf/rtld.c (_dl_start_final): Likewise.
7950         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7951         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7952         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7953         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7954         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7955         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7956         (HP_TIMING_DIFF_INIT): Remove.
7957         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7958         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7959         (HP_TIMING_DIFF_INIT): Remove.
7960         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7961         * sysdeps/i386/i686/hp-timing.c: Remove file.
7962         * sysdeps/x86_64/hp-timing.c: Remove file.
7963         * sysdeps/ia64/hp-timing.c: Remove file.
7964         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7965         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7966         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7967         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7969         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7970         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7971         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7972         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7973         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7974         (HP_TIMING_ACCUM): Remove.
7975         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7976         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7977         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7979         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7980         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7981         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7982         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7984         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7985         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7986         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7988         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7990 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7992         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7994 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7996         Sync up with gettext.
7997         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7998         [_MSC_VER]: Include malloc.h
7999         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8000         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8001         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8002         TEMP_FAILURE_RETRY.  Cast return of alloca.
8003         [!_LIBC] Call gl_rwlock_init.
8004         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8006 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8008         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8009         before checking its value.
8011 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8013         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8015         * debug/memcpy_chk.c: Don't include pagecopy.h.
8016         * debug/mempcpy_chk.c: Likewise.
8017         * string/memcpy.c: Likewise.
8018         * string/memmove.c: Likewise.
8019         * sysdeps/powerpc/memmove.c: Likewise.
8020         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8021         definition of PAGE_COPY_FWD_MAYBE here...
8022         * sysdeps/generic/pagecopy.h: ... from here.
8023         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8025 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8026             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8028         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8030         optimizations.
8031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8032         (__libc_ifunc_impl_list): Likewise.
8033         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8034         multiarch strcat for PPC64.
8035         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8036         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8038 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8040         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8042 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8044         * intl/loadmsgcat.c: Remove declaration of
8045         get_sysdep_segment_value.
8046         (get_sysdep_segment_value): Use ISO C style.
8047         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8048         semicolon.  Fix typo and formatting in comment.
8049         (_nl_unload_domain): Use ISO C style.
8051         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8053 2014-07-02  Will Newton  <will.newton@linaro.org>
8055         * malloc/obstack.c: Merge from gnulib master.
8056         [HAVE_CONFIG_H]: Remove conditional code.
8057         [!_LIBC]: Include config.h.
8058         [!ELIDE_CODE]: Don't include inttypes.h, include
8059         stdint.h unconditionally.
8060         (print_and_abort): Mark as _Noreturn.
8061         (_obstack_allocated_p): Mark as __attribute_pure__.
8062         (obstack_free): Rename to __obstack_free.
8063         [!__attribute__]: Remove conditional code.
8064         * malloc/obstack.h: Merge from gnulib master.
8065         [__cplusplus]: Move conditional down.
8066         [!__attribute_pure__]: Define __attribute_pure__ here
8067         if it is not already defined.
8068         (_obstack_memory_used): Mark as __attribute_pure__.
8069         [!__obstack_free]: Define as obstack_free.
8070         [__GNUC__]: Remove check for ancient NeXT gcc.
8072 2014-07-02  Will Newton  <will.newton@linaro.org>
8073             Paul Eggert  <eggert@cs.ucla.edu>
8075         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8077 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8079         * resolv/gethnamaddr.c: Add comment warning that the file is
8080         not maintained.
8082 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8084         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8085         entries.
8087         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8088         entry for aio_cancel and aio_cancel64.
8089         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8090         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8091         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8092         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8093         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8094         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8096         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8097         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8098         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8099         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8100         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8101         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8103 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8105         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8106         * nptl/pthread_mutex_lock.c: Likewise.
8107         * nptl/pthread_mutex_timedlock.c: Likewise.
8108         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8110 2014-07-01  Richard henderson  <rth@redhat.com>
8112         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8113         (__isnan, __isnanl): Remove.
8114         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8116         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8118 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8120         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8122 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8124         * resolv/nss_dns/dns-host.c (getanswer_r)
8125         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8127 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8129         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8130         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8131         undefine.
8132         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8133         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8135 2014-07-01  Roland McGrath <roland@hack.frob.com>
8137         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8138         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8140         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8141         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8143         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8144         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8145         ... here.
8146         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8147         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8149         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8150         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8151         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8152         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8154         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8155         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8156         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8157         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8158         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8159         Moved ...
8160         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8161         ... here.
8162         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8163         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8164         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8165         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8166         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8167         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8168         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8169         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8170         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8171         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8172         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8173         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8174         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8175         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8176         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8177         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8178         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8179         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8180         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8181         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8182         ... here.
8183         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8184         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8185         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8186         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8188         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8189         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8190         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8192 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8194         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8195         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8196         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8197         Add sysdep.
8199 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8203 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8205         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8206         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8208         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8210         * sysdeps/arm/libm-test-ulps: Regenerated.
8212 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8213             Roland McGrath <roland@hack.frob.com>
8215         * test-skeleton.c (signal_handler): Kill the whole process group
8216         before killing the child individually.
8217         (main): Report any failure on `setpgid'.
8219 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8221         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8222         from _TLS_H to _ARM_NPTL_TLS_H.
8223         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8224         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8226 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8228         [BZ #16539]
8229         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8230         (__expm1l): Return argument unchanged when small but not
8231         subnormal.
8233         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8234         include macro name.
8235         (_FP_UNPACK_RAW_1_P): Likewise.
8236         (_FP_PACK_RAW_1): Likewise.
8237         (_FP_PACK_RAW_1_P): Likewise.
8238         (_FP_MUL_MEAT_1_wide): Likewise.
8239         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8240         (_FP_MUL_MEAT_1_hard): Likewise.
8241         (_FP_DIV_MEAT_1_imm): Likewise.
8242         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8243         (_FP_DIV_MEAT_1_udiv): Likewise.
8244         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8245         (_FP_UNPACK_RAW_2): Likewise.
8246         (_FP_UNPACK_RAW_2_P): Likewise.
8247         (_FP_PACK_RAW_2): Likewise.
8248         (_FP_PACK_RAW_2_P): Likewise.
8249         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8250         (_FP_MUL_MEAT_2_wide): Likewise.
8251         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8252         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8253         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8254         (_FP_MUL_MEAT_2_gmp): Likewise.
8255         (_FP_DIV_MEAT_2_udiv): Likewise.
8256         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8257         (_FP_FRAC_SRL_4): Likewise.
8258         (_FP_FRAC_SRST_4): Likewise.
8259         (_FP_FRAC_SRS_4): Likewise.
8260         (_FP_UNPACK_RAW_4): Likewise.
8261         (_FP_UNPACK_RAW_4_P): Likewise.
8262         (_FP_PACK_RAW_4): Likewise.
8263         (_FP_PACK_RAW_4_P): Likewise.
8264         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8265         (_FP_MUL_MEAT_4_wide): Likewise.
8266         (_FP_MUL_MEAT_4_gmp): Likewise.
8267         (umul_ppppmnnn): Likewise.
8268         (_FP_DIV_MEAT_4_udiv): Likewise.
8269         (__FP_FRAC_ADD_4): Likewise.
8270         (__FP_FRAC_SUB_3): Likewise.
8271         (__FP_FRAC_SUB_4): Likewise.
8272         (__FP_FRAC_DEC_3): Likewise.
8273         (__FP_FRAC_DEC_4): Likewise.
8274         (__FP_FRAC_ADDI_4): Likewise.
8275         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8276         (_FP_FRAC_SRL_8): Likewise.
8277         (_FP_FRAC_SRS_8): Likewise.
8279         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8280         include macro name.
8281         (FP_UNPACK_RAW_EP): Likewise.
8282         (FP_PACK_RAW_E): Likewise.
8283         (FP_PACK_RAW_EP): Likewise.
8284         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8285         (_FP_ISSIGNAN): Likewise.
8286         (_FP_ADD_INTERNAL): Likewise.
8287         (_FP_FMA): Likewise.
8288         (_FP_CMP): Likewise.
8289         (_FP_SQRT): Likewise.
8290         (_FP_TO_INT): Likewise.
8291         (_FP_FROM_INT): Likewise.
8292         (FP_EXTEND): Likewise.
8293         (_FP_DIV_MEAT_N_loop): Likewise.
8295 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8297         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8298         throughout.
8300 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8302         [BZ #17097]
8303         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8304         result with correct sign in case of exponents that produce
8305         overflow except for X very close to 1.
8307 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8309         mktime: merge #if/#ifdef usage from glibc
8310         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8311         as that works with both Glibc's and Gnulib's style.
8312         See thread starting at Siddhesh Poyarekar's bug report at:
8313         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8315 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8317         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8318         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8319         * sysdeps/tile/tilegx/memmove.c: Remove file.
8321 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8323         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8324         abi-name definition.
8325         * scripts/soversions.awk: Do not handle or generate ABI lines.
8326         * shlib-versions: Remove ABI entries.
8327         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8328         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8330 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8333         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8334         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8335         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8337         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8339         Moved ...
8340         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8341         ... here.
8342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8343         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8345         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8347         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8349         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8351         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8353         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8355         Moved ...
8356         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8358         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8360         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8362         Moved ...
8363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8365         Moved ...
8366         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8370         Moved ...
8371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8373         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8375         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8377         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8379         Moved ...
8380         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8382         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8383         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8384         Moved ...
8385         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8386         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8387         Moved ...
8388         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8390         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8392         Moved ...
8393         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8394         ... here.
8395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8396         Identical file removed.
8397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8398         Moved ...
8399         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8401         Identical file removed.
8402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8403         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8405         Moved ...
8406         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8408         Identical file removed.
8409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8410         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8412         Identical file removed.
8413         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8414         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8415         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8416         Identical file removed.
8417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8418         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8420         Identical file removed.
8421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8422         Moved ...
8423         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8425         Identical file removed.
8426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8427         Moved ...
8428         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8429         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8430         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8432         Identical file removed.
8433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8434         Moved ...
8435         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8436         ... here.
8437         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8438         Identical file removed.
8439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8440         Moved ...
8441         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8443         Identical file removed.
8444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8445         Moved ...
8446         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8448         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8450         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8451         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8452         Moved ...
8453         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8454         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8455         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8457         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8458         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8459         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8460         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8461         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8463 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8465         [BZ #17092]
8466         * nscd/nscd.c (monitor_child): Return exit status of child
8467         instead of return value from wait syscall.
8469 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8471         * configure.ac (libc_commonpagesize): Remove variable.
8472         (libc_relro_required): Likewise.
8473         (libc_cv_z_relro): Remove configure test.
8474         * configure: Regenerated.
8475         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8476         variable.
8477         (libc_relro_required): Likewise.
8478         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8479         (libc_relro_required): Likewise.
8480         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8481         (libc_relro_required): Likewise.
8482         * sysdeps/arm/preconfigure: Regenerated.
8483         * sysdeps/ia64/preconfigure: Remove file.
8484         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8485         variable.
8486         (libc_relro_required): Likewise.
8488         [BZ #16561]
8489         [BZ #16562]
8490         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8491         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8492         recompute overflowing results in original rounding mode.
8493         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8494         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8495         recompute overflowing results in original rounding mode.
8496         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8497         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8498         recompute overflowing results in original rounding mode.
8499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8500         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8501         recompute overflowing results in original rounding mode.
8502         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8503         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8504         recompute overflowing results in original rounding mode.
8505         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8506         (libc_feholdsetround_ctx): New macro.
8507         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8508         * sysdeps/i386/fpu/libm-test-ulps: Update.
8509         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8511 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8513         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8514         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8515         corresponding .cpsetup call.
8517 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8519         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8520         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8521         * sysdeps/arm/Makefile [$(subdir) = csu]
8522         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8523         (static-only-routines): Add aeabi_read_tp here.
8524         (shared-only-routines): Add libc-aeabi_read_tp here.
8525         (CFLAGS-libc-start.c): Add -fexceptions here.
8526         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8527         (sysdep_routines, static-only-routines, shared-only-routines):
8528         Don't add to these here.
8529         (CFLAGS-libc-start.c): Likewise.
8531         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8532         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8533         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8534         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8535         * sysdeps/arm/Makefile [$(subdir) = rt]
8536         (librt-sysdep_routines, librt-shared-only-routines):
8537         Append rt-aeabi_unwind_cpp_pr1 here.
8538         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8539         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8540         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8541         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8542         Append nptl-aeabi_unwind_cpp_pr1 here.
8543         (tests): Filter out tst-cleanupx4 here.
8544         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8545         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8546         Don't do those here.
8548 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8550         * scripts/list-sources.sh: Do not handle ports specially.
8552 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8554         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8555         * sysdeps/arm/feupdateenv.c: Likewise.
8557         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8559 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8561         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8562         trailing whitespace removed.
8563         * scripts/config.guess: Update to version 2014-03-23.
8564         * scripts/config.sub: Update to version 2014-05-01
8565         * scripts/install-sh: Update to version 2013-12-25.23.
8566         * scripts/move-if-change: Update from gnulib.
8568 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8570         * debug/memmove_chk.c: Remove pagecopy.h include.
8572 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8574         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8575         identical to gnulib mktime.
8577 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8579         * configure.ac: Do not test for machine being rs6000.  Do not test
8580         for powerpc*-*soft.
8581         * configure: Regenerated.
8583         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8584         test.
8585         * configure: Regenerated.
8586         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8587         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8588         Remove configure test.
8589         * sysdeps/arm/configure: Regenerated.
8590         * sysdeps/nptl/configure.ac: Do not check
8591         libc_cv_asm_cfi_directives.
8592         * sysdeps/nptl/configure: Regenerated.
8593         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8594         * sysdeps/x86_64/nptl/configure: Remove generated file.
8595         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8596         unconditional.
8597         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8599 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8601         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8602         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8603         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8604         it is defined.
8606         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8607         instead of whether it is defined.
8608         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8609         * sysdeps/hppa/dl-machine.h: Likewise.
8610         * sysdeps/ia64/dl-machine.h: Likewise.
8611         * sysdeps/m68k/dl-machine.h: Likewise.
8612         * sysdeps/microblaze/dl-machine.h: Likewise.
8613         * sysdeps/mips/dl-machine.: Likewise.
8614         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8615         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8616         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8617         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8618         * sysdeps/sh/dl-machine.h: Likewise.
8619         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8620         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8621         * sysdeps/tile/dl-machine.h: Likewise.
8622         * sysdeps/x86_64/dl-machine.h: Likewise.
8624         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8625         code.
8626         (verify_persistent_db): Likewise.
8628 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8631         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8633         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8635         Moved ...
8636         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8637         ... here.
8638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8639         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8641         Identical file removed.
8642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8643         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8645         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8647         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8649         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8651         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8653         Moved ...
8654         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8656         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8658         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8660         Moved ...
8661         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8663         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8665         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8667         Identical file removed.
8668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8669         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8671         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8673         Moved ...
8674         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8675         ... here.
8676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8677         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8679         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8681         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8683         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8685         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8687         Moved ...
8688         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8690         Moved ...
8691         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8693         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8695         Moved ...
8696         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8698         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8700         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8701         folded into ...
8702         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8703         * sysdeps/unix/sysv/linux/s390/Versions
8704         (libpthread: GLIBC_2.19): New version set.
8705         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8706         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8707         (librt: GLIBC_2.3.3): New version set.
8708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8709         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8710         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8711         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8712         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8713         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8714         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8715         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8716         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8717         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8718         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8719         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8720         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8721         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8722         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8723         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8724         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8725         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8726         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8727         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8728         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8730         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8731         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8732         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8733         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8734         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8735         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8736         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8737         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8738         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8739         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8740         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8744         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8746         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8748         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8750         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8752         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8754         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8755         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8756         (__libc_vfork): Define the function under this name.
8757         [!NOT_IN_libc] (__vfork): Make this an alias.
8758         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8760         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8761         (__libc_vfork): Define the function under this name.
8762         [!NOT_IN_libc] (__vfork): Make this an alias.
8763         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8764         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8767         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8768         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8770         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8771         code that was previously under [RESET_PID].
8772         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8773         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8776         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8777         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8778         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8779         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8780         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8781         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8782         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8783         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8784         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8785         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8786         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8787         Moved ...
8788         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8789         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8790         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8791         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8792         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8793         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8794         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8795         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8796         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8797         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8798         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8799         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8800         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8801         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8802         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8803         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8804         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8805         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8806         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8807         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8808         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8809         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8810         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8811         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8812         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8813         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8814         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8815         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8816         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8818 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8820         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8821         that was previously under [RESET_PID].
8822         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8824 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8826         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8827         not undefine and redefine.
8828         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8829         [O_CLOEXEC]: Make code unconditional.
8830         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8831         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8832         <kernel-features.h>.
8833         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8834         conditional variable definition.
8835         (shm_open) [O_CLOEXEC]: Make code unconditional.
8836         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8837         code.
8839         * configure.ac (USE_REGPARMS): Don't define here.
8840         * configure: Regenerated.
8841         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8842         * sysdeps/i386/configure: Regenerated.
8844         * nptl/createthread.c: Don't include kernel-features.h.
8845         * nptl/pthread_cancel.c: Likewise.
8846         * nptl/pthread_condattr_setclock.c: Likewise.
8847         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8848         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8849         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8850         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8851         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8852         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8856         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8857         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8858         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8859         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8860         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8861         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8862         * nscd/gai.c: Likewise.
8863         * nss/nss_db/db-open.c: Likewise.
8864         * sysdeps/generic/ldsodefs.h: Likewise.
8865         * sysdeps/sh/nptl/tls.h: Likewise.
8866         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8867         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8868         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8869         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8870         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8871         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8872         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8873         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8875         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8876         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8877         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8878         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8879         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8880         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8881         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8882         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8883         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8884         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8885         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8888         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8889         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8894         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8895         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8896         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8897         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8898         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8899         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8900         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8901         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8902         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8903         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8904         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8905         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8906         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8907         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8908         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8909         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8910         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8911         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8912         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8913         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8914         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8915         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8916         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8917         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8918         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8919         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8920         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8921         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8922         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8923         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8946         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8947         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8948         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8949         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8950         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8951         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8952         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8953         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8954         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8955         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8956         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8957         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8958         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8959         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8960         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8961         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8962         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8963         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8964         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8965         * sysdeps/unix/sysv/linux/system.c: Likewise.
8966         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8967         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8968         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8969         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8970         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8971         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8972         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8974         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8975         * configure: Regenerated.
8976         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8978         * configure.ac (base_machine): Do not set specially for particular
8979         machines here.
8980         * configure: Regenerated.
8981         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8982         settings from configure.ac.
8983         * sysdeps/i386/preconfigure: New file.
8984         * sysdeps/s390/preconfigure: Likewise.
8985         * sysdeps/sh/preconfigure: Likewise.
8986         * sysdeps/sparc/preconfigure: Likewise.
8988 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8990         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8991         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8992         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8993         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8994         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8995         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8996         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8997         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8998         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8999         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9000         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9001         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9002         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9003         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9005         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9006         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9007         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9008         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9010         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9011         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9012         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9013         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9014         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9015         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9016         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9017         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9018         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9019         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9020         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9021         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9022         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9023         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9024         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9025         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9026         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9027         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9028         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9029         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9031         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9032         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9033         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9034         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9035         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9037         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9039         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9040         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9041         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9042         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9043         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9044         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9045         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9047         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9050         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9052         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9054         Moved ...
9055         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9056         ... here.
9057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9058         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9060         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9062         Moved ...
9063         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9065         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9067         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9069         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9071         Moved ...
9072         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9074         Moved ...
9075         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9077         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9079         Moved ...
9080         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9082         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9084         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9086         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9088         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9090         Moved ...
9091         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9092         ... here.
9093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9094         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9096         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9098         Moved ...
9099         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9101         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9103         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9105         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9107         Moved ...
9108         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9110         Moved ...
9111         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9113         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9115         Moved ...
9116         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9118         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9120         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9122 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9124         * timezone/checktab.awk: Update from tzcode 2014e.
9125         * timezone/private.h: Likewise.
9126         * timezone/tzfile.h: Likewise.
9127         * timezone/zdump.c: Likewise.
9128         * timezone/zic.c: Likewise.
9130         * sysdeps/unix/sysv/linux/kernel-features.h
9131         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9132         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9133         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9134         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9135         Remove conditional code.
9137 2014-06-25  Will Newton  <will.newton@linaro.org>
9139         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9140         (_dl_arm_cap_flags): Add HWCAP2 values.
9141         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9142         (_DL_HWCAP_COUNT): Increase to 37.
9143         (_DL_HWCAP_LAST): New define.
9144         (_DL_HWCAP2_LAST): New define.
9145         (_dl_procinfo): Add support for printing
9146         AT_HWCAP2 entries.
9147         (_dl_string_hwcap): Use _dl_hwcap_string.
9149 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9153 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9155         * README: Do not mention ports directory.
9157         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9158         Remove macro.
9159         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9160         <kernel-features.h>.
9161         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9162         conditional variable definition.
9163         (__futimes): Update comment.
9164         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9165         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9167         [BZ #16560]
9168         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9169         arguments close to 0.
9170         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9171         Likewise.
9172         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9173         Likewise.
9174         * math/auto-libm-test-in: Add more tests of exp10.
9175         * math/auto-libm-test-out: Regenerated.
9176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9178         * sysdeps/unix/sysv/linux/kernel-features.h
9179         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9180         * sysdeps/unix/sysv/linux/readv.c: Do not include
9181         <kernel-features.h>.
9182         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9183         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9184         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9185         unconditional.
9186         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9187         conditional code.
9188         * sysdeps/unix/sysv/linux/writev.c: Do not include
9189         <kernel-features.h>.
9190         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9191         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9192         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9193         unconditional.
9194         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9195         conditional code.
9197 2014-06-25  Will Newton  <will.newton@linaro.org>
9199         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9200         comment changes throughout the file.  Remove checks
9201         for HAVE_*_H definitions that are not required.
9202         (__gen_tempname): Call abort if an unknown kind value is
9203         passed.
9205 2014-06-25  Andreas Schwab  <schwab@suse.de>
9207         [BZ #17086]
9208         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9209         scalbln, scalblnf, scalblnl in libc.
9211 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9213         [BZ #17086]
9214         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9215         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9216         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9218 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9220         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9221         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9222         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9223         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9224         Update #include.
9225         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9226         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9227         Update #include.
9228         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9229         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9230         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9231         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9232         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9233         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9234         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9235         * sysdeps/x86/bits/semaphore.h: ... here.
9236         * sysdeps/x86/nptl/elide.h: Moved ...
9237         * sysdeps/x86/elide.h: ... here.
9238         * sysdeps/x86_64/nptl/Implies: File removed.
9239         * sysdeps/i386/nptl/Implies: File removed.
9241 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #16539]
9244         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9245         return the argument for normal arguments with exponent below -64.
9246         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9247         Likewise.
9248         * math/auto-libm-test-in: Add another test of expm1.
9249         * math/auto-libm-test-out: Regenerated.
9251         [BZ #16287]
9252         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9253         calling __erfcl for arguments at least 16.
9254         * math/auto-libm-test-in: Add more tests of erf.
9255         * math/auto-libm-test-out: Regenerated.
9257         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9258         individual architectures.
9259         * sysdeps/unix/sysv/linux/configure: Regenerated.
9260         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9261         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9262         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9263         (ldd_rewrite_script): Define variable.
9264         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9266         file.
9267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9268         generated file.
9269         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9270         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9271         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9272         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9273         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9274         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9275         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9276         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9278 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9280         [BZ #17084]
9281         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9282         Rename member __data.d to __data.__elision_data.
9284 2014-06-24  Wilco  <wdijkstr@arm.com>
9286         * NEWS: Add 16918 to fixed bug list.
9288 2014-06-24  Wilco  <wdijkstr@arm.com>
9290         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9292 2014-06-24  Wilco  <wdijkstr@arm.com>
9294         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9295         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9296         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9297         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9298         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9299         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9300         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9301         Use _FPU_MASK_RM.
9303 2014-06-24  Wilco  <wdijkstr@arm.com>
9305         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9307 2014-06-24  Wilco  <wdijkstr@arm.com>
9309         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9310         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9311         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9312         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9314 2014-06-24  Wilco  <wdijkstr@arm.com>
9316         [BZ #16918]
9317         * sysdeps/arm/feupdateenv.c (feupdateenv):
9318         Rewrite to reduce FPSCR accesses and fix return value.
9320 2014-06-24  Wilco  <wdijkstr@arm.com>
9322         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9323         Optimize to avoid unnecessary FPSCR writes.
9324         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9325         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9326         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9327         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9329 2014-06-24  Wilco  <wdijkstr@arm.com>
9331         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9332         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9333         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9334         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9335         Call libc_fetestexcept_vfp.
9336         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9337         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9338         __SOFTFP__ ifdef so that they can be built for softfp.
9340 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9342         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9343         argument type signed char.
9345         * Makerules (check-abi): Dump diff of symlist if the test
9346         fails.
9348 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9350         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9351         using abort.
9353         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9354         Remove unused variable ST.
9356 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9358         [BZ #16354]
9359         [BZ #17061]
9360         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9361         small arguments before calling __expm1.
9362         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9363         small arguments before calling __expm1f.
9364         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9365         small arguments before calling __expm1l.
9366         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9367         Likewise.
9368         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9369         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9370         spurious underflow for some cosh tests.
9371         * math/auto-libm-test-out: Regenerated.
9372         * sysdeps/i386/fpu/libm-test-ulps: Update.
9374         [BZ #17050]
9375         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9376         (__ieee754_y1): Set errno if return value overflows.
9377         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9378         (__ieee754_y1f): Set errno if return value overflows.
9379         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9380         (__ieee754_y1l): Set errno if return value overflows.
9381         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9382         (__ieee754_y1l): Set errno if return value overflows.
9383         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9384         * math/auto-libm-test-out: Regenerated.
9386         * math/gen-auto-libm-tests.c: Document use of
9387         ignore-zero-inf-sign.
9388         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9389         (input_flags): Add ignore-zero-inf-sign.
9390         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9391         * math/gen-libm-test.pl (generate_testfile): Handle
9392         ignore-zero-inf-sign.
9393         * math/auto-libm-test-in: Mark some cpow tests with
9394         ignore-zero-inf-sign and some with xfail-rounding.
9395         * math/auto-libm-test-out: Regenerated.
9396         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9397         * sysdeps/i386/fpu/libm-test-ulps: Update.
9398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9400         [BZ #16315]
9401         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9402         overflowing or underflowing operations take place with sign of
9403         result.
9404         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9405         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9406         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9407         (__ieee754_pow): Recompute overflowing and underflowing results in
9408         original rounding mode.
9409         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9410         (__powl_helper): Allow negative argument X and scale negated value
9411         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9412         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9413         overflowing or underflowing operations take place with sign of
9414         result.
9415         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9416         Include <math.h>.
9417         * math/auto-libm-test-in: Add more tests of pow.
9418         * math/auto-libm-test-out: Regenerated.
9419         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9420         (pow_tonearest_test_data): Remove.
9421         (pow_test_tonearest): Likewise.
9422         (pow_towardzero_test_data): Likewise.
9423         (pow_test_towardzero): Likewise.
9424         (pow_downward_test_data): Likewise.
9425         (pow_test_downward): Likewise.
9426         (pow_upward_test_data): Likewise.
9427         (pow_test_upward): Likewise.
9428         (main): Don't call removed functions.
9429         * sysdeps/i386/fpu/libm-test-ulps: Update.
9430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9432 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9435         Moved ...
9436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9438         Moved ...
9439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9441         Moved ...
9442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9444         Moved ...
9445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9447         File removed.
9448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9449         File removed.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9451         File removed.
9452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9453         File removed.
9454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9455         File removed.
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9457         File removed.
9458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9459         File removed.
9460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9461         File removed.
9462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9463         File removed.
9464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9465         File removed.
9466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9467         File removed.
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9469         File removed.
9470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9471         Moved ...
9472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9474         Moved ...
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9476         ... here.
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9478         Moved ...
9479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9481         Moved ...
9482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9484         Moved ...
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9487         Moved ...
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9490         Moved ...
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9493         Moved ...
9494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9496         Moved ...
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9500         ... here.
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9502         Moved ...
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9505         Moved ...
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9507         ... here.
9508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9509         Moved ...
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9511         ... here.
9512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9513         Moved ...
9514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9515         ... here.
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9517         Moved ...
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9520         Moved ...
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9525         Moved ...
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9527         ... here.
9528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9529         Moved ...
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9531         ... here.
9532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9533         Moved ...
9534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9536         Moved ...
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9539         Moved ...
9540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9542         Moved ...
9543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9545         Moved ...
9546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9547         ... here.
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9549         Moved ...
9550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9552         Moved ...
9553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9555         Moved ...
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9558         Moved ...
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9563         Moved ...
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9566         Moved ...
9567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9569         Moved ...
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9571         ... here.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9573         Moved ...
9574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9575         ... here.
9576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9577         Moved ...
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9579         ... here.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9581         Moved ...
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9584         Moved ...
9585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9587         Moved ...
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9590         Moved ...
9591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9592         ... here.
9593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9594         Moved ...
9595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9596         ... here.
9597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9598         Moved ...
9599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9600         ... here.
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9602         Moved ...
9603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9605         Moved ...
9606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9608 2014-06-23  Will Newton  <will.newton@linaro.org>
9609             Wilco  <wdijkstr@arm.com>
9611         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9612         implementation.  Include get-rounding-mode.h.
9613         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9614         [!libc_feholdsetround_noex_ctx]: Define
9615         libc_feholdsetround_noex_ctx.
9616         [!libc_feholdsetround_noexf_ctx]: Define
9617         libc_feholdsetround_noexf_ctx.
9618         [!libc_feholdsetround_noexl_ctx]: Define
9619         libc_feholdsetround_noexl_ctx.
9620         (libc_feholdsetround_ctx): New function.
9621         (libc_feresetround_ctx): New function.
9622         (libc_feholdsetround_noex_ctx): New function.
9623         (libc_feresetround_noex_ctx): New function.
9625 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9627         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9628         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9629         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9630         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9631         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9632         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9634         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9635         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9636         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9637         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9638         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9639         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9641         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9643         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9645         Moved ...
9646         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9647         ... here.
9648         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9649         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9651         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9652         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9653         Moved ...
9654         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9656         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9658         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9660         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9662         Moved ...
9663         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9665         Moved ...
9666         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9667         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9668         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9669         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9670         Moved ...
9671         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9673         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9674         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9675         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9676         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9677         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9679         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9681         Moved ...
9682         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9683         ... here.
9684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9685         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9687         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9689         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9690         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9691         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9693         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9695         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9697         Moved ...
9698         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9700         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9702         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9704         Moved ...
9705         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9707         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9708         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9709         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9711         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9712         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9713         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9714         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9715         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9716         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9717         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9718         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9720         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9721         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9722         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9723         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9724         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9725         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9726         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9727         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9728         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9729         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9730         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9731         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9732         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9733         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9734         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9735         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9736         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9737         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9738         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9740 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9742         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9743         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9744         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9745         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9746         (IPV6_PMTUDISC_INTERFACE): Likewise.
9747         (IPV6_PMTUDISC_OMIT): Likewise.
9749 2014-06-23  Andreas Schwab  <schwab@suse.de>
9751         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9752         Remove unused errout label.
9754 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9756         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9757         macro: hardware supports Vector Crypto instructions.
9759 2014-06-23  Will Newton  <will.newton@linaro.org>
9761         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9762         rather than __builtin_expect.
9764         * elf/dl-lookup.c (undefined_msg): Remove variable.
9765         (_dl_lookup_symbol_x): Replace undefined_msg with string
9766         literal.
9768         * elf/dl-lookup.c (do_lookup_unique): New function.
9769         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9770         to a separate function.
9772 2014-06-23  Andreas Schwab  <schwab@suse.de>
9774         [BZ #17079]
9775         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9776         before reading the next line.
9778 2014-06-23  Will Newton  <will.newton@linaro.org>
9780         * test-skeleton.c (signal_handler): Use printf and %m
9781         rather than perror.  Use printf rather than fprintf to
9782         stderr.  Use puts rather than fputs to stderr.
9783         (main): Likewise.
9785 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9787         * nscd/nscd.c (thread_info_t): Remove typedef.
9788         (thread_info): Remove variable.
9790 2014-06-21  Allan McRae  <allan@archlinux.org>
9792         * NEWS: Mention CVE-2014-4043.
9794 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9796         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9797         * nptl/smp.h: ... here.
9799         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9801         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9802         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9803         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9804         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9806         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9807         * nptl/stack-aliasing.h: New file.
9808         * sysdeps/i386/i686/stack-aliasing.h: New file.
9809         * sysdeps/i386/i686/nptl/Makefile: File removed.
9810         * sysdeps/x86_64/stack-aliasing.h: New file.
9811         * sysdeps/x86_64/nptl/Makefile
9812         (CFLAGS-pthread_create.c): Variable removed.
9814         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9815         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9816         old file.
9817         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9818         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9819         old file.
9821 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9823         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9824         (__ASSUME_SIGFRAME_V2): Remove macro.
9825         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9826         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9827         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9828         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9829         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9830         Declare as function.  Remove conditional macro definitions.
9831         (__default_rt_sa_restorer): Likewise.
9832         (__default_sa_restorer_v1): Remove declaration.
9833         (__default_sa_restorer_v2): Likewise.
9834         (__default_rt_sa_restorer_v1): Likewise.
9835         (__default_rt_sa_restorer_v2): Likewise.
9836         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9837         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9838         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9840 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9842         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9843         (libpthread-routines): Add sysdep.
9844         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9845         * sysdeps/unix/sysv/linux/sparc/Versions
9846         (libpthread: GLIBC_2.3.3): New version set.
9847         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9848         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9849         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9850         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9851         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9852         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9853         Moved ...
9854         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9855         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9856         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9857         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9858         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9859         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9860         * sysdeps/sparc/nptl/sem_init.c: ... here.
9861         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9862         * sysdeps/sparc/nptl/sem_post.c: ... here.
9863         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9864         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9865         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9866         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9867         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9868         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9869         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9870         (libpthread-routines): Add cpu_relax.
9871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9872         File removed.
9873         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9874         (librt: GLIBC_2.3.3): New version set.
9875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9876         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9877         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9878         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9881         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9883         Moved ...
9884         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9886         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9888         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9890         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9892         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9894         Moved ...
9895         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9896         Update #include.
9897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9898         Moved ...
9899         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9900         Update #include.
9901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9902         Moved ...
9903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9904         Update #include.
9905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9906         Moved ...
9907         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9908         Update #include.
9909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9910         Moved ...
9911         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9912         Update #include.
9913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9914         Moved ...
9915         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9916         Update #include.
9917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9918         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9920         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9924         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9926         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9928         Moved ...
9929         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9931         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9933         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9935 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9937         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9938         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9939         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9940         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9941         * nscd/nscd.c: Likewise.
9942         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9943         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9944         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9945         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9947         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9948         <kernel-features.h>.
9949         (init_mq_netlink): Remove conditional have_sock_cloexec
9950         definitions.  Remove code conditional on have_sock_cloexec < 0.
9951         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9952         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9953         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9954         <kernel-features.h>.
9955         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9956         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9958 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9961         Add tests for memset_chk and memset.
9963         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9964         with AVX2_Usable.
9966 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9968         [BZ #16046]
9969         * elf/tst-dl-iter-static.c: New file.
9970         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9972         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9973         error.
9975 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9977         * sysdeps/unix/sysv/linux/kernel-features.h
9978         (__ASSUME_F_GETOWN_EX): Remove macro.
9979         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9980         <kernel-features.h>.
9981         (miss_F_GETOWN_EX): Remove variable or macro.
9982         (do_fcntl): Do not check miss_F_GETOWN_EX.
9983         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9986         Remove macro.
9987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9988         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9989         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9991         * sysdeps/unix/sysv/linux/kernel-features.h
9992         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9993         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9994         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9995         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9997 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9999         [BZ #17075]
10000         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10001         Fix calculation of the symbol's value.
10002         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10003         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10004         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10005         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10006         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10007         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10008         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10009         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10010         (modules-names): Add `tst-armtlsdescmod',
10011         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10012         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10013         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10014         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10015         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10016         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10017         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10018         ($(objpfx)tst-armtlsdescloc): New dependency.
10019         ($(objpfx)tst-armtlsdescextnow): Likewise.
10020         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10021         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10022         TLS scheme support.
10023         * sysdeps/arm/configure: Regenerate.
10025 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10027         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10028         (__atfct_seterrno_2): Likewise.
10029         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10030         <kernel-features.h>.
10031         (__ASSUME_ATFCTS): Do not undefine and redefine.
10032         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10033         (__have_atfcts): Remove conditional definition.
10034         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10035         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10036         unreachable if [__ASSUME_ATFCTS].
10037         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10038         not undefine and redefine.
10039         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10040         <kernel-features.h>.
10041         (faccessat) [__NR_faccessat]: Make code unconditional.
10042         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10043         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10044         <kernel-features.h>.
10045         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10046         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10047         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10048         <kernel-features.h>.
10049         (fchownat) [__NR_fchownat]: Make code unconditional.
10050         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10051         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10052         <kernel-features.h>.
10053         (futimesat) [__NR_futimesat]: Make code unconditional.
10054         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10055         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10056         <kernel-features.h>.
10057         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10058         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10059         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10060         <kernel-features.h>.
10061         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10062         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10063         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10064         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10065         <kernel-features.h>.
10066         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10067         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10068         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10069         <kernel-features.h>.
10070         (linkat) [__NR_linkat]: Make code unconditional.
10071         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10072         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10073         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10074         <kernel-features.h>.
10075         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10076         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10077         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10078         <kernel-features.h>.
10079         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10080         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10081         * sysdeps/unix/sysv/linux/openat.c: Do not include
10082         <kernel-features.h>.
10083         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10084         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10085         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10086         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10087         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10088         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10089         <kernel-features.h>.
10090         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10091         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10092         result of INLINE_SYSCALL directly, not via int variable.
10093         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10094         <kernel-features.h>.
10095         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10096         (renameat) [__NR_renameat]: Make code unconditional.
10097         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10098         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10099         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10100         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10101         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10102         (__ASSUME_ATFCTS): Do not undefine and redefine.
10103         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10104         <kernel-features.h>.
10105         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10106         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10107         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10108         <kernel-features.h>.
10109         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10110         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10111         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10112         (__ASSUME_ATFCTS): Do not undefine and redefine.
10113         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10114         <kernel-features.h>.
10115         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10116         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10117         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10118         <kernel-features.h>.
10119         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10120         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10122 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10124         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10126 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10128         [BZ #17069]
10129         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10130         constructed tree before returning error.
10131         * posix/bug-regexp36.c: Expand test case.
10133 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10135         [BZ #6803]
10136         * math/libm-test.inc (scalbln_test_date):
10137         Add errno expectations.
10138         * math/w_scalblnf.c: New File.
10139         Add wrapper which checks for setting errno to ERANGE.
10140         Add weak_alias for corresponding scalbln function.
10141         * math/w_scalbln.c: Likewise.
10142         * math/w_scalblnl.c: Likewise.
10143         * math/Makefile (libm-calls): Add w_scalbln.
10144         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10145         Remove weak_alias for corresponding scalbln function.
10146         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10147         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10148         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10150         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10151         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10152         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10153         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10154         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10155         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10156         Remove long_double_symbol for scalblnl function in libm, libc.
10157         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10158         Add wrapper which checks for setting errno to ERANGE.
10159         Add long_double_symbol for scalblnl function in libm, libc.
10160         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10161         Remove long_double_symbol for scalblnl in libm.
10162         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10163         Add wrapper which checks for setting errno to ERANGE.
10164         Add long_double_symbol for scalblnl function in libm.
10165         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10166         Do not use wrapper because of own implementation.
10168 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10170         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10171         3 bytes for __pad1 for x32.
10172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10174 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10175             H.J. Lu  <hongjiu.lu@intel.com>
10177         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10178         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10179         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10180         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10181         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10183 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10185         [BZ #17069]
10186         * posix/regcomp.c (parse_expression): Deallocate partially
10187         constructed tree before returning error.
10188         * posix/Makefile.c (tests): Add bug-regex36.
10189         (generated): Add bug-regex36.mtrace.
10190         (tests-special): Add $(objpfx)bug-regex36-mem.out
10191         (bug-regex36-ENV): New variable.
10192         ($(objpfx)bug-regex36-mem.out): New rule.
10193         * posix/bug-regex36.c: New file.
10195 2014-06-19  Will Newton  <will.newton@linaro.org>
10197         * malloc/malloc.c (systrim): If extra is zero then return
10198         early.
10200 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10202         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10204 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10206         * sysdeps/aarch64/strchr.S: New file.
10208 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10210         [BZ #17022]
10211         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10212         from arguments -2 or below.
10213         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10214         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10216 2014-06-18  Andreas Schwab  <schwab@suse.de>
10218         [BZ #17062]
10219         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10220         of a bracket expr not to run off the end of the string.
10221         * posix/Makefile (tests): Add tst-fnmatch3.
10222         * posix/tst-fnmatch3.c: New file.
10224 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10226         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10227         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10228         [$(cross-compiling) = no]: Likewise.
10229         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10230         [$(cross-compiling) = no]: Likewise.
10232 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10234         [BZ #17031]
10235         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10236         double, adjusted for any remainder from the high double.
10237         * math/libm-test.inc (nearbyint): Add tests.
10238         (rint): Likewise.
10240 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10242         * nptl/sysdeps/powerpc/Makefile: Moved ...
10243         * sysdeps/powerpc/nptl/Makefile: ... here.
10244         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10245         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10246         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10247         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10248         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10249         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10250         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10251         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10252         * nptl/sysdeps/powerpc/tls.h: Moved ...
10253         * sysdeps/powerpc/nptl/tls.h: ... here.
10255 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10257         [BZ #16681]
10258         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10259         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10260         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10261         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10262         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10263         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10264         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10265         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10266         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10268 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10270         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10272 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10274         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10275         defined operator.
10277         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10278         $TIMEOUTFACTOR.
10280 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10282         [BZ #17058]
10283         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10284         non-executed part of the test.
10286 2014-06-16  Andreas Schwab  <schwab@suse.de>
10288         * string/bits/string2.h (strdup, strndup): Update feature guard.
10290 2014-06-14  David S. Miller  <davem@davemloft.net>
10292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10294 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10296         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10297         that was previously under [RESET_PID].
10298         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10300         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10301         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10302         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10303         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10304         (__libc_vfork): New strong alias.
10305         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10307 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10309         * sysdeps/generic/elide.h: New file.
10311 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10313         * Makefile (installed-headers): Adjust path of pthread.h header.
10315 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10317         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10318         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10319         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10320         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10322         * nptl/sysdeps/s390/Makefile: Moved ...
10323         * sysdeps/s390/nptl/Makefile: ... here.
10324         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10325         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10326         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10327         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10328         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10329         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10330         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10331         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10332         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10333         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10334         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10335         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10336         * nptl/sysdeps/s390/tls.h: Moved ...
10337         * sysdeps/s390/nptl/tls.h: ... here.
10339         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10340         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10342 2014-06-13  David S. Miller  <davem@davemloft.net>
10344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10347         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10351         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10352         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10353         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10354         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10355         Remove RESET_PID cpp guards.
10356         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10357         Remove RESET_PID cpp guards.
10358         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10360 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10362         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10363         __sp to uintptr_t.
10365 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10367         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10368         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10369         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10370         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10372         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10373         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10374         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10376         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10377         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10378         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10379         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10380         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10381         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10382         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10383         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10384         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10386         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10388         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10389         (pthread_rwlock_rdlock): Add elision.
10390         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10391         (pthread_rwlock_wrlock): Add elision.
10392         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10393         (pthread_rwlock_trywrlock): Add elision.
10394         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10395         (pthread_rwlock_tryrdlock): Add elision.
10396         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10397         (pthread_rwlock_tryrdlock): Add elision unlock.
10398         * nptl/sysdeps/pthread/pthread.h:
10399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10400         (PTHREAD_RWLOCK_INITIALIZER,
10401         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10402         Handle new elision field.
10403         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10404         * sysdeps/arm/nptl/bits/pthreadtypes.h
10405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10406         * sysdeps/sh/nptl/bits/pthreadtypes.h
10407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10408         * sysdeps/tile/nptl/bits/pthreadtypes.h
10409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10410         * sysdeps/a/nptl/bits/pthreadtypes.h
10411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10412         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10414         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10416         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10418         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10420         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10422         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10424         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10426         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10428         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10429         (elision_init): Set try_xbegin to zero when no RTM.
10430         * sysdeps/x86/nptl/bits/pthreadtypes.h
10431         (pthread_rwlock_t): Change __pad1 to __rwelision.
10432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10434 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10436         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10437         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10438         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10439         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10441 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10443         [BZ #16996]
10444         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10445         that the cached result has been set before returning it.
10447 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10449         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10450         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10451         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10452         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10453         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10454         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10456         * nptl/sysdeps/sparc/Makefile: Moved ...
10457         * sysdeps/sparc/nptl/Makefile: ... here.
10458         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10459         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10460         * nptl/sysdeps/sparc/tls.h: Moved ...
10461         * sysdeps/sparc/nptl/tls.h: ... here.
10462         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10463         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10464         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10465         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10466         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10467         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10468         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10469         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10470         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10471         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10472         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10473         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10474         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10475         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10476         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10477         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10478         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10480         Update #include.
10481         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10482         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10483         Update #include.
10484         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10486         Update #include.
10487         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10489         Update #include.
10491         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10493         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10494         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10496         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10497         (struct list_links): Type removed.
10498         (struct thread_node, struct timer_node): Replace struct list_links
10499         with struct list_head.
10500         (list_unlink_ip): Likewise.
10501         * sysdeps/pthread/timer_routines.c
10502         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10503         (list_append, list_insbefore): Likewise.
10504         (list_init): Function removed.
10505         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10506         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10507         * sysdeps/pthread/Makefile: ... here, new file.
10509         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10510         * sysdeps/nptl/Implies: ... here.
10511         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10512         * nptl/sysdeps/pthread/list.h: Moved ...
10513         * include/list.h: ... here.
10514         * nptl/sysdeps/pthread/createthread.c: Moved ...
10515         * nptl/createthread.c: ... here.
10516         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10517         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10518         * nptl/pt-longjmp.c: ... here.
10519         * nptl/sysdeps/pthread/Makefile: Moved ...
10520         * sysdeps/nptl/Makefile: ... here.
10521         * nptl/sysdeps/pthread/Subdirs: Moved ...
10522         * sysdeps/nptl/Subdirs: ... here.
10523         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10524         * sysdeps/nptl/aio_misc.h: ... here.
10525         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10526         * sysdeps/nptl/bits/libc-lock.h: ... here.
10527         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10528         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10529         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10530         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10531         * nptl/sysdeps/pthread/configure: Moved ...
10532         * sysdeps/nptl/configure: ... here.
10533         * nptl/sysdeps/pthread/configure.ac: Moved ...
10534         * sysdeps/nptl/configure.ac: ... here.
10535         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10536         * sysdeps/nptl/gai_misc.h: ... here.
10537         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10538         * sysdeps/nptl/librt-cancellation.c: ... here.
10539         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10540         * sysdeps/nptl/malloc-machine.h: ... here.
10541         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10542         * sysdeps/nptl/pthread-functions.h: ... here.
10543         * nptl/sysdeps/pthread/pthread.h: Moved ...
10544         * sysdeps/nptl/pthread.h: ... here.
10545         * nptl/sysdeps/pthread/setxid.h: Moved ...
10546         * sysdeps/nptl/setxid.h: ... here.
10547         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10548         * sysdeps/nptl/sigfillset.c: ... here.
10549         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10550         * sysdeps/nptl/tcb-offsets.h: ... here.
10551         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10552         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10553         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10554         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10555         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10556         * sysdeps/pthread/allocalim.h: ... here.
10557         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10558         * sysdeps/pthread/bits/sigthread.h: ... here.
10559         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10560         * sysdeps/pthread/flockfile.c: ... here.
10561         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10562         * sysdeps/pthread/ftrylockfile.c: ... here.
10563         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10564         * sysdeps/pthread/funlockfile.c: ... here.
10565         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10566         * sysdeps/pthread/posix-timer.h: ... here.
10567         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10568         * sysdeps/pthread/timer_create.c: ... here.
10569         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10570         * sysdeps/pthread/timer_delete.c: ... here.
10571         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10572         * sysdeps/pthread/timer_getoverr.c: ... here.
10573         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10574         * sysdeps/pthread/timer_gettime.c: ... here.
10575         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10576         * sysdeps/pthread/timer_routines.c: ... here.
10577         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10578         * sysdeps/pthread/timer_settime.c: ... here.
10579         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10580         * sysdeps/pthread/tst-timer.c: ... here.
10581         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10582         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10584         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10585         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10587         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10588         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10589         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10590         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10591         Update #include target.
10592         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10593         * sysdeps/i386/i686/nptl/Makefile: ... here.
10594         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10595         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10596         Update #include target.
10597         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10598         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10599         * nptl/sysdeps/i386/Makefile: Moved ...
10600         * sysdeps/i386/nptl/Makefile: ... here.
10601         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10602         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10603         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10604         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10605         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10606         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10607         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10608         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10609         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10610         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10611         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10612         * nptl/sysdeps/i386/tls.h: Moved ...
10613         * sysdeps/i386/nptl/tls.h: ... here.
10615         * sysdeps/sh/Makefile [$(subdir) = csu]
10616         (gen-as-const-headers): Add tcb-offsets.sym.
10617         * nptl/sysdeps/sh/Makefile: File removed.
10618         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10619         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10620         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10621         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10622         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10623         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10624         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10625         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10626         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10627         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10628         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10629         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10630         * nptl/sysdeps/sh/tls.h: Moved ...
10631         * sysdeps/sh/nptl/tls.h: ... here.
10632         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10633         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10634         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10635         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10636         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10637         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10638         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10639         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10640         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10641         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10643         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10645         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10647         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10649         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10651         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10653         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10657         Moved ...
10658         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10660         Moved ...
10661         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10662         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10664         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10665         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10666         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10667         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10668         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10669         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10670         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10671         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10672         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10673         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10674         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10675         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10676         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10677         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10678         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10679         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10681 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10683         * posix/spawn_faction_addopen.c: Include string.h.
10685 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10687         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10688         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10689         * nptl/sysdeps/x86_64/Makefile: Moved ...
10690         * sysdeps/x86_64/nptl/Makefile: ... here.
10691         * nptl/sysdeps/x86_64/configure: Moved ...
10692         * sysdeps/x86_64/nptl/configure: ... here.
10693         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10694         * sysdeps/x86_64/nptl/configure.ac: ... here.
10695         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10696         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10697         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10698         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10699         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10700         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10701         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10702         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10703         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10704         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10705         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10706         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10707         * nptl/sysdeps/x86_64/tls.h: Moved ...
10708         * sysdeps/x86_64/nptl/tls.h: ... here.
10709         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10710         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10711         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10712         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10714         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10716 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10720 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10722         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10723         type.
10724         [POSIX] (off_t): Likewise.
10725         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10726         [POSIX] (S_ISBLK): Require macro.
10727         [POSIX] (S_ISCHR): Likewise.
10728         [POSIX] (S_ISDIR): Likewise.
10729         [POSIX] (S_ISFIFO): Likewise.
10730         [POSIX] (S_ISREG): Likewise.
10731         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10732         optional-macro.
10733         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10734         type.
10735         [POSIX] (time_t): Likewise.
10736         [POSIX] (timer_t): Likewise.
10738 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10740         [BZ #17048]
10741         * posix/spawn_int.h (struct __spawn_action): Make the path string
10742         non-const to support deallocation.
10743         * posix/spawn_faction_addopen.c
10744         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10745         * posix/spawn_faction_destroy.c
10746         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10747         path in all spawn_do_open actions.
10748         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10749         posix_spawn_file_actions_addopen.
10751 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10753         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10754         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10755         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10756         conditional code always true.
10757         (__libc_vfork): New alias.
10759 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10761         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10762         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10764         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10766         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10767         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10769         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10770         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10772         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10773         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10775 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10777         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10778         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10779         multiarch strcmp for PPC64.
10780         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10781         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10783         multiarch optimizations.
10784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10785         (__libc_ifunc_impl_list): Likewise.
10787 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10789         * benchtests/scripts/validate_benchout.py: New script.
10790         * benchtests/Makefile (bench-func): Call it.
10791         * benchtests/scripts/benchout.schema.json: New file.
10793 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10795         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10796         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10797         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10798         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10799         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10800         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10801         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10802         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10803         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10804         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10805         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10806         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10807         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10808         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10809         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10810         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10812         Moved ...
10813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10814         ... here.
10815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10816         Moved ...
10817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10819         Moved ...
10820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10821         ... here.
10822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10823         Moved ...
10824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10825         ... here.
10826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10827         Moved ...
10828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10830         Moved ...
10831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10832         ... here.
10833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10834         Moved ...
10835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10836         ... here.
10837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10838         Moved ...
10839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10841         Moved ...
10842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10843         ... here.
10844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10845         Moved ...
10846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10847         ... here.
10848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10849         Moved ...
10850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10851         ... here.
10852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10853         Moved ...
10854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10856         Moved ...
10857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10858         ... here.
10859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10860         Moved ...
10861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10862         ... here.
10863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10864         Moved ...
10865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10866         ... here.
10867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10868         Moved ...
10869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10871         Moved ...
10872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10873         ... here.
10874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10875         Moved ...
10876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10877         ... here.
10878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10879         Moved ...
10880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10882         Moved ...
10883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10884         ... here.
10885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10886         Moved ...
10887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10889         Moved ...
10890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10892         Moved ...
10893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10894         ... here.
10895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10896         Moved ...
10897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10898         ... here.
10899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10900         Moved ...
10901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10902         ... here.
10903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10904         Moved ...
10905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10907         Moved ...
10908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10909         ... here.
10910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10911         Moved ...
10912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10913         ... here.
10914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10915         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10917         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10919         Moved ...
10920         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10921         ... here.
10922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10923         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10925         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10926         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10927         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10929         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10931         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10933         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10935         Moved ...
10936         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10938         Moved ...
10939         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10941         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10943         Moved ...
10944         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10946         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10947         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10948         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10949         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10950         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10952 2014-06-10  Wilco  <wdijkstr@arm.com>
10954         * math/test-fenv-return.c: New file.
10955         * math/Makefile: Add new test test-fenv-return.
10957 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10959         [BZ #17042]
10960         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10961         when x - 1 is zero.
10962         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10963         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10964         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10965         0.0L for an argument of 1.0L.
10966         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10967         Likewise.
10968         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10969         value when x - 1 is zero.
10970         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10971         * sysdeps/i386/fpu/libm-test-ulps: Update.
10972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10976         [BZ #15119]
10977         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10979 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10981         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10982         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10984 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10986         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10987         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10989         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10990         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10992         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10993         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10995         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10996         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10998         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10999         if not already defined.
11000         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11001         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11002         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11003         (TLS_INIT_TP): Use it.
11004         (TLS_DEFINE_INIT_TP): New macro.
11005         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11007 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11009         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11010         constant.
11011         [POSIX] (IXANY): Likewise.
11012         [POSIX] (OLCUC): Likewise.
11013         [POSIX || POSIX2008] (CBAUD): Do not allow.
11014         [POSIX || POSIX2008] (DEFECHO): Likewise.
11015         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11016         [POSIX || POSIX2008] (ECHOKE): Likewise.
11017         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11018         [POSIX || POSIX2008] (EXTA): Likewise.
11019         [POSIX || POSIX2008] (EXTB): Likewise.
11020         [POSIX || POSIX2008] (FLUSHO): Likewise.
11021         [POSIX || POSIX2008] (LOBLK): Likewise.
11022         [POSIX || POSIX2008] (PENDIN): Likewise.
11023         [POSIX || POSIX2008] (SWTCH): Likewise.
11024         [POSIX || POSIX2008] (VDISCARD): Likewise.
11025         [POSIX || POSIX2008] (VDSUSP): Likewise.
11026         [POSIX || POSIX2008] (VLNEXT): Likewise.
11027         [POSIX || POSIX2008] (VREPRINT): Likewise.
11028         [POSIX || POSIX2008] (VSTATUS): Likewise.
11029         [POSIX || POSIX2008] (VWERASE): Likewise.
11030         (B*): Change to B[0123456789]*.
11031         * conform/data/time.h-data [POSIX || UNIX98]
11032         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11033         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11034         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11035         [POSIX] (tm_*): Do not allow.
11037 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11039         * Makefile (install): Don't set LANGUAGE.
11040         * Makefile.in (install): Likewise.
11041         * assert/Makefile (test-assert-ENV): Remove variable.
11042         (test-assert-perr-ENV): Likewise.
11043         * elf/Makefile (neededtest4-ENV): Likewise.
11044         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11045         [$(cross-compiling) = no]: Don't set LANGUAGE.
11046         * io/ftwtest-sh (LANG): Remove variable.
11047         * libio/Makefile (tst-widetext-ENV): Likewise.
11048         * manual/install.texi (Running make install): Don't refer to
11049         environment settings for make install.
11050         * INSTALL: Regenerated.
11051         * nptl/tst-tls6.sh: Don't set LANG.
11052         * posix/globtest.sh (LANG): Remove variable.
11053         * string/Makefile (tester-ENV): Likewise.
11054         (inl-tester-ENV): Likewise.
11055         (noinl-tester-ENV): Likewise.
11056         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11057         [$(cross-compiling) = no]: Don't set LANGUAGE.
11058         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11059         without explicit environment settings.
11061 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11063         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11064         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11065         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11066         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11068 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11070         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11071         other files in the crypt directory.
11072         * crypt/crypt.c: Remove duplicate includes.
11073         * crypt/crypt-entry.c: Likewise.
11074         * crypt/crypt_util.c: Likewise.
11076 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11078         * Makeconfig (run-program-env): New variable.
11079         (run-program-prefix-before-env): Likewise.
11080         (run-program-prefix-after-env): Likewise.
11081         (run-program-prefix): Define in terms of new variables.
11082         (built-program-cmd-before-env): New variable.
11083         (built-program-cmd-after-env): Likewise.
11084         (built-program-cmd): Define in terms of new variables.
11085         (test-program-prefix-before-env): New variable.
11086         (test-program-prefix-after-env): Likewise.
11087         (test-program-prefix): Define in terms of new variables.
11088         (test-program-cmd-before-env): New variable.
11089         (test-program-cmd-after-env): Likewise.
11090         (test-program-cmd): Define in terms of new variables.
11091         * Rules (make-test-out): Use $(run-program-env).
11092         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11093         (help): Do not mention environment variables.  Mention
11094         --timeoutfactor option.
11095         (timeoutfactor): New variable.
11096         (blacklist_exports): Remove function.
11097         (exports): Remove variable.
11098         (command): Do not include ${exports}.
11099         * manual/install.texi (Configuring and compiling): Do not mention
11100         test wrappers preserving environment variables.  Mention that last
11101         assignment to a variable must take precedence.
11102         * INSTALL: Regenerated.
11103         * benchtests/Makefile (run-bench): Use $(run-program-env).
11104         * catgets/Makefile ($(objpfx)test1.cat): Use
11105         $(built-program-cmd-before-env), $(run-program-env) and
11106         $(built-program-cmd-after-env).
11107         ($(objpfx)test2.cat): Do not specify environment variables
11108         explicitly.
11109         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11110         $(run-program-env) and $(built-program-cmd-after-env).
11111         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11112         $(run-program-env) and $(test-program-cmd-after-env).
11113         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11114         explicitly.
11115         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11116         run_program_env and test_program_cmd_after_env arguments.
11117         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11118         * elf/tst-pathopt.sh: Use run_program_env argument.
11119         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11120         $(test-wrapper-env) and $(run-program-env).
11121         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11122         run_program_env arguments.
11123         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11124         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11125         $(test-program-prefix-before-env), $(run-program-env) and
11126         $(test-program-prefix-after-env).
11127         ($(objpfx)tst-gettext2.out): Likewise.
11128         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11129         run_program_env and test_program_prefix_after_env arguments.
11130         * intl/tst-gettext2.sh: Likewise.
11131         * intl/tst-gettext4.sh: Do not set environment variables
11132         explicitly.
11133         * intl/tst-gettext6.sh: Likewise.
11134         * intl/tst-translit.sh: Likewise.
11135         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11136         $(test-program-prefix-before-env), $(run-program-env) and
11137         $(test-program-prefix-after-env).
11138         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11139         run_program_env and test_program_prefix_after_env arguments.
11140         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11141         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11142         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11143         explicitly with each use of ${test_wrapper_env}.
11144         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11145         $(test-program-prefix-before-env), $(run-program-env) and
11146         $(test-program-prefix-after-env).
11147         * posix/tst-getconf.sh: Do not set environment variables
11148         explicitly.
11149         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11150         run_program_env and test_program_prefix_after_env arguments.
11151         * stdio-common/tst-printf.sh: Do not set environment variables
11152         explicitly.
11153         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11154         $(test-program-prefix-before-env), $(run-program-env) and
11155         $(test-program-prefix-after-env).
11156         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11157         run_program_env and test_program_prefix_after_env arguments.
11158         Split $test calls into $test_pre and $test.
11159         * timezone/Makefile (build-testdata): Use
11160         $(built-program-cmd-before-env), $(run-program-env) and
11161         $(built-program-cmd-after-env).
11163 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11165         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11166         strlen for non SHARED builds.
11168 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170         * nptl/allocatestack.c (check_list): Inlined function...
11171         (__reclaim_stacks): ... here.
11173 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11175         [BZ #15698]
11176         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11177         memory overrun.
11179 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11181         * Rules (make-test-out): Include
11182         LOCPATH=$(common-objpfx)localedata in default environment.
11183         * debug/Makefile (tst-chk1-ENV): Remove variable.
11184         (tst-chk2-ENV): Likewise.
11185         (tst-chk3-ENV): Likewise.
11186         (tst-chk4-ENV): Likewise.
11187         (tst-chk5-ENV): Likewise.
11188         (tst-chk6-ENV): Likewise.
11189         (tst-lfschk1-ENV): Likewise.
11190         (tst-lfschk2-ENV): Likewise.
11191         (tst-lfschk3-ENV): Likewise.
11192         (tst-lfschk4-ENV): Likewise.
11193         (tst-lfschk5-ENV): Likewise.
11194         (tst-lfschk6-ENV): Likewise.
11195         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11196         (tst-iconv7-ENV): Likewise.
11197         * intl/Makefile (LOCPATH-ENV): Likewise.
11198         (tst-codeset-ENV): Likewise.
11199         (tst-gettext3-ENV): Likewise.
11200         (tst-gettext5-ENV): Likewise.
11201         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11202         (tst-fopenloc-ENV): Likewise.
11203         (tst-fgetws-ENV): Remove variable.
11204         (tst-ungetwc1-ENV): Likewise.
11205         (tst-ungetwc2-ENV): Likewise.
11206         (bug-ungetwc2-ENV): Likewise.
11207         (tst-swscanf-ENV): Likewise.
11208         (bug-ftell-ENV): Likewise.
11209         (tst-fgetwc-ENV): Likewise.
11210         (tst-fseek-ENV): Likewise.
11211         (tst-ftell-partial-wide-ENV): Likewise.
11212         (tst-ftell-active-handler-ENV): Likewise.
11213         (tst-ftell-append-ENV): Likewise.
11214         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11215         (tst-regexloc-ENV): Likewise.
11216         (bug-regex1-ENV): Likewise.
11217         (tst-regex-ENV): Likewise.
11218         (tst-regex2-ENV): Likewise.
11219         (bug-regex5-ENV): Likewise.
11220         (bug-regex6-ENV): Likewise.
11221         (bug-regex17-ENV): Likewise.
11222         (bug-regex18-ENV): Likewise.
11223         (bug-regex19-ENV): Likewise.
11224         (bug-regex20-ENV): Likewise.
11225         (bug-regex22-ENV): Likewise.
11226         (bug-regex23-ENV): Likewise.
11227         (bug-regex25-ENV): Likewise.
11228         (bug-regex26-ENV): Likewise.
11229         (bug-regex30-ENV): Likewise.
11230         (bug-regex32-ENV): Likewise.
11231         (bug-regex33-ENV): Likewise.
11232         (bug-regex34-ENV): Likewise.
11233         (bug-regex35-ENV): Likewise.
11234         (tst-rxspencer-ENV): Likewise.
11235         (tst-rxspencer-no-utf8-ENV): Likewise.
11236         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11237         (tst-sscanf-ENV): Likewise.
11238         (tst-swprintf-ENV): Likewise.
11239         (tst-swscanf-ENV): Likewise.
11240         (test-vfprintf-ENV): Likewise.
11241         (scanf13-ENV): Likewise.
11242         (bug14-ENV): Likewise.
11243         (tst-grouping-ENV): Likewise.
11244         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11245         (tst-strtod3-ENV): Likewise.
11246         (tst-strtod4-ENV): Likewise.
11247         (tst-strtod5-ENV): Likewise.
11248         (testmb2-ENV): Likewise./
11249         * string/Makefile (tst-strxfrm-ENV): Likewise.
11250         (tst-strxfrm2-ENV): Likewise.
11251         (bug-strcoll1-ENV): Likewise.
11252         (test-strcasecmp-ENV): Likewise.
11253         (test-strncasecmp-ENV): Likewise.
11254         * time/Makefile (tst-strptime-ENV): Likewise.
11255         (tst-ftime_l-ENV): Likewise.
11256         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11257         (tst-mbrtowc-ENV): Likewise.
11258         (tst-wcrtomb-ENV): Likewise.
11259         (tst-mbrtowc2-ENV): Likewise.
11260         (tst-c16c32-1-ENV): Likewise.
11261         (tst-mbsnrtowcs-ENV): Likewise.
11263 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11265         * manual/resource.texi (How to get information about the memory
11266         subsystem?): Fix typo.
11267         Reported by Peon de la Parra Ivan <peon@keba.com>
11269 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11271         [BZ #16882]
11272         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11273         (pthread_spin_lock): Branch out of spin loop to proper location.
11274         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11275         (pthread_spin_lock): Likewise.
11277         * nptl/tst-spin4.c: New test.
11278         * nptl/Makefile (tests): Add tst-spin4.
11280 2014-06-03  Andreas Schwab  <schwab@suse.de>
11282         [BZ #15946]
11283         * resolv/res_send.c (send_dg): Reload file descriptor after
11284         calling reopen.
11286 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11288         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11290 2014-06-03  Richard Henderson  <rth@redhat.com>
11292         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11293         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11294         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11295         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11296         in the SAVE_PID block.
11297         (__libc_vfork): New alias.
11298         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11300         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11301         child in registers, not on the stack.  Remove RESET_PID conditionals.
11302         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11304 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11306         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11308 2014-06-03  Wilco  <wdijkstr@arm.com>
11310         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11311         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11312         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11313         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11314         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11315         Likewise.
11317 2014-06-03  Wilco  <wdijkstr@arm.com>
11319         * sysdeps/aarch64/fpu/math_private.h
11320         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11321         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11322         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11323         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11324         Fix declarations.
11326 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11328         * crypt/crypt-private.h: Include ufc-crypt.h.
11329         (__b64_from_24bit): Declare extern.
11330         * crypt/crypt_util.c(__b64_from_24bit): New function.
11331         (b64t): New static const variable.
11332         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11333         (b64t): Remove variable.
11334         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11335         * crypt/sha256-crypt.c: Include crypt-private.h.
11336         (b64t): Remove variable.
11337         (__sha256_crypt_r): Remove b64_from_24bit and replace
11338         with __b64_from_24bit.
11339         * crypt/sha512-crypt.c: Likewise.
11341 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11343         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11344         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11345         Label the code __libc_vfork rather than __vfork.
11346         [!NOT_IN_libc] (vfork): Define as weak alias.
11347         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11348         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11349         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11351 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11353         * malloc/malloc.c (malloc_info): Fix format specifier for
11354         n_mmaps.
11356 2014-06-02  Wilco  <wdijkstr@arm.com>
11358         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11359         FPCR write.
11361 2014-06-02  Wilco  <wdijkstr@arm.com>
11363         [BZ #17009]
11364         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11365         Rewrite to reduce FPCR/FPSR accesses.
11367 2014-06-01  David S. Miller  <davem@davemloft.net>
11369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11371 2014-05-31  David S. Miller  <davem@davemloft.net>
11373         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11374         to occur in round to nearest mode when |x| >= 2.0
11376 2014-05-30  Richard Henderson  <rth@twiddle.net>
11378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11379         (PSEUDO_RET_NOERRNO): Remove.
11380         (ret): Don't redefine.
11381         (ret_NOERRNO): Define in terms of ret.
11382         (ret_ERRVAL): Likewise.
11384         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11385         use of PSEUDO_RET; perform the error check directly.
11387 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11389         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11390         with __int128_t.
11392 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11394         * malloc/malloc (malloc_info): Fix formatting.
11396 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11397             Roland McGrath  <roland@hack.frob.com>
11399         * malloc/malloc (malloc_info): Also print mmapped statistics.
11401 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11403         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11404         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11406 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11408         * malloc/malloc.c (malloc_info): Inline mi_arena.
11410 2014-05-29  Richard Henderson  <rth@twiddle.net>
11412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11413         Remove comma before expanding ASM_ARGS_##nr.
11414         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11415         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11416         of ASM_ARGS_##nr.
11417         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11418         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11419         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11420         (ASM_ARGS_1): Add leading comma.
11422         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11423         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11424         to __errno_location.
11425         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11426         Remove the expected plt for __errno_location.
11428         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11429         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11430         call to __read_tp.
11432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11433         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11434         it and break it down.
11435         (DOCARGS_0, DOCARGS_1): Do nothing.
11436         (DOCARGS_2): Update to store into the new stack frame.
11437         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11438         (UNDOCARGS_1): Update to restore from the new stack frame.
11439         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11440         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11442         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11443         (SINGLE_THREAD_P): New parameter for result regno.
11444         (PSEUDO): Update to match; use cbz instead of beq.
11446         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11447         Use ENTRY to define the _nocancel entry point.  Share the syscall
11448         and syscall error check paths with the cancel path.
11449         (PSEUDO_END): New.
11451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11452         whitespace; tabs before and after asm mnemonics.
11454 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11456         [BZ #15132]
11457         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11458         Call fstat64 or stat64 internally, depending on arguments passed.
11459         Replace stat buffer argument with file descriptor argument.
11460         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11461         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11462         Pass fd to __internal_statvfs instead of calling fstat64.
11463         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11464         Pass fd to __internal_statvfs64 instead of calling fstat64.
11465         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11466         Pass -1 to __internal_statvfs instead of calling stat64.
11467         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11468         Pass -1 to __internal_statvfs64 instead of calling stat64.
11470 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11472         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11473         that was previously under [RESET_PID].
11474         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11476         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11477         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11479 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11481         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11483         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11484         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11486 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11488         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11490 2014-05-27  Andreas Schwab  <schwab@suse.de>
11492         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11493         TLS_INIT_TP macro.
11494         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11495         * elf/rtld.c (init_tls, dl_main): Likewise.
11496         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11497         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11498         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11499         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11500         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11501         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11502         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11503         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11504         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11505         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11506         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11507         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11508         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11509         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11510         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11511         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11512         * sysdeps/generic/tls.h: Update description.
11514 2014-05-27  Will Newton  <will.newton@linaro.org>
11516         [BZ #16990]
11517         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11518         and restore r2 rather than just restoring.
11520 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11522         [BZ #16724]
11523         * libio/tst-ftell-append.c: New test case.
11524         * libio/Makefile (tests): Add test case.
11525         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11526         append mode.
11527         * libio/wfileops.c (do_ftell_wide): Likewise.
11529 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11533         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11534         ...
11535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11537         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11538         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11539         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11540         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11541         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11542         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11544         Moved ...
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11547         Moved ...
11548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11549         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11550         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11551         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11552         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11553         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11554         ...
11555         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11556         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11557         Moved ...
11558         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11559         here.
11560         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11561         ...
11562         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11563         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11564         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11566         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11567         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11568         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11569         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11572         merge into ...
11573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11575         ...
11576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11578         ...
11579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11581         Moved ...
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11583         here.
11584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11585         Moved ...
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11588         Moved ...
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11592         conditional [RESET_PID].
11593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11595         removed.
11596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11597         removed.
11599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11600         <tcb-offsets.h>.
11601         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11602         (__libc_vfork): New strong alias.
11603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11604         removed.
11605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11606         Removed.
11608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11609         <tcb-offsets.h>.
11610         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11611         (__libc_vfork): New strong alias.
11612         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11613         removed.
11614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11615         removed.
11617 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11619         * malloc/malloc.c (mi_arena): New function.
11620         (malloc_info): Remove nested function mi_arena. Call non-nosted
11621         function mi_arena.
11623 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11625         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11626         by insrwi.
11627         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11628         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11629         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11630         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11631         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11632         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11633         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11635 2014-05-26  Andreas Schwab  <schwab@suse.de>
11637         [BZ #16984]
11638         * locale/programs/repertoire.c (repertoire_read): Add slash
11639         between I18NPATH element and file name.
11640         * locale/programs/locfile.c (locfile_read): Likewise.
11642 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11644         * nptl/pthread_mutexattr_settype.c
11645         (__pthread_mutexattr_settype):
11646         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11648 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11650         * nptl/tst-mutex5 (do_test):
11651         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11653 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11655         * benchtests/README: Document 'init' directive.
11656         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11657         BENCH_INIT.
11658         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11659         (parse_file): Recognize 'init' directive.
11661 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11663         [BZ #16796]
11664         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11665         alignment of struct pthread.
11667 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11669         [BZ #16878]
11670         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11671         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11672         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11673         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11675 2014-05-25  Richard Henderson  <rth@twiddle.net>
11677         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11678         (SINGLE_THREAD_P_PIC): Remove.
11679         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11680         (SINGLE_THREAD_P_PIC): Remove.
11682         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11683         branch to syscall error ...
11684         (PSEUDO): ... here.
11685         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11686         from __local_syscall_error to .Lsyscall_error.
11687         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11688         (SYSCALL_ERROR): Update label name.
11690         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11691         Do not use DOARGS/UNDOARGS.
11692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11693         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11694         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11695         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11696         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11699         block comment.
11701         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11702         define if !NOT_IN_libc.
11703         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11704         define with non-default symbol versions.
11706 2014-05-23  Richard Henderson  <rth@twiddle.net>
11708         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11709         (vfork, __vfork): Define via compat_symbol.
11711         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11712         [!HAVE_IFUNC] (vfork_compat): Remove.
11713         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11715 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11717         [BZ #16978]
11718         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11719         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11720         variable.
11722 2014-05-23  Richard Henderson  <rth@twiddle.net>
11724         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11725         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11726         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11727         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11729         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11730         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11731         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11732         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11733         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11734         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11735         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11736         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11737         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11738         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11739         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11740         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11741         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11742         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11743         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11744         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11745         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11746         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11747         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11748         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11749         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11750         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11751         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11752         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11753         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11754         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11755         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11756         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11757         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11758         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11759         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11760         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11761         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11762         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11763         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11764         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11765         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11766         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11767         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11768         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11769         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11770         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11771         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11772         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11773         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11774         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11775         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11776         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11777         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11778         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11779         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11780         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11781         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11782         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11784         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11786         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11787         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11788         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11789         before exiting on error.
11790         (__libc_vfork): New strong alias.
11791         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11792         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11794         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11795         that was previously under [RESET_PID].
11796         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11798         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11800 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11802         [BZ #16977]
11803         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11804         value when x - 1 is zero.
11805         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11806         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11807         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11808         0.0L for an argument of 1.0L.
11809         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11810         Likewise.
11811         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11812         value when x - 1 is zero.
11813         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11814         * sysdeps/i386/fpu/libm-test-ulps: Update.
11815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11817 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11819         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11820         alphasort and versionsort.
11822 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11824         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11825         macro.
11826         [copysignf]: Likewise.
11828 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11830         * crypt/md5-crypt.c: Fix formatting.
11832 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11834         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11835         (b64_from_24bit): New function.
11837 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11839         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11840         libc_hidden_builtin_def to ifunc.
11841         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11842         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11844 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11846         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11847         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11849 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11851         * nscd/Depend (linuxthreads): Remove.
11852         (nptl): Add.
11853         * resolv/Depend (linuxthreads): Remove.
11854         * rt/Depend (linuxthreads): Remove.
11856         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11857         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11858         $(common-objpfx)elf/.
11859         (link-libc-before-gnulib): Likewise.
11860         (elfobjdir): Remove variable.
11861         * Makefile (install): Use $(elf-objpfx) instead of
11862         $(common-objpfx)elf/.
11863         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11864         $(elfobjdir)/.
11865         (link-libc-deps): Likewise.
11866         ($(common-objpfx)libc.so): Likewise.
11867         ($(common-objpfx)linkobj/libc.so): Likewise.
11868         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11869         instead of $(common-objpfx)elf/.
11870         (symbolic-link-list): Likewise.
11871         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11872         [$(cross-compiling) = no]: Likewise.
11873         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11874         $(elfobjdir)/.
11875         (static-gnulib-arch): Likewise.
11876         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11877         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11878         $(common-objpfx)elf/.
11880 2014-05-21  Richard Henderson  <rth@redhat.com>
11882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11883         (SINGLE_THREAD_P): Use the correct width load.  Fold
11884         into the ldr offset.
11886         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11887         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11889 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11891         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11892         (libgcc_s_resume): Use __attribute_used__.
11893         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11894         Likewise.
11896 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11898         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11899         optimization when used with float constants.
11901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11903 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11905         [BZ #16915]
11906         * locale/nl_langinfo_l.c: Make direct reference to every
11907         _nl_current_CATEGORY symbol.
11908         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11909         (tests-static): Add tst-langinfo-static.
11910         (tests-special): Add tst-langinfo-static.out.
11911         ($(objpfx)tst-langinfo.out): Redirect output.
11912         ($(objpfx)tst-langinfo-static.out): New.
11913         * localedata/tst-langinfo.sh: Send output to stdout.
11914         * localedata/tst-langinfo-static.c: New file.
11916         [BZ #16965]
11917         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11918         when the shift amount is modulo the limb size.
11920 2014-05-20  Richard Henderson  <rth@redhat.com>
11922         [BZ #16967]
11923         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11924         Change type of sa_flags from unsigned int to int.
11926         [BZ #16966]
11927         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11929         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11931 2014-05-20  Will Newton  <will.newton@linaro.org>
11933         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11934         Test the return value of the system call in the nocancel case.
11936 2014-05-20  Will Newton  <will.newton@linaro.org>
11937             Yvan Roux  <yvan.roux@linaro.org>
11939         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11940         #include of asm/ptrace.h.
11941         (PTRACE_GET_THREAD_AREA): Remove #undef.
11942         (PTRACE_GETHBPREGS): Likewise.
11943         (PTRACE_SETHBPREGS): Likewise.
11944         (struct user_regs_struct): New structure.
11945         (struct user_fpsimd_struct): New structure.
11946         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11947         #include of asm/ptrace.h and second #include of sys/user.h.
11948         (PTRACE_GET_THREAD_AREA): Remove #undef.
11949         (PTRACE_GETHBPREGS): Likewise.
11950         (PTRACE_SETHBPREGS): Likewise.
11951         (ELF_NGREG): Use new struct user_regs_struct.
11952         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11954 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11959 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11961         [BZ #16958]
11962         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11963         membar to avoid block loads/stores to overlap previous stores.
11965 2014-05-17  Richard Henderson  <rth@redhat.com>
11967         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11968         Create the __##syscall_name##_nocancel entry point.
11969         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11970         Remove; let the sysdep-cancel.h code create it.
11972 2014-05-17  David S. Miller  <davem@davemloft.net>
11974         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11975         Protect with __USE_GNU.
11976         (TIOCSET_TEMPT): Likewise.
11977         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11978         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11979         these are already provided in bits/ioctl-types.h
11981 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11983         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11984         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11986         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11987         Use wait4 regardless of [__NR_waitpid].
11989 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11991         PR libgcc/60166
11992         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11993         (_FP_NANSIGN_Q): Set the quiet bit.
11995 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11997         * benchtests/Makefile
11998         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11999         not $(common-objpfx)math/libm.so.
12000         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12001         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12002         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12003         $(common-objpfx)dlfcn/libdl.so.
12004         ($(objpfx)tst-audit8): Depend on $(libm), not
12005         $(common-objpfx)math/libm.so.
12006         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12007         not $(common-objpfx)dlfcn/libdl.so.
12008         * math/Makefile
12009         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12010         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12011         [$(build-shared) = yes].
12012         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12013         $(common-objpfx)nptl/libpthread.so.
12014         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12015         $(common-objpfx)math/libm.so$(libm.so-version) or
12016         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12017         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12018         $(common-objpfx)dlfcn/libdl.so.
12019         * setjmp/Makefile (link-libm): Remove variable.
12020         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12021         * stdio-common/Makefile (link-libm): Remove variable.
12022         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12023         * stdlib/Makefile (link-libm): Remove variable.
12024         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12025         ($(objpfx)tst-strtod-round): Likewise.
12026         ($(objpfx)tst-tininess): Likewise.
12027         ($(objpfx)tst-strtod-underflow): Likewise.
12028         ($(objpfx)tst-strtod6): Likewise.
12029         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12030         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12031         $(common-objpfx)dlfcn/libdl.so.
12033 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12036         BSD terminal modes definitions.
12038 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12040         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12041         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12043         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12044         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12045         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12046         Don't do #include_next.
12047         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12048         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12049         Don't do #include_next.
12050         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12051         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12052         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12053         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12055 2014-05-16  Allan McRae  <allan@archlinux.org>
12057         * po/sv.po: Update Swedish translation from translation project.
12059         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12060         in sed expression.
12062 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12064         [BZ #16917]
12065         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12066         errno if the TIOCGPTN ioctl fails with an error different than
12067         EINVAL.
12068         * login/tst-ptsname.c: New file.
12069         * login/Makefile (tests): Add tst-ptsname.
12071         [BZ #16943]
12072         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12073         and prlimit64.
12075 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12077         [BZ #16849]
12078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12079         herrno to return EAI_AGAIN.
12081 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12083         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12084         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12085         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12086         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12087         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12088         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12089         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12090         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12091         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12092         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12093         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12094         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12095         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12096         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12097         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12098         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12099         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12100         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12101         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12102         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12103         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12104         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12105         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12106         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12107         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12108         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12109         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12110         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12111         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12112         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12114         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12116         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12118         Moved ...
12119         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12121         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12123         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12125         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12127         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12129         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12131         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12133         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12135         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12137         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12139         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12141         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12143         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12145         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12147         Moved ...
12148         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12150         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12152         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12154         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12156         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12158         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12160         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12162         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12164         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12166         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12168         Moved ...
12169         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12171         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12173         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12174         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12175         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12176         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12177         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12178         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12179         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12180         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12181         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12182         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12183         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12184         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12185         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12186         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12187         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12188         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12189         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12190         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12191         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12192         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12193         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12194         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12195         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12196         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12197         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12198         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12199         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12200         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12201         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12202         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12203         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12205         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12206         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12208         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12209         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12210         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12211         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12212         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12213         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12214         Moved ...
12215         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12216         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12217         Moved ...
12218         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12220         Moved ...
12221         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12223         Moved ...
12224         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12225         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12226         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12228         Moved ...
12229         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12230         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12231         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12232         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12233         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12234         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12235         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12237         Moved ...
12238         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12240         Moved ...
12241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12242         ... here.
12243         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12244         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12245         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12246         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12248         Moved ...
12249         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12250         ... here.
12251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12252         Moved ...
12253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12254         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12255         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12256         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12257         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12258         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12259         Moved ...
12260         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12262         Moved ...
12263         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12265         Moved ...
12266         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12268         Moved ...
12269         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12270         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12271         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12273         Moved ...
12274         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12275         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12276         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12277         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12280         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12282         Moved ...
12283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12285         Moved ...
12286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12287         ... here.
12288         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12289         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12290         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12291         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12293         Moved ...
12294         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12295         ... here.
12296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12297         Moved ...
12298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12299         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12300         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12301         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12302         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12303         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12304         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12305         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12306         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12307         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12308         Moved ...
12309         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12310         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12311         Moved ...
12312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12313         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12314         Moved ...
12315         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12317         Moved ...
12318         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12319         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12320         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12321         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12322         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12323         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12324         Moved ...
12325         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12326         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12327         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12328         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12329         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12330         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12331         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12332         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12333         Moved ...
12334         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12336         Moved ...
12337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12338         ... here.
12339         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12340         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12341         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12342         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12344         Moved ...
12345         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12346         ... here.
12347         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12348         Moved ...
12349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12350         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12351         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12352         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12353         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12354         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12355         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12356         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12357         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12358         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12359         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12361         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12362         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12364         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12365         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12367         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12368         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12369         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12370         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12371         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12372         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12373         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12374         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12375         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12376         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12377         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12378         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12379         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12380         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12381         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12383         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12385         Moved ...
12386         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12387         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12390         Moved ...
12391         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12393         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12395         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12399         Moved ...
12400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12402         Moved ...
12403         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12405         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12407         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12409         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12410         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12411         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12412         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12413         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12414         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12415         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12416         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12417         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12418         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12419         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12421         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12422         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12423         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12424         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12425         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12427         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12428         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12429         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12430         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12431         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12432         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12433         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12434         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12435         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12436         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12438         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12439         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12441         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12442         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12443         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12444         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12445         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12446         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12447         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12448         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12449         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12450         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12451         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12452         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12453         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12454         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12456         Update #include.
12457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12458         Likewise.
12459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12460         Likewise.
12461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12462         Likewise.
12463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12464         Likewise.
12465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12466         Likewise.
12467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12468         Likewise.
12469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12470         Likewise.
12471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12472         Likewise.
12473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12474         Likewise.
12475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12483         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12485         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12486         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12488         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12491         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12492         that was previously under [RESET_PID].
12493         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12494         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12495         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12497         * sysdeps/i386/nptl/Implies: New file.
12498         * sysdeps/x86_64/nptl/Implies: New file.
12499         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12500         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12501         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12502         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12504         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12505         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12506         (__libc_vfork): New strong alias.
12507         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12508         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12510         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12511         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12512         (__libc_vfork): New strong alias.
12513         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12514         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12516         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12517         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12518         (__libc_vfork): New strong alias.
12519         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12520         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12521         * nptl/pt-vfork.c: New file.
12522         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12523         (libpthread: GLIBC_2.20): New version set (empty).
12525 2014-05-14  Will Newton  <will.newton@linaro.org>
12527         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12528         rather than #if.
12530 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12532         [BZ #16564]
12533         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12534         arguments with exponent 65 or above.
12535         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12536         arguments 0x1p113L or above.
12537         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12538         to arguments 0x1p107L or above.
12539         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12540         positive arguments with exponent 65 or above.
12541         * math/auto-libm-test-in: Add more tests of log1p.
12542         * math/auto-libm-test-out: Regenerated.
12544         [BZ #16928]
12545         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12546         non-finite arguments is +0.
12547         * math/s_cacosf.c (__cacosf): Likewise.
12548         * math/s_cacosl.c (__cacosl): Likewise.
12549         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12550         * sysdeps/i386/fpu/libm-test-ulps: Update.
12551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12553         [BZ #16927]
12554         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12555         value.
12556         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12557         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12558         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12559         for explicit high bit of mantissa when testing for argument equal
12560         to 1.
12561         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12562         * sysdeps/i386/fpu/libm-test-ulps: Update.
12563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12565         [BZ #16516]
12566         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12567         (__erf): Scale by 16 instead of 8 in potentially underflowing
12568         case.  Ensure exception if result actually underflows.
12569         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12570         (__erff): Scale by 16 instead of 8 in potentially underflowing
12571         case.  Ensure exception if result actually underflows.
12572         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12573         (efx8): Remove variable.
12574         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12575         case.  Ensure exception if result actually underflows.
12576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12577         (efx8): Remove variable.
12578         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12579         case.  Ensure exception if result actually underflows.
12580         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12581         (efx8): Remove variable.
12582         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12583         case.  Ensure exception if result actually underflows.
12584         * math/auto-libm-test-in: Add more tests of erf.
12585         * math/auto-libm-test-out: Regenerated.
12587 2014-05-14  Andreas Schwab  <schwab@suse.de>
12589         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12590         Remove code conditionalized on USE___THREAD.
12592         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12593         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12594         not definedness.
12596 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12599         Define unconditionally.
12600         (__ASSUME_O_CLOEXEC): Likewise.
12601         (__ASSUME_SOCK_CLOEXEC): Likewise.
12602         (__ASSUME_IN_NONBLOCK): Likewise.
12603         (__ASSUME_PIPE2): Likewise.
12604         (__ASSUME_EVENTFD2): Likewise.
12605         (__ASSUME_SIGNALFD4): Likewise.
12606         (__ASSUME_DUP3): Likewise.
12607         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12608         (__ASSUME_DUP3): Do not define.
12609         (__ASSUME_EVENTFD2): Likewise.
12610         (__ASSUME_IN_NONBLOCK): Likewise.
12611         (__ASSUME_O_CLOEXEC): Likewise.
12612         (__ASSUME_PIPE2): Likewise.
12613         (__ASSUME_SIGNALFD4): Likewise.
12614         (__ASSUME_SOCK_CLOEXEC): Likewise.
12615         (__ASSUME_UTIMES): Undefine.
12616         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12617         (__ASSUME_UTIMES): Do not define.
12618         (__ASSUME_O_CLOEXEC): Likewise.
12619         (__ASSUME_SOCK_CLOEXEC): Likewise.
12620         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12621         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12622         0x020621].
12623         (__ASSUME_PIPE2): Likewise.
12624         (__ASSUME_EVENTFD2): Likewise.
12625         (__ASSUME_SIGNALFD4): Likewise.
12626         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12627         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12628         Do not define.
12629         (__ASSUME_EVENTFD2): Likewise.
12630         (__ASSUME_SIGNALFD4): Likewise.
12631         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12632         (__ASSUME_32BITUIDS): Likewise.
12633         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12634         (__ASSUME_IPC64): Likewise.
12635         (__ASSUME_ST_INO_64_BIT): Likewise.
12636         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12637         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12638         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12639         (__ASSUME_UTIMES): Do not define.
12640         (__ASSUME_PSELECT): Likewise.
12641         (__ASSUME_PPOLL): Likewise.
12642         (__ASSUME_O_CLOEXEC): Likewise.
12643         (__ASSUME_SOCK_CLOEXEC): Likewise.
12644         (__ASSUME_IN_NONBLOCK): Likewise.
12645         (__ASSUME_PIPE2): Likewise.
12646         (__ASSUME_EVENTFD2): Likewise.
12647         (__ASSUME_SIGNALFD4): Likewise.
12648         (__ASSUME_DUP3): Likewise.
12649         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12650         (__ASSUME_UTIMES): Likewise.
12651         (__ASSUME_O_CLOEXEC): Likewise.
12652         (__ASSUME_SOCK_CLOEXEC): Likewise.
12653         (__ASSUME_IN_NONBLOCK): Likewise.
12654         (__ASSUME_PIPE2): Likewise.
12655         (__ASSUME_EVENTFD2): Likewise.
12656         (__ASSUME_SIGNALFD4): Likewise.
12657         (__ASSUME_DUP3): Likewise.
12658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12659         (__ASSUME_UTIMES): Likewise.
12660         (__ASSUME_O_CLOEXEC): Likewise.
12661         (__ASSUME_SOCK_CLOEXEC): Likewise.
12662         (__ASSUME_IN_NONBLOCK): Likewise.
12663         (__ASSUME_PIPE2): Likewise.
12664         (__ASSUME_EVENTFD2): Likewise.
12665         (__ASSUME_SIGNALFD4): Likewise.
12666         (__ASSUME_DUP3): Likewise.
12667         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12668         Likewise.
12669         (__ASSUME_UTIMES): Likewise.
12670         (__ASSUME_EVENTFD2): Likewise.
12671         (__ASSUME_SIGNALFD4): Likewise.
12672         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12673         (__ASSUME_O_CLOEXEC): Likewise.
12674         (__ASSUME_SOCK_CLOEXEC): Likewise.
12675         (__ASSUME_IN_NONBLOCK): Likewise.
12676         (__ASSUME_PIPE2): Likewise.
12677         (__ASSUME_EVENTFD2): Likewise.
12678         (__ASSUME_SIGNALFD4): Likewise.
12679         (__ASSUME_DUP3): Likewise.
12680         (__ASSUME_UTIMES): Undefine.
12682         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12683         feclearexcept.  Remove symbol versioning code.
12684         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12685         symbol versioning code.
12686         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12687         symbol versioning code.
12688         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12689         feupdateenv.  Remove symbol versioning code.
12690         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12691         fegetexceptflag.  Remove symbol versioning code.
12692         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12693         fesetexceptflag.  Remove symbol versioning code.
12694         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12695         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12696         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12697         (__posix_fadvise64_l32): Remove prototype.
12698         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12699         code.
12701 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12703         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12704         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12705         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12706         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12708 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12710         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12711         current working directory
12713 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12715         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12716         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12717         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12718         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12719         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12720         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12721         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12722         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12723         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12724         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12725         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12726         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12727         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12728         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12729         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12730         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12731         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12732         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12733         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12734         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12735         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12736         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12737         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12738         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12739         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12740         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12741         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12742         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12743         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12744         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12745         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12746         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12747         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12748         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12749         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12750         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12751         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12752         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12753         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12754         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12755         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12756         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12758         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12759         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12761         * sysdeps/unix/sysv/linux/arm/Makefile
12762         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12763         Add rt-aeabi_unwind_cpp_pr1.
12764         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12765         Add nptl-aeabi_unwind_cpp_pr1.
12766         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12767         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12768         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12769         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12770         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12771         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12773         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12774         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12775         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12776         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12778         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12779         Deconditionalize the code that was previously under [RESET_PID].
12780         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12782         * sysdeps/generic/exit-thread.h: New file.
12783         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12784         * include/unistd.h (__exit_thread): Remove declaration.
12785         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12786         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12787         * csu/libc-start.c: Include <exit-thread.h>.
12788         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12789         * nptl/pthread_create.c: Include <exit-thread.h>.
12790         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12791         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12792         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12793         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12794         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12795         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12796         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12797         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12798         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12799         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12800         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12801         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12802         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12803         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12804         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12805         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12806         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12808 2014-05-13  Andreas Schwab  <schwab@suse.de>
12810         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12812 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12814         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12815         (__ASSUME_UTIMES): Do not condition on kernel version.
12816         (__ASSUME_PSELECT): Define unconditionally.
12817         (__ASSUME_PPOLL): Likewise.
12818         (__ASSUME_ATFCTS): Likewise.
12819         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12820         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12821         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12822         (__ASSUME_UTIMENSAT): Define unconditionally.
12823         (__ASSUME_PRIVATE_FUTEX): Likewise.
12824         (__ASSUME_FALLOCATE): Likewise.
12825         (__ASSUME_O_CLOEXEC): Likewise.
12826         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12827         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12828         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12829         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12830         (__ASSUME_IN_NONBLOCK): Likewise.
12831         (__ASSUME_PIPE2): Likewise.
12832         (__ASSUME_EVENTFD2): Likewise.
12833         (__ASSUME_SIGNALFD4): Likewise.
12834         (__ASSUME_DUP3): Likewise.
12835         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12836         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12837         (__ASSUME_AT_RANDOM): Likewise.
12838         (__ASSUME_PREADV): Likewise.
12839         (__ASSUME_PWRITEV): Likewise.
12840         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12841         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12842         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12843         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12844         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12845         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12846         (__ASSUME_O_CLOEXEC): Define unconditionally.
12847         (__ASSUME_PSELECT): Do not undefine conditionally.
12848         (__ASSUME_PPOLL): Likewise.
12849         (__ASSUME_ATFCTS): Likewise.
12850         (__ASSUME_SET_ROBUST_LIST): Likewise.
12851         (__ASSUME_UTIMENSAT): Likewise.
12852         (__ASSUME_FDATASYNC): Define unconditionally.
12853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12854         (__ASSUME_SIGFRAME_V2): Likewise.
12855         )__ASSUME_EVENTFD2): Likewise.
12856         (__ASSUME_SIGNALFD4): Likewise.
12857         (__ASSUME_PSELECT): Do not undefine conditionally.
12858         (__ASSUME_PPOLL): Likewise.
12859         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12860         (__ASSUME_PSELECT): Define unconditionally.
12861         (__ASSUME_PPOLL): Likewise.
12862         (__ASSUME_O_CLOEXEC): Likewise.
12863         (__ASSUME_SOCK_CLOEXEC): Likewise.
12864         (__ASSUME_IN_NONBLOCK): Likewise.
12865         (__ASSUME_PIPE2): Likewise.
12866         (__ASSUME_EVENTFD2): Likewise.
12867         (__ASSUME_SIGNALFD4): Likewise.
12868         (__ASSUME_DUP3): Likewise.
12869         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12870         (__ASSUME_O_CLOEXEC): Likewise.
12871         (__ASSUME_SOCK_CLOEXEC): Likewise.
12872         (__ASSUME_IN_NONBLOCK): Likewise.
12873         (__ASSUME_PIPE2): Likewise.
12874         (__ASSUME_EVENTFD2): Likewise.
12875         (__ASSUME_SIGNALFD4): Likewise.
12876         (__ASSUME_DUP3): Likewise.
12877         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12878         (__ASSUME_EVENTFD2): Likewise.
12879         (__ASSUME_SIGNALFD4): Likewise.
12880         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12882 2014-05-12  Andreas Schwab  <schwab@suse.de>
12884         [BZ #16932]
12885         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12886         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12887         than maximum RPC packet size.
12888         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12889         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12890         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12891         (_nss_nis_getservbyport_r): Likewise.
12893 2014-05-12  Will Newton  <will.newton@linaro.org>
12895         * malloc/Makefile (tests): Add tst-mallopt.
12896         * malloc/tst-mallopt.c: New file.
12898 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12900         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12901         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12903 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12905         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12906         (tst-tlsmod6.so): Likewise.
12908 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12910         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12912 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12914         [BZ #16064]
12915         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12916         and <dl-procinfo.h>.
12917         (__fegetenv): Save SSE state in envp->__eip if supported.
12918         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12919         envp->__eip if supported.
12920         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12921         and <dl-procinfo.h>.
12922         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12923         __data_offset and __data_selector in environment to 0.  Set SSE
12924         state if supported.
12925         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12926         test-fenv-sse.
12927         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12928         -mfpmath=sse.
12929         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12931 2014-05-09  Will Newton  <will.newton@linaro.org>
12933         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12934         and libc_relro_required for ARM.
12935         * sysdeps/arm/preconfigure: Regenerate.
12937 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12938             Stefan Liebler  <stli@linux.vnet.ibm.com>
12940         * config.make.in (enable-lock-elision): New Makefile variable.
12941         * configure.ac: Likewise.
12942         * configure: Regenerate.
12943         * sysdeps/s390/configure.ac:
12944         Add check for gcc transactions support.
12945         * sysdeps/s390/configure: Regenerate.
12946         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12947         Build elision files if enabled.
12948         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12949         Add lock elision support for s390.
12950         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12951         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12952         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12953         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12954         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12955         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12956         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12957         Likewise.
12958         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12959         Likewise.
12960         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12961         Likewise.
12962         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12963         Likewise.
12964         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12965         (__lll_timedlock_elision, __lll_lock_elision)
12966         (__lll_unlock_elision, __lll_trylock_elision)
12967         (lll_timedlock_elision, lll_lock_elision)
12968         (lll_unlock_elision, lll_trylock_elision): Add.
12969         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12970         (pthread_mutex_t): Add lock elision support for s390.
12972 2014-05-14  Wilco  <wdijkstr@arm.com>
12974         * sysdeps/arm/fclrexcpt.c: Cleanup.
12975         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12976         * sysdeps/arm/feenablxcpt.c: Cleanup.
12977         * sysdeps/arm/fegetenv.c: Cleanup.
12978         * sysdeps/arm/fegetexcept.c: Cleanup.
12979         * sysdeps/arm/fegetround.c: Cleanup.
12980         * sysdeps/arm/feholdexcpt.c: Cleanup.
12981         * sysdeps/arm/fesetenv.c: Cleanup.
12982         * sysdeps/arm/fesetround.c: Cleanup.
12983         * sysdeps/arm/feupdateenv.c: Cleanup.
12984         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12985         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12986         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12987         * sysdeps/arm/ftestexcept.c: Cleanup.
12988         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12989         * sysdeps/arm/setfpucw.c: Cleanup.
12991 2014-05-09  Will Newton  <will.newton@linaro.org>
12993         * sysdeps/arm/armv7/strcmp.S: New file.
12994         * NEWS: Mention addition of ARMv7 optimized strcmp.
12996 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12998         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12999         look for %.ac rather than %.in.
13001         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13002         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13003         * sysdeps/mach/hurd/configure: Regenerated.
13004         * sysdeps/unix/sysv/linux/configure: Regenerated.
13006         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13008 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13010         [BZ# 16922]
13011         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13012         (LONG_SUB): Ditto.
13013         (PTR_SUB): Ditto.
13015 2014-05-07  Andreas Schwab  <schwab@suse.de>
13017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13018         when skipping over non-matching result from nscd.
13020 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13022         [BZ #16876]
13023         * nptl/sockperf.c (client): Check socket return value.
13025         [BZ #16877]
13026         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13027         nscd security class.
13029 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13031         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13032         * sysdeps/arm/unwind.h: ... here.
13034 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13036         [BZ# 16916]
13037         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13038         Define.
13040 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13042         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13043         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13044         multiarch strncpy for PPC64.
13045         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13046         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13048         multiarch optimizations.
13049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13050         (__libc_ifunc_impl_list): Likewise.
13051         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13052         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13053         multiarch stpncpy for PPC64.
13054         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13055         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13057 2014-05-06  Andreas Schwab  <schwab@suse.de>
13059         [BZ #16912]
13060         * gmon/mcount.c (_MCOUNT_DECL): Use
13061         atomic_compare_and_exchange_bool_acq instead of
13062         catomic_compare_and_exchange_bool_acq.
13064 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13066         * elf/Makefile (others, install-bin): Remove pldd.
13067         (pldd-modules): Variable removed.
13068         ($(objpfx)pldd): Target removed.
13069         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13070         (others, install-bin): Append pldd here.
13071         ($(objpfx)pldd): New target.
13073         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13074         to 0, so the first #if test emitted later doesn't see it undefined.
13075         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13076         * sysdeps/gnu/errlist.c: Regenerated.
13078 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13080         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13081         [libc_hidden_builtin_def]: Define to empty value.
13082         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13083         [libc_hidden_builtin_def]: Likewise.
13084         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13085         [libc_hidden_builtin_def]: Likewise.
13086         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13087         [libc_hidden_builtin_def]: Likewise.
13088         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13089         __redirect_memcpy and define ifunc as default hidden symbol.
13090         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13091         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13093 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13095         * locale/iso-4217.def: Reintroduce XDR currency.
13097 2014-05-04  Allan McRae  <allan@archlinux.org>
13099         * po/eo.po: Update Esperanto translation from translation project.
13101 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13103         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13104         and FEATURE_INDEX_MAX to 1.
13105         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13107 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13109         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13110         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13111         * iconvdata/big5.c (ONE_DIRECTION): Define.
13112         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13113         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13114         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13115         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13116         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13117         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13118         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13119         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13120         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13121         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13122         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13123         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13124         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13125         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13126         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13127         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13128         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13129         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13130         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13131         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13132         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13133         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13134         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13135         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13136         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13137         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13138         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13139         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13140         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13141         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13142         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13143         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13144         * iconvdata/johab.c (ONE_DIRECTION): Define.
13145         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13146         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13147         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13148         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13149         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13150         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13151         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13152         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13153         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13154         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13156 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13158         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13159         (_IO_JUMPS_OFFSET): Define to 0.
13161         * nptl/sysdeps/pthread/bits/libc-lock.h
13162         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13163         (__libc_lock_define_initialized_recursive): Always define using
13164         initializer.  Modern compilers treat uninitialized (implicit zero) and
13165         explicit zero initializers the same (i.e. put the datum in bss).
13167 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13169         * nscd/nscd-client.h: Include <string.h>.
13171 2014-05-01  David S. Miller  <davem@davemloft.net>
13173         [BZ #16885]
13174         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13175         multiple zero bytes exist at the end of a string.
13176         Reported by Aurelien Jarno <aurelien@aurel32.net>
13178         * string/test-strcmp.c (check): Add explicit test for situations where
13179         there are multiple zero bytes after the first.
13181 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13183         [BZ #16890]
13184         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13185         when compiling wprintf.
13186         * stdio-common/tstdiomisc.c (t3): New function.
13187         (main): Call it.
13189 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13191         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13192         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13193         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13194         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13196 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13198         * stdlib/longlong.h: Updated from GCC.
13200 2014-05-01  Will Newton  <will.newton@linaro.org>
13201             Bernard Ogden  <bernie.ogden@linaro.org>
13203         * NEWS: Update fixed bug list.
13205         [BZ #15119]
13206         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13208 2014-04-30  David S. Miller  <davem@davemloft.net>
13210         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13211         (libc_feholdexcept_setround_sparc_ctx): New function.
13212         (libc_fesetenv_sparc_ctx): Likewise.
13213         (libc_feupdateenv_sparc_ctx): Likewise.
13214         (libc_feholdsetround_sparc_ctx): Likewise.
13215         (libc_feholdexcept_setround_ctx): Define.
13216         (libc_feholdexcept_setroundf_ctx): Likewise.
13217         (libc_feholdexcept_setroundl_ctx): Likewise.
13218         (libc_fesetenv_ctx): Likewise.
13219         (libc_fesetenvf_ctx): Likewise.
13220         (libc_fesetenvl_ctx): Likewise.
13221         (libc_feupdateenv_ctx): Likewise.
13222         (libc_feupdateenvf_ctx): Likewise.
13223         (libc_feupdateenvl_ctx): Likewise.
13224         (libc_feresetround_ctx): Likewise.
13225         (libc_feresetroundf_ctx): Likewise.
13226         (libc_feresetroundl_ctx): Likewise.
13227         (libc_feholdsetround_ctx): Likewise.
13228         (libc_feholdsetroundf_ctx): Likewise.
13229         (libc_feholdsetroundl_ctx): Likewise.
13231         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13232         with __USE_GNU instead of XOPEN cpp guards.
13234         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13235         0.
13237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13238         with XOPEN cpp guards.
13240 2014-04-30  Julian Brown  <julian@codesourcery.com>
13242         [BZ #16888]
13243         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13244         handling.
13246 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13248         [BZ #9894]
13249         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13250         Change to 2.6.32.
13251         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13252         * sysdeps/unix/sysv/linux/configure: Regenerated.
13253         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13254         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13255         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13256         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13257         * README: Update reference to required Linux kernel version.
13258         * manual/install.texi (Linux): Update reference to required Linux
13259         kernel headers version.
13260         * INSTALL: Regenerated.
13262         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13263         header inclusion.
13264         [POSIX] (limits.h): Likewise.
13265         [POSIX] (math.h): Likewise.
13266         [POSIX] (sys/wait.h): Likewise.
13267         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13268         function.
13269         [POSIX] (stddef.h): Do not allow header inclusion.
13271 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13273         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13275 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13277         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13278         Return immediately after lll_futex_wake.
13280 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13282         [BZ #16791]
13283         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13284         structure.
13285         (datahead_init_pos): Call datahead_init_common early.
13286         (datahead_init_neg): Likewise.
13288         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13289         datahead_init_neg): New functions.
13290         * nscd/aicache.c (addhstaiX): Use them.
13291         * nscd/grpcache.c (cache_addgr): Likewise.
13292         * nscd/hstcache.c (cache_addhst): Likewise.
13293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13294         * nscd/netgroupcache.c (do_notfound): Likewise.
13295         (addgetnetgrentX): Likewise.
13296         (addinnetgrX): Likewise.
13297         * nscd/pwdcache.c (cache_addpw): Likewise.
13298         * nscd/servicescache.c (cache_addserv): Likewise.
13300 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13301             Atsushi Onoe  <atsushi@onoe.org>
13303         [BZ #14308]
13304         [BZ #12994]
13305         [BZ #13651]
13306         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13307         one response is valid.
13308         * resolv/res_send.c (send_dg): Check for validity of other
13309         response if the current response is a referral.
13311 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13313         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13315 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13317         [BZ #16823]
13318         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13319         Always divide by positive zero when computing -Inf result.
13320         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13321         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13323 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13325         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13326         FPSCR if value do not change.
13327         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13328         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13329         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13330         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13331         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13332         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13333         function.
13335 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13337         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13338         * sysdeps/unix/sysv/linux/hppa: Move directory from
13339         ports/systeps/unix/sysv/linux/hppa.
13340         * README: Update listing for hppa-*-linux-gnu.
13342 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13344         [BZ #16754]
13345         * manual/stdio.texi (Hook functions): Fix types of stream hook
13346         functions.
13347         [BZ #16854]
13348         * socket/sys/socket.h: Fix typo in comment.
13350 2014-04-28  Wilco  <wdijkstr@arm.com>
13352         * sysdeps/arm/fenv_private.h: New file.
13353         * sysdeps/arm/math_private.h: New file.
13354         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13356 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13358         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13359         with __int128_t.
13360         (La_x86_64_retval): Likewise.
13362 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13364         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13365         fpsr if value didn't change.
13366         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13367         to fpcr if value didn't change.
13368         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13369         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13370         fpsr or fpcr if value didn't change.
13371         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13372         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13373         fpcr if value didn't change.
13374         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13375         to fpsr if value didn't change.
13377 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13379         * nptl/tst-sem3.c: Use test-skeleton.c
13380         (main): Rename to do_test.  Use return instead of
13381         exit.
13382         * nptl/tst-sem4.c: Use test-skeleton.c
13383         (main): Rename to do_test.
13385 2014-04-22  David S. Miller  <davem@davemloft.net>
13387         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13388         (struct sigaction): New struct member __glibc_reserved0, change
13389         type of sa_flags to int.
13391 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13393         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13394         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13396 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13398         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13399         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13401 2014-04-22  Will Newton  <will.newton@linaro.org>
13402             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13404         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13405         (__longjmp): Add longjmp and longjmp_target SystemTap
13406         probes.
13407         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13408         (__sigsetjmp): Add setjmp SystemTap probe.
13410 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13412         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13413         match manual order.
13415 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13417         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13419         * sysdeps/powerpc/fpu/fenv_private.h
13420         (libc_feholdexcept_setroundl_ctx): Define to
13421         libc_feholdexcept_setround_ppc_ctx.
13422         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13423         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13424         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13425         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13427 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13429         * sysdeps/aarch64/math-tests.h: New file.
13431 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13433         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13434         New.
13435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13436         Check and set bit_AVX2_Usable.
13437         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13438         macro.
13439         (bit_AVX2): Likewise.
13440         (index_AVX2_Usable): Likewise.
13441         (CPUID_AVX2): Likewise.
13442         (HAS_AVX2): Likewise.
13444 2014-04-17  Will Newton  <will.newton@linaro.org>
13446         * manual/setjmp.texi (System V contexts): Add note that
13447         calling setcontext on a context created by a call to a
13448         signal handler is undefined.  Update text to note that
13449         setcontext from a signal handler is possible but not
13450         recommended.
13452         [BZ #16629]
13453         * stdlib/tst-setcontext.c: Include signal.h.
13454         (main): Check that the signal stack before and
13455         after swapcontext is the same.
13457         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13458         Re-implement to restore registers in user code and avoid
13459         rt_sigreturn system call.
13461 2014-04-17  Wilco  <wdijkstr@arm.com>
13463         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13464         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13465         * math/test-fenv.c: Skip exception trap tests on targets which only
13466         support non-stop mode.
13468 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13469             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13471         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13472         (libc_feholdsetround_aarch64_ctx)
13473         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13474         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13475         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13476         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13477         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13478         (libc_feresetround_noexl_ctx): Define.
13480 2014-04-16  Richard Henderson  <rth@redhat.com>
13482         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13484         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13485         unwind tables.
13487         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13488         const from the non-libc, non-ldso copy.
13490         * sysdeps/alpha/libm-test-ulps: Regenerate.
13492 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13493             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13495         * sysdeps/aarch64/fpu/math_private.h: New file.
13497 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13499         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13501 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13503         [BZ #16275]
13504         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13505         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13507         Intel MPX bound registers before _dl_profile_fixup.
13508         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13509         registers after _dl_profile_fixup.  Save and restore bound
13510         registers bnd0/bnd1 when calling _dl_call_pltexit.
13511         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13512         (LR_BND_OFFSET): Likewise.
13513         (LRV_BND0_OFFSET): Likewise.
13514         (LRV_BND1_OFFSET): Likewise.
13516 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13518         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13519         to...
13520         * sysdeps/mach/hurd/i386/tls.h: ... here.
13521         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13522         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13523         fields.
13525 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13527         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13529 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13531         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13533 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13535         [BZ #14770]
13536         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13537         * sysdeps/s390/configure: Regenerate.
13539         [BZ #16824]
13540         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13541         Set round-to-nearest internally to reduce error accumulation.
13543 2014-04-16  Alan Modra  <amodra@gmail.com>
13545         [BZ #16740]
13546         [BZ #16619]
13547         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13548         * math/libm-test.inc (frexp_test_data): Add tests.
13549         * NEWS: Update fixed bug list.
13551 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13553         * benchtests/Makefile: Depend on libraries in build directory.
13554         (bench-math): Separate out math tests.
13555         (bench-pthread): Separate out pthread tests.
13556         (bench): Include math and pthread tests.
13558 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13560         [BZ #16831]
13561         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13562         _dl_debug_initialize.
13564         * configure.ac: Remove SELinux header check.
13565         * configure: Regenerate.
13566         * nscd/selinux.c (perms): Array of const char* to permission names.
13567         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13568         default policy. Call string_to_security_class and string_to_av_perm to
13569         translate strings. Enforce default policy and call avs_has_perm with
13570         results of translated strings.
13572 2014-04-13  David S. Miller  <davem@davemloft.net>
13574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13576 2014-04-12  Allan McRae  <allan@archlinux.org>
13578         [BZ #16838]
13579         * manual/string.texi (Collation Functions): Fix qsort argument
13580         order in example.
13581         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13583 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13585         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13586         Make the test a no-op if there are no exceptions defined.
13588 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13590         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13591         enable-hardcoded-path-in-tests
13593 2014-04-11  Will Newton  <will.newton@linaro.org>
13595         * benchtests/Makefile (extra-objs): Add json-lib.o.
13596         (bench-func): Tidy up JSON output.
13597         * benchtests/bench-skeleton.c: Include json-lib.h.
13598         (main): Use JSON library functions to do output of
13599         benchmark results.
13600         * benchtests/bench-timing-type.c (main): Output the
13601         timing type simply, leaving formatting to the user.
13602         * benchtests/json-lib.c: New file.
13603         * benchtests/json-lib.h: Likewise.
13605 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13607         [BZ #15215]
13608         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13609         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13610         memory barriers.  Add comments.
13611         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13612         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13613         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13614         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13615         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13616         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13618 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13620         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13621         * sysdeps/s390/s390-64/configure.ac: ... this ...
13622         * sysdeps/s390/configure.ac: ... to here.
13623         * sysdeps/s390/s390-32/configure: Delete file.
13624         * sysdeps/s390/s390-64/configure: Delete file.
13625         * sysdeps/s390/configure: Regenerate.
13627 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13629         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13631 2014-04-11  Will Newton  <will.newton@linaro.org>
13633         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13634         to zero if it is not defined elsewhere.  (mtrim): Test
13635         the value of MALLOC_DEBUG with #if rather than #ifdef.
13637 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13639         * benchtests/pthread_once-inputs: New file.
13640         * benchtests/pthread_once-source.c: New file.
13641         * benchtests/README: Update documentation.
13643 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13644             H.J. Lu  <hongjiu.lu@intel.com>
13646         [BZ #16275]
13647         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13648         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13649         * sysdeps/x86_64/configure: Regenerated.
13650         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13651         macro.
13652         (REGISTER_SAVE_RAX): Likewise.
13653         (REGISTER_SAVE_RCX): Likewise.
13654         (REGISTER_SAVE_RDX): Likewise.
13655         (REGISTER_SAVE_RSI): Likewise.
13656         (REGISTER_SAVE_RDI): Likewise.
13657         (REGISTER_SAVE_R8): Likewise.
13658         (REGISTER_SAVE_R9): Likewise.
13659         (REGISTER_SAVE_BND0): Likewise.
13660         (REGISTER_SAVE_BND1): Likewise.
13661         (REGISTER_SAVE_BND2): Likewise.
13662         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13663         bound registers when calling _dl_fixup.
13665 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13667         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13668         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13669         of its definition.
13670         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13671         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13672         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13673         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13674         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13675         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13676         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13678 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13680         [BZ #15514]
13681         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13682         pathconf(_PC_NAME_MAX).
13684 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13686         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13687         Remove macro usage.
13688         (__PTHREAD_SPINS): Move definition to ...
13689         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13690         (__PTHREAD_SPINS): ... here.
13691         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13692         (__PTHREAD_SPIN): Likewise.
13693         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13694         (__PTHREAD_SPIN): Likewise.
13695         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13696         (__PTHREAD_SPIN): Likewise.
13697         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13698         (__PTHREAD_SPIN): Likewise.
13699         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13700         (__PTHREAD_SPIN): Likewise.
13701         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13702         (__PTHREAD_SPIN): Likewise.
13703         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13704         (__PTHREAD_SPIN): Likewise.
13705         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13706         (__PTHREAD_SPIN): Likewise.
13707         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13708         (__PTHREAD_SPIN): Likewise.
13709         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13710         (__PTHREAD_SPIN): Likewise.
13711         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13712         (__PTHREAD_SPIN): Likewise.
13713         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13714         (__PTHREAD_SPIN): Likewise.
13716         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13717         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13718         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13719         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13720         imply folder.
13721         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13722         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13723         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13724         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13725         correct imply path.
13726         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13727         strlen symbol for non multi-arch builds.
13728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13729         missing hidden_def and weak_alias.
13731 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13733         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13735 2014-04-07  Will Newton  <will.newton@linaro.org>
13737         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13738         and contents.  [!_LIBC] Remove #ifndef and contents.
13739         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13740         * string/memccpy.c (__memccpy): Use ANSI prototype.
13741         * string/memfrob.c (memfrob): Likewise.
13742         * string/strcoll.c (STRCOLL): Likewise.
13743         * string/strlen.c (strlen): Likewise.
13744         * string/strtok.c (STRTOK): Likewise.
13745         * string/strcat.c: Remove unused #include of memcopy.h.
13746         (strcat): Use ANSI prototype.
13747         * string/strchr.c: Remove unused #include of memcopy.h.
13748         (strchr): Use ANSI prototype.
13749         * string/strcmp.c: Remove unused #include of memcopy.h.
13750         (strcmp): Use ANSI prototype.
13751         * string/strcpy.c: Remove unused #include of memcopy.h.
13752         (strcpy): Use ANSI prototype.
13754 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13756         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13757         * config.make.in (config-extra-cppflags): Set it from
13758         libc_extra_cppflags.
13759         * configure.ac (libc_extra_cflags): Make it accumulate over
13760         configure fragments.
13761         (libc_extra_cppflags): New flag.
13762         * configure. Regenerate.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13764         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13765         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13768         [BZ #16815]
13769         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13770         result for FE_DOWNWARD rounding mode.
13771         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13772         Likewise.
13773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13775 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13777         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13778         in function argument name.
13780 2014-04-03  David Svoboda  <svoboda@cert.org>
13782         [BZ #5666]
13783         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13784         explicitly.
13786 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13788         * elf/dl-unmap-segments.h: New file.
13789         * sysdeps/generic/ldsodefs.h
13790         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13791         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13792         * elf/dl-fptr.c: Likewise.
13793         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13794         * sysdeps/aarch64/tlsdesc.c: Likewise.
13795         * sysdeps/arm/tlsdesc.c: Likewise.
13796         * sysdeps/i386/tlsdesc.c: Likewise.
13797         * sysdeps/tile/dl-runtime.c: Likewise.
13798         * sysdeps/x86_64/tlsdesc.c: Likewise.
13799         * elf/dl-load.h: New file.
13800         * elf/dl-load.c: Include it.
13801         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13802         Macros moved to dl-load.h.
13803         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13804         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13805         Use _dl_unmap_segments in place of __munmap.
13806         Break out segment-mapping loop into ...
13807         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13809 2014-04-03  Will Newton  <will.newton@linaro.org>
13811         * elf/dl-lookup.c (do_lookup_x): Remove comment
13812         referring to nested function and move variable
13813         declarations down to before first use.
13815 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13817         [BZ #16799]
13818         [BZ #16800]
13819         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13820         with 0 numerator.
13821         * math/s_catanf.c (__catanf): Likewise.
13822         * math/s_catanh.c (__catanh): Likewise.
13823         * math/s_catanhf.c (__catanhf): Likewise.
13824         * math/s_catanhl.c (__catanhl): Likewise.
13825         * math/s_catanl.c (__catanl): Likewise.
13826         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13827         by positive zero when computing -Inf result.
13828         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13829         (catanh_test): Likewise.
13830         * sysdeps/i386/fpu/libm-test-ulps: Update.
13831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13833         [BZ #16789]
13834         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13835         instead of using underflowing value in computing result.
13836         * math/s_clog10.c (__clog10): Likewise.
13837         * math/s_clog10f.c (__clog10f): Likewise.
13838         * math/s_clog10l.c (__clog10l): Likewise.
13839         * math/s_clogf.c (__clogf): Likewise.
13840         * math/s_clogl.c (__clogl): Likewise.
13841         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13842         (clog10_test): Likewise.
13843         * sysdeps/i386/fpu/libm-test-ulps: Update.
13844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13846 2014-04-02  Alan Modra  <amodra@gmail.com>
13848         [BZ #16739]
13849         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13850         output when value is near a power of two.  Use int64_t for lx and
13851         remove casts.  Use decimal rather than hex exponent constants.
13852         Don't use long double multiplication when double will suffice.
13853         * math/libm-test.inc (nextafter_test_data): Add tests.
13854         * NEWS: Add 16739 and 16786 to bug list.
13856         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13858         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13860 2014-04-01  Will Newton  <will.newton@linaro.org>
13862         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13863         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13865 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13867         [BZ #13347]
13868         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13869         * nptl/tst-setuid2.c: New file.
13870         * nptl/Makefile (xtests): Add tst-setuid2.
13872 2014-04-01  Alan Modra  <amodra@gmail.com>
13874         [BZ #16786]
13875         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13877 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13879         [BZ #6803]
13880         [BZ #6804]
13881         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13882         set errno as appropriate.
13883         * math/w_scalbf.c (__scalbf): Likewise.
13884         * math/w_scalbl.c (__scalbl): Likewise.
13885         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13886         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13887         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13888         Add more NaN tests.
13890         [BZ #16349]
13891         * math/w_atan2.c: Include <errno.h>.
13892         (__atan2): Set errno for result underflowing to zero.
13893         * math/w_atan2f.c: Include <errno.h>.
13894         (__atan2f): Set errno for result underflowing to zero.
13895         * math/w_atan2l.c: Include <errno.h>.
13896         (__atan2l): Set errno for result underflowing to zero.
13897         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13898         tests.
13899         * math/auto-libm-test-out: Regenerated.
13901 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13903         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13904         Encode instruction correctly in little endian.
13905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13906         Likewise.
13907         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13908         Likewise.
13909         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13910         Likewise.
13911         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13912         Likewise.
13914 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13916         [BZ #9894]
13917         * sysdeps/unix/sysv/linux/kernel-features.h
13918         [__sparc__ && !__arch64__ && !__sparc_v9__]
13919         (__ASSUME_SET_ROBUST_LIST): Do not define.
13920         [__sparc__ && !__arch64__ && !__sparc_v9__]
13921         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13922         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13923         Likewise.
13924         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13925         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13926         (__ASSUME_REQUEUE_PI): Likewise.
13927         (__ASSUME_SET_ROBUST_LIST): Likewise.
13928         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13929         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13930         Undefine.
13931         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13932         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13933         Likewise.
13934         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13935         Likewise.
13936         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13937         Likewise.
13938         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13939         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13940         Undefine.
13941         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13942         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13943         Likewise.
13945         [BZ #16648]
13946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13948         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13950 2014-03-31  Will Newton  <will.newton@linaro.org>
13952         * benchtests/Makefile (bench): Add ffs and ffsll to list
13953         of tests.
13954         * benchtests/ffs-inputs: New file.
13955         * benchtests/ffsll-inputs: Likewise.
13957 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13959         [BZ #16770]
13960         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13961         too large before casting to int.
13962         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13963         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13964         * math/libm-test.inc (scalb_test_data): Add more tests.
13966 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13968         * benchtests/Makefile (DETAILED_OPT): New make option.
13969         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13970         set.
13971         * benchtests/bench-skeleton.c: Include stdbool.h.
13972         (main): Store and print timings per input.
13973         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13974         member to each argument value.
13975         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13976         (_print_arg_data): Initialize per-input timing to 0.
13978         * benchtests/Makefile (timing-type): New binary.
13979         (bench-clean): Also remove bench-timing-type.
13980         (bench): New target for timing-type.
13981         (bench-func): Print output in JSON format.
13982         * benchtests/bench-skeleton.c (main): Print output in JSON
13983         format.
13984         * benchtests/bench-timing-type.c: New file.
13985         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13986         (TIMING_PRINT_STATS): Remove.
13987         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13988         name separately.
13990         * benchtests/bench-modf.c: Remove.
13991         * benchtests/modf-inputs: New inputs file.
13993 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13995         [BZ #16362]
13996         * math/s_clog10.c (M_PI_LOG10E): New macro.
13997         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13998         imaginary parts are 0.
13999         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14000         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14001         imaginary parts are 0.
14002         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14003         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14004         imaginary parts are 0.
14005         * math/libm-test.inc (clog10_test_data): Update expected results
14006         for when real and imaginary parts are 0.
14008 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14010         * elf/dl-load.c: Finish conversion of __builtin_expect into
14011         __glibc_{un}likely.
14013 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14015         [BZ #16348]
14016         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14017         1+x for argument with exponent below -67.
14018         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14019         Likewise.
14020         * math/auto-libm-test-in: Add more tests of exp.
14021         * math/auto-libm-test-out: Regenerated.
14023 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14025         [BZ #16759]
14026         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14027         (nscd_getnetgrent): Use it.
14029         [BZ #16760]
14030         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14031         of stpcpy.
14033 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14035         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14036         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14037         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14038         (lll_robust_unlock): Remove out of line section. Use cfi
14039         intrinsics.
14040         (LLL_STUB_UNWIND_INFO*): Remove.
14041         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14042         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14043         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14044         (lll_robust_unlock): Remove out of line section. Use cfi
14045         intrinsics.
14046         (LLL_STUB_UNWIND_INFO*): Remove.
14048 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14050         [BZ #16758]
14051         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14052         blank values.
14054 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14056         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14058 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14060         [BZ #16198]
14061         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14062         fnstenv.
14063         * math/test-fenv-preserve.c: New file.
14064         * math/Makefile (tests): Add test-fenv-preserve.
14066 2014-03-26  Will Newton <will.newton@linaro.org>
14068         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14070 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14072         * scripts/versionlist.awk: Partition the version sets and emit all
14073         GLIBC_* (sorted) before all others (sorted).
14075 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14077         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14078         GLIBC_2.2.5 version.
14080 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14082         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14083         calls.
14085         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14086         previous change.
14088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14090 2014-03-25  Andreas Schwab  <schwab@suse.de>
14092         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14093         label to be used after in6ailist is initialized.
14095 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14097         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14098         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14100 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14102         [BZ #16357]
14103         [BZ #16599]
14104         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14105         min_plus_half.
14106         (fp_formats): Update initializers.
14107         (init_fp_formats): Initialize new field.
14108         (output_for_one_input_case): Allow underflow for results up to
14109         min_plus_half.
14110         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14111         * math/auto-libm-test-in: Don't mark some underflows from asin and
14112         atanh as spurious.
14113         * math/auto-libm-test-out: Regenerated.
14114         * sysdeps/i386/fpu/libm-test-ulps: Update.
14115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14117 2014-03-25  Andreas Schwab  <schwab@suse.de>
14119         * libio/Makefile (tst-ftell-partial-wide-ENV)
14120         (tst-ftell-active-handler-ENV): Define.
14122 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14124         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14126 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14128         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14130 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14132         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14133         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14134         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14136 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14138         [BZ #16634]
14139         * elf/dl-load.c (open_verify): Add mode parameter.
14140         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14141         (open_path): Change from boolean 'secure' to complete flag 'mode'
14142         (_dl_map_object): Adjust.
14143         * elf/Makefile (tests): Add tst-dlopen-aout.
14144         * elf/tst-dlopen-aout.c: New test.
14146 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14148         [BZ #16714]
14149         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14150         (struct stat): Rename member pad0 to __glibc_reserved0.
14152         [BZ #16712]
14153         * sysdeps/s390/s390-32/bits/wordsize.h
14154         (__WORDSIZE32_SIZE_ULONG): New define.
14155         * sysdeps/s390/s390-64/bits/wordsize.h
14156         (__WORDSIZE32_SIZE_ULONG): Likewise.
14157         * sysdeps/generic/stdint.h (SIZE_MAX):
14158         Define as UL if __WORDSIZE32_SIZE_ULONG.
14160         [BZ #16713]
14161         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14162         (__glibc_reserved0): New variable.
14163         (sa_flags): Change type to int.
14165         * posix/Makefile (before-compile): Use += before-compile instead
14166         of a :=.
14168         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14169         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14171 2014-03-20  Andreas Schwab  <schwab@suse.de>
14173         [BZ #16743]
14174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14175         non-matching result from nscd.
14177 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14179         * scripts/bench.py: Moved to ...
14180         * benchtests/scripts/bench.py: ... here.
14181         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14183 2014-03-24  Andreas Schwab  <schwab@suse.de>
14185         [BZ #16002]
14186         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14187         alloca_account and account alloca use for struct in6ailist.
14189 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14191         [BZ #16284]
14192         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14193         rounding mode to recompute results that overflow to infinity or
14194         underflow to zero.
14195         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14196         bug 16284.
14197         * math/auto-libm-test-out: Regenerated.
14198         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14199         (ccosh_test): Likewise.
14200         (csin_test_data): Use plus_oflow.
14201         (csin_test): Use ALL_RM_TEST.
14202         (csinh_test_data): Use plus_oflow.
14203         (csinh_test): Use ALL_RM_TEST.
14204         * sysdeps/i386/fpu/libm-test-ulps: Update.
14205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14207 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14209         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14210         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14211         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14213         [BZ #16731]
14214         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14215         when x - 1 is zero.
14216         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14217         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14218         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14219         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14220         argument is 1.
14221         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14222         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14223         zero.
14224         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14225         * sysdeps/i386/fpu/libm-test-ulps: Update.
14226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14228 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14230         * scripts/bench.pl: Remove file.
14231         * scripts/bench.py: New benchmark script.
14232         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14233         * benchtests/README: Mention python dependency.
14234         * scripts/pylintrc: New file.
14235         * scripts/pylint: New file.
14237         * bits/mathdef.h: Use #ifdef instead of #if.
14238         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14239         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14240         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14241         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14242         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14243         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14245 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14246             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14248         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14250         and strpbrk-ppc64 objects.
14251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14252         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14253         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14254         multiarch strpbrk for POWER7.
14255         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14256         multiarch strpbrk for PPC64.
14257         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14258         ifunc selector.
14259         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14260         strpbrk for POWER7.
14262 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14264         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14265         (atan_test): Likewise.
14266         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14267         (atanh_test): Use ALL_RM_TEST.
14268         (atan2_test_data): Likewise.
14269         (cabs_test): Likewise.
14270         (cacosh_test): Likewise.
14271         (carg_test): Likewise.
14272         (casin_test): Likewise.
14273         (casinh_test): Likewise.
14274         (cbrt_test): Likewise.
14275         (csqrt_test): Likewise.
14276         (erf_test): Likewise.
14277         (erfc_test): Likewise.
14278         (pow10_test): Likewise.
14279         (exp2_test): Likewise.
14280         (hypot_test): Likewise.
14281         (j0_test): Likewise.
14282         (j1_test): Likewise.
14283         (lgamma_test): Likewise.
14284         (gamma_test): Likewise.
14285         (sincos_test): Likewise.
14286         (tanh_test): Likewise.
14287         (y0_test): Likewise.
14288         (y1_test): Likewise.
14289         * sysdeps/i386/fpu/libm-test-ulps: Update.
14290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14294         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14296         and strcspn-ppc64 objects.
14297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14298         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14299         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14300         multiarch strcspn for POWER7.
14301         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14302         multiarch strcspn for PPC64.
14303         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14304         ifunc selector.
14305         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14306         strcspn for POWER7.
14308 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14310         * math/gen-libm-test.pl (generate_testfile): Expect only function
14311         name as argument to AUTO_TESTS_* and pass results for all rounding
14312         modes to parse_args.
14313         (parse_auto_input): Separate inputs of automatic tests from
14314         outputs before storing in %auto_tests.
14315         * math/libm-test.inc (acos_test_data): Update call to
14316         AUTO_TESTS_f_f.
14317         (acos_test): Use ALL_RM_TEST.
14318         (acos_tonearest_test_data): Remove.
14319         (acos_test_tonearest): Likewise.
14320         (acos_towardzero_test_data): Likewise.
14321         (acos_test_towardzero): Likewise.
14322         (acos_downward_test_data): Likewise.
14323         (acos_test_downward): Likewise.
14324         (acos_upward_test_data): Likewise.
14325         (acos_test_upward): Likewise.
14326         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14327         (asin_test_data): Likewise.
14328         (asin_test): Use ALL_RM_TEST.
14329         (asin_tonearest_test_data): Remove.
14330         (asin_test_tonearest): Likewise.
14331         (asin_towardzero_test_data): Likewise.
14332         (asin_test_towardzero): Likewise.
14333         (asin_downward_test_data): Likewise.
14334         (asin_test_downward): Likewise.
14335         (asin_upward_test_data): Likewise.
14336         (asin_test_upward): Likewise.
14337         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14338         (atan_test_data): Likewise.
14339         (atanh_test_data): Likewise.
14340         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14341         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14342         (carg_test_data): Likewise.
14343         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14344         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14345         (ccosh_test_data): Likewise.
14346         (cexp_test_data): Likewise.
14347         (clog_test_data): Likewise.
14348         (clog10_test_data): Likewise.
14349         (cos_test_data): Update call to AUTO_TESTS_f_f.
14350         (cos_test): Use ALL_RM_TEST.
14351         (cos_tonearest_test_data): Remove.
14352         (cos_test_tonearest): Likewise.
14353         (cos_towardzero_test_data): Likewise.
14354         (cos_test_towardzero): Likewise.
14355         (cos_downward_test_data): Likewise.
14356         (cos_test_downward): Likewise.
14357         (cos_upward_test_data): Likewise.
14358         (cos_test_upward): Likewise.
14359         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14360         (cosh_test): Use ALL_RM_TEST.
14361         (cosh_tonearest_test_data): Remove.
14362         (cosh_test_tonearest): Likewise.
14363         (cosh_towardzero_test_data): Likewise.
14364         (cosh_test_towardzero): Likewise.
14365         (cosh_downward_test_data): Likewise.
14366         (cosh_test_downward): Likewise.
14367         (cosh_upward_test_data): Likewise.
14368         (cosh_test_upward): Likewise.
14369         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14370         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14371         (ctan_test_data): Likewise.
14372         (ctan_test): Use ALL_RM_TEST.
14373         (ctan_tonearest_test_data): Remove.
14374         (ctan_test_tonearest): Likewise.
14375         (ctan_towardzero_test_data): Likewise.
14376         (ctan_test_towardzero): Likewise.
14377         (ctan_downward_test_data): Likewise.
14378         (ctan_test_downward): Likewise.
14379         (ctan_upward_test_data): Likewise.
14380         (ctan_test_upward): Likewise.
14381         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14382         (ctanh_test): Use ALL_RM_TEST.
14383         (ctanh_tonearest_test_data): Remove.
14384         (ctanh_test_tonearest): Likewise.
14385         (ctanh_towardzero_test_data): Likewise.
14386         (ctanh_test_towardzero): Likewise.
14387         (ctanh_downward_test_data): Likewise.
14388         (ctanh_test_downward): Likewise.
14389         (ctanh_upward_test_data): Likewise.
14390         (ctanh_test_upward): Likewise.
14391         (erf_test_data): Update call to AUTO_TESTS_f_f.
14392         (erfc_test_data): Likewise.
14393         (exp_test_data): Likewise.
14394         (exp_test): Use ALL_RM_TEST.
14395         (exp_tonearest_test_data): Remove.
14396         (exp_test_tonearest): Likewise.
14397         (exp_towardzero_test_data): Likewise.
14398         (exp_test_towardzero): Likewise.
14399         (exp_downward_test_data): Likewise.
14400         (exp_test_downward): Likewise.
14401         (exp_upward_test_data): Likewise.
14402         (exp_test_upward): Likewise.
14403         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14404         (exp10_test): Use ALL_RM_TEST.
14405         (exp10_tonearest_test_data): Remove.
14406         (exp10_test_tonearest): Likewise.
14407         (exp10_towardzero_test_data): Likewise.
14408         (exp10_test_towardzero): Likewise.
14409         (exp10_downward_test_data): Likewise.
14410         (exp10_test_downward): Likewise.
14411         (exp10_upward_test_data): Likewise.
14412         (exp10_test_upward): Likewise.
14413         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14414         (expm1_test_data): Likewise.
14415         (expm1_test): Use ALL_RM_TEST.
14416         (expm1_tonearest_test_data): Remove.
14417         (expm1_test_tonearest): Likewise.
14418         (expm1_towardzero_test_data): Likewise.
14419         (expm1_test_towardzero): Likewise.
14420         (expm1_downward_test_data): Likewise.
14421         (expm1_test_downward): Likewise.
14422         (expm1_upward_test_data): Likewise.
14423         (expm1_test_upward): Likewise.
14424         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14425         (fma_test): Use ALL_RM_TEST.
14426         (fma_towardzero_test_data): Remove.
14427         (fma_test_towardzero): Likewise.
14428         (fma_downward_test_data): Likewise.
14429         (fma_test_downward): Likewise.
14430         (fma_upward_test_data): Likewise.
14431         (fma_test_upward): Likewise.
14432         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14433         (j0_test_data): Update call to AUTO_TESTS_f_f.
14434         (j1_test_data): Likewise.
14435         (jn_test_data): Update call to AUTO_TESTS_if_f.
14436         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14437         (log_test_data): Update call to AUTO_TESTS_f_f.
14438         (log10_test_data): Likewise.
14439         (log1p_test_data): Likewise.
14440         (log2_test_data): Likewise.
14441         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14442         (pow_tonearest_test_data): Likewise.
14443         (sin_test_data): Update call to AUTO_TESTS_f_f.
14444         (sin_test): Use ALL_RM_TEST.
14445         (sin_tonearest_test_data): Remove.
14446         (sin_test_tonearest): Likewise.
14447         (sin_towardzero_test_data): Likewise.
14448         (sin_test_towardzero): Likewise.
14449         (sin_downward_test_data): Likewise.
14450         (sin_test_downward): Likewise.
14451         (sin_upward_test_data): Likewise.
14452         (sin_test_upward): Likewise.
14453         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14454         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14455         (sinh_test): Use ALL_RM_TEST.
14456         (sinh_tonearest_test_data): Remove.
14457         (sinh_test_tonearest): Likewise.
14458         (sinh_towardzero_test_data): Likewise.
14459         (sinh_test_towardzero): Likewise.
14460         (sinh_downward_test_data): Likewise.
14461         (sinh_test_downward): Likewise.
14462         (sinh_upward_test_data): Likewise.
14463         (sinh_test_upward): Likewise.
14464         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14465         (sqrt_test): Use ALL_RM_TEST.
14466         (sqrt_tonearest_test_data): Remove.
14467         (sqrt_test_tonearest): Likewise.
14468         (sqrt_towardzero_test_data): Likewise.
14469         (sqrt_test_towardzero): Likewise.
14470         (sqrt_downward_test_data): Likewise.
14471         (sqrt_test_downward): Likewise.
14472         (sqrt_upward_test_data): Likewise.
14473         (sqrt_test_upward): Likewise.
14474         (tan_test_data): Update call to AUTO_TESTS_f_f.
14475         (tan_test): Use ALL_RM_TEST.
14476         (tan_tonearest_test_data): Remove.
14477         (tan_test_tonearest): Likewise.
14478         (tan_towardzero_test_data): Likewise.
14479         (tan_test_towardzero): Likewise.
14480         (tan_downward_test_data): Likewise.
14481         (tan_test_downward): Likewise.
14482         (tan_upward_test_data): Likewise.
14483         (tan_test_upward): Likewise.
14484         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14485         (tgamma_test_data): Likewise.
14486         (y0_test_data): Likewise.
14487         (y1_test_data): Likewise.
14488         (yn_test_data): Update call to AUTO_TESTS_if_f.
14489         (main): Do not call removed functions.
14491 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14493         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14494         (ldexp_test_data): Remove.
14495         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14496         scalbn_test_data.
14497         (scalb_test): Use ALL_RM_TEST.
14499 2014-03-19  Andreas Schwab  <schwab@suse.de>
14501         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14503 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14505         [BZ #16649]
14506         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14507         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14508         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14510         (__ASSUME_PREADV): Undefine.
14511         (__ASSUME_PWRITEV): Likewise.
14513 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14515         * bits/mman-linux.h: Add comment about non-Linux use.
14516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14517         bits/mman-linux.h resting place.
14519         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14520         * bits/mman-linux.h: ... here.
14522 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14524         * conform/conformtest.pl: Add standard definition when calling C
14525         preprocessor on data files.
14526         (checknamespace): Remove unused variable.
14528 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14530         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14531         minus_oflow, plus_uflow and minus_uflow in expected results.
14532         * math/libm-test.inc (scalbn_test_data): Add more tests of
14533         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14534         minus_uflow.
14535         (scalbn_test): Use ALL_RM_TEST.
14536         (scalbln_test_data): Add more tests of negative arguments.  Use
14537         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14538         (scalbln_test): Use ALL_RM_TEST.
14540 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14542         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14544 2014-03-18  Will Newton  <will.newton@linaro.org>
14546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14547         inaccurate comment.
14549 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14551         * Makerules [!subdir] (check-abi): Exit with error status if a
14552         test failed.
14554 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14556         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14557         for rint.  Include results for all rounding modes.
14558         (nearbyint_test): Use ALL_RM_TEST.
14559         (rint_test_data): Include all tests used for nearbyint.
14561 2014-03-17  Will Newton  <will.newton@linaro.org>
14563         * nptl/sysdeps/pthread/pthread.h: Revert previous
14564         change.
14566         * sysdeps/generic/ldsodefs.h: Revert previous
14567         change.
14569         * libio/genops.c: Revert previous change.
14570         * libio/libioP.h: Likewise.
14571         * stdio-common/vfprintf.c: Likewise.
14573         * sysdeps/generic/math_private.h: Revert previous
14574         change.
14576         * sysdeps/generic/math_private.h: Check whether
14577         HAVE_RM_CTX is defined with #ifdef rather
14578         than #if.
14580         * argp/argp-fmtstream.h: Check whether
14581         __STRICT_ANSI__ is defined with #ifdef rather
14582         than #if.
14583         * argp/argp.h: Likewise.
14585         * libio/genops.c: Check whether
14586         _IO_JUMPS_OFFSET is defined with #ifdef rather
14587         than #if.
14588         * libio/libioP.h: Likewise.
14589         * stdio-common/vfprintf.c: Likewise.
14591         * sysdeps/generic/ldsodefs.h: Check whether
14592         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14593         than #if.
14595         * nptl/sysdeps/pthread/pthread.h: Check
14596         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14597         its value.
14599 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14601         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14602         setting O_APPEND.
14603         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14604         test case.
14606         [BZ #16680]
14607         * libio/fileops.c (_IO_file_open): Seek to end of file but
14608         don't cache the offset.
14609         (get_file_offset): Remove function.
14610         (do_ftell): Use cached offset when available.
14611         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14612         don't cache the offset.
14613         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14614         case.
14615         (do_one_test): Call it.
14616         (do_ftell_test): Fix up expected old offset for a+ mode.
14617         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14618         available.
14620         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14621         up test status with function return status.
14622         (do_write_test): Likewise.
14623         (do_append_test): Likewise.
14625         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14626         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14627         Remove.
14629 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14631         * math/gen-libm-test.pl (parse_args): Handle results specified for
14632         each rounding mode separately.
14633         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14634         tests and results from lrint_tonearest_test_data,
14635         lrint_towardzero_test_data, lrint_downward_test_data and
14636         lrint_upward_test_data.
14637         (lrint_test): Use ALL_RM_TEST.
14638         (lrint_tonearest_test_data): Remove.
14639         (lrint_test_tonearest): Likewise.
14640         (lrint_towardzero_test_data): Likewise.
14641         (lrint_test_towardzero): Likewise.
14642         (lrint_downward_test_data): Likewise.
14643         (lrint_test_downward): Likewise.
14644         (lrint_upward_test_data): Likewise.
14645         (lrint_test_upward): Likewise.
14646         (llrint_test_data): Merge in per-rounding-mode tests and results
14647         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14648         llrint_downward_test_data and llrint_upward_test_data.
14649         (llrint_test): Use ALL_RM_TEST.
14650         (llrint_tonearest_test_data): Remove.
14651         (llrint_test_tonearest): Likewise.
14652         (llrint_towardzero_test_data): Likewise.
14653         (llrint_test_towardzero): Likewise.
14654         (llrint_downward_test_data): Likewise.
14655         (llrint_test_downward): Likewise.
14656         (llrint_upward_test_data): Likewise.
14657         (llrint_test_upward): Likewise.
14658         (rint_test_data): Merge in per-rounding-mode tests and results
14659         from rint_tonearest_test_data, rint_towardzero_test_data,
14660         rint_downward_test_data and rint_upward_test_data.  Add
14661         per-rounding-mode results for tests not in those arrays.
14662         (rint_test): Use ALL_RM_TEST.
14663         (rint_tonearest_test_data): Remove.
14664         (rint_test_tonearest): Likewise.
14665         (rint_towardzero_test_data): Likewise.
14666         (rint_test_towardzero): Likewise.
14667         (rint_downward_test_data): Likewise.
14668         (rint_test_downward): Likewise.
14669         (rint_upward_test_data): Likewise.
14670         (rint_test_upward): Likewise.
14671         (main): Don't call removed functions.
14673 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14675         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14676         "Compiled on ..." crapola.  It is anti-useful.
14678 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14680         * scripts/evaluate-test.sh: Handle fourth argument to determine
14681         whether test run should stop on failure.
14682         * Makeconfig (stop-on-test-failure): New variable.
14683         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14684         $(stop-on-test-failure).
14685         * Makefile (tests): Give a summary of results from testing and
14686         exit with failure status if they include an ERROR or FAIL.
14687         (xtests): Likewise.
14688         * manual/install.texi (Configuring and compiling): Mention
14689         stop-on-test-failure=y.
14690         * INSTALL: Regenerated.
14692 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14694         * scripts/versionlist.awk: New file.
14695         * Makerules [$(build-shared) = yes]
14696         (postclean-generated): Add Versions.def, not Versions.def.v and
14697         Versions.def.v.i.
14698         ($(common-objpfx)Versions.def.v.i): Target removed.
14699         ($(common-objpfx)Versions.def): New target.
14700         ($(common-objpfx)Versions.all): Depend on that rather that
14701         $(common-objpfx)Versions.def.v.
14702         * Versions.def: File removed.
14704         * Makeconfig (+gccwarn): Add -Wundef.
14705         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14706         a dl-sysdep.h breaking its contract.
14707         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14708         * include/stackinfo.h: New file.
14709         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14710         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14711         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14712         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14713         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14714         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14715         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14716         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14717         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14718         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14719         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14720         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14721         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14722         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14723         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14725 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14727         [BZ #16707]
14728         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14729         implementation.
14730         * math/libm-test.inc (round_test_data): Add more tests.
14732         [BZ #16706]
14733         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14734         implementation.
14735         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14737         [BZ #16701]
14738         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14739         implementation.
14740         * math/libm-test.inc (ceil_test_data): Add more tests.
14742         * math/libm-test.inc (trunc_test_data): Add more tests related to
14743         BZ#16414.
14745 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14747         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14748         with #if rather than #ifdef.
14749         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14751 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14753         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14754         first.  Disable AVX-512 GCC support if assembler doesn't support
14755         it.
14756         * sysdeps/x86_64/configure: Regenerated.
14758 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14760         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14761         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14762         (__old_pthread_attr_setstack): Likewise.
14763         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14764         [!_STACK_GROWS_DOWN]: Likewise.
14766 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14768         * config.make.in (have-bash2): Delete.
14769         * configure.ac (libc_cv_have_bash2): Delete.
14770         * configure: Regenerate.
14771         * elf/Makefile (common-ldd-rewrite): Rename to ...
14772         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14773         (sh-ldd-rewrite): Delete.
14774         (bash-ldd-rewrite): Delete.
14775         (have-bash2): Delete checks.
14776         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14777         ldd-rewrite.
14779         * config.make.in (have-ksh): Delete.
14780         (KSH): Delete.
14781         * configure.ac (libc_cv_have_ksh): Delete.
14782         * configure: Regenerate.
14784         * elf/Makefile: Delete $(have-ksh) check.
14785         ($(objpfx)sotruss): Change KSH to BASH.
14786         * elf/sotruss.ksh: Rename to ...
14787         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14788         function style to match POSIX.  Drop ksh vim mode setting.
14790         * manual/time.texi (Specifying the Time Zone with TZ): Change
14791         Tuesday to Thursday.
14793         * debug/tst-longjmp_chk2.c: Update header comment.
14794         (stackoverflow_handler): Add comment.  Call assert on pass value.
14796 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14798         [BZ #16194]
14799         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14800         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14801         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14802         (La_x86_64_vector): Add zmm.
14803         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14804         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14805         ($(objpfx)tst-audit10): New target.
14806         ($(objpfx)tst-audit10.out): Likewise.
14807         (tst-audit10-ENV): New.
14808         (AVX512-CFLAGS): Likewise.
14809         (CFLAGS-tst-audit10.c): Likewise.
14810         (CFLAGS-tst-auditmod10a.c): Likewise.
14811         (CFLAGS-tst-auditmod10b.c): Likewise.
14812         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14813         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14814         * sysdeps/x86_64/configure: Regenerated.
14815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14816         AVX-512 zmm register support.
14817         (_dl_x86_64_save_sse): Likewise.
14818         (_dl_x86_64_restore_sse): Likewise.
14819         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14820         size vector registers.
14821         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14822         (ZMM_SIZE): Likewise.
14823         * sysdeps/x86_64/tst-audit10.c: New file.
14824         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14825         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14827 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14829         * configure.ac (HAVE_EHDR_START): New check.
14830         * configure: Regenerated.
14831         * config.h.in (HAVE_EHDR_START): New #undef.
14832         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14833         assuming the lowest-addressed segment maps the start of the file.
14835 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14837         * INSTALL: Regenerated.
14839 2014-03-13  Will Newton  <will.newton@linaro.org>
14841         * manual/setjmp.texi (System V contexts): Improve
14842         clarity and grammar of documentation.
14844 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14846         [BZ #16381]
14847         * elf/Makefile (tests): Add tst-pie2.
14848         (tests-pie): Add tst-pie2.
14849         * elf/tst-pie2.c: New file.
14850         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14851         for ET_EXEC.
14852         * elf/rtld.c (map_doit): Load executable as lt_executable.
14853         (dl_main): Likewise.
14855 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14857         [BZ #16642]
14858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14859         (__ASSUME_PSELECT): Undefine.
14861 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14863         [BZ #16689]
14864         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14865         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14866         static build.
14867         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14868         selector for static builds.
14870 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14872         [BZ #16695]
14873         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14874         key in the buffer.
14876 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14878         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14879         IFUNC selector for static builds.
14881 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14883         * sysdeps/mips/math_private.h [__mips_hard_float]
14884         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14885         libc_feresetround_mips_ctx.
14886         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14887         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14888         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14890         [BZ #16677]
14891         * math/s_nextafter.c (__nextafter): Do not return value from
14892         overflowing computation.
14893         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14894         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14895         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14896         Likewise.
14897         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14898         Likewise.
14899         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14900         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14902 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14904         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14905         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14906         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14907         the new mov targetting sp.
14909 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14911         [BZ #16683]
14912         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14913         Define it for static builds as well.
14914         (NO_BZERO_IMPL): Likewise.
14916 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14918         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14919         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14920         multiarch strspn for PPC64.
14921         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14922         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14924         (__libc_ifunc_impl_list): Likewise.
14925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14926         multiarch optimizations
14927         * string/strspn.c (strspn): Using macro to redefine symbol name.
14929 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14930             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14932         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14933         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14934         multiarch strncat for PPC64.
14935         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14936         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14938         (__libc_ifunc_impl_list): Likewise.
14939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14940         multiarch optimizations
14942 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14944         [BZ #16639]
14945         * nscd/nscd.service: Make service type forking.
14947 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14949         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14950         sign in non default rounding modes.
14951         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14953 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14955         * math/libm-test.inc (ALL_RM_TEST): New macro.
14956         (ceil_test): Use ALL_RM_TEST.
14957         (cimag_test): Likewise.
14958         (conj_test): Likewise.
14959         (copysign_test): Likewise.
14960         (cproj_test): Likewise.
14961         (creal_test): Likewise.
14962         (fabs_test): Likewise.
14963         (floor_test): Likewise.
14964         (fmax_test): Likewise.
14965         (fmin_test): Likewise.
14966         (fmod_test): Likewise.
14967         (fpclassify_test): Likewise.
14968         (frexp_test): Likewise.
14969         (ilogb_test): Likewise.
14970         (isfinite_test): Likewise.
14971         (finite_test): Likewise.
14972         (isgreater_test): Likewise.
14973         (isgreaterequal_test): Likewise.
14974         (isinf_test): Likewise.
14975         (isless_test): Likewise.
14976         (islessequal_test): Likewise.
14977         (islessgreater_test): Likewise.
14978         (isnan_test): Likewise.
14979         (isnormal_test): Likewise.
14980         (issignaling_test): Likewise.
14981         (isunordered_test): Likewise.
14982         (logb_test): Likewise.
14983         (logb_downward_test_data): Remove.
14984         (logb_test_downward): Likewise.
14985         (lround_test): Use ALL_RM_TEST.
14986         (llround_test): Likewise.
14987         (modf_test): Likewise.
14988         (nexttoward_test): Likewise.
14989         (remainder_test): Likewise.
14990         (drem_test): Likewise.
14991         (remainder_tonearest_test_data): Likewise.
14992         (remainder_test_tonearest): Likewise.
14993         (drem_test_tonearest): Likewise.
14994         (remainder_towardzero_test_data): Likewise.
14995         (remainder_test_towardzero): Likewise.
14996         (drem_test_towardzero): Likewise.
14997         (remainder_downward_test_data): Likewise.
14998         (remainder_test_downward): Likewise.
14999         (drem_test_downward): Likewise.
15000         (remainder_upward_test_data): Likewise.
15001         (remainder_test_upward): Likewise.
15002         (drem_test_upward): Likewise.
15003         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15004         (round_test): Use ALL_RM_TEST.
15005         (signbit_test): Likewise.
15006         (trunc_test): Likewise.
15007         (significand_test): Likewise.
15008         (main): Don't call removed functions.
15010 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15012         [BZ #16674]
15013         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15014         || __USE_XOPEN2K8].
15015         (ILL_ILLOPN): Likewise.
15016         (ILL_ILLADR): Likewise.
15017         (ILL_ILLTRP): Likewise.
15018         (ILL_PRVOPC): Likewise.
15019         (ILL_PRVREG): Likewise.
15020         (ILL_COPROC): Likewise.
15021         (ILL_BADSTK): Likewise.
15022         (FPE_INTDIV): Likewise.
15023         (FPE_INTOVF): Likewise.
15024         (FPE_FLTDIV): Likewise.
15025         (FPE_FLTOVF): Likewise.
15026         (FPE_FLTUND): Likewise.
15027         (FPE_FLTRES): Likewise.
15028         (FPE_FLTINV): Likewise.
15029         (FPE_FLTSUB): Likewise.
15030         (SEGV_MAPERR): Likewise.
15031         (SEGV_ACCERR): Likewise.
15032         (BUS_ADRALN): Likewise.
15033         (BUS_ADRERR): Likewise.
15034         (BUS_OBJERR): Likewise.
15035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15036         (TRAP_TRACE): Likewise.
15037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15038         __USE_XOPEN2K8].
15039         (CLD_KILLED): Likewise.
15040         (CLD_DUMPED): Likewise.
15041         (CLD_TRAPPED): Likewise.
15042         (CLD_STOPPED): Likewise.
15043         (CLD_CONTINUED): Likewise.
15044         (POLL_IN): Likewise.
15045         (POLL_OUT): Likewise.
15046         (POLL_MSG): Likewise.
15047         (POLL_ERR): Likewise.
15048         (POLL_PRI): Likewise.
15049         (POLL_HUP): Likewise.
15050         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15051         Likewise.
15052         (ILL_ILLOPN): Likewise.
15053         (ILL_ILLADR): Likewise.
15054         (ILL_ILLTRP): Likewise.
15055         (ILL_PRVOPC): Likewise.
15056         (ILL_PRVREG): Likewise.
15057         (ILL_COPROC): Likewise.
15058         (ILL_BADSTK): Likewise.
15059         (FPE_INTDIV): Likewise.
15060         (FPE_INTOVF): Likewise.
15061         (FPE_FLTDIV): Likewise.
15062         (FPE_FLTOVF): Likewise.
15063         (FPE_FLTUND): Likewise.
15064         (FPE_FLTRES): Likewise.
15065         (FPE_FLTINV): Likewise.
15066         (FPE_FLTSUB): Likewise.
15067         (SEGV_MAPERR): Likewise.
15068         (SEGV_ACCERR): Likewise.
15069         (BUS_ADRALN): Likewise.
15070         (BUS_ADRERR): Likewise.
15071         (BUS_OBJERR): Likewise.
15072         (BUS_MCEERR_AR): Likewise.
15073         (BUS_MCEERR_AO): Likewise.
15074         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15075         (TRAP_TRACE): Likewise.
15076         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15077         __USE_XOPEN2K8].
15078         (CLD_KILLED): Likewise.
15079         (CLD_DUMPED): Likewise.
15080         (CLD_TRAPPED): Likewise.
15081         (CLD_STOPPED): Likewise.
15082         (CLD_CONTINUED): Likewise.
15083         (POLL_IN): Likewise.
15084         (POLL_OUT): Likewise.
15085         (POLL_MSG): Likewise.
15086         (POLL_ERR): Likewise.
15087         (POLL_PRI): Likewise.
15088         (POLL_HUP): Likewise.
15089         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15090         (ILL_ILLOPN): Likewise.
15091         (ILL_ILLADR): Likewise.
15092         (ILL_ILLTRP): Likewise.
15093         (ILL_PRVOPC): Likewise.
15094         (ILL_PRVREG): Likewise.
15095         (ILL_COPROC): Likewise.
15096         (ILL_BADSTK): Likewise.
15097         (FPE_INTDIV): Likewise.
15098         (FPE_INTOVF): Likewise.
15099         (FPE_FLTDIV): Likewise.
15100         (FPE_FLTOVF): Likewise.
15101         (FPE_FLTUND): Likewise.
15102         (FPE_FLTRES): Likewise.
15103         (FPE_FLTINV): Likewise.
15104         (FPE_FLTSUB): Likewise.
15105         (SEGV_MAPERR): Likewise.
15106         (SEGV_ACCERR): Likewise.
15107         (BUS_ADRALN): Likewise.
15108         (BUS_ADRERR): Likewise.
15109         (BUS_OBJERR): Likewise.
15110         (BUS_MCEERR_AR): Likewise.
15111         (BUS_MCEERR_AO): Likewise.
15112         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15113         (TRAP_TRACE): Likewise.
15114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15115         __USE_XOPEN2K8].
15116         (CLD_KILLED): Likewise.
15117         (CLD_DUMPED): Likewise.
15118         (CLD_TRAPPED): Likewise.
15119         (CLD_STOPPED): Likewise.
15120         (CLD_CONTINUED): Likewise.
15121         (POLL_IN): Likewise.
15122         (POLL_OUT): Likewise.
15123         (POLL_MSG): Likewise.
15124         (POLL_ERR): Likewise.
15125         (POLL_PRI): Likewise.
15126         (POLL_HUP): Likewise.
15127         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15128         Likewise.
15129         (ILL_ILLOPN): Likewise.
15130         (ILL_ILLADR): Likewise.
15131         (ILL_ILLTRP): Likewise.
15132         (ILL_PRVOPC): Likewise.
15133         (ILL_PRVREG): Likewise.
15134         (ILL_COPROC): Likewise.
15135         (ILL_BADSTK): Likewise.
15136         (ILL_BADIADDR): Likewise.
15137         (ILL_BREAK): Likewise.
15138         (FPE_INTDIV): Likewise.
15139         (FPE_INTOVF): Likewise.
15140         (FPE_FLTDIV): Likewise.
15141         (FPE_FLTOVF): Likewise.
15142         (FPE_FLTUND): Likewise.
15143         (FPE_FLTRES): Likewise.
15144         (FPE_FLTINV): Likewise.
15145         (FPE_FLTSUB): Likewise.
15146         (FPE_DECOVF): Likewise.
15147         (FPE_DECDIV): Likewise.
15148         (FPE_DECERR): Likewise.
15149         (FPE_INVASC): Likewise.
15150         (FPE_INVDEC): Likewise.
15151         (SEGV_MAPERR): Likewise.
15152         (SEGV_ACCERR): Likewise.
15153         (SEGV_PSTKOVF): Likewise.
15154         (BUS_ADRALN): Likewise.
15155         (BUS_ADRERR): Likewise.
15156         (BUS_OBJERR): Likewise.
15157         (BUS_MCEERR_AR): Likewise.
15158         (BUS_MCEERR_AO): Likewise.
15159         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15160         (TRAP_TRACE): Likewise.
15161         (TRAP_BRANCH): Likewise.
15162         (TRAP_HWBKPT): Likewise.
15163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15164         __USE_XOPEN2K8].
15165         (CLD_KILLED): Likewise.
15166         (CLD_DUMPED): Likewise.
15167         (CLD_TRAPPED): Likewise.
15168         (CLD_STOPPED): Likewise.
15169         (CLD_CONTINUED): Likewise.
15170         (POLL_IN): Likewise.
15171         (POLL_OUT): Likewise.
15172         (POLL_MSG): Likewise.
15173         (POLL_ERR): Likewise.
15174         (POLL_PRI): Likewise.
15175         (POLL_HUP): Likewise.
15176         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15177         (ILL_ILLOPN): Likewise.
15178         (ILL_ILLADR): Likewise.
15179         (ILL_ILLTRP): Likewise.
15180         (ILL_PRVOPC): Likewise.
15181         (ILL_PRVREG): Likewise.
15182         (ILL_COPROC): Likewise.
15183         (ILL_BADSTK): Likewise.
15184         (FPE_INTDIV): Likewise.
15185         (FPE_INTOVF): Likewise.
15186         (FPE_FLTDIV): Likewise.
15187         (FPE_FLTOVF): Likewise.
15188         (FPE_FLTUND): Likewise.
15189         (FPE_FLTRES): Likewise.
15190         (FPE_FLTINV): Likewise.
15191         (FPE_FLTSUB): Likewise.
15192         (SEGV_MAPERR): Likewise.
15193         (SEGV_ACCERR): Likewise.
15194         (BUS_ADRALN): Likewise.
15195         (BUS_ADRERR): Likewise.
15196         (BUS_OBJERR): Likewise.
15197         (BUS_MCEERR_AR): Likewise.
15198         (BUS_MCEERR_AO): Likewise.
15199         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15200         (TRAP_TRACE): Likewise.
15201         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15202         __USE_XOPEN2K8].
15203         (CLD_KILLED): Likewise.
15204         (CLD_DUMPED): Likewise.
15205         (CLD_TRAPPED): Likewise.
15206         (CLD_STOPPED): Likewise.
15207         (CLD_CONTINUED): Likewise.
15208         (POLL_IN): Likewise.
15209         (POLL_OUT): Likewise.
15210         (POLL_MSG): Likewise.
15211         (POLL_ERR): Likewise.
15212         (POLL_PRI): Likewise.
15213         (POLL_HUP): Likewise.
15214         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15215         (ILL_ILLOPN): Likewise.
15216         (ILL_ILLADR): Likewise.
15217         (ILL_ILLTRP): Likewise.
15218         (ILL_PRVOPC): Likewise.
15219         (ILL_PRVREG): Likewise.
15220         (ILL_COPROC): Likewise.
15221         (ILL_BADSTK): Likewise.
15222         (FPE_INTDIV): Likewise.
15223         (FPE_INTOVF): Likewise.
15224         (FPE_FLTDIV): Likewise.
15225         (FPE_FLTOVF): Likewise.
15226         (FPE_FLTUND): Likewise.
15227         (FPE_FLTRES): Likewise.
15228         (FPE_FLTINV): Likewise.
15229         (FPE_FLTSUB): Likewise.
15230         (SEGV_MAPERR): Likewise.
15231         (SEGV_ACCERR): Likewise.
15232         (BUS_ADRALN): Likewise.
15233         (BUS_ADRERR): Likewise.
15234         (BUS_OBJERR): Likewise.
15235         (BUS_MCEERR_AR): Likewise.
15236         (BUS_MCEERR_AO): Likewise.
15237         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15238         (TRAP_TRACE): Likewise.
15239         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15240         __USE_XOPEN2K8].
15241         (CLD_KILLED): Likewise.
15242         (CLD_DUMPED): Likewise.
15243         (CLD_TRAPPED): Likewise.
15244         (CLD_STOPPED): Likewise.
15245         (CLD_CONTINUED): Likewise.
15246         (POLL_IN): Likewise.
15247         (POLL_OUT): Likewise.
15248         (POLL_MSG): Likewise.
15249         (POLL_ERR): Likewise.
15250         (POLL_PRI): Likewise.
15251         (POLL_HUP): Likewise.
15252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15253         (ILL_ILLOPN): Likewise.
15254         (ILL_ILLADR): Likewise.
15255         (ILL_ILLTRP): Likewise.
15256         (ILL_PRVOPC): Likewise.
15257         (ILL_PRVREG): Likewise.
15258         (ILL_COPROC): Likewise.
15259         (ILL_BADSTK): Likewise.
15260         (FPE_INTDIV): Likewise.
15261         (FPE_INTOVF): Likewise.
15262         (FPE_FLTDIV): Likewise.
15263         (FPE_FLTOVF): Likewise.
15264         (FPE_FLTUND): Likewise.
15265         (FPE_FLTRES): Likewise.
15266         (FPE_FLTINV): Likewise.
15267         (FPE_FLTSUB): Likewise.
15268         (SEGV_MAPERR): Likewise.
15269         (SEGV_ACCERR): Likewise.
15270         (BUS_ADRALN): Likewise.
15271         (BUS_ADRERR): Likewise.
15272         (BUS_OBJERR): Likewise.
15273         (BUS_MCEERR_AR): Likewise.
15274         (BUS_MCEERR_AO): Likewise.
15275         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15276         (TRAP_TRACE): Likewise.
15277         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15278         __USE_XOPEN2K8].
15279         (CLD_KILLED): Likewise.
15280         (CLD_DUMPED): Likewise.
15281         (CLD_TRAPPED): Likewise.
15282         (CLD_STOPPED): Likewise.
15283         (CLD_CONTINUED): Likewise.
15284         (POLL_IN): Likewise.
15285         (POLL_OUT): Likewise.
15286         (POLL_MSG): Likewise.
15287         (POLL_ERR): Likewise.
15288         (POLL_PRI): Likewise.
15289         (POLL_HUP): Likewise.
15290         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15291         (ILL_ILLOPN): Likewise.
15292         (ILL_ILLADR): Likewise.
15293         (ILL_ILLTRP): Likewise.
15294         (ILL_PRVOPC): Likewise.
15295         (ILL_PRVREG): Likewise.
15296         (ILL_COPROC): Likewise.
15297         (ILL_BADSTK): Likewise.
15298         (ILL_DBLFLT): Likewise.
15299         (ILL_HARDWALL): Likewise.
15300         (FPE_INTDIV): Likewise.
15301         (FPE_INTOVF): Likewise.
15302         (FPE_FLTDIV): Likewise.
15303         (FPE_FLTOVF): Likewise.
15304         (FPE_FLTUND): Likewise.
15305         (FPE_FLTRES): Likewise.
15306         (FPE_FLTINV): Likewise.
15307         (FPE_FLTSUB): Likewise.
15308         (SEGV_MAPERR): Likewise.
15309         (SEGV_ACCERR): Likewise.
15310         (BUS_ADRALN): Likewise.
15311         (BUS_ADRERR): Likewise.
15312         (BUS_OBJERR): Likewise.
15313         (BUS_MCEERR_AR): Likewise.
15314         (BUS_MCEERR_AO): Likewise.
15315         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15316         (TRAP_TRACE): Likewise.
15317         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15318         __USE_XOPEN2K8].
15319         (CLD_KILLED): Likewise.
15320         (CLD_DUMPED): Likewise.
15321         (CLD_TRAPPED): Likewise.
15322         (CLD_STOPPED): Likewise.
15323         (CLD_CONTINUED): Likewise.
15324         (POLL_IN): Likewise.
15325         (POLL_OUT): Likewise.
15326         (POLL_MSG): Likewise.
15327         (POLL_ERR): Likewise.
15328         (POLL_PRI): Likewise.
15329         (POLL_HUP): Likewise.
15330         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15331         (ILL_ILLOPN): Likewise.
15332         (ILL_ILLADR): Likewise.
15333         (ILL_ILLTRP): Likewise.
15334         (ILL_PRVOPC): Likewise.
15335         (ILL_PRVREG): Likewise.
15336         (ILL_COPROC): Likewise.
15337         (ILL_BADSTK): Likewise.
15338         (FPE_INTDIV): Likewise.
15339         (FPE_INTOVF): Likewise.
15340         (FPE_FLTDIV): Likewise.
15341         (FPE_FLTOVF): Likewise.
15342         (FPE_FLTUND): Likewise.
15343         (FPE_FLTRES): Likewise.
15344         (FPE_FLTINV): Likewise.
15345         (FPE_FLTSUB): Likewise.
15346         (SEGV_MAPERR): Likewise.
15347         (SEGV_ACCERR): Likewise.
15348         (BUS_ADRALN): Likewise.
15349         (BUS_ADRERR): Likewise.
15350         (BUS_OBJERR): Likewise.
15351         (BUS_MCEERR_AR): Likewise.
15352         (BUS_MCEERR_AO): Likewise.
15353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15354         (TRAP_TRACE): Likewise.
15355         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15356         __USE_XOPEN2K8].
15357         (CLD_KILLED): Likewise.
15358         (CLD_DUMPED): Likewise.
15359         (CLD_TRAPPED): Likewise.
15360         (CLD_STOPPED): Likewise.
15361         (CLD_CONTINUED): Likewise.
15362         (POLL_IN): Likewise.
15363         (POLL_OUT): Likewise.
15364         (POLL_MSG): Likewise.
15365         (POLL_ERR): Likewise.
15366         (POLL_PRI): Likewise.
15367         (POLL_HUP): Likewise.
15368         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15369         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15371         [BZ #16670]
15372         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15373         before #include of <time.h>.
15374         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15375         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15376         (test-xfail-UNIX98/sched.h/conform): Likewise.
15378 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15380         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15381         error absence of trapping exception support.
15382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15384 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15386         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15387         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15388         * timezone/Makefile (testdata): Move definition above include of
15389         Rules.
15390         (test-zones): New variable.
15391         (tests-special): Add zone files.
15392         (build-testdata): Use $(evaluate-test).
15394         * elf/Makefile (tests-special): Rename tests to end with .out.
15395         ($(objpfx)noload-mem): Likewise.
15396         ($(objpfx)tst-leaks1-mem): Likewise.
15397         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15398         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15399         $(objpfx)test-iconvconfig.out.
15400         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15401         set -e inside subshell and redirect output to file.
15402         * iconvdata/Makefile (generated): Rename tests to end with .out.
15403         Correct type.
15404         (tests-special): Rename tests to end with .out.
15405         ($(objpfx)mtrace-tst-loading): Likewise.
15406         * intl/Makefile (generated): Likewise.
15407         (tests-special): Likewise.
15408         ($(objpfx)mtrace-tst-gettext): Likewise.
15409         * misc/Makefile (generated): Likewise.
15410         (tests-special): Likewise.
15411         ($(objpfx)tst-error1-mem): Likewise.
15412         * nptl/Makefile (tests-special): Likewise.
15413         ($(objpfx)tst-stack3-mem): Likewise.
15414         (generated): Likewise.
15415         * posix/Makefile (generated): Likewise.
15416         (tests-special): Likewise.
15417         (xtests-special): Likewise.
15418         ($(objpfx)tst-fnmatch-mem): Likewise.
15419         ($(objpfx)bug-regex2-mem): Likewise.
15420         ($(objpfx)bug-regex14-mem): Likewise.
15421         ($(objpfx)bug-regex21-mem): Likewise.
15422         ($(objpfx)bug-regex31-mem): Likewise.
15423         ($(objpfx)tst-vfork3-mem): Likewise.
15424         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15425         ($(objpfx)tst-pcre-mem): Likewise.
15426         ($(objpfx)tst-boost-mem): Likewise.
15427         ($(objpfx)bug-ga2-mem): Likewise.
15428         ($(objpfx)bug-glob2-mem): Likewise.
15429         * resolv/Makefile (generate): Likewise.
15430         (tests-special): Likewise.
15431         (xtests-special): Likewise.
15432         (generated): Likewise.
15433         ($(objpfx)mtrace-tst-leaks): Likewise.
15434         ($(objpfx)mtrace-tst-leaks2): Likewise.
15436         * scripts/merge-test-results.sh: New file.
15437         * Makefile (tests-special-notdir): New variable.
15438         (tests): Run merge-test-results.sh.
15439         (xtests): Likewise.
15440         * Rules (tests-special-notdir): New variable.
15441         (xtests-special-notdir): Likewise.
15442         (tests): Run merge-test-results.sh
15443         (xtests): Likewise.
15445         * Makeconfig (test-xfail-name): New variable.
15446         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15447         compute variable name for expected failures.
15448         * conform/Makefile (conformtest-headers-data): New variable.
15449         (conformtest-standards): Likewise.
15450         (conformtest-headers-ISO): Likewise.
15451         (conformtest-headers-ISO99): Likewise.
15452         (conformtest-headers-ISO11): Likewise.
15453         (conformtest-headers-POSIX): Likewise.
15454         (conformtest-headers-XPG3): Likewise.
15455         (conformtest-headers-XPG4): Likewise.
15456         (conformtest-headers-UNIX98): Likewise.
15457         (conformtest-headers-XOPEN2K): Likewise.
15458         (conformtest-headers-POSIX2008): Likewise.
15459         (conformtest-headers-XOPEN2K8): Likewise.
15460         (conformtest-header-list-base): Likewise.
15461         (conformtest-header-list-tests): Likewise.
15462         (conformtest-header-base): Likewise.
15463         (conformtest-header-tests): Likewise.
15464         (tests-special): Add $(conformtest-header-list-tests).  If
15465         [$(fast-check) && !$(cross-compiling)], add
15466         $(conformtest-header-tests) instead of
15467         $(objpfx)run-conformtest.out.
15468         (generated): Add $(conformtest-header-list-base).  If
15469         [$(fast-check) && !$(cross-compiling)], add
15470         $(conformtest-header-base).  Remove previous setting.
15471         ($(conformtest-header-list-tests)): New target.
15472         (test-xfail-run-conformtest): Remove variable.
15473         ($(objpfx)run-conformtest.out): Remove target.
15474         (test-xfail-ISO11/complex.h/conform): New variable.
15475         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15476         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15477         (test-xfail-XPG3/varargs.h/conform): Likewise.
15478         (test-xfail-XPG4/varargs.h/conform): Likewise.
15479         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15480         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15481         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15482         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15483         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15484         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15485         (test-xfail-XPG3/ftw.h/conform): Likewise.
15486         (test-xfail-XPG3/grp.h/conform): Likewise.
15487         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15488         (test-xfail-XPG3/limits.h/conform): Likewise.
15489         (test-xfail-XPG3/pwd.h/conform): Likewise.
15490         (test-xfail-XPG3/search.h/conform): Likewise.
15491         (test-xfail-XPG3/signal.h/conform): Likewise.
15492         (test-xfail-XPG3/stdio.h/conform): Likewise.
15493         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15494         (test-xfail-XPG3/string.h/conform): Likewise.
15495         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15496         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15497         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15498         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15499         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15500         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15501         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15502         (test-xfail-XPG3/termios.h/conform): Likewise.
15503         (test-xfail-XPG3/time.h/conform): Likewise.
15504         (test-xfail-XPG3/unistd.h/conform): Likewise.
15505         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15506         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15507         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15508         (test-xfail-XPG4/netdb.h/conform): Likewise.
15509         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15510         (test-xfail-XPG4/signal.h/conform): Likewise.
15511         (test-xfail-XPG4/stdio.h/conform): Likewise.
15512         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15513         (test-xfail-XPG4/stropts.h/conform): Likewise.
15514         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15515         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15516         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15517         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15518         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15519         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15520         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15521         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15522         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15523         (test-xfail-XPG4/termios.h/conform): Likewise.
15524         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15525         (test-xfail-XPG4/unistd.h/conform): Likewise.
15526         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15527         (test-xfail-POSIX/sched.h/conform): Likewise.
15528         (test-xfail-POSIX/signal.h/conform): Likewise.
15529         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15530         (test-xfail-POSIX/tar.h/conform): Likewise.
15531         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15532         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15533         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15534         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15535         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15536         (test-xfail-UNIX98/sched.h/conform): Likewise.
15537         (test-xfail-UNIX98/signal.h/conform): Likewise.
15538         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15539         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15540         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15541         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15542         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15543         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15544         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15545         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15546         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15547         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15548         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15549         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15550         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15551         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15552         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15553         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15554         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15555         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15556         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15557         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15558         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15559         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15560         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15561         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15562         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15563         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15564         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15565         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15566         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15567         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15568         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15569         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15570         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15571         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15572         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15573         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15574         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15575         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15576         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15577         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15578         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15579         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15580         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15581         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15582         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15583         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15584         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15585         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15586         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15587         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15588         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15589         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15590         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15591         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15592         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15593         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15594         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15595         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15596         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15597         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15598         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15599         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15600         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15601         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15602         (conformtest-cc-flags): Likewise.
15603         ($(conformtest-header-tests): New target.
15604         * conform/check-header-lists.sh: New file.
15605         * conform/run-conformtest.sh: Remove.
15607         * conform/conformtest.pl: Allow ' and \ in values given for
15608         constants.
15609         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15610         inclusion.
15611         [POSIX] (sys/types.h): Likewise.
15612         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15613         inclusion.
15614         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15615         inclusion.
15616         * conform/data/signal.h-data (SIGIO): Remove expectation.
15617         [XPG3] (SIGBUS): Do not expect.
15618         [POSIX || XPG3] (SIGPOLL): Likewise.
15619         [POSIX || XPG3] (SIGPROF): Likewise.
15620         [POSIX || XPG3] (SIGSYS): Likewise.
15621         [XPG3] (SIGTRAP): Likewise.
15622         [POSIX || XPG3] (SIGURG): Likewise.
15623         [POSIX || XPG3] (SIGVTALRM): Likewise.
15624         [POSIX || XPG3] (SIGXCPU): Likewise.
15625         [POSIX || XPG3] (SIGXFSZ): Likewise.
15626         [POSIX] (SA_SIGINFO): Expect.
15627         [XPG3] (siginfo_t): Do not expect type or contents.
15628         [POSIX] (si_pid): Do not expect element.
15629         [POSIX] (si_uid): Likewise.
15630         [POSIX] (si_addr): Likewise.
15631         [POSIX] (si_status): Likewise.
15632         [POSIX] (si_band): Likewise.
15633         [XPG4] (si_value): Likewise.
15634         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15635         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15636         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15637         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15638         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15639         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15640         [POSIX || XPG3] (ILL_COPROC): Likewise.
15641         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15642         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15643         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15644         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15645         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15646         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15647         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15648         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15649         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15650         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15651         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15652         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15653         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15654         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15655         [POSIX || XPG3] (CLD_EXITED): Likewise.
15656         [POSIX || XPG3] (CLD_KILLED): Likewise.
15657         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15658         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15659         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15660         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15661         [POSIX || XPG3] (POLL_IN): Likewise.
15662         [POSIX || XPG3] (POLL_OUT): Likewise.
15663         [POSIX || XPG3] (POLL_MSG): Likewise.
15664         [POSIX || XPG3] (POLL_ERR): Likewise.
15665         [POSIX || XPG3] (POLL_PRI): Likewise.
15666         [POSIX || XPG3] (POLL_HUP): Likewise.
15667         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15668         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15669         (SIG*): Do not allow.
15670         [XPG3] (si_*): Likewise.
15671         [XPG3] (SI_*): Likewise.
15672         [XPG3 || XPG4] (sigev_*): Likewise.
15673         [XPG3 || XPG4] (SIGEV_*): Likewise.
15674         [XPG3 || XPG4] (sival_*): Likewise.
15675         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15676         [POSIX || XPG3] (BUS_*): Likewise.
15677         [POSIX || XPG3] (CLD_*): Likewise.
15678         [POSIX || XPG3] (FPE_*): Likewise.
15679         [POSIX || XPG3] (ILL_*): Likewise.
15680         [POSIX || XPG3] (POLL_*): Likewise.
15681         [POSIX || XPG3] (SEGV_*): Likewise.
15682         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15683         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15684         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15685         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15686         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15687         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15688         Specify type and value.
15689         (TVERSLEN): Likewise.
15690         (REGTYPE): Likewise.
15691         (AREGTYPE): Likewise.
15692         (LNKTYPE): Likewise.
15693         (SYMTYPE): Likewise.
15694         (CHRTYPE): Likewise.
15695         (BLKTYPE): Likewise.
15696         (DIRTYPE): Likewise.
15697         (FIFOTYPE): Likewise.
15698         (CONTTYPE): Likewise.
15699         (TSUID): Likewise.
15700         (TSGID): Likewise.
15701         (TSVTX): Likewise.
15702         (TUREAD): Likewise.
15703         (TUWRITE): Likewise.
15704         (TUEXEC): Likewise.
15705         (TGREAD): Likewise.
15706         (TGWRITE): Likewise.
15707         (TGEXEC): Likewise.
15708         (TOREAD): Likewise.
15709         (TOWRITE): Likewise.
15710         (TOEXEC): Likewise.
15711         [POSIX] (TSVTX): Expect constant.
15713 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15715         * Makefile (tests): Change dependencies to ....
15716         (tests-special): ... additions to this variable.
15717         (tests): Depend on $(tests-special).
15718         * Makerules (check-abi-list): New variable.
15719         (check-abi): Depend on $(check-abi-list).
15720         [$(subdir) = elf] (tests-special): Add
15721         $(objpfx)check-abi-libc.out.
15722         [$(build-shared) = yes && subdir] (tests-special): Add
15723         $(check-abi-list).
15724         [$(build-shared) = yes && subdir] (tests): Do not depend on
15725         check-abi.
15726         * Rules (tests): Depend on $(tests-special).
15727         (xtests): Depend on $(xtests-special).
15728         * catgets/Makefile (tests): Change dependencies to ....
15729         (tests-special): ... additions to this variable.
15730         * conform/Makefile (tests): Change dependencies to ....
15731         (tests-special): ... additions to this variable.
15732         * elf/Makefile (tests): Change dependencies to ....
15733         (tests-special): ... additions to this variable.
15734         * grp/Makefile (tests): Change dependencies to ....
15735         (tests-special): ... additions to this variable.
15736         * iconv/Makefile (xtests): Change dependencies to ....
15737         (xtests-special): ... additions to this variable.
15738         * iconvdata/Makefile (tests): Change dependencies to ....
15739         (tests-special): ... additions to this variable.
15740         * intl/Makefile (tests): Change dependencies to ....
15741         (tests-special): ... additions to this variable.  Also add
15742         $(objpfx)tst-gettext.out.
15743         * io/Makefile (tests): Change dependencies to ....
15744         (tests-special): ... additions to this variable.
15745         * libio/Makefile (tests): Change dependencies to ....
15746         (tests-special): ... additions to this variable.
15747         * malloc/Makefile (tests): Change dependencies to ....
15748         (tests-special): ... additions to this variable.
15749         * misc/Makefile (tests): Change dependencies to ....
15750         (tests-special): ... additions to this variable.
15751         * nptl/Makefile (tests): Change dependencies to ....
15752         (tests-special): ... additions to this variable.
15753         * nptl_db/Makefile (tests): Change dependencies to ....
15754         (tests-special): ... additions to this variable.
15755         * posix/Makefile (tests): Change dependencies to ....
15756         (tests-special): ... additions to this variable.
15757         (xtests): Change dependencies to ....
15758         (xtests-special): ... additions to this variable.
15759         * resolv/Makefile (tests): Change dependencies to ....
15760         (tests-special): ... additions to this variable.
15761         (xtests): Change dependencies to ....
15762         (xtests-special): ... additions to this variable.
15763         * stdio-common/Makefile (tests): Change dependencies to ....
15764         (tests-special): ... additions to this variable.
15765         (do-tst-unbputc): Remove target.
15766         (do-tst-printf): Likewise.
15767         * stdlib/Makefile (tests): Change dependencies to ....
15768         (tests-special): ... additions to this variable.
15769         * string/Makefile (tests): Change dependencies to ....
15770         (tests-special): ... additions to this variable.
15771         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15772         (tests-special): ... additions to this variable.
15774         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15775         whole file.
15776         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15777         whole file.
15778         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15779         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15781         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15782         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15783         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15784         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15785         * conform/data/libgen.h-data [XPG3]: Likewise.
15786         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15787         * conform/data/ndbm.h-data [XPG3]: Likewise.
15788         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15789         * conform/data/netdb.h-data [XPG3]: Likewise.
15790         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15791         * conform/data/poll.h-data [XPG3]: Likewise.
15792         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15793         * conform/data/strings.h-data [XPG3]: Likewise.
15794         * conform/data/stropts.h-data [XPG3]: Likewise.
15795         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15796         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15797         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15798         Likewise.
15799         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15800         * conform/data/sys/time.h-data [XPG3]: Likewise.
15801         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15802         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15803         * conform/data/sys/un.h-data [XPG3]: Likewise.
15804         * conform/data/syslog.h-data [XPG3]: Likewise.
15805         * conform/data/ucontext.h-data [XPG3]: Likewise.
15806         * conform/data/utmpx.h-data [XPG3]: Likewise.
15807         * conform/data/varargs.h-data [UNIX98]: Enable file.
15809         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15811         * math/libm-test.inc (struct test_f_f_data): Move expected results
15812         into structure for each rounding mode.
15813         (struct test_ff_f_data): Likewise.
15814         (struct test_ff_f_data_nexttoward): Likewise.
15815         (struct test_fi_f_data): Likewise.
15816         (struct test_fl_f_data): Likewise.
15817         (struct test_if_f_data): Likewise.
15818         (struct test_fff_f_data): Likewise.
15819         (struct test_c_f_data): Likewise.
15820         (struct test_f_f1_data): Likewise.
15821         (struct test_fF_f1_data): Likewise.
15822         (struct test_ffI_f1_data): Likewise.
15823         (struct test_c_c_data): Likewise.
15824         (struct test_cc_c_data): Likewise.
15825         (struct test_f_i_data): Likewise.
15826         (struct test_ff_i_data): Likewise.
15827         (struct test_f_l_data): Likewise.
15828         (struct test_f_L_data): Likewise.
15829         (struct test_fFF_11_data): Likewise.
15830         (RM_): New macro.
15831         (RM_FE_DOWNWARD): Likewise.
15832         (RM_FE_TONEAREST): Likewise.
15833         (RM_FE_TOWARDZERO): Likewise.
15834         (RM_FE_UPWARD): Likewise.
15835         (RUN_TEST_LOOP_f_f): Update references to expected results.
15836         (RUN_TEST_LOOP_2_f): Likewise.
15837         (RUN_TEST_LOOP_fff_f): Likewise.
15838         (RUN_TEST_LOOP_c_f): Likewise.
15839         (RUN_TEST_LOOP_f_f1): Likewise.
15840         (RUN_TEST_LOOP_fF_f1): Likewise.
15841         (RUN_TEST_LOOP_fI_f1): Likewise.
15842         (RUN_TEST_LOOP_ffI_f1): Likewise.
15843         (RUN_TEST_LOOP_c_c): Likewise.
15844         (RUN_TEST_LOOP_cc_c): Likewise.
15845         (RUN_TEST_LOOP_f_i): Likewise.
15846         (RUN_TEST_LOOP_f_i_tg): Likewise.
15847         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15848         (RUN_TEST_LOOP_f_b): Likewise.
15849         (RUN_TEST_LOOP_f_b_tg): Likewise.
15850         (RUN_TEST_LOOP_f_l): Likewise.
15851         (RUN_TEST_LOOP_f_L): Likewise.
15852         (RUN_TEST_LOOP_fFF_11): Likewise.
15853         * math/gen-libm-test.pl (parse_args): Output four copies of
15854         expected results for each test.
15856         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15857         (__ASSUME_UTIMES): Remove.
15858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15859         (__ASSUME_UTIMES): Likewise.
15861         * math/gen-auto-libm-tests.c: Update comment on output format.
15862         (output_for_one_input_case): Generate before-rounding and
15863         after-rounding information as conditions on output flags not
15864         floating-point format.
15865         * math/auto-libm-test-out: Regenerated.
15866         * math/gen-libm-test.pl (cond_value): New function.
15867         (or_cond_value): Use cond_value.
15868         (generate_testfile): Handle conditional exceptions.
15870 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15872         * math/libm-test.inc (max_valid_error): New variable.
15873         (init_max_error): Take new argument specifying whether function
15874         results are exactly determined.  Set max_valid_error and bound
15875         other variables for errors based on this argument.
15876         (set_max_error): Do not record results above max_valid_error.
15877         (check_float_internal): Only accept errors of up to 0.5ulps if
15878         also at most max_valid_error.
15879         (START): Take new argument EXACT and pass it to init_max_error.
15880         (acos_test): Update call to START.
15881         (acos_test_tonearest): Likewise.
15882         (acos_test_towardzero): Likewise.
15883         (acos_test_downward): Likewise.
15884         (acos_test_upward): Likewise.
15885         (acosh_test): Likewise.
15886         (asin_test): Likewise.
15887         (asin_test_tonearest): Likewise.
15888         (asin_test_towardzero): Likewise.
15889         (asin_test_downward): Likewise.
15890         (asin_test_upward): Likewise.
15891         (asinh_test): Likewise.
15892         (atan_test): Likewise.
15893         (atanh_test): Likewise.
15894         (atan2_test): Likewise.
15895         (cabs_test): Likewise.
15896         (cacos_test): Likewise.
15897         (cacosh_test): Likewise.
15898         (carg_test): Likewise.
15899         (casin_test): Likewise.
15900         (casinh_test): Likewise.
15901         (catan_test): Likewise.
15902         (catanh_test): Likewise.
15903         (cbrt_test): Likewise.
15904         (ccos_test): Likewise.
15905         (ccosh_test): Likewise.
15906         (ceil_test): Likewise.
15907         (cexp_test): Likewise.
15908         (cimag_test): Likewise.
15909         (clog_test): Likewise.
15910         (clog10_test): Likewise.
15911         (conj_test): Likewise.
15912         (copysign_test): Likewise.
15913         (cos_test): Likewise.
15914         (cos_test_tonearest): Likewise.
15915         (cos_test_towardzero): Likewise.
15916         (cos_test_downward): Likewise.
15917         (cos_test_upward): Likewise.
15918         (cosh_test): Likewise.
15919         (cosh_test_tonearest): Likewise.
15920         (cosh_test_towardzero): Likewise.
15921         (cosh_test_downward): Likewise.
15922         (cosh_test_upward): Likewise.
15923         (cpow_test): Likewise.
15924         (cproj_test): Likewise.
15925         (creal_test): Likewise.
15926         (csin_test): Likewise.
15927         (csinh_test): Likewise.
15928         (csqrt_test): Likewise.
15929         (ctan_test): Likewise.
15930         (ctan_test_tonearest): Likewise.
15931         (ctan_test_towardzero): Likewise.
15932         (ctan_test_downward): Likewise.
15933         (ctan_test_upward): Likewise.
15934         (ctanh_test): Likewise.
15935         (ctanh_test_tonearest): Likewise.
15936         (ctanh_test_towardzero): Likewise.
15937         (ctanh_test_downward): Likewise.
15938         (ctanh_test_upward): Likewise.
15939         (erf_test): Likewise.
15940         (erfc_test): Likewise.
15941         (exp_test): Likewise.
15942         (exp_test_tonearest): Likewise.
15943         (exp_test_towardzero): Likewise.
15944         (exp_test_downward): Likewise.
15945         (exp_test_upward): Likewise.
15946         (exp10_test): Likewise.
15947         (exp10_test_tonearest): Likewise.
15948         (exp10_test_towardzero): Likewise.
15949         (exp10_test_downward): Likewise.
15950         (exp10_test_upward): Likewise.
15951         (pow10_test): Likewise.
15952         (exp2_test): Likewise.
15953         (expm1_test): Likewise.
15954         (expm1_test_tonearest): Likewise.
15955         (expm1_test_towardzero): Likewise.
15956         (expm1_test_downward): Likewise.
15957         (expm1_test_upward): Likewise.
15958         (fabs_test): Likewise.
15959         (fdim_test): Likewise.
15960         (floor_test): Likewise.
15961         (fma_test): Likewise.
15962         (fma_test_towardzero): Likewise.
15963         (fma_test_downward): Likewise.
15964         (fma_test_upward): Likewise.
15965         (fmax_test): Likewise.
15966         (fmin_test): Likewise.
15967         (fmod_test): Likewise.
15968         (fpclassify_test): Likewise.
15969         (frexp_test): Likewise.
15970         (hypot_test): Likewise.
15971         (ilogb_test): Likewise.
15972         (isfinite_test): Likewise.
15973         (finite_test): Likewise.
15974         (isgreater_test): Likewise.
15975         (isgreaterequal_test): Likewise.
15976         (isinf_test): Likewise.
15977         (isless_test): Likewise.
15978         (islessequal_test): Likewise.
15979         (islessgreater_test): Likewise.
15980         (isnan_test): Likewise.
15981         (isnormal_test): Likewise.
15982         (issignaling_test): Likewise.
15983         (isunordered_test): Likewise.
15984         (j0_test): Likewise.
15985         (j1_test): Likewise.
15986         (jn_test): Likewise.
15987         (ldexp_test): Likewise.
15988         (lgamma_test): Likewise.
15989         (gamma_test): Likewise.
15990         (lrint_test): Likewise.
15991         (lrint_test_tonearest): Likewise.
15992         (lrint_test_towardzero): Likewise.
15993         (lrint_test_downward): Likewise.
15994         (lrint_test_upward): Likewise.
15995         (llrint_test): Likewise.
15996         (llrint_test_tonearest): Likewise.
15997         (llrint_test_towardzero): Likewise.
15998         (llrint_test_downward): Likewise.
15999         (llrint_test_upward): Likewise.
16000         (log_test): Likewise.
16001         (log10_test): Likewise.
16002         (log1p_test): Likewise.
16003         (log2_test): Likewise.
16004         (logb_test): Likewise.
16005         (logb_test_downward): Likewise.
16006         (lround_test): Likewise.
16007         (llround_test): Likewise.
16008         (modf_test): Likewise.
16009         (nearbyint_test): Likewise.
16010         (nextafter_test): Likewise.
16011         (nexttoward_test): Likewise.
16012         (pow_test): Likewise.
16013         (pow_test_tonearest): Likewise.
16014         (pow_test_towardzero): Likewise.
16015         (pow_test_downward): Likewise.
16016         (pow_test_upward): Likewise.
16017         (remainder_test): Likewise.
16018         (drem_test): Likewise.
16019         (remainder_test_tonearest): Likewise.
16020         (drem_test_tonearest): Likewise.
16021         (remainder_test_towardzero): Likewise.
16022         (drem_test_towardzero): Likewise.
16023         (remainder_test_downward): Likewise.
16024         (drem_test_downward): Likewise.
16025         (remainder_test_upward): Likewise.
16026         (drem_test_upward): Likewise.
16027         (remquo_test): Likewise.
16028         (rint_test): Likewise.
16029         (rint_test_tonearest): Likewise.
16030         (rint_test_towardzero): Likewise.
16031         (rint_test_downward): Likewise.
16032         (rint_test_upward): Likewise.
16033         (round_test): Likewise.
16034         (scalb_test): Likewise.
16035         (scalbn_test): Likewise.
16036         (scalbln_test): Likewise.
16037         (signbit_test): Likewise.
16038         (sin_test): Likewise.
16039         (sin_test_tonearest): Likewise.
16040         (sin_test_towardzero): Likewise.
16041         (sin_test_downward): Likewise.
16042         (sin_test_upward): Likewise.
16043         (sincos_test): Likewise.
16044         (sinh_test): Likewise.
16045         (sinh_test_tonearest): Likewise.
16046         (sinh_test_towardzero): Likewise.
16047         (sinh_test_downward): Likewise.
16048         (sinh_test_upward): Likewise.
16049         (sqrt_test): Likewise.
16050         (sqrt_test_tonearest): Likewise.
16051         (sqrt_test_towardzero): Likewise.
16052         (sqrt_test_downward): Likewise.
16053         (sqrt_test_upward): Likewise.
16054         (tan_test): Likewise.
16055         (tan_test_tonearest): Likewise.
16056         (tan_test_towardzero): Likewise.
16057         (tan_test_downward): Likewise.
16058         (tan_test_upward): Likewise.
16059         (tanh_test): Likewise.
16060         (tgamma_test): Likewise.
16061         (trunc_test): Likewise.
16062         (y0_test): Likewise.
16063         (y1_test): Likewise.
16064         (yn_test): Likewise.
16065         (significand_test): Likewise.
16067         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16068         individual tests in comment.
16069         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16070         (prev_max_error): New variable.
16071         (prev_real_max_error): Likewise.
16072         (prev_imag_max_error): Likewise.
16073         (compare_ulp_data): Don't refer to test names in comment.
16074         (find_test_ulps): Remove function.
16075         (find_function_ulps): Likewise.
16076         (find_complex_function_ulps): Likewise.
16077         (init_max_error): Take function name as argument.  Look up ulps
16078         for that function.
16079         (print_ulps): Remove function.
16080         (print_max_error): Use prev_max_error instead of calling
16081         find_function_ulps.
16082         (print_complex_max_error): Use prev_real_max_error and
16083         prev_imag_max_error instead of calling find_complex_function_ulps.
16084         (check_float_internal): Take max_ulp parameter instead of calling
16085         find_test_ulps.  Don't call print_ulps.
16086         (check_float): Update call to check_float_internal.
16087         (check_complex): Update calls to check_float_internal.
16088         (START): Pass argument to init_max_error.
16089         * math/gen-libm-test.pl (%results): Don't include "kind"
16090         information.
16091         (parse_ulps): Don't handle ulps of individual tests.
16092         (print_ulps_file): Likewise.
16093         (output_ulps): Likewise.
16094         * math/README.libm-test: Update.
16095         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16096         individual tests.
16097         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16098         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16099         * sysdeps/arm/libm-test-ulps: Likewise.
16100         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16101         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16102         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16103         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16104         * sysdeps/microblaze/libm-test-ulps: Likewise.
16105         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16106         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16107         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16108         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16109         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16110         * sysdeps/sh/libm-test-ulps: Likewise.
16111         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16112         * sysdeps/tile/libm-test-ulps: Likewise.
16113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16115 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16117         * math/libm-test.inc (print_complex_max_error): Check separately
16118         whether real and imaginary errors are within allowed range and
16119         pass 0 to print_complex_function_ulps instead of value within
16120         allowed range.
16122 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16124         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16125         formatting.
16126         (get_handles_fopen): Likewise.
16127         (do_write_test): Likewise.
16129         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16131         * libio/fileops.c (do_ftell): Use cached offset when
16132         available.
16133         * libio/iofwide.c (do_ftell_wide): Likewise.
16134         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16135         _IO_file_attach.
16136         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16138         [BZ #16532]
16139         * libio/libioP.h (get_file_offset): New function.
16140         * libio/fileops.c (get_file_offset): Likewise.
16141         (do_ftell): Likewise.
16142         (_IO_new_file_seekoff): Split out ftell logic.
16143         * libio/wfileops.c (do_ftell_wide): Likewise.
16144         (_IO_wfile_seekoff): Split out ftell logic.
16145         * libio/tst-ftell-active-handler.c: New test case.
16146         * libio/Makefile (tests): Add it.
16148 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16150         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16151         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16153 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16155         [BZ #16639]
16156         * nscd/connections.c (nscd_init): Call do_exit.
16157         (start_threads): Call do_exit and notify_parent.
16158         (begin_drop_privileges): Call do_exit.
16159         (finish_drop_privileges): Likewise.
16160         * nscd/selinux.c (preserve_capabilities): Likewise.
16161         (install_real_capabilities): Likewise.
16162         (nscd_selinux_enabled): Likewise.
16163         (avc_create_thread): Likewise.
16164         (avc_alloc_lock): Likewise.
16165         (nscd_avc_init): Likewise.
16166         * nscd/nscd.c (parent_fd): New static variable.
16167         (main): Create a pipe between parent and child processes.
16168         Skip closing parent_fd.
16169         (monitor_child): New function.
16170         (do_exit): Likewise.
16171         (notify_parent): Likewise.
16172         * nscd/nscd.h (notify_parent): Likewise.
16173         (do_exit): Likewise.
16175 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16177         * malloc/malloc.c (__libc_calloc): Revert last change.
16179 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16183 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16185         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16187         implementation.
16188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16189         (__libc_ifunc_impl_list): Likewise.
16190         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16191         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16192         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16193         * string/strrchr.c: Define STRRCHR.
16195 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16197         * benchtest/bench-strtok.c (simple_strtok): Delete.
16198         (strtok_string): Use as benchmark.
16199         * string/strtok (STRTOK): New macro.
16201 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16203         * manual/threads.texi: Add header and standard comments to all
16204         functions.
16206         * elf/dl-lookup.c (check_match): New function.
16207         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16208         (do_lookup_x): Remove nested function check_match. Use non-nested
16209         function check_match.
16211 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16213         * csu/Makefile (generated, before-compile): Use += rather than =.
16214         * catgets/Makefile (generated, generated-dirs): Likewise.
16215         * debug/Makefile (generated): Likewise.
16216         * dlfcn/Makefile (generated): Likewise.
16217         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16218         * iconvdata/Makefile (before-compile, generated): Likewise.
16219         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16220         * libio/Makefile (generated): Likewise.
16221         * malloc/Makefile (generated): Likewise.
16222         * manual/Makefile (generated, generated-dirs): Likewise.
16223         * misc/Makefile (generated): Likewise.
16224         * posix/Makefile (generated): Likewise.
16225         * resolv/Makefile (generated): Likewise.
16226         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16227         * timezone/Makefile (generated, generated-dirs): Likewise.
16229         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16231 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16234         power8 implementation.
16235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16236         file: POWER8 llround ifunc implementation.
16237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16238         (__lllround): Add POWER8 implementation.
16239         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16240         POWER8 llround implementation.
16242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16243         power8 implementation.
16244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16245         file: POWER8 llrint ifunc implementation.
16246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16247         Add POWER8 implementation.
16248         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16249         POWER8 llrint implementation.
16251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16252         power8 implementation.
16253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16254         file: POWER8 finite ifunc implementation.
16255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16256         Add POWER8 implementation.
16257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16258         Likewise.
16259         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16260         POWER8 finite implementation.
16261         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16264         power8 implementation.
16265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16266         file: POWER8 isinf ifunc implementation.
16267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16268         POWER8 implementation.
16269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16270         Likewise.
16271         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16272         isinf implementation.
16273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16275         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16276         (INIT_ARCH): Add hwcap2 initialization.
16277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16278         power8 implementation.
16279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16280         file: POWER8 isnan ifunc implementation.
16281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16282         POWER8 implementation.
16283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16284         Likewise.
16285         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16286         isnan implementation.
16287         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16289 2014-02-27  Joey Ye  <joey.ye@arm.com>
16291         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16292         (_FP_NANFRAC_Q): Set to zero.
16294 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16296         [BZ #16623]
16297         * math/auto-libm-test-in: New test inputs.
16298         * math/auto-libm-test-out: Regenerate.
16299         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16300         and DA.
16301         (__cos): Likewise.
16302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16304 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16306         * scripts/evaluate-test.sh: Take new argument indicating whether
16307         failure is expected.
16308         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16309         indicating whether failure is expected.
16310         * conform/Makefile (test-xfail-run-conformtest): New variable.
16311         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16312         level.
16313         * posix/Makefile (test-xfail-annexc): New variable.
16314         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16316 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16318         * argp/Makefile: Include Makeconfig immediately after defining
16319         subdir.
16320         * assert/Makefile: Likewise.
16321         * benchtests/Makefile: Likewise.
16322         * catgets/Makefile: Likewise.
16323         * conform/Makefile: Likewise.
16324         * crypt/Makefile: Likewise.
16325         * csu/Makefile: Likewise.
16326         (all): Remove target.
16327         * ctype/Makefile: Include Makeconfig immediately after defining
16328         subdir.
16329         * debug/Makefile: Likewise.
16330         * dirent/Makefile: Likewise.
16331         * dlfcn/Makefile: Likewise.
16332         * gmon/Makefile: Likewise.
16333         * gnulib/Makefile: Likewise.
16334         * grp/Makefile: Likewise.
16335         * gshadow/Makefile: Likewise.
16336         * hesiod/Makefile: Likewise.
16337         * hurd/Makefile: Likewise.
16338         (all): Remove target.
16339         * iconvdata/Makefile: Include Makeconfig immediately after
16340         defining subdir.
16341         * inet/Makefile: Likewise.
16342         * intl/Makefile: Likewise.
16343         * io/Makefile: Likewise.
16344         * libio/Makefile: Likewise.
16345         (all): Remove target.
16346         * locale/Makefile: Include Makeconfig immediately after defining
16347         subdir.
16348         * login/Makefile: Likewise.
16349         * mach/Makefile: Likewise.
16350         (all): Remove target.
16351         * malloc/Makefile: Include Makeconfig immediately after defining
16352         subdir.
16353         (all): Remove target.
16354         * manual/Makefile: Include Makeconfig immediately after defining
16355         subdir.
16356         * math/Makefile: Likewise.
16357         * misc/Makefile: Likewise.
16358         * nis/Makefile: Likewise.
16359         * nss/Makefile: Likewise.
16360         * po/Makefile: Likewise.
16361         (all): Remove target.
16362         * posix/Makefile: Include Makeconfig immediately after defining
16363         subdir.
16364         * pwd/Makefile: Likewise.
16365         * resolv/Makefile: Likewise.
16366         * resource/Makefile: Likewise.
16367         * rt/Makefile: Likewise.
16368         * setjmp/Makefile: Likewise.
16369         * shadow/Makefile: Likewise.
16370         * signal/Makefile: Likewise.
16371         * socket/Makefile: Likewise.
16372         * soft-fp/Makefile: Likewise.
16373         * stdio-common/Makefile: Likewise.
16374         * stdlib/Makefile: Likewise.
16375         * streams/Makefile: Likewise.
16376         * string/Makefile: Likewise.
16377         * sunrpc/Makefile: Likewise.
16378         (all): Remove target.
16379         * sysvipc/Makefile: Include Makeconfig immediately after defining
16380         subdir.
16381         * termios/Makefile: Likewise.
16382         * time/Makefile: Likewise.
16383         * timezone/Makefile: Likewise.
16384         (all): Remove target.
16385         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16386         subdir.
16387         * wctype/Makefile: Likewise.
16389 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16391         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16392         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16393         (libc_feholdexcept_setround_mips): Ditto.
16394         (libc_feholdsetround): New.
16395         (libc_feholdsetroundf): New.
16396         (libc_feholdsetroundl): New.
16397         (libc_feupdateenv_test_mips): New.
16398         (libc_feupdateenv_test): New.
16399         (libc_feupdateenv_testf): New.
16400         (libc_feupdateenv_testl): New.
16401         (libc_feresetround): New.
16402         (libc_feresetroundf): New.
16403         (libc_feresetroundl): New.
16404         (libc_fetestexcept_mips): New.
16405         (libc_fetestexcept): New.
16406         (libc_fetestexceptf): New.
16407         (libc_fetestexceptl): New.
16408         (HAVE_RM_CTX): New.
16409         (libc_feholdexcept_setround_mips_ctx): New.
16410         (libc_feholdexcept_setround_ctx): New.
16411         (libc_feholdexcept_setroundf_ctx): New.
16412         (libc_feholdexcept_setroundl_ctx): New.
16413         (libc_fesetenv_mips_ctx): New.
16414         (libc_fesetenv_ctx): New.
16415         (libc_fesetenv_ctxf): New.
16416         (libc_fesetenv_ctxl): New.
16417         (libc_feupdateenv_mips_ctx): New.
16418         (libc_feupdateenv_ctx): New.
16419         (libc_feupdateenvf_ctx): New.
16420         (libc_feupdateenvl_ctx): New.
16421         (libc_feholdsetround_mips_ctx): New.
16422         (libc_feholdsetround_ctx): New.
16423         (libc_feholdsetroundf_ctx): New.
16424         (libc_feholdsetroundl_ctx): New.
16425         (libc_feresetround_mips_ctx): New.
16426         (libc_feresetround_ctx): New.
16427         (libc_feresetroundf_ctx): New.
16428         (libc_feresetroundl_ctx): New.
16430 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16432         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16434         * manual/ipc.texi: New file.
16435         * manual/Makefile (chapters): Add ipc.
16436         * manual/job.texi: Add "Inter-Process Communication" to next.
16437         * manual/process.texi: Add "Inter-Process Communication" to prev.
16439 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16443 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16445         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16447         * manual/arith.texi: Fix spaces after sentences.
16448         * manual/charset.texi: Likewise.
16449         * manual/errno.texi: Likewise.
16450         * manual/install.texi: Likewise.
16451         * manual/llio.texi: Likewise.
16452         * manual/locale.texi: Likewise.
16453         * manual/maint.texi: Likewise.
16454         * manual/math.texi: Likewise.
16455         * manual/memory.texi: Likewise.
16456         * manual/message.texi: Likewise.
16457         * manual/probes.texi: Likewise.
16458         * manual/resource.texi: Likewise.
16459         * manual/signal.texi: Likewise.
16460         * manual/socket.texi: Likewise.
16461         * manual/stdio.texi: Likewise.
16462         * manual/string.texi: Likewise.
16463         * manual/time.texi: Likewise.
16464         * manual/users.texi: Likewise.
16466 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16468         [BZ #16632]
16469         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16470         _DEFAULT_SOURCE is defined.
16472 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16473             Carlos O'Donell  <carlos@redhat.com>
16475         [BZ #16613]
16476         * elf/dl-tls.c (_dl_count_modids): New function.
16477         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16478         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16479         audit library and increment generation counter.
16480         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16481         * elf/tst-audit9.c: New file.
16482         * elf/tst-auditmod9a.c: New file.
16483         * elf/tst-auditmod9b.c: New file.
16484         * elf/Makefile: Add rules to build and run tst-audit9.
16486 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16488         [BZ #15347]
16489         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16491 2014-02-25  Will Newton  <will.newton@linaro.org>
16493         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16494         (__longjmp): Restore sp and lr before restoring callee
16495         saved registers.  Add longjmp and longjmp_target
16496         SystemTap probe point.
16497         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16498         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16499         Define to zero to match jmpbuf layout.
16500         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16501         (__sigsetjmp): Save sp and lr before saving callee
16502         saved registers.  Add setjmp SystemTap probe point.
16504 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16506         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16508 2014-02-24  Andreas Schwab  <schwab@suse.de>
16510         [BZ #15804]
16511         * elf/pldd.c (wait_for_ptrace_stop): New function.
16512         (main): Call it after attaching.
16514 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16516         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16517         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16518         Versions files is now verboten.
16519         * hurd/Versions (libc: GLIBC_2.0):
16520         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16521         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16522         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16523         * mach/Versions: Likewise.
16525         * csu/Versions: Remove unused %include.
16526         * resolv/Versions: Likewise.
16528 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16530         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16531         ($(objpfx)check-local-headers.out): Likewise.
16532         ($(objpfx)begin-end-check.out): Likewise.
16533         * Makerules (check-abi-%.out): Likewise.
16534         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16535         ($(objpfx)test2.cat): Likewise.
16536         ($(objpfx)de/libc.cat): Likewise.
16537         ($(objpfx)test-gencat.out): Likewise.
16538         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16539         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16540         ($(objpfx)noload-mem): Likewise.
16541         ($(objpfx)tst-pathopt.out): Likewise.
16542         ($(objpfx)tst-rtld-load-self.out): Likewise.
16543         ($(objpfx)tst-array1-cmp.out): Likewise.
16544         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16545         ($(objpfx)tst-array2-cmp.out): Likewise.
16546         ($(objpfx)tst-array3-cmp.out): Likewise.
16547         ($(objpfx)tst-array4-cmp.out): Likewise.
16548         ($(objpfx)tst-array5-cmp.out): Likewise.
16549         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16550         ($(objpfx)check-textrel.out): Likewise.
16551         ($(objpfx)check-execstack.out): Likewise.
16552         ($(objpfx)check-localplt.out): Likewise.
16553         ($(objpfx)order2-cmp.out): Likewise.
16554         ($(objpfx)tst-leaks1-mem): Likewise.
16555         ($(objpfx)tst-leaks1-static-mem): Likewise.
16556         ($(objpfx)tst-initorder-cmp.out): Likewise.
16557         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16558         ($(objpfx)tst-unused-dep.out): Likewise.
16559         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16560         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16561         * iconv/Makefile (test-iconvconfig): Likewise.
16562         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16563         ($(objpfx)iconv-test.out): Likewise.
16564         ($(objpfx)tst-tables.out): Likewise.
16565         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16566         ($(objpfx)tst-gettext.out): Likewise.
16567         ($(objpfx)tst-translit.out): Likewise.
16568         ($(objpfx)tst-gettext2.out): Likewise.
16569         ($(objpfx)tst-gettext4.out): Likewise.
16570         ($(objpfx)tst-gettext6.out): Likewise.
16571         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16572         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16573         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16574         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16575         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16576         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16577         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16578         ($(objpfx)wordexp-tst.out): Likewise.
16579         ($(objpfx)annexc.out): Likewise.
16580         ($(objpfx)tst-fnmatch-mem): Likewise.
16581         ($(objpfx)bug-regex2-mem): Likewise.
16582         ($(objpfx)bug-regex14-mem): Likewise.
16583         ($(objpfx)bug-regex21-mem): Likewise.
16584         ($(objpfx)bug-regex31-mem): Likewise.
16585         ($(objpfx)tst-vfork3-mem): Likewise.
16586         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16587         ($(objpfx)tst-pcre-mem): Likewise.
16588         ($(objpfx)tst-boost-mem): Likewise.
16589         ($(objpfx)tst-getconf.out): Likewise.
16590         ($(objpfx)bug-ga2-mem): Likewise.
16591         ($(objpfx)bug-glob2-mem): Likewise.
16592         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16593         ($(objpfx)mtrace-tst-leaks2): Likewise.
16594         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16595         ($(objpfx)tst-printf.out): Likewise.
16596         ($(objpfx)tst-setvbuf1.out): Likewise.
16597         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16598         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16599         ($(objpfx)tst-fmtmsg.out): Likewise.
16600         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16601         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16603         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16604         * bits/sigaction.h [__USE_MISC]: Likewise.
16605         * bits/waitstatus.h: Update #endif comments.
16606         * ctype/ctype.h: Likewise.
16607         * dirent/dirent.h: Likewise.
16608         [__USE_MISC]: Remove redundant conditionals.
16609         * grp/grp.h: Update #endif comments.
16610         [__USE_GNU]: Remove redundant conditionals.
16611         [__USE_MISC]: Likewise.
16612         * inet/netinet/in.h [__USE_GNU]: Likewise.
16613         * io/sys/stat.h [__USE_MISC]: Likewise.
16614         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16615         * libio/bits/stdio.h: Update #endif comments.
16616         [__USE_MISC]: Remove redundant conditionals.
16617         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16618         * libio/stdio.h: Update #endif comments.
16619         [__USE_MISC]: Remove redundant conditionals.
16620         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16621         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16622         * math/math.h: Update #else and #endif comments.
16623         [__USE_MISC]: Remove redundant conditionals.
16624         * misc/sys/uio.h: Update #endif comments.
16625         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16626         * posix/glob.h [__USE_MISC]: Likewise.
16627         * posix/sys/types.h: Update #endif comments.
16628         [__USE_MISC]: Remove redundant conditionals.
16629         * posix/sys/wait.h: Update #endif comments.
16630         [__USE_MISC]: Remove redundant conditionals.
16631         * posix/unistd.h: Update #endif comments.
16632         [__USE_MISC]: Remove redundant conditionals.
16633         * pwd/pwd.h [__USE_GNU]: Likewise.
16634         [__USE_MISC]: Likewise.
16635         * resolv/netdb.h [__USE_GNU]: Likewise.
16636         * signal/signal.h: Update #endif comments.
16637         [__USE_MISC]: Remove redundant conditionals.
16638         * stdlib/stdlib.h: Update #else and #endif comments.
16639         [__USE_MISC]: Remove redundant conditionals.
16640         [__USE_GNU]: Likewise.
16641         * string/bits/string2.h [__USE_MISC]: Likewise.
16642         * string/string.h: Update #endif comments.
16643         [__USE_MISC]: Remove redundant conditionals.
16644         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16645         Likewise.
16646         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16647         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16648         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16649         Likewise.
16650         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16651         Likewise.
16652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16653         comments.
16654         [__USE_MISC]: Remove redundant conditionals.
16655         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16656         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16657         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16658         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16659         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16660         Likewise.
16661         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16662         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16663         Likewise.
16664         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16665         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16666         Likewise.
16667         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16668         Likewise.
16669         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16670         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16671         Likewise.
16672         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16673         Likewise.
16674         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16675         * sysdeps/x86/bits/string.h: Update #endif comments.
16676         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16677         conditionals.
16678         * time/sys/time.h: Update #endif comments.
16679         * time/time.h: Likewise.
16680         [__USE_MISC]: Remove redundant conditionals.
16682 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16684         [BZ #16600]
16685         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16687 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16689         * Versions.def (librt): Add GLIBC_2.17.
16691 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16693         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16694         synonym for _SYS_AUXV_H to allow direct inclusion.
16695         * sysdeps/sparc/bits/hwcap.h: Likewise.
16696         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16697         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16698         * sysdeps/sparc/sysdep.h: Likewise.
16700 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16702         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16704 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16706         * benchtests/bench-strrchr.c: Print length instead of position.
16708 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #16611]
16711         * sysdeps/unix/sysv/linux/kernel-features.h
16712         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16713         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16714         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16715         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16716         Likewise.
16717         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16718         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16719         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16720         (__ASSUME_SENDMMSG): Define instead of using previous
16721         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16722         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16723         (__ASSUME_SENDMMSG_SYSCALL): Define.
16724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16725         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16726         Likewise.
16727         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16728         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16729         Likewise.
16730         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16731         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16732         Likewise.
16733         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16734         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16735         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16736         [__ASSUME_SENDMMSG]: Change conditionals to
16737         [__ASSUME_SENDMMSG_SOCKETCALL].
16738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16739         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16740         Define.
16741         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16742         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16743         Likewise.
16744         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16745         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16746         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16747         [!__ASSUME_SENDMMSG]: Change conditional to
16748         [!__ASSUME_SENDMMSG_SOCKETCALL].
16749         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16750         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16751         Define.
16753         [BZ #16610]
16754         * sysdeps/unix/sysv/linux/kernel-features.h
16755         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16756         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16757         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16758         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16759         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16760         [__i386__ || __sparc__]
16761         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16762         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16763         (__ASSUME_RECVMMSG): Define instead of using previous
16764         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16765         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16766         (__ASSUME_RECVMMSG_SYSCALL): Define.
16767         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16769         Likewise.
16770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16771         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16772         Likewise.
16773         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16775         Likewise.
16776         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16777         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16778         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16779         [__ASSUME_RECVMMSG]: Change condition to
16780         [__ASSUME_RECVMMSG_SOCKETCALL].
16781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16783         Define.
16784         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16786         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16787         Likewise.
16788         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16789         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16790         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16791         [!__ASSUME_RECVMMSG]: Change condition to
16792         [!__ASSUME_RECVMMSG_SOCKETCALL].
16793         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16794         (__ASSUME_RECVMMSG_SYSCALL): Define.
16796         [BZ #16609]
16797         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16798         __powerpc__ || __s390__ || __sh__ || __sparc__]
16799         (__ASSUME_SOCKETCALL): Define.
16800         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16801         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16802         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16803         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16804         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16805         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16806         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16807         (__ASSUME_ACCEPT4): Define instead of using previous
16808         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16809         __powerpc__ || __sparc__ || __s390__)] condition.
16810         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16811         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16812         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16813         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16814         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16815         [!__ASSUME_ACCEPT4]: Change condition to
16816         [!__ASSUME_ACCEPT4_SOCKETCALL].
16817         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16818         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16819         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16820         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16821         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16822         __ASSUME_ACCEPT4_SYSCALL.
16823         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16824         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16825         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16826         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16827         __ASSUME_ACCEPT4_SYSCALL.
16828         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16829         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16830         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16831         [__ASSUME_ACCEPT4]: Change condition to
16832         [__ASSUME_ACCEPT4_SOCKETCALL].
16833         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16834         (__ASSUME_SOCKETCALL): Define.
16835         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16837         (__ASSUME_SOCKETCALL): Define.
16838         (__ASSUME_ACCEPT4): Remove.
16839         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16840         Define.
16841         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16842         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16843         Likewise.
16844         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16845         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16847         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16848         macro.
16849         (HWCAP_ARM_LPAE): Likewise.
16850         (HWCAP_ARM_EVTSTRM): Likewise.
16851         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16852         Add vpfd32, lpae and evtstrm.
16853         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16854         Increase to 22.
16856 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16858         * math/auto-libm-test-in: Add tests of clog10.
16859         * math/auto-libm-test-out: Regenerated.
16860         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16861         * sysdeps/i386/fpu/libm-test-ulps: Update.
16862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16864 2014-02-18  Andreas Schwab  <schwab@suse.de>
16866         [BZ #16574]
16867         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16868         Store non-zero if the second buffer was newly allocated.
16869         (send_dg): Likewise.
16870         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16871         to send_vc and send_dg.
16872         (res_nsend): Pass NULL for ansp2_malloced.
16873         * resolv/res_query.c (__libc_res_nquery): Add parameter
16874         answerp2_malloced and pass it down to __libc_res_nsend.
16875         (res_nquery): Pass additional NULL to __libc_res_nquery.
16876         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16877         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16878         second answer buffer if answerp2_malloced was set.
16879         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16880         (__libc_res_nquerydomain): Add parameter
16881         answerp2_malloced and pass it down to __libc_res_nquery.
16882         (res_nquerydomain): Pass additional NULL to
16883         __libc_res_nquerydomain.
16884         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16885         additional NULL to __libc_res_nsend and __libc_res_nquery.
16886         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16887         additional NULL to __libc_res_nsearch.
16888         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16889         parameter of __libc_res_nsearch to check for separately allocated
16890         second buffer.
16891         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16892         __libc_res_nquery.
16893         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16894         additional NULL to __libc_res_nquery.
16895         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16896         __libc_res_nsearch.
16897         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16898         * include/resolv.h: Update prototypes of __libc_res_nquery,
16899         __libc_res_nsearch, __libc_res_nsend.
16901 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16903         * math/auto-libm-test-in: Add tests of fma.
16904         * math/auto-libm-test-out: Regenerated.
16905         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16906         (fma_towardzero_test_data): Likewise.
16907         (fma_downward_test_data): Likewise.
16908         (fma_upward_test_data): Likewise.
16909         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16910         mpc_mode.
16911         (rounding_modes): Add values for new field.
16912         (func_calc_method): Add value mpfr_fff_f.
16913         (func_calc_desc): Add mpfr_fff_f union field.
16914         (test_function): Add field exact_args.
16915         (FUNC): Add macro argument EXACT_ARGS.
16916         (FUNC_mpfr_f_f): Update call to FUNC.
16917         (FUNC_mpfr_f_f): Likewise.
16918         (FUNC_mpfr_ff_f): Likewise.
16919         (FUNC_mpfr_if_f): Likewise.
16920         (FUNC_mpc_c_f): Likewise.
16921         (FUNC_mpc_c_c): Likewise.
16922         (test_functions): Add fma.  Update calls to FUNC.
16923         (handle_input_arg): Add argument exact_args.
16924         (add_test): Update call to handle_input_arg.
16925         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16926         (output_for_one_input_case): Update call to calc_generic_results.
16927         Recalculate exact zero results in each rounding mode.
16929         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16930         non-negative before setting low bit.
16931         * math/auto-libm-test-in: Mark one asin test possibly having
16932         spurious underflow.
16933         * math/auto-libm-test-out: Regenerated.
16934         * sysdeps/i386/fpu/libm-test-ulps: Update.
16935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16937 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16939         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16940         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16941         ports/sysdeps/unix/sysv/linux/microblaze.
16942         * README: Add missing listing for microblaze*-*-linux-gnu.
16944 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16946         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16947         duplicate code
16949 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16951         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16952         * sysdeps/unix/sysv/linux/ia64: Move directory from
16953         ports/sysdeps/unix/sysv/linux/ia64.
16954         * README: Update listing for ia64-*-linux-gnu.
16956 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16957             Joseph Myers  <joseph@codesourcery.com>
16959         * Makeconfig (test-name): New variable.
16960         (evaluate-test): Likewise.
16961         * Makerules (do-test-clean): Remove .test-result files.
16962         (common-mostlyclean): Likewise.
16963         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16964         * scripts/evaluate-test.sh: New file.
16966 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16968         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16969         separate $(objpfx)tst-fopenloc-cmp.out and
16970         $(objpfx)tst-fopenloc-mem.out targets.
16971         (tests): Update dependencies.
16972         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16973         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16974         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16975         (tst-rxspencer-no-utf8-ARGS): New variable.
16976         (tst-rxspencer-no-utf8-ENV): Likewise.
16977         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16978         instead of $(objpfx)tst-rxspencer-mem.
16979         ($(objpfx)tst-rxspencer-mem): Change target to
16980         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16981         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16982         * posix/tst-rxspencer-no-utf8.c: New file.
16984         * elf/Makefile ($(objpfx)order.out): Remove rule.
16985         [$(run-built-tests) = yes] (tests): Depend on
16986         $(objpfx)order-cmp.out.
16987         ($(objpfx)order-cmp.out): New rule.
16988         [$(run-built-tests) = yes] (tests): Depend on
16989         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16990         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16991         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16992         $(objpfx)tst-array5-static-cmp.out.
16993         ($(objpfx)tst-array1.out): Remove rule.
16994         ($(objpfx)tst-array1-cmp.out): New rule.
16995         ($(objpfx)tst-array1-static.out): Remove rule.
16996         ($(objpfx)tst-array1-static-cmp.out): New rule.
16997         ($(objpfx)tst-array2.out): Remove rule.
16998         ($(objpfx)tst-array2-cmp.out): New rule.
16999         ($(objpfx)tst-array3.out): Remove rule.
17000         ($(objpfx)tst-array3-cmp.out): New rule.
17001         ($(objpfx)tst-array4.out): Remove rule.
17002         ($(objpfx)tst-array4-cmp.out): New rule.
17003         ($(objpfx)tst-array5.out): Remove rule.
17004         ($(objpfx)tst-array5-cmp.out): New rule.
17005         ($(objpfx)tst-array5-static.out): Remove rule.
17006         ($(objpfx)tst-array5-static-cmp.out): New rule.
17007         [$(run-built-tests) = yes] (tests): Depend on
17008         $(objpfx)order2-cmp.out.
17009         ($(objpfx)order2.out): Remove rule.
17010         ($(objpfx)order2-cmp.out): New rule.
17011         ($(objpfx)tst-initorder.out): Remove rule.
17012         [$(run-built-tests) = yes] (tests): Depend on
17013         $(objpfx)tst-initorder-cmp.out.
17014         ($(objpfx)tst-initorder-cmp.out): New rule.
17015         ($(objpfx)tst-initorder2.out): Remove rule.
17016         [$(run-built-tests) = yes] (tests): Depend on
17017         $(objpfx)tst-initorder2-cmp.out.
17018         ($(objpfx)tst-initorder2-cmp.out): New rule.
17019         [$(run-built-tests) = yes] (tests): Depend on
17020         $(objpfx)tst-unused-dep-cmp.out.
17021         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17022         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17023         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17024         on $(objpfx)tst-setvbuf1-cmp.out.
17025         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17026         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17027         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17028         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17029         ($(objpfx)tst-svc.out): Remove rule.
17030         ($(objpfx)tst-svc-cmp.out): New rule.
17032 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17034         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17035         * ctype/ctype.h [__USE_MISC]: Likewise.
17036         * dirent/dirent.h [__USE_MISC]: Likewise.
17037         * grp/grp.h [__USE_MISC]: Likewise.
17038         * io/fcntl.h [__USE_MISC]: Likewise.
17039         * io/sys/stat.h [__USE_MISC]: Likewise.
17040         * libio/stdio.h [__USE_MISC]: Likewise.
17041         * posix/unistd.h [__USE_MISC]: Likewise.
17042         * pwd/pwd.h [__USE_MISC]: Likewise.
17043         * stdlib.h [__USE_MISC]: Likewise.
17044         * string/bits/string2.h [__USE_MISC]: Likewise.
17045         * string/string.h [__USE_MISC]: Likewise.
17046         * time/time.h [__USE_MISC]: Likewise.
17048 2014-02-13  Andreas Schwab  <schwab@suse.de>
17050         [BZ #16574]
17051         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17052         second answer buffer if it was separately allocated.
17054 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17056         * sysdeps/mips/math-tests.h: Include <features.h>.
17057         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17058         (ROUNDING_TESTS_long_double): Do not define.
17059         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17060         (EXCEPTION_TESTS_long_double): Likewise.
17061         * sysdeps/mips/mips64/libm-test-ulps: Update.
17063         * include/features.h (__USE_BSD): Remove macro definitions.
17064         (__USE_SVID): Likewise.
17065         (_BSD_SOURCE): Likewise.
17066         (_SVID_SOURCE): Likewise.
17067         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17068         from definition of _DEFAULT_SOURCE.
17069         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17070         [_DEFAULT_SOURCE].
17071         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17072         * bits/mman.h [__USE_BSD]: Likewise.
17073         * bits/termios.h [__USE_BSD]: Likewise.
17074         * bits/waitstatus.h [__USE_BSD]: Likewise.
17075         * ctype/ctype.h [__USE_SVID]: Likewise.
17076         * dirent/dirent.h [__USE_BSD]: Likewise.
17077         * grp/grp.h [__USE_SVID]: Likewise.
17078         [__USE_BSD]: Likewise.
17079         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17080         * io/fcntl.h [__USE_BSD]: Likewise.
17081         * io/ftw.h [__USE_BSD]: Likewise.
17082         * io/sys/stat.h [__USE_BSD]: Likewise.
17083         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17084         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17085         * libio/stdio.h [__USE_SVID]: Likewise.
17086         [__USE_BSD]: Likewise.
17087         * math/math.h [__USE_SVID]: Likewise.
17088         [__USE_BSD]: Likewise.
17089         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17090         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17091         * misc/search.h [__USE_SVID]: Likewise.
17092         * misc/sys/mman.h [__USE_BSD]: Likewise.
17093         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17094         * misc/sys/uio.h [__USE_BSD]: Likewise.
17095         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17096         * posix/glob.h [__USE_BSD]: Likewise.
17097         * posix/regex.h [__USE_BSD]: Likewise.
17098         * posix/sys/types.h [__USE_BSD]: Likewise.
17099         [__USE_SVID]: Likewise.
17100         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17101         * posix/sys/wait.h [__USE_BSD]: Likewise.
17102         [__USE_SVID]: Likewise.
17103         * posix/unistd.h [__USE_BSD]: Likewise.
17104         [__USE_SVID]: Likewise.
17105         * pwd/pwd.h [__USE_SVID]: Likewise.
17106         * resolv/netdb.h [__USE_BSD]: Likewise.
17107         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17108         * signal/signal.h [__USE_BSD]: Likewise.
17109         [__USE_SVID]: Likewise.
17110         * socket/sys/socket.h [__USE_BSD]: Likewise.
17111         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17112         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17113         [__USE_SVID]: Likewise.
17114         * string/bits/string2.h [__USE_BSD]: Likewise.
17115         [__USE_SVID]: Likewise.
17116         * string/bits/string3.h [__USE_BSD]: Likewise.
17117         * string/endian.h [__USE_BSD]: Likewise.
17118         * string/string.h [__USE_SVID]: Likewise.
17119         [__USE_BSD]: Likewise.
17120         * string/strings.h [__USE_BSD]: Likewise.
17121         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17122         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17123         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17124         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17125         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17126         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17127         Likewise.
17128         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17129         Likewise.
17130         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17131         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17132         Likewise.
17133         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17134         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17135         Likewise.
17136         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17137         Likewise.
17138         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17139         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17140         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17141         Likewise.
17142         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17143         Likewise.
17144         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17145         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17146         * termios/termios.h [__USE_BSD]: Likewise.
17147         * time/sys/time.h [__USE_BSD]: Likewise.
17148         * time/time.h [__USE_BSD]: Likewise.
17149         [__USE_SVID]: Likewise.
17151         * Makefile (subdir_targets): Remove subdir_lint.out.
17153         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17154         (do-tst-printf): Likewise.
17155         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17156         $(objpfx)tst-printf.out.
17158         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17160         * Makerules (check-abi-%): Change target to
17161         $(objpfx)check-abi-%.out.
17162         (check-abi target): Update dependencies.
17163         (check-abi-pattern variable): Redirect output of diff to $@.
17164         (check-abi variable): Likewise.
17165         * elf/Makefile (check-abi): Update dependencies.
17167         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17168         unused.
17169         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17170         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17171         subnormal range.
17172         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17173         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17174         value has largest subnormal exponent.
17175         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17176         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17177         * sysdeps/aarch64/soft-fp/sfp-machine.h
17178         (_FP_TININESS_AFTER_ROUNDING): New macro.
17179         * sysdeps/alpha/soft-fp/sfp-machine.h
17180         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17181         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17182         Likewise.
17183         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17184         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17185         * sysdeps/mips/soft-fp/sfp-machine.h
17186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17187         * sysdeps/powerpc/soft-fp/sfp-machine.h
17188         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17189         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17190         Likewise.
17191         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17192         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17193         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17194         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17195         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17196         Likewise.
17198 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17200         [BZ #16545]
17201         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17202         model 1.
17204 2014-02-12  Richard Henderson  <rth@redhat.com>
17206         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17207         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17208         * sysdeps/unix/sysv/linux/alpha: Move directory from
17209         ports/sysdeps/unix/sysv/linux/alpha.
17210         * README: Update listing for alpha-*-linux-gnu.
17212 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17214         * include/features.h: Update comment documenting feature test
17215         macros.
17216         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17217         _DEFAULT_SOURCE.
17218         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17219         (_SVID_SOURCE): Likewise.
17220         (_DEFAULT_SOURCE): Update description of default features.
17221         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17222         with _GNU_SOURCE.
17223         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17224         (S_ISVTX): Likewise.
17225         * manual/math.texi (Mathematical Constants): Likewise.
17226         * manual/signal.texi (Interrupted Primitives): Likewise.
17227         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17228         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17229         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17230         Don't refer to _SVID_SOURCE in warning text.
17232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17234         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17235         already defined.
17236         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17237         * sysdeps/mips/dl-lookup.c: Remove.
17238         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17240 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17242         [BZ #16447]
17243         * math/auto-libm-test-in: Add testcase for expl.
17244         * math/auto-libm-test-out: Regenerate.
17245         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17246         calculation of unsafe.
17247         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17249 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17251         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17252         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17253         ports/sysdeps/unix/sysv/linux/aarch64.
17254         * README: Update listing for aarch64*-*-linux-gnu.
17256 2014-02-11  Will Newton  <will.newton@linaro.org>
17258         * manual/probes.texi (Mathematical Function Probes): Use
17259         "triggered" instead of "hit".
17261         * manual/probes.texi (Internal Probes): Add documentation
17262         of setjmp, longjmp and longjmp_target probes.
17264         * include/stap-probe.h: Add comment about probe argument
17265         format.
17267         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17268         definition.  (tr_where, tr_freehook, tr_mallochook,
17269         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17271 2014-02-11  David S. Miller  <davem@davemloft.net>
17273         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17274         processing int_tests.
17276 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17278         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17279         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17280         * sysdeps/unix/sysv/linux/mips: Move directory from
17281         ports/sysdeps/unix/sysv/linux/mips.
17282         * README: Update listing for mips-*-linux-gnu and
17283         mips64-*-linux-gnu.
17285 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17287         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17288         * sysdeps/unix/sysv/linux/m68k: Move directory from
17289         ports/sysdeps/unix/sysv/linux/m68k.
17290         * README: Update listing for m68k-*-linux-gnu.
17292 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17294         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17295         * sysdeps/unix/sysv/linux/generic: Move directory from
17296         ports/sysdeps/unix/sysv/linux/generic.
17297         * sysdeps/unix/sysv/linux/tile: Move directory from
17298         ports/sysdeps/unix/sysv/linux/tile.
17299         * README: Update listing for tile*-*-linux-gnu.
17301 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17303         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17304         __builtin_expect.
17305         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17306         * catgets/open_catalog.c (__open_catalog): Likewise.
17307         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17308         * debug/confstr_chk.c: Likewise.
17309         * debug/fread_chk.c (__fread_chk): Likewise.
17310         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17311         * debug/getgroups_chk.c: Likewise.
17312         * debug/mbsnrtowcs_chk.c: Likewise.
17313         * debug/mbsrtowcs_chk.c: Likewise.
17314         * debug/mbstowcs_chk.c: Likewise.
17315         * debug/memcpy_chk.c: Likewise.
17316         * debug/memmove_chk.c: Likewise.
17317         * debug/mempcpy_chk.c: Likewise.
17318         * debug/memset_chk.c: Likewise.
17319         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17320         * debug/strcat_chk.c (__strcat_chk): Likewise.
17321         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17322         * debug/strncat_chk.c (__strncat_chk): Likewise.
17323         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17324         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17325         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17326         * debug/wcpncpy_chk.c: Likewise.
17327         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17328         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17329         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17330         * debug/wcsncpy_chk.c: Likewise.
17331         * debug/wcsnrtombs_chk.c: Likewise.
17332         * debug/wcsrtombs_chk.c: Likewise.
17333         * debug/wcstombs_chk.c: Likewise.
17334         * debug/wmemcpy_chk.c: Likewise.
17335         * debug/wmemmove_chk.c: Likewise.
17336         * debug/wmempcpy_chk.c: Likewise.
17337         * debug/wmemset_chk.c: Likewise.
17338         * dirent/scandirat.c (SCANDIRAT): Likewise.
17339         * dlfcn/dladdr1.c (dladdr1): Likewise.
17340         * dlfcn/dladdr.c (dladdr): Likewise.
17341         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17342         * dlfcn/dlerror.c (__dlerror): Likewise.
17343         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17344         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17345         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17346         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17347         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17348         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17349         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17350         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17351         Likewise.
17352         * elf/dl-conflict.c: Likewise.
17353         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17354         * elf/dl-dst.h: Likewise.
17355         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17356         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17357         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17358         * elf/dl-init.c (call_init, _dl_init): Likewise.
17359         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17360         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17361         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17362         Likewise.
17363         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17364         Likewise.
17365         * elf/dl-minimal.c (__libc_memalign): Likewise.
17366         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17367         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17368         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17369         * elf/dl-sym.c (do_sym): Likewise.
17370         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17371         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17372         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17373         * elf/dl-writev.h (_dl_writev): Likewise.
17374         * elf/ldconfig.c (search_dir): Likewise.
17375         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17376         (dl_main): Likewise.
17377         * elf/setup-vdso.h (setup_vdso): Likewise.
17378         * grp/compat-initgroups.c (compat_call): Likewise.
17379         * grp/fgetgrent.c (fgetgrent): Likewise.
17380         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17381         * grp/putgrent.c (putgrent): Likewise.
17382         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17383         Likewise.
17384         * hurd/hurdinit.c: Likewise.
17385         * iconvdata/8bit-gap.c (struct): Likewise.
17386         * iconvdata/ansi_x3.110.c : Likewise.
17387         * iconvdata/big5.c : Likewise.
17388         * iconvdata/big5hkscs.c : Likewise.
17389         * iconvdata/cp1255.c: Likewise.
17390         * iconvdata/cp1258.c : Likewise.
17391         * iconvdata/cp932.c : Likewise.
17392         * iconvdata/euc-cn.c: Likewise.
17393         * iconvdata/euc-jisx0213.c : Likewise.
17394         * iconvdata/euc-jp.c: Likewise.
17395         * iconvdata/euc-jp-ms.c : Likewise.
17396         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17397         * iconvdata/gb18030.c : Likewise.
17398         * iconvdata/gbbig5.c (const): Likewise.
17399         * iconvdata/gbgbk.c: Likewise.
17400         * iconvdata/gbk.c : Likewise.
17401         * iconvdata/ibm1364.c : Likewise.
17402         * iconvdata/ibm930.c : Likewise.
17403         * iconvdata/ibm932.c: Likewise.
17404         * iconvdata/ibm933.c : Likewise.
17405         * iconvdata/ibm935.c : Likewise.
17406         * iconvdata/ibm937.c : Likewise.
17407         * iconvdata/ibm939.c : Likewise.
17408         * iconvdata/ibm943.c: Likewise.
17409         * iconvdata/iso_11548-1.c: Likewise.
17410         * iconvdata/iso-2022-cn.c : Likewise.
17411         * iconvdata/iso-2022-cn-ext.c : Likewise.
17412         * iconvdata/iso-2022-jp-3.c: Likewise.
17413         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17414         * iconvdata/iso-2022-kr.c : Likewise.
17415         * iconvdata/iso646.c (gconv_end): Likewise.
17416         * iconvdata/iso_6937-2.c : Likewise.
17417         * iconvdata/iso_6937.c : Likewise.
17418         * iconvdata/iso8859-1.c: Likewise.
17419         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17420         * iconvdata/shift_jisx0213.c : Likewise.
17421         * iconvdata/sjis.c : Likewise.
17422         * iconvdata/t.61.c : Likewise.
17423         * iconvdata/tcvn5712-1.c : Likewise.
17424         * iconvdata/tscii.c: Likewise.
17425         * iconvdata/uhc.c : Likewise.
17426         * iconvdata/unicode.c (gconv_end): Likewise.
17427         * iconvdata/utf-16.c (gconv_end): Likewise.
17428         * iconvdata/utf-32.c (gconv_end): Likewise.
17429         * iconvdata/utf-7.c (base64): Likewise.
17430         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17431         * iconv/gconv_close.c (__gconv_close): Likewise.
17432         * iconv/gconv_open.c (__gconv_open): Likewise.
17433         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17434         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17435         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17436         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17437         (ucs4le_internal_loop_single): Likewise.
17438         * iconv/iconv.c (iconv): Likewise.
17439         * iconv/iconv_close.c: Likewise.
17440         * iconv/loop.c (SINGLE): Likewise.
17441         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17442         * include/atomic.h: Likewise.
17443         * inet/inet6_option.c (option_alloc): Likewise.
17444         * intl/bindtextdom.c (set_binding_values): Likewise.
17445         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17446         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17447         * intl/localealias.c (read_alias_file): Likewise.
17448         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17449         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17450         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17451         * libio/fmemopen.c (fmemopen): Likewise.
17452         * libio/iofgets.c (_IO_fgets): Likewise.
17453         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17454         * libio/iofgetws.c (fgetws): Likewise.
17455         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17456         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17457         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17458         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17459         * locale/findlocale.c (_nl_find_locale): Likewise.
17460         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17461         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17462         Likewise.
17463         * locale/setlocale.c (setlocale): Likewise.
17464         * login/programs/pt_chown.c (main): Likewise.
17465         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17466         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17467         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17468         (mmap, mmap64, mremap, munmap): Likewise.
17469         * math/e_exp2l.c: Likewise.
17470         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17471         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17472         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17473         * math/s_catan.c (__catan): Likewise.
17474         * math/s_catanf.c (__catanf): Likewise.
17475         * math/s_catanh.c (__catanh): Likewise.
17476         * math/s_catanhf.c (__catanhf): Likewise.
17477         * math/s_catanhl.c (__catanhl): Likewise.
17478         * math/s_catanl.c (__catanl): Likewise.
17479         * math/s_ccosh.c (__ccosh): Likewise.
17480         * math/s_ccoshf.c (__ccoshf): Likewise.
17481         * math/s_ccoshl.c (__ccoshl): Likewise.
17482         * math/s_cexp.c (__cexp): Likewise.
17483         * math/s_cexpf.c (__cexpf): Likewise.
17484         * math/s_cexpl.c (__cexpl): Likewise.
17485         * math/s_clog10.c (__clog10): Likewise.
17486         * math/s_clog10f.c (__clog10f): Likewise.
17487         * math/s_clog10l.c (__clog10l): Likewise.
17488         * math/s_clog.c (__clog): Likewise.
17489         * math/s_clogf.c (__clogf): Likewise.
17490         * math/s_clogl.c (__clogl): Likewise.
17491         * math/s_csin.c (__csin): Likewise.
17492         * math/s_csinf.c (__csinf): Likewise.
17493         * math/s_csinh.c (__csinh): Likewise.
17494         * math/s_csinhf.c (__csinhf): Likewise.
17495         * math/s_csinhl.c (__csinhl): Likewise.
17496         * math/s_csinl.c (__csinl): Likewise.
17497         * math/s_csqrt.c (__csqrt): Likewise.
17498         * math/s_csqrtf.c (__csqrtf): Likewise.
17499         * math/s_csqrtl.c (__csqrtl): Likewise.
17500         * math/s_ctan.c (__ctan): Likewise.
17501         * math/s_ctanf.c (__ctanf): Likewise.
17502         * math/s_ctanh.c (__ctanh): Likewise.
17503         * math/s_ctanhf.c (__ctanhf): Likewise.
17504         * math/s_ctanhl.c (__ctanhl): Likewise.
17505         * math/s_ctanl.c (__ctanl): Likewise.
17506         * math/w_pow.c: Likewise.
17507         * math/w_powf.c: Likewise.
17508         * math/w_powl.c: Likewise.
17509         * math/w_scalb.c (sysv_scalb): Likewise.
17510         * math/w_scalbf.c (sysv_scalbf): Likewise.
17511         * math/w_scalbl.c (sysv_scalbl): Likewise.
17512         * misc/error.c (error_tail): Likewise.
17513         * misc/pselect.c (__pselect): Likewise.
17514         * nis/nis_callback.c (__nis_create_callback): Likewise.
17515         * nis/nis_call.c (__nisfind_server): Likewise.
17516         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17517         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17518         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17519         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17520         * nis/nis_lookup.c (nis_lookup): Likewise.
17521         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17522         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17523         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17524         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17525         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17526         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17527         * nis/nss_compat/compat-initgroups.c (add_group)
17528         (internal_getgrent_r): Likewise.
17529         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17530         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17531         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17532         (internal_getspnam_r): Likewise.
17533         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17534         (_nss_nis_getaliasbyname_r): Likewise.
17535         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17536         (_nss_nis_getntohost_r): Likewise.
17537         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17538         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17539         (_nss_nis_getgrgid_r): Likewise.
17540         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17541         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17542         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17543         (_nss_nis_gethostbyname4_r): Likewise.
17544         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17545         (initgroups_netid): Likewise.
17546         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17547         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17548         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17549         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17550         (_nss_nis_getprotobynumber_r): Likewise.
17551         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17552         (_nss_nis_getsecretkey): Likewise.
17553         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17554         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17555         (_nss_nis_getpwuid_r): Likewise.
17556         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17557         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17558         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17559         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17560         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17561         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17562         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17563         Likewise.
17564         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17565         (_nss_nisplus_getntohost_r): Likewise.
17566         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17567         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17568         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17569         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17570         Likewise.
17571         * nis/nss_nisplus/nisplus-initgroups.c
17572         (_nss_nisplus_initgroups_dyn): Likewise.
17573         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17574         (_nss_nisplus_getnetbyaddr_r): Likewise.
17575         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17576         (_nss_nisplus_getprotobynumber_r): Likewise.
17577         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17578         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17579         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17580         Likewise.
17581         * nis/nss_nisplus/nisplus-service.c
17582         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17583         (_nss_nisplus_getservbyport_r): Likewise.
17584         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17585         (_nss_nisplus_getspnam_r): Likewise.
17586         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17587         Likewise.
17588         * nscd/aicache.c (addhstaiX): Likewise.
17589         * nscd/cache.c (cache_search, prune_cache): Likewise.
17590         * nscd/connections.c (register_traced_file, send_ro_fd)
17591         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17592         (main_loop_epoll): Likewise.
17593         * nscd/grpcache.c (addgrbyX): Likewise.
17594         * nscd/hstcache.c (addhstbyX): Likewise.
17595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17596         * nscd/mem.c (gc, mempool_alloc): Likewise.
17597         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17598         (addinnetgrX): Likewise.
17599         * nscd/nscd-client.h (__nscd_acquire_maplock)
17600         (__nscd_drop_map_ref): Likewise.
17601         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17602         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17603         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17604         Likewise.
17605         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17606         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17607         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17608         (__nscd_get_map_ref): Likewise.
17609         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17610         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17611         Likewise.
17612         * nscd/pwdcache.c (addpwbyX): Likewise.
17613         * nscd/selinux.c (preserve_capabilities): Likewise.
17614         * nscd/servicescache.c (addservbyX): Likewise.
17615         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17616         * posix/fnmatch.c (fnmatch): Likewise.
17617         * posix/getopt.c (_getopt_internal_r): Likewise.
17618         * posix/glob.c (glob, glob_in_dir): Likewise.
17619         * posix/wordexp.c (exec_comm_child): Likewise.
17620         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17621         (getanswer_r, gaih_getanswer_slice): Likewise.
17622         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17623         * resolv/res_init.c: Likewise.
17624         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17625         * resolv/res_query.c (__libc_res_nquery): Likewise.
17626         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17627         Likewise.
17628         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17629         * stdio-common/perror.c (perror): Likewise.
17630         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17631         * stdio-common/tmpnam.c (tmpnam): Likewise.
17632         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17633         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17634         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17635         Likewise.
17636         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17637         * stdlib/putenv.c (putenv): Likewise.
17638         * stdlib/setenv.c (__add_to_environ): Likewise.
17639         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17640         * stdlib/strtol_l.c (INTERNAL): Likewise.
17641         * string/memmem.c (memmem): Likewise.
17642         * string/strerror.c (strerror): Likewise.
17643         * string/strnlen.c (__strnlen): Likewise.
17644         * string/test-memmem.c (simple_memmem): Likewise.
17645         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17646         * sunrpc/pm_getport.c (__get_socket): Likewise.
17647         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17648         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17649         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17650         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17651         Likewise.
17652         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17653         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17654         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17655         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17656         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17657         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17658         Likewise.
17659         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17660         Likewise.
17661         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17662         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17663         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17664         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17665         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17667         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17668         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17669         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17670         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17671         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17672         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17673         Likewise.
17674         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17675         Likewise.
17676         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17677         Likewise.
17678         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17679         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17680         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17681         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17682         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17683         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17684         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17687         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17688         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17690         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17691         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17693         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17694         Likewise.
17695         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17696         Likewise.
17697         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17698         Likewise.
17699         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17700         Likewise.
17701         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17702         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17703         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17704         Likewise.
17705         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17706         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17707         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17708         * sysdeps/posix/sleep.c: Likewise.
17709         * sysdeps/posix/tempname.c: Likewise.
17710         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17711         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17712         Likewise.
17713         * sysdeps/powerpc/powerpc32/dl-machine.h
17714         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17715         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17716         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17717         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17718         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17719         Likewise.
17720         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17721         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17722         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17723         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17724         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17725         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17726         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17727         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17728         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17729         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17731         (elf_machine_lazy_rel): Likewise.
17732         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17734         (elf_machine_lazy_rel): Likewise.
17735         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17736         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17737         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17738         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17739         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17740         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17741         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17743         Likewise.
17744         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17745         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17746         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17747         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17748         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17749         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17750         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17751         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17752         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17753         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17754         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17755         Likewise.
17756         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17757         (__posix_fallocate64_l64): Likewise.
17758         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17759         (posix_fallocate): Likewise.
17760         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17761         Likewise.
17762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17763         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17764         (getifaddrs_internal): Likewise.
17765         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17766         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17767         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17768         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17769         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17770         (__posix_fallocate64_l64): Likewise.
17771         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17772         Likewise.
17773         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17774         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17775         (__get_clockfreq): Likewise.
17776         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17777         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17778         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17779         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17780         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17781         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17782         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17783         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17784         Likewise.
17785         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17786         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17787         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17788         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17789         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17790         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17791         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17794         (posix_fallocate): Likewise.
17795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17796         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17797         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17798         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17799         (elf_machine_rela, elf_machine_rela_relative)
17800         (elf_machine_lazy_rel): Likewise.
17801         * time/asctime.c (asctime_internal): Likewise.
17802         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17803         * time/tzset.c (__tzset_parse_tz): Likewise.
17804         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17805         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17806         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17807         * wcsmbs/wcsmbsload.h: Likewise.
17809         [BZ #15894]
17810         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17812         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17813         (arena_get2): Remove THREAD_STATS conditionals.
17814         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17815         (__malloc_stats, int): Likewise.
17817 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17819         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17820         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17822         * manual/setjmp.texi: Fix typos/grammar errors.
17824         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17825         Only return early when n is <= 0.  Delete unused return statement.
17827         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17828         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17829         * debug/tst-longjmp_chk3.c: New file.
17831         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17832         (test_main): Replace code with set_fortify_handler call.
17833         * debug/test-strcpy_chk.c: Likewise.
17834         * debug/tst-chk1.c: Likewise.
17835         * debug/tst-longjmp_chk.c: Likewise.
17836         * test-skeleton.c: Include fcntl.h & paths.h
17837         (set_fortify_handler): Define.
17839         * debug/tst-longjmp_chk.c: Add header comment and include
17840         ../test-skeleton.c.
17841         (do_test): Mark static.
17842         (TEST_FUNCTION): Define.
17844         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17845         (IP_PMTUDISC_INTERFACE): Likewise.
17846         (IP_MULTICAST_IF): Likewise.
17847         (IP_MULTICAST_TTL): Likewise.
17848         (IP_MULTICAST_LOOP): Likewise.
17849         (IP_ADD_MEMBERSHIP): Likewise.
17850         (IP_DROP_MEMBERSHIP): Likewise.
17851         (IP_UNBLOCK_SOURCE): Likewise.
17852         (IP_BLOCK_SOURCE): Likewise.
17853         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17854         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17855         (IP_MSFILTER): Likewise.
17856         (MCAST_JOIN_GROUP): Likewise.
17857         (MCAST_BLOCK_SOURCE): Likewise.
17858         (MCAST_UNBLOCK_SOURCE): Likewise.
17859         (MCAST_LEAVE_GROUP): Likewise.
17860         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17861         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17862         (MCAST_MSFILTER): Likewise.
17863         (IP_MULTICAST_ALL): Likewise.
17864         (IP_UNICAST_IF): Likewise.
17866         * timezone/Makefile: Delete $(have-ksh) check.
17867         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17868         * timezone/tzselect.ksh: Add +x mode bits.
17870         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17871         (ANON_INODE_FS_MAGIC): Likewise.
17872         (BDEVFS_MAGIC): Likewise.
17873         (BINFMTFS_MAGIC): Likewise.
17874         (BTRFS_TEST_MAGIC): Likewise.
17875         (CRAMFS_MAGIC_WEND): Likewise.
17876         (DEBUGFS_MAGIC): Likewise.
17877         (ECRYPTFS_SUPER_MAGIC): Likewise.
17878         (EXT3_SUPER_MAGIC): Likewise.
17879         (EXT4_SUPER_MAGIC): Likewise.
17880         (FUTEXFS_SUPER_MAGIC): Likewise.
17881         (HOSTFS_SUPER_MAGIC): Likewise.
17882         (HUGETLBFS_MAGIC): Likewise.
17883         (MINIX3_SUPER_MAGIC): Likewise.
17884         (MTD_INODE_FS_MAGIC): Likewise.
17885         (NILFS_SUPER_MAGIC): Likewise.
17886         (OPENPROM_SUPER_MAGIC): Likewise.
17887         (PIPEFS_MAGIC): Likewise.
17888         (PSTOREFS_MAGIC): Likewise.
17889         (QNX6_SUPER_MAGIC): Likewise.
17890         (RAMFS_MAGIC): Likewise.
17891         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17892         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17893         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17894         (SECURITYFS_MAGIC): Likewise.
17895         (SELINUX_MAGIC): Likewise.
17896         (SMACK_MAGIC): Likewise.
17897         (SOCKFS_MAGIC): Likewise.
17898         (SQUASHFS_MAGIC): Likewise.
17899         (STACK_END_MAGIC): Likewise.
17900         (TMPFS_MAGIC): Likewise.
17901         (USBDEVICE_SUPER_MAGIC): Likewise.
17902         (V9FS_MAGIC): Likewise.
17903         (XENFS_SUPER_MAGIC): Likewise.
17904         (CRAMFS_MAGIC): Fix typo in comment.
17905         (EXT2_SUPER_MAGIC): Update comment.
17906         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17908 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17910         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17911         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17912         * sysdeps/unix/sysv/linux/arm: Move directory from
17913         ports/sysdeps/unix/sysv/linux/arm.
17914         * README: Update listing for arm-*-linux-gnueabi.
17916         * README: Remove mention of am33.
17918 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17920         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17921         than the comma operator, to avoid "rhs of comma has no effect"
17922         compiler warnings.
17923         (__sigfillset, __sigandset, __sigorset): Likewise.
17924         * include/signal.h (__sigemptyset): Likewise.
17925         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17927 2014-02-07  Allan McRae  <allan@archlinux.org>
17929         * version.h (RELEASE): Set to "development".
17930         (VERSION): Set to "2.19.90"
17931         * NEWS: Add 2.20 section.
17933 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17935         [BZ #16529]
17936         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17938 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17940         * manual/contrib.texi: Update entry for Carlos O'Donell,
17941         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17943 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17945         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17947         * sysdeps/unix/sysv/linux/kernel-features.h
17948         [__LINUX_KERNEL_VERSION >= 0x020621]
17949         (__ASSUME_PROC_PID_TASK_COMM): Define.
17951 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17953         [BZ #16398]
17954         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17955         conversion when destination buffer does not have enough space.
17956         * libio/tst-ftell-partial-wide.c: New test case.
17957         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17959         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17960         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17961         Leonard and Allan McRae.
17963 2014-02-04  David S. Miller  <davem@davemloft.net>
17965         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17966         32-bit.
17968 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17971         New file
17972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17973         New file
17974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17975         New file.
17976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17977         New file.
17978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17979         New file.
17980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17981         New file.
17982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17983         New file.
17984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17985         New file.
17986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17987         New file.
17988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17989         New file.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17991         New file.
17992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17993         New file.
17994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17995         New file.
17997 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17999         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18000         * shlib-versions: Likewise.
18002 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18003             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18005         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18006         (abilist-pattern): New variable, set to %-le.abilist.
18008         * Makerules (abilist-pattern): New variable.
18009         (vpath): Use $(abilist-pattern) in place of %.abilist.
18010         (check-abi-% pattern rule): Likewise.
18011         (check-abi, update-abi): Likewise.
18013 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18017 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18019         * manual/startup.texi: Add next, previous, and top entries for
18020         the `Program Arguments' and `Environment Variables' nodes.
18022 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18024         * manual/macros.texi: Add comments before MTASC-safety macros.
18026         * manual/users.texi: Document MTASC-safety properties.
18028         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18029         (pthread_getspecific, pthread_setspecific): Format with
18030         @deftypefun, and add @safety note.
18031         * manual/signal.texi: Move comments that analyze the above
18032         functions to their home place.
18034 2014-02-03  Allan McRae  <allan@archlinux.org>
18036         * po/sl.po: Update Slovenian translation from translation project.
18038 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18040         * manual/time.texi (timegm): Add missing blank after @c.
18041         Reported by Joseph Myers <joseph@codesourcery.com>.
18043 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18045         * manual/check-safety.sh: New.
18046         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18048         * manual/terminal.texi: Document MTASC-safety properties.
18050         * manual/filesys.texi: Document MTASC-safety properties.
18052         * manual/errno.texi: Document MTASC-safety properties.
18054         * manual/intro.texi: Document safety identifiers and
18055         conditionals.
18057         * manual/string.texi (wcstok): Fix prototype.
18058         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18060         * manual/time.texi: Document MTASC-safety properties.
18062         * manual/string.texi: Document MTASC-safety properties.
18064         * manual/threads.texi: Document MTASC-safety properties.
18066         * manual/stdio.texi: Document MTASC-safety properties.
18068         * manual/syslog.texi: Document MTASC-safety properties.
18070         * manual/sysinfo.texi: Document MTASC-safety properties.
18072         * manual/startup.texi: Document MTASC-safety properties.
18074         * manual/socket.texi: Document MTASC-safety properties.
18076         * manual/signal.texi: Document MTASC-safety properties.
18078 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18080         * manual/setjmp.texi: Document MTASC-safety properties.
18082         * manual/search.texi: Document MTASC-safety properties.
18084         * manual/resource.texi: Document MTASC-safety properties.
18086         * manual/process.texi: Document MTASC-safety properties.
18088         * manual/platform.texi: Document MTASC-safety properties.
18090         * manual/pipe.texi: Document MTASC-safety properties.
18092         * manual/pattern.texi: Document MTASC-safety properties.
18094         * manual/message.texi: Document MTASC-safety properties.
18096         [BZ #12751]
18097         * manual/memory.texi: Document MTASC-safety properties.
18099         * manual/math.texi: Document MTASC-safety properties.
18101         * manual/locale.texi: Document MTASC-safety properties.
18103         * manual/llio.texi: Document MTASC-safety properties.
18105         * manual/libdl.texi: New.
18107         * manual/lang.texi: Document MTASC-safety properties.
18109         * manual/job.texi: Document MTASC-safety properties.
18111         * manual/getopt.texi: Document MTASC-safety properties.
18113         * manual/ctype.texi: Document MTASC-safety properties.
18115 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18117         [BZ #16046]
18118         * csu/libc-tls.c (static_map): Remove variable.
18119         (__libc_setup_tls): Use main executable's link map for TLS data.
18120         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18121         casing for LM_ID_BASE and GL(dl_nns).
18122         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18123         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18124         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18125         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18126         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18127         member.
18128         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18129         l_phnum members.
18131 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18133         * manual/debug.texi: Document MTASC-safety properties.
18135 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18137         [BZ #16510]
18138         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18139         of __x86_64__ when disabling x87 inline functions.
18141 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18143         * manual/charset.texi: Document MTASC-safety properties.
18145         * manual/crypt.texi: Document MTASC-safety properties.
18147         * manual/conf.texi: Document MTASC-safety properties.
18149         * manual/arith.texi: Document MTASC-safety properties.
18151         * manual/argp.texi: Document MTASC-safety properties.
18153         * manual/macros.texi: Introduce macros to document multi
18154         thread, asynchronous signal and asynchronous cancellation
18155         safety properties.
18156         * manual/intro.texi: Introduce the properties themselves.
18158 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18160         * sysdeps/sh/sh4/Makefile: New file.
18162 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18164         * math/gen-libm-test.pl ($srcdir): New variable.
18165         ($auto_input): Use it.
18167 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18169         [BZ #16506]
18170         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18171         access beyond array bounds when parsing netgroups file.
18173         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18174         the old buffer before realloc.
18176 2014-01-27  Allan McRae  <allan@archlinux.org>
18178         * po/fr.po: Update French translation from translation project.
18180 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18182         * sysdeps/sh/libm-test-ulps: Regenerate.
18184 2014-01-24  David S. Miller  <davem@davemloft.net>
18186         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18188 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18190         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18191         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18193 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18195         [BZ #16474]
18196         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18197         string pointers after reallocation.
18199 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18201         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18202         __SH4A__ instead of __SH_FPU_ANY__.
18204 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18206         * sysdeps/sh/fpu_control.h: New file.
18207         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18208         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18209         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18210         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18211         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18212         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18213         * sysdeps/sh/sys/ucontext.h: Remove.
18214         * sysdeps/sh/sys: Remove directory.
18216 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18218         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18219         s390/sys/ucontext.h.
18220         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18223 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18225         [BZ #15605]
18226         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18228 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18230         [BZ#16431]
18231         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18232         Adjust the vDSO correctly for internal calls.
18233         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18235 2014-01-20  Allan McRae  <allan@archlinux.org>
18237         * po/ca.po: Update Catalan translation from translation project.
18239 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18241         * sysdeps/s390/sotruss-lib.c: New file.
18243 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18245         [BZ#16430]
18246         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18247         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18248         local calls issues by not having a PLT stub required for IFUNC calls.
18249         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18251 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18253         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18254         * math/test-fpucw-static.c: Likewise.
18256 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18258         [BZ #16453]
18259         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18261 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18263         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18264         implementation for powerpc.
18266 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18268         [BZ #14782]
18269         * sysdeps/posix/system.c (__libc_system): Do not enable
18270         asynchronous cancellation.
18272 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18274         [BZ #16427]
18275         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18276         handling only for numbers special also in the IEEE case.
18278 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18280         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18282 2014-01-11  Allan McRae  <allan@archlinux.org>
18284         * po/bg.po: Update Bulgarian translation from translation project.
18286         * po/de.po: Update German translation from translation project.
18288 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18290         * sysdeps/generic/gcc-compat.h: New file.
18292 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18294         * benchtests/asin-inputs: Correct slow inputs.
18295         * benchtests/acos-inputs: Likewise.
18297 2014-01-10  Allan McRae  <allan@archlinux.org>
18299         * po:sv.po: Update Swedish translation from translation project.
18301         * po/vi.po: Update Vietnamese translation from translation project.
18303         * po/eo.po: Update Esperanto translation from translation project.
18305         * po/cs.po: Update Czech translation from translation project.
18307         * po/nl.po: Update Dutch translation from translation project.
18309         * po/pl.po: Update Polish translation from translation project.
18311         * po/ru.po: Update Russian translation from translation project.
18313         * po/uk.po: Update Ukrainian translation from translation project.
18315 2014-01-08  Brooks Moses  <bmoses@google.com>
18317         * elf/dl-load.c: Fix comment typo.
18319 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18321         * po/header.pot: Rename to...
18322         * po/pot.header: ... this.
18323         * po/Makefile: Use pot.header.
18325 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18326             Maxim Kuvyrkov  <maxim@kugelworks.com>
18328         [BZ #16394]
18329         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18330         SRC and DEST against LEN.
18332 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18334         [BZ #16414]
18335         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18336         implementation.
18337         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18339 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18343 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18345         [BZ #16408]
18346         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18347         for large positive arguments.
18349 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18351         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18353         * math/auto-libm-test-in: Mark various tests with
18354         xfail-rounding:ldbl-128ibm.
18355         * math/auto-libm-test-out: Regenerated.
18357         [BZ #16407]
18358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18359         Increase overflow threshold.
18361 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18363         [BZ #14286]
18364         * stdio-common/vfprintf.c: Check for integer overflow.
18366 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18368         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18369         the first argument and return value of __tls_get_addr_internal.
18371 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18373         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18374         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18376 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18378         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18379         * sysdeps/s390/rtld-global-offsets.sym: New file.
18380         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18381         GLIBC_2.19 symbol.
18382         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18384         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18385         ... this.
18386         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18387         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18388         ... this.
18389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18390         Regenerate.
18391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18392         Regenerate.
18393         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18394         halfs of GPRs for high_gprs contexts.
18395         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18396         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18397         field.
18398         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18399         uc_flags field.
18400         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18401         64 bit versions:
18402         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18403         for high GPRs (uc_high_gprs) and for future extensions
18404         (__reserved).
18405         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18406         for future extensions (__reserved).
18407         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18408         64 bit versions:
18409         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18410         SC_HIGHGPRS offset definition.
18411         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18412         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18414         * Versions.def: Add GLIBC_2.19 for libpthread.
18415         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18416         siglongjmp for libpthread with GLIBC_2.19 symver.
18417         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18418         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18419         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18420         * sysdeps/s390/__longjmp.c: New file.
18421         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18422         * sysdeps/s390/longjmp.c: New file.
18423         * sysdeps/s390/setjmp.S: New file.
18424         * sysdeps/s390/sigjmp.S: New file.
18425         * sysdeps/s390/v1-longjmp.c: New file.
18426         * sysdeps/s390/v1-setjmp.h: New file.
18427         * sysdeps/s390/v1-sigjmp.c: New file.
18428         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18429         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18430         GLIBC_2.19 version.
18431         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18432         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18433         versioned symbols for ____longjmp_chk.
18434         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18435         Likewise.
18436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18437         Regenerate.
18438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18439         Regenerate.
18440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18441         Regenerate.
18442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18443         Regenerate.
18444         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18445         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18446         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18447         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18448         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18449         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18450         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18451         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18452         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18453         * sysdeps/s390/rtld-__longjmp.c: New file.
18454         * sysdeps/s390/rtld-setjmp.S: New file.
18456 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18458         [BZ #16400]
18459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18460         Return -__logl (x) for small positive arguments without evaluating
18461         a polynomial.
18463 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18465         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18466         Rename to ...
18467         (__ptrace_peeksiginfo_args): ... this.
18468         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18469         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18470         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18472 2014-01-06  Allan McRae  <allan@archlinux.org>
18474         * inet/netinet/in.h: Fix typo in comment.
18476 2014-01-05  Andreas Jaeger  <aj@suse.de>
18478         * sysdeps/i386/fpu/libm-test-ulps: Update.
18480 2014-01-05  Allan McRae  <allan@archlinux.org>
18482         * po/libc.pot: Regenerated.
18484         * malloc/memusagestat.c: Fix gettext call formatting.
18486 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18488         * nscd/nscd.c: Improve usage() output.
18490 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18492         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18493         * sysdeps/unix/sysv/linux/configure: Regenerated.
18494         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18495         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18497 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18499         [BZ #16390]
18500         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18501         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18503 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18505         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18506         extra tokens at end of #undef directive.
18507         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18508         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18509         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18511 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18513         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18515         * math/auto-libm-test-in: Mark various tests with
18516         xfail-rounding:ldbl-128ibm.
18517         * math/auto-libm-test-out: Regenerated.
18519 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18521         [BZ #16386]
18522         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18523         numbers with subnormal high part when calculating exponent.
18525         [BZ #16385]
18526         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18527         fabs.
18529         [BZ #16384]
18530         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18531         M_LN2l.
18532         (__ieee754_acoshl): Use __log1pl not __log1p.
18534 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18536         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18537         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18538         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18539         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18540         (reused_arena, arena_get2): Convert to GNU style.
18541         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18542         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18543         (memalign_check, __malloc_set_state): Likewise.
18544         * malloc/mallocbug.c (main): Likewise.
18545         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18546         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18547         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18548         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18549         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18550         (__posix_memalign, malloc_info): Likewise.
18551         * malloc/malloc.h: Likewise.
18552         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18553         (mallochook, memalignhook, reallochook, mabort): Likewise.
18554         * malloc/mcheck.h: Likewise.
18555         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18556         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18557         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18558         * malloc/morecore.c (__default_morecore): Likewise.
18559         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18560         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18561         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18562         (print_and_abort): Likewise.
18563         * malloc/obstack.h: Likewise.
18564         * malloc/set-freeres.c (__libc_freeres): Likewise.
18565         * malloc/tst-mallocstate.c (main): Likewise.
18566         * malloc/tst-mtrace.c (main): Likewise.
18567         * malloc/tst-realloc.c (do_test): Likewise.
18569 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18571         [BZ #16366]
18572         * nscd/netgroupcache.c (do_notfound): New function.
18573         (addgetnetgrentX): Use it.
18575         [BZ # 16365]
18576         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18577         NSS_STATUS_NOTFOUND.
18579 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18581         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18584 2014-01-01  Allan McRae  <allan@archlinux.org>
18586         * scripts/update-copyrights: Update configure input file suffix.
18588         * NEWS: Update copyright year.
18589         * catgets/gencat.c: Likewise.
18590         * csu/version.c: Likewise.
18591         * debug/catchsegv.sh: Likewise.
18592         * debug/pcprofiledump.c: Likewise.
18593         * debug/xtrace.sh: Likewise.
18594         * elf/ldconfig.c: Likewise.
18595         * elf/ldd.bash.in: Likewise.
18596         * elf/pldd.c: Likewise.
18597         * elf/sotruss.ksh: Likewise.
18598         * elf/sprof.c: Likewise.
18599         * iconv/iconv_prog.c: Likewise.
18600         * iconv/iconvconfig.c: Likewise.
18601         * locale/programs/locale.c: Likewise.
18602         * locale/programs/localedef.c: Likewise.
18603         * login/programs/pt_chown.c: Likewise.
18604         * malloc/memusage.sh: Likewise.
18605         * malloc/memusagestat.c: Likewise.
18606         * malloc/mtrace.pl: Likewise.
18607         * manual/libc.texinfo: Likewise.
18608         * nscd/nscd.c: Likewise.
18609         * nss/getent.c: Likewise.
18610         * nss/makedb.c: Likewise.
18611         * posix/getconf.c: Likewise.
18612         * scripts/test-installation.pl: Likewise.
18614         * All files with FSF copyright notices: Update copyright dates
18615         using scripts/update-copyrights.
18616         * intl/plural.c: Regenerated.
18617         * locale/programs/charmap-kw.h: Likewise.
18618         * locale/programs/locfile-kw.h: Likewise.
18620 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18622         * sysdeps/unix/sysv/linux/configure: Regenerated.
18623         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18624         the linux/fanotify.h header.
18625         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18626         HAVE_LINUX_FANOTIFY_H is defined.
18628 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18630         * benchtests/cos-inputs: New inputs.
18631         * benchtests/sin-inputs: Likewise.
18633         * benchtests/atan-inputs: New inputs. Fix name of multiple
18634         precision fallback inputs.
18636         * benchtests/atanh-inputs: New inputs.
18637         * benchtests/tanh-inputs: Likewise.
18639         * benchtests/acosh-inputs: New inputs.
18640         * benchtests/asinh-inputs: Likewise.
18642         * benchtests/cosh-inputs: New inputs.
18643         * benchtests/sinh-inputs: Likewise.
18645         * benchtests/acos-inputs: Add more inputs.
18646         * benchtests/asin-inputs: Likewise.
18648 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18650         [BZ #16375]
18651         * manual/arith.texi: Fix spelling.
18652         * manual/charset.texi: Likewise.
18653         * manual/errno.texi: Likewise.
18654         * manual/filesys.texi: Likewise.
18655         * manual/lang.texi: Likewise.
18656         * manual/llio.texi: Likewise.
18657         * manual/locale.texi: Likewise.
18658         * manual/message.texi: Likewise.
18659         * manual/resource.texi: Likewise.
18660         * manual/search.texi: Likewise.
18661         * manual/setjmp.texi: Likewise.
18662         * manual/stdio.texi: Likewise.
18663         * manual/string.texi: Likewise.
18664         * manual/sysinfo.texi: Likewise.
18665         * manual/time.texi: Likewise.
18667 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18669         * po/sl.po: New file.
18671 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18673         * .gitignore: Add core/.gdbinit/.gdb_history.
18675 2013-12-27  Allan McRae  <allan@archlinux.org>
18677         [BZ #16369]
18678         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18679         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18681 2013-12-24  Brooks Moses  <bmoses@google.com>
18683         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18684         all compilers that claim C++98 compliance, not just GCC.
18685         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18686         Likewise.
18688 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18690         * NEWS: Restore accidentally deleted bug-fix entries.
18692 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18693             Ondřej Bílka  <neleai@seznam.cz>
18695         [BZ #15073]
18696         * malloc/malloc.c (_int_free): Perform sanity check only if we
18697         have_lock.
18699 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18701         [BZ #12986]
18702         * manual/stdio.texi (String Input Conversions): Clarify that character
18703         classes are not supported.
18705 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18709 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18711         [BZ #16337]
18712         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18713         Calculate results for small negative arguments directly rather
18714         than using reflection formula with special underflow handling.
18716         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18717         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18718         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18719         (fchflags): Likewise.
18720         (revoke): Likewise.
18721         (setlogin): Likewise.
18722         (sigaltstack): Likewise.
18723         (wait4): Likewise.
18724         (sigblock): Remove.
18725         (sigsetmask): Likewise.
18726         (wait3): Likewise.
18727         (waitpid): Likewise.
18728         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18729         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18730         file.
18731         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18732         * sysdeps/unix/bsd/Makefile: ... here.
18733         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18734         * sysdeps/unix/bsd/Versions: ... here.
18735         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18736         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18737         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18738         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18739         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18740         * sysdeps/unix/bsd/sigblock.c: ... here.
18741         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18742         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18743         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18744         * sysdeps/unix/bsd/sigvec.c: ... here.
18745         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18746         * sysdeps/unix/bsd/tcdrain.c: ... here.
18747         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18748         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18749         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18750         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18751         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18752         * sysdeps/unix/bsd/wait.c: ... here.
18753         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18754         * sysdeps/unix/bsd/wait3.c: ... here.
18755         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18756         * sysdeps/unix/bsd/waitpid.c: ... here.
18758 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18760         [BZ #16356]
18761         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18762         round-to-nearest for [!USE_AS_EXPM1L].
18763         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18764         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18765         more tests of exp and exp10.  Expect some exp10 tests to miss
18766         exceptions or fail in directed rounding modes.
18767         * math/auto-libm-test-out: Regenerated.
18768         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18769         (exp10_test_tonearest): New function.
18770         (exp10_towardzero_test_data): New array.
18771         (exp10_test_towardzero): New function.
18772         (exp10_downward_test_data): New array.
18773         (exp10_test_downward): New function.
18774         (exp10_upward_test_data): New array.
18775         (exp10_test_upward): New function.
18776         (main): Call the new functions.
18777         * sysdeps/i386/fpu/libm-test-ulps: Update.
18778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18780 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18782         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18783         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18784         * math/auto-libm-test-out: Regenerated.
18785         * math/libm-test.inc (acosh_test_data): Add more tests.
18786         (atanh_test_data): Likewise.
18787         (ceil_test_data): Likewise.
18788         (copysign_test_data): Likewise.
18789         * sysdeps/i386/fpu/libm-test-ulps: Update.
18790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18792         * timezone/checktab.awk: Update from tzcode 2013i.
18793         * timezone/private.h: Likewise.
18794         * timezone/scheck.c: Likewise.
18795         * timezone/tzfile.h: Likewise.
18796         * timezone/tzselect.ksh: Likewise.
18797         * timezone/zdump.c: Likewise.
18798         * timezone/zic.c: Likewise.
18800         * math/auto-libm-test-in: Add tests of cpow.
18801         * math/auto-libm-test-out: Regenerated.
18802         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18803         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18804         mpc_cc_c.
18805         (func_calc_desc): Add mpc_cc_c union field.
18806         (test_functions): Add cpow.
18807         (special_fill_2pi): New function.
18808         (special_real_inputs): Add 2pi.
18809         (calc_generic_results): Handle mpc_cc_c.
18810         * sysdeps/i386/fpu/libm-test-ulps: Update.
18811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18813         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18814         csqrt, ctan and ctanh.
18815         * math/auto-libm-test-out: Regenerated.
18816         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18817         (TEST_COND_x86): Likewise.
18818         (ccos_test_data): Use AUTO_TESTS_c_c.
18819         (ccosh_test_data): Likewise.
18820         (cexp_test_data): Likewise.
18821         (clog_test_data): Likewise.
18822         (csqrt_test_data): Likewise.
18823         (ctan_test_data): Likewise.
18824         (ctan_tonearest_test_data): Likewise.
18825         (ctan_towardzero_test_data): Likewise.
18826         (ctan_downward_test_data): Likewise.
18827         (ctan_upward_test_data): Likewise.
18828         (ctanh_test_data): Likewise.
18829         (ctanh_tonearest_test_data): Likewise.
18830         (ctanh_towardzero_test_data): Likewise.
18831         (ctanh_downward_test_data): Likewise.
18832         (ctanh_upward_test_data): Likewise.
18833         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18834         mpc_c_c.
18835         (func_calc_desc): Add mpc_c_c union field.
18836         (FUNC_mpc_c_c): New macro.
18837         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18838         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18839         ctanh.
18840         (special_fill_min_subnorm_p120): New function.
18841         (special_real_inputs): Add min_subnorm_p120.
18842         (calc_generic_results): Handle mpc_c_c.
18843         * sysdeps/i386/fpu/libm-test-ulps: Update.
18844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18846 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18848         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18849         (do_sin_slow): New functions.
18850         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18851         (cslow2, csloww1, csloww2): Use the new functions.
18853         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18854         Use M to change sign of result instead of X.  Assume X is
18855         positive.
18856         (csloww1): Likewise.
18857         (__sin): Adjust.
18858         (__cos): Adjust.
18860         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18861         arguments A and DA.
18862         (__sin): Adjust.
18863         (__cos): Likewise.
18865         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18866         (__cos): Likewise.
18867         (sloww1): Don't adjust sign of DX.
18868         (csloww1): Likewise.
18869         (sloww2): Use X directly and don't adjust sign of DX.
18870         (csloww2): Likewise.
18872 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18874         * math/auto-libm-test-in: Add tests of cabs and carg.
18875         * math/auto-libm-test-out: Regenerated.
18876         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18877         (carg_test_data): Likewise.
18878         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18879         mpc_c_f.
18880         (func_calc_desc): Add mpc_c_f union field.
18881         (test_functions): Add cabs and carg.
18882         (calc_generic_results): Handle mpc_c_f.
18884         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18885         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18886         as a macro and a compat symbol.
18887         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18888         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18889         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18890         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18891         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18892         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18893         not use .hidden.
18894         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18895         Likewise.
18896         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18897         Likewise.
18898         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18899         Likewise.
18900         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18901         Likewise.
18902         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18903         Likewise.
18904         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18905         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18906         from GLIBC_2.3.2.
18908 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18912 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18914         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18915         trailing whitespace removed.
18916         * scripts/config.guess: Update to version 2013-11-29.
18917         * scripts/config.sub: Update to version 2013-10-01.
18919         * math/auto-libm-test-in: Add tests of sincos.
18920         * math/auto-libm-test-out: Regenerated.
18921         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18923         mpfr_f_11.
18924         (func_calc_desc): Add mpfr_f_11 union field.
18925         (test_functions): Add sincos.
18926         (calc_generic_results): Handle mpfr_f_11.
18927         * sysdeps/i386/fpu/libm-test-ulps: Update.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930 2013-12-19  Andreas Schwab  <schwab@suse.de>
18932         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18933         CALL_MCOUNT.
18934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18935         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18936         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18938 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18940         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18941         * sysdeps/i386/fpu/libm-test-ulps: Update.
18942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18944         [BZ #16293]
18945         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18946         round-to-nearest mode when using frndint.
18947         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18948         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18949         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18950         Likewise.
18951         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18952         sinh test to fail.
18953         * math/auto-libm-test-out: Regenerated.
18954         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18955         (TEST_COND_x86): Likewise.
18956         (expm1_tonearest_test_data): New array.
18957         (expm1_test_tonearest): New function.
18958         (expm1_towardzero_test_data): New array.
18959         (expm1_test_towardzero): New function.
18960         (expm1_downward_test_data): New array.
18961         (expm1_test_downward): New function.
18962         (expm1_upward_test_data): New array.
18963         (expm1_test_upward): New function.
18964         (main): Run the new test functions.
18965         * sysdeps/i386/fpu/libm-test-ulps: Update.
18966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18968         * include/features.h: Update comment documenting feature test
18969         macros.  Mention _DEFAULT_SOURCE in comment.
18970         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18971         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18972         _BSD_SOURCE and _SVID_SOURCE.
18973         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18974         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18975         !_SVID_SOURCE]: Likewise.
18976         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18977         (__USE_POSIX_IMPLICITLY): Define.
18978         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18979         (_POSIX_SOURCE): Undefine and redefine.
18980         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18981         (_POSIX_C_SOURCE): Likewise.
18982         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18983         (Feature Test Macros): Update documentation of default features.
18985 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18987         * benchtests/Makefile: Add bench-strtok.
18988         * benchtests/bench-strtok.c: New file: strtok benchtest.
18990 2013-12-19  Allan McRae  <allan@archlinux.org>
18992         * manual/install.texi: Suppress menu for plain text output.
18993         * INSTALL: Regenerated.
18995 2013-12-18  Brooks Moses  <bmoses@google.com>
18997         [BZ #15846]
18998         * misc/getauxval.c: Include errno.h.
18999         (__getauxval): Set errno to ENOENT if the requested type is not
19000         found.
19001         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19002         don't declare with __attribute_const__.
19003         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19004         * manual/startup.texi: Document that getauxval sets errno.
19006 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19008         * math/auto-libm-test-in: Add tests of jn and yn.
19009         * math/auto-libm-test-out: Regenerated.
19010         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19011         (yn_test_data): Likewise.
19012         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19013         mpfr_if_f.
19014         (func_calc_desc): Add mpfr_if_f union field.
19015         (FUNC_mpfr_if_f): New macro.
19016         (test_functions): Add jn and yn.
19017         (calc_generic_results): Assert type of second input for
19018         mpfr_ff_f.  Handle mpfr_if_f.
19019         (output_for_one_input_case): Disable all checking for arguments
19020         fitting floating-point types in case of an integer argument.
19021         * sysdeps/i386/fpu/libm-test-ulps: Update.
19022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19025         Don't expect fegetround reference in libm.so.
19027 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19029         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19030         $(config-cflags-nofma).
19032 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19034         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19035         * math/auto-libm-test-out: Regenerated.
19037         [BZ #16338]
19038         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19039         to determine exponent and adjust argument to have exponent of -1.
19040         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19041         log2.
19042         * math/auto-libm-test-out: Regenerated.
19043         * sysdeps/i386/fpu/libm-test-ulps: Update.
19044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19046 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19048         * manual/probes.texi: Remove cases when per-thread arenas are
19049         disabled.
19051 2013-12-18  Andreas Schwab  <schwab@suse.de>
19053         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19054         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19055         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19056         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19057         * sysdeps/i386/i686/multiarch/Makefile: Update.
19058         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19060 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19062         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19063         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19065 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19067         [BZ #15968]
19068         Support TZ transition times < 00:00:00.
19069         This is needed for version-3 tz-format files; it supports time
19070         stamps past 2037 for America/Godthab (the only entry in the tz
19071         database for which this change is relevant).
19072         * manual/time.texi (TZ Variable): Document transition times
19073         from -167:59:59 through -00:00:01.
19074         * time/tzset.c (tz_rule): Time of day is now signed.
19075         (__tzset_parse_tz): Parse negative time of day.
19077         Document TZ transition times >= 25:00:00.
19078         * manual/time.texi (TZ Variable): Document transition times from
19079         25:00:00 through 167:59:59.  These are already supported, and this
19080         support will help with version-3 tz-format files.
19082         * manual/time.texi (TZ Variable): Modernize North America example
19083         to reflect current (i.e., 2007-and-later) daylight saving rules.
19085         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19087 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19089         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19090         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19093         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19094         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19095         * sysdeps/unix/bsd/clock.c: Likewise.
19096         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19097         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19098         * sysdeps/unix/bsd/init-posix.c: Likewise.
19099         * sysdeps/unix/bsd/poll.c: Likewise.
19100         * sysdeps/unix/bsd/ptsname.c: Likewise.
19101         * sysdeps/unix/bsd/seekdir.c: Likewise.
19102         * sysdeps/unix/bsd/setegid.c: Likewise.
19103         * sysdeps/unix/bsd/seteuid.c: Likewise.
19104         * sysdeps/unix/bsd/setgid.c: Likewise.
19105         * sysdeps/unix/bsd/setrgid.c: Likewise.
19106         * sysdeps/unix/bsd/setruid.c: Likewise.
19107         * sysdeps/unix/bsd/setsid.c: Likewise.
19108         * sysdeps/unix/bsd/setuid.c: Likewise.
19109         * sysdeps/unix/bsd/sigaction.c: Likewise.
19110         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19111         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19112         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19113         * sysdeps/unix/bsd/telldir.c: Likewise.
19114         * sysdeps/unix/bsd/times.c: Likewise.
19115         * sysdeps/unix/bsd/usleep.c: Likewise.
19117         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19118         ($(objpfx)libbsd-compat.a): Remove rule.
19120         * include/features.h (__FAVOR_BSD): Do not define.
19121         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19122         features conflicting with POSIX.
19123         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19124         (_BSD_SOURCE): Remove description of not being a subset of other
19125         feature test macros.
19126         * manual/job.texi (getpgrp): Do not document BSD version.
19127         (getpgid): Do not document by reference to BSD getpgrp.
19128         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19129         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19130         * signal/signal.h [__FAVOR_BSD]: Likewise.
19131         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19132         instead of making contents conditional on [__FAVOR_BSD].
19133         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19135 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19139 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19141         [BZ #16314]
19142         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19143         values below 2**-450, not 2**-500.
19144         * math/auto-libm-test-in: Don't allow spurious underflow from
19145         hypot.
19146         * math/auto-libm-test-out: Regenerated.
19148         [BZ #16316]
19149         [BZ #16330]
19150         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19151         values of ha and hb and sort them after adjusting subnormal
19152         arguments.
19153         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19154         Likewise.
19155         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19156         values of ea and eb and sort them after adjusting subnormal
19157         arguments.
19158         * math/auto-libm-test-in: Do not expect some hypot tests of
19159         subnormals to fail.  Add more hypot tests.
19160         * math/auto-libm-test-out: Regenerated.
19162 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19164         [BZ #13304]
19165         * sysdeps/sh/s_fma.c: New file.
19166         * sysdeps/sh/s_fmaf.c: New file.
19167         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19168         version.
19169         * sysdeps/sh/Implies: Add sh/soft-fp.
19171 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19173         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19174         level of indirection to members `objname', `errstring', `malloced'.
19175         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19176         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19177         it as the __longjmp argument (just pass 1 instead).
19178         (_dl_catch_error): Initialize C with argument pointers and address of
19179         volatile local ERRCODE rather than copying values out of C at return.
19181 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19183         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19184         * math/auto-libm-test-out: Regenerated.
19185         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19186         (hypot_test_data): Likewise.
19187         (pow_test_data): Likewise.
19188         (pow_tonearest_test_data): Likewise.
19189         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19190         mpfr_ff_f.
19191         (func_calc_desc): Add mpfr_ff_f union field.
19192         (FUNC_mpfr_ff_f): New macro.
19193         (test_functions): Add atan2, hypot and pow.
19194         (special_fill_min): New function.
19195         (special_fill_minus_min): Likewise.
19196         (special_fill_min_subnorm): Likewise.
19197         (special_fill_minus_min_subnorm): Likewise.
19198         (special_real_inputs): Add min, -min, min_subnorm and
19199         -min_subnorm.
19200         (calc_generic_results): Handle mpfr_ff_f.
19201         * sysdeps/i386/fpu/libm-test-ulps: Update.
19202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19204 2013-12-16  Will Newton  <will.newton@linaro.org>
19206         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19207         (Aligned Memory Blocks): Add documentation for aligned_alloc
19208         and suggest it as an alternative to posix_memalign.
19209         (Hooks for Malloc): Document __memalign_hook is also called
19210         for aligned_alloc.  (Summary of Malloc): Add summary for
19211         aligned alloc.  Document __memalign_hook is also called
19212         for aligned_alloc.
19214 2013-12-16  Will Newton  <will.newton@linaro.org>
19216         * manual/memory.texi (Malloc Examples): Clarify default
19217         alignment documentation.  Suggest posix_memalign rather
19218         than memalign or valloc.
19219         (Aligned Memory Blocks): Remove suggestion to use memalign
19220         or valloc.  Remove obsolete comment about BSD.
19221         Document memalign errno values and mark the function obsolete.
19222         Document posix_memalign returned error codes.  Mark valloc
19223         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19224         called for posix_memalign and valloc.
19225         (Summary of Malloc): Add posix_memalign to function summary.
19226         __memalign_hook is also called for posix_memalign and valloc.
19228 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19230         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19231         TAYLOR_SIN.
19232         (__sin): Adjust.
19233         (__cos): Likewise.
19234         (sloww): Use mynumber union.  Expand ternary operator into
19235         if-else statements.
19236         (cslow): use mynumber union.
19238 2013-12-16  Allan McRae  <allan@archlinux.org>
19240         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19241         * configure: Regenerated.
19243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19245         [BZ #14120]
19246         * configure.ac: Added --enable-maintainer-mode. Check for
19247         autoconf when enabled.
19248         * configure: Regenerated.
19250         * nscd/nscd.service: New file.
19251         * nscd/nscd.tmpfiles: New file.
19253 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19255         [BZ #12100]
19256         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19257         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19258         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19259         (strstr): Add __strstr_sse2_unaligned ifunc.
19260         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19261         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19262         (strcasestr): Remove __strcasestr_sse42 ifunc.
19263         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19267 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19269         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19270         * sysdeps/sh/bits/fenv.h: ... here.
19271         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19273 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19275         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19278         hypotf multiarch implementations.
19279         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19280         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19281         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19282         multiarch hypot for PPC64.
19283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19286         multiarch hypotf for PPC64.
19288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19289         modff multiarch implementations.
19290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19293         multiarch modf for PPC64.
19294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19297         multiarch modff for PPC64.
19299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19300         and logl multiarch implementations.
19301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19304         multiarch logb for PPC64.
19305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19308         multiarch logb for PPC64.
19309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19312         multiarch logb for PPC64.
19314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19315         isinff multiarch implementation.
19316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19317         file.
19318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19320         multiarch isinf for PPC64.
19321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19322         file.
19323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19324         multiarch isinff for PPC64.
19326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19327         finitef multiarch implementation.
19328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19329         file.
19330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19332         multiarch finite for PPC64.
19333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19334         file.
19335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19336         multiarch finitef for PPC64.
19338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19339         lrint multiarch implementation.
19340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19341         file.
19342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19344         multiarch llrint for PPC64.
19345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19346         multiarch lrint for PPC64.
19348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19349         copysignf multiarch implementation.
19350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19351         file.
19352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19353         file.
19354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19355         multiarch copysign for PPC64.
19356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19357         multiarch copysignf for PPC64.
19359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19360         multiarch implementation.
19361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19362         file.
19363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19364         file.
19365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19366         file.
19367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19368         file.
19369         multiarch llround for PPC64.
19370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19371         multiarch trunc for PPC64.
19372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19373         multiarch truncf for PPC64.
19375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19376         multiarch implementation.
19377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19378         file.
19379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19380         file.
19381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19382         file.
19383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19384         file.
19385         multiarch llround for PPC64.
19386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19387         multiarch round for PPC64.
19388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19389         multiarch roundf for PPC64.
19391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19392         multiarch implementation.
19393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19394         file.
19395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19396         file.
19397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19398         file.
19399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19400         file.
19401         multiarch llround for PPC64.
19402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19403         multiarch floor for PPC64.
19404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19405         multiarch floorf for PPC64.
19407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19408         multiarch implementation.
19409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19410         file.
19411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19412         file.
19413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19414         file.
19415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19416         file.
19417         multiarch llround for PPC64.
19418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19419         multiarch ceil for PPC64.
19420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19421         multiarch ceilf for PPC64.
19423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19424         multiarch implementation.
19425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19426         file.
19427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19428         file.
19429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19430         file.
19431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19432         multiarch llround for PPC64.
19433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19434         multiarch lround for PPC64.
19436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19437         multiarch implementation.
19438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19441         file.
19442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19445         multiarch isnan for PPC64.
19446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19447         multiarch isnanf for PPC64.
19449         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19450         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19451         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19452         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19453         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19456         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19457         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19462         multiarch implementations.
19463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19464         (__libc_ifunc_impl_list): Likewise.
19465         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19467         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19468         multiarch stpcpy for PPC64.
19470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19471         multiarch implementations.
19472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19473         (__libc_ifunc_impl_list): Likewise.
19474         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19475         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19476         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19477         multiarch strcpy for PPC64.
19479         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19480         redefine function name.
19481         (_wordcopy_fwd_dest_aligned): Likewise.
19482         (_wordcopy_bwd_aligned): Likewise.
19483         (_wordcopy_bwd_dest_aligned): Likewise.
19484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19485         multiarch implementations.
19486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19487         (__libc_ifunc_impl_list): Likewise.
19488         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19492         multiarch wcscpy for PPC64.
19494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19495         multiarch implementations.
19496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19497         (__libc_ifunc_impl_list): Likewise.
19498         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19499         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19500         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19501         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19502         multiarch wcscpy for PPC64.
19504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19505         multiarch implementations.
19506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19507         (__libc_ifunc_impl_list): Likewise.
19508         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19509         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19510         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19511         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19512         multiarch wcsrchr for PPC64.
19514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19515         multiarch implementations.
19516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19517         (__libc_ifunc_impl_list): Likewise.
19518         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19519         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19520         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19521         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19522         multiarch wcschr for PPC64.
19524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19525         multiarch implementations.
19526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19527         (__libc_ifunc_impl_list): Likewise.
19528         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19529         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19530         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19531         multiarch strchrnul for PPC64.
19533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19534         implementations.
19535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19536         (__libc_ifunc_impl_list): Likewise.
19537         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19538         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19539         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19540         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19541         strchr for PPC64.
19543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19544         implementations.
19545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19546         (__libc_ifunc_impl_list): Likewise.
19547         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19548         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19549         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19550         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19551         strncmp for PPC64.
19553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19554         multiarch implementations.
19555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19556         (__libc_ifunc_impl_list): Likewise.
19557         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19558         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19559         strncasecmp for PPC64.
19560         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19561         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19562         multiarch strncasecmp_l for PPC64.
19564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19565         multiarch implementations.
19566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19567         (__libc_ifunc_impl_list): Likewise.
19568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19569         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19570         multiarch strcasecmp for PPC64.
19571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19572         file.
19573         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19574         multiarch strcasecmp_l for PPC64.
19576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19577         implementations.
19578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19579         (__libc_ifunc_impl_list): Likewise.
19580         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19581         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19582         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19583         strnlen for PPC64.
19585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19586         implementations.
19587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19588         (__libc_ifunc_impl_list): Likewise.
19589         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19590         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19591         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19592         strlen for PPC64.
19594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19595         implementations.
19596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19597         (__libc_ifunc_impl_list): Likewise.
19598         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19599         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19600         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19601         rawmemrchr for PPC64.
19603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19604         implementation.
19605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19606         (__libc_ifunc_impl_list): Likewise.
19607         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19608         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19609         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19610         memrchr for PPC64.
19612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19613         implementation.
19614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19615         (__libc_ifunc_impl_list): Likewise.
19616         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19617         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19618         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19619         memchr for PPC64.
19621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19622         implementation.
19623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19624         (__libc_ifunc_impl_list): Likewise.
19625         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19627         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19628         mempcpy for PPC64.
19630         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19631         avoid cretion of __bzero symbol.
19632         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19633         Likewise.
19634         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19635         Likewise.
19636         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19637         Likewise.
19638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19639         multiarch implementations.
19640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19641         (__libc_ifunc_impl_list): Likewise.
19642         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19645         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19646         bzero for PPC32.
19647         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19648         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19649         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19650         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19651         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19652         memset for PPC64.
19653         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19655         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19657         implementations.
19658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19659         (__libc_ifunc_impl_list): Likewise.
19660         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19661         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19662         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19663         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19664         memcmp for PPC64.
19666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19667         multiarch for POWER/PPC64.
19668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19669         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19671         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19672         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19675         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19676         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19677         memcpy for PPC64.
19679         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19680         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19681         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19682         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19683         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19684         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19685         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19686         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19687         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19688         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19689         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19690         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19691         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19692         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19693         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19702 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19704         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19706 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19708         * benchtests/Makefile (bench): Add exp2 and log2.
19709         (LDLIBS-bench-exp2): Add -lm.
19710         (LDLIBS-bench-log2): Likewise.
19711         * benchtests/exp2-inputs: New inputs file.
19712         * benchtests/log2-inputs: New inputs file.
19713         * benchtests/log-inputs: Add new inputs.
19714         * benchtests/tan-inputs: Likewise.
19716 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19718         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19719         definition...
19720         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19721         (csloww2): ... from here.
19723         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19724         instead of structures.
19725         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19726         (POLYNOMIAL): Likewise.
19727         (TAYLOR_SLOW): Likewise.
19728         (__sin): Likewise.
19729         (__cos): Likewise.
19730         (slow1): Likewise.
19731         (slow2): Likewise.
19732         (sloww): Likewise.
19733         (sloww1); Likewise.
19734         (sloww2): Likewise.
19735         (bsloww1): Likewise.
19736         (bsloww2): Likewise.
19737         (cslow2): Likewise.
19738         (csloww): Likewise.
19739         (csloww1): Likewise.
19740         (csloww2): Likewise.
19742 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19744         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19745         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19746         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19747         * malloc/hooks.c (realloc_check): Likewise.
19749         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19750         * malloc/arena.c: Remove PER_THREAD conditional.
19751         [!PER_THREAD]: Remove code.
19752         (ptmalloc_unlock_all2): Likewise.
19753         (ptmalloc_init): Likewise.
19754         (_int_new_arena): Likewise.
19755         (arena_get2): Likewise.
19756         * malloc/hooks.c (__malloc_get_state): Likewise.
19757         (__malloc_set_state): Likewise.
19758         * malloc/malloc.c: Likewise.
19759         (struct malloc_state): Likewise.
19760         (struct malloc_par): Likewise.
19761         (__libc_realloc): Likewise.
19762         (__libc_mallopt): Likewise.
19764 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19766         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19768 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19770         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19771         macro to a function.  Check for zero perturb_byte.
19772         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19774         * malloc/malloc.c: (force_reg): Remove.
19775         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19776         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19777         force_reg by atomic_forced_read.
19778         * malloc/arena.c (ptmalloc_init): Likewise.
19779         * malloc/hooks.c (top_check): Likewise.
19781 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19785 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19789 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19791         * math/auto-libm-test-in: Add tests of lgamma.
19792         * math/auto-libm-test-out: Regenerated.
19793         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19794         (M_LOG_2_SQRT_PIl): Likewise.
19795         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19796         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19797         mpfr_f_f1.
19798         (func_calc_desc): Add mpfr_f_f1 union field.
19799         (ARGS1): New macro.
19800         (ARGS2): Likewise.
19801         (ARGS3): Likewise.
19802         (ARGS4): Likewise.
19803         (RET1): Likewise.
19804         (RET2): Likewise.
19805         (CALC): Likewise.
19806         (FUNC): Likewise.
19807         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19808         (test_functions): Add lgamma.
19809         (calc_generic_results): Handle mpfr_f_f1.
19810         * sysdeps/i386/fpu/libm-test-ulps: Update.
19811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19813 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19815         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19816         __mpn_add_n for PowerPC64/POWER7.
19817         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19818         __mpn_sub_n for PowerPC64/POWER7.
19820         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19821         __mpn_addmul_1 for PowerPC64.
19822         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19823         __mpn_submul_1 for PowerPC64.
19824         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19825         for PowerPC64.
19826         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19827         for PowerPC64.
19829 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19831         [BZ #15089]
19832         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19834 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19836         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19838         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19839         add multiarch folders.
19840         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19841         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19842         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19843         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19844         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19845         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19846         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19847         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19848         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19849         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19850         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19859         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19861         New file.
19862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19863         New file.
19864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19865         multiarch __ieee754_hypot for PowerPC32.
19866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19867         New file.
19868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19869         New file.
19870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19871         multiarch __ieee754_hypotf for PowerPC32.
19873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19874         long_double_symbol only if __logbl is defined.
19875         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19876         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19878         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19879         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19880         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19881         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19882         path for implementation.
19883         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19884         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19886         logb, and logbl multiarch implementations for PowerPC32.
19887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19888         file.
19889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19890         file.
19891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19892         multiarch logb for PowerPC32.
19893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19894         file.
19895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19896         file.
19897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19898         multiarch logbf for PowerPC32.
19899         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19901         file.
19902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19903         multiarch logbl implementation for PowerPC32.
19905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19906         and modff multiarch implementations.
19907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19908         New file.
19909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19910         New file.
19911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19912         multiarch modf for PowerPC32.
19913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19914         New file.
19915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19916         New file.
19917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19918         multiarch modff for PowerPC32.
19920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19921         and lrintf multiarch implementations.
19922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19923         New file.
19924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19925         New file.
19926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19927         multiarch lrint for PowerPC32.
19928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19929         file: multiarch lrintf for PowerPC32.
19931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19932         and lroundf multiarch implementations.
19933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19934         New file.
19935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19936         New file.
19937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19938         New file.
19939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19940         multiarch lround for PowerPC32.
19941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19942         file: multiarch lroundf for PowerPC32.
19944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19945         copysign and copysignf multiarch implementations.
19946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19947         New file.
19948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19949         New file.
19950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19951         file: multiarch copysign for PowerPC32.
19952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19953         file: multiarch copysignf for PowerPC32.
19955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19956         and truncf multiarch implementations.
19957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19958         New file.
19959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19960         file.
19961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19962         multiarch trunc for PowerPC32.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19964         New file.
19965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19966         New file.
19967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19968         multiarch truncf for PowerPC32.
19970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19971         and roundf multiarch implementations.
19972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19973         New file.
19974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19975         file.
19976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19977         multiarch round for PowerPC32.
19978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19979         New file.
19980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19981         New file.
19982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19983         multiarch roundf for PowerPC32.
19985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19986         and floorf multiarch implementations.
19987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19988         New file.
19989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19990         file.
19991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19992         multiarch floor for PowerPC32.
19993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19994         New file.
19995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19996         New file.
19997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19998         multiarch floorf for PowerPC32.
20000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20001         and ceilf multiarch implementations.
20002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20003         New file.
20004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20005         file.
20006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20007         multiarch ceil for PowerPC32.
20008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20009         New file.
20010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20011         file.
20012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20013         multiarch ceilf for PowerPC32.
20015         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20016         is defined.
20017         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20018         FINITEF is defined.
20019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20020         and finitef multiarch implementations.
20021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20022         New file.
20023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20024         file.
20025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20026         multiarch finite for PowerPC32.
20027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20028         New file.
20029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20030         file: multiarch finitef for PowerPC32.
20032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20033         and isinff multiarch implementations.
20034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20035         file.
20036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20037         file.
20038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20039         multiarch isinf for PowerPC32.
20040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20041         New file.
20042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20043         multiarch isinff for PowerPC32.
20045         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20046         alias when __isnan is defined.
20047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20048         and isnanf multiarch implementations.
20049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20050         file.
20051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20052         file.
20053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20054         file.
20055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20056         file.
20057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20058         multiarch isnan for PowerPC32.
20059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20060         New file.
20061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20062         New file.
20063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20064         multiarch isnanf for PowerPC32.
20066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20067         and sqrtf multiarch implementations.
20068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20069         file.
20070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20071         file.
20072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20073         multiarch sqrt for PowerPC32.
20074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20075         file.
20076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20077         file.
20078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20079         multiarch sqrtf for PowerPC32.
20081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20082         and llroundf multiarch implementations.
20083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20084         New file.
20085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20086         New file.
20087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20088         New file.
20089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20090         file: multiarch llround for PowerPC32.
20091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20092         file: multiarch llroundf for PowerPC32.
20094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20095         multiarch PowerPC32 fpu implementations.
20096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20097         New file.
20098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20099         New file.
20100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20101         multiarch llrint for PowerPC32.
20102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20103         New file.
20104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20105         New file.
20106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20107         file.
20109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20111         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20112         file.
20113         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20114         file.
20115         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20116         file.
20117         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20118         multiarch wordcopy for PPC32.
20119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20120         wordcopy objects.
20121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20122         (__libc_ifunc_impl_list): Likewise.
20123         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20124         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20125         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20126         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20127         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20128         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20130         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20132         file.
20133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20134         file.
20135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20136         file.
20137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20138         multiarch wcscpy for PPC32.
20139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20140         multiarch objects.
20141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20142         (__libc_ifunc_impl_list): Likewise.
20143         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20144         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20145         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20146         sysdeps/powerpc/power6/wcscpy.c.
20148         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20150         file.
20151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20152         file.
20153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20154         file.
20155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20156         multiarch wcsrchr for PPC32.
20157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20158         multiarch objects.
20159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20160         (__libc_ifunc_impl_list): Likewise.
20161         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20162         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20163         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20164         sysdeps/powerpc/power6/wcsrchr.c.
20166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20167         file.
20168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20169         file.
20170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20172         multiarch wcschr for PPc32.
20173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20174         multiarch objects.
20175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20176         (__libc_ifunc_impl_list): Likewise.
20177         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20178         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20179         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20180         sysdeps/powerpc/power6/wcschr.c.
20182         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20183         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20184         file.
20185         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20186         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20187         file: multiarch strchr for PPC32.
20188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20189         multiarch objects.
20190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20191         (__libc_ifunc_impl_list): Likewise.
20193         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20194         name.
20195         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20196         file.
20197         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20198         file.
20199         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20200         multiarch strchrnul for PPC32.
20201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20202         multiarch objects.
20203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20204         (__libc_ifunc_impl_list): Likewise.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20207         file.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20209         multiarch strncasecmp for PPC32.
20210         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20211         file.
20212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20213         multiarch strncasecmp_l for PPC32.
20214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20215         strncasecmp multiarch objects.
20216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20217         (__libc_ifunc_impl_list): Likewise.
20219         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20220         file.
20221         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20222         multiarch strncasecmp for PPC32.
20223         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20224         New file.
20225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20226         multiarch strcasecmp_l for PPC32.
20227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20228         multiarch objects.
20229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20230         (__libc_ifunc_impl_list): Likewise.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20233         file.
20234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20235         file.
20236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20237         multiarch strncmp for PPC32.
20238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20239         multiarch objects.
20240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20241         (__libc_ifunc_impl_list): Likewise.
20243         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20244         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20245         file.
20246         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20247         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20249         multiarch objects.
20250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20251         (__libc_ifunc_impl_list): Likewise.
20253         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20254         file.
20255         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20256         file.
20257         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20259         multiarch objects.
20260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20261         (__libc_ifunc_impl_list): Likewise.
20263         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20264         file.
20265         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20266         file.
20267         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20268         multiarch rawmemchr for PPC32.
20269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20270         multiarch objects.
20271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20272         (__libc_ifunc_impl_list): Likewise.
20274         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20275         file.
20276         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20277         file.
20278         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20279         file: memrchr multiarch for PPC32.
20280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20281         multiarch objects.
20282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20283         (__libc_ifunc_impl_list): Likewise.
20285         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20286         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20287         file.
20288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20289         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20290         multiarch memchr for PPC32.
20291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20292         multiarch objects.
20293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20294         (__libc_ifunc_impl_list): Likewise.
20296         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20297         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20298         file.
20299         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20300         file.
20301         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20302         file: multiarch mempcpy for PPC32.
20303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20304         multiarch objects.
20305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20306         (__libc_ifunc_impl_list): Likewise.
20308         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20312         multiarch bzero for PPC32.
20313         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20314         file.
20315         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20316         file.
20317         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20318         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20319         file: multiarch memset for PPC32.
20320         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20322         memset multiarch objects.
20323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20324         (__libc_ifunc_impl_list): Likewise.
20326         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20327         file.
20328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20330         memcmp for PPC32.
20331         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20333         multiarch objects.
20334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20335         (__libc_ifunc_impl_list): Likewise.
20337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20340         file.
20341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20342         file.
20343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20344         file.
20345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20346         multiarch memcpy for PPC32.
20347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20348         multiarch objects.
20349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20350         (__libc_ifunc_impl_list): Likewise.
20352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20353         support multiarch for POWER/PPC32.
20354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20355         Likewise.
20356         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20358         Implies file to make multiarch folder appers before the fpu and
20359         default folder for power4 configuration.
20361 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20363         * scripts/bench.pl: Append volatile keyword to type.
20365 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20367         * sysdeps/sh/sotruss-lib.c: New file.
20368         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20370 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20374 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20376         [BZ #6810]
20377         * math/w_tgamma.c: Include <errno.h>.
20378         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20379         * math/w_tgammaf.c: Include <errno.h>.
20380         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20381         * math/w_tgammal.c: Include <errno.h>.
20382         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20383         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20384         underflow.  Add more tgamma tests.
20385         * math/auto-libm-test-out: Regenerated.
20386         * sysdeps/i386/fpu/libm-test-ulps: Update.
20387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20389         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20390         sin, sinh, tan, tanh, tgamma, y0 and y1.
20391         * math/auto-libm-test-out: Regenerated.
20392         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20393         (TEST_COND_x86): Likewise.
20394         (M_E2l): Remove macro.
20395         (M_E3l): Likewise.
20396         (M_2_SQRT_PIl): Likewise.
20397         (M_SQRT_PIl): Likewise.
20398         (M_1_DIV_El): Likewise.
20399         (log_test_data): Use AUTO_TESTS_f_f.
20400         (log10_test_data): Likewise.
20401         (log1p_test_data): Likewise.
20402         (log2_test_data): Likewise.
20403         (sin_test_data): Likewise.
20404         (sin_tonearest_test_data): Likewise.
20405         (sin_towardzero_test_data): Likewise.
20406         (sin_downward_test_data): Likewise.
20407         (sin_upward_test_data): Likewise.
20408         (sinh_test_data): Likewise.
20409         (sinh_tonearest_test_data): Likewise.
20410         (sinh_towardzero_test_data): Likewise.
20411         (sinh_downward_test_data): Likewise.
20412         (sinh_upward_test_data): Likewise.
20413         (tan_test_data): Likewise.
20414         (tan_tonearest_test_data): Likewise.
20415         (tan_towardzero_test_data): Likewise.
20416         (tan_downward_test_data): Likewise.
20417         (tan_upward_test_data): Likewise.
20418         (tanh_test_data): Likewise.
20419         (tgamma_test_data): Likewise.
20420         (y0_test_data): Likewise.
20421         (y1_test_data): Likewise.
20422         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20423         (special_real_inputs): Add pi/4.
20424         * sysdeps/i386/fpu/libm-test-ulps: Update.
20425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20427 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20429         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20430         "longjmp_target" static probes.
20431         (__longjmp): Rename to __longjmp_symbol.
20432         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20433         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20434         on which longjmp to generate.
20435         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20436         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20437         probe.
20438         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20439         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20440         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20441         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20442         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20443         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20445         __longjmp_symbol based on which __longjmp to generate.
20446         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20447         probe.
20448         (setjmp): Rename to setjmp_symbol.
20449         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20450         (_setjmp): Rename to _setjmp_symbol.
20451         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20452         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20453         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20454         which setjmp to generate.
20455         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20456         "longjmp_target" static probes.
20458 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20460         * benchtests/README: Add note about output arguments.
20461         * benchtests/bench-sincos.c: Remove file.
20462         * benchtests/sincos-inputs: New file.
20463         * scripts/bench.pl: Identify output arguments and define
20464         static variables for them.
20466         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20468         [BZ #15941]
20469         * Makefile (INSTALL): Add install-plain.texi as the primary
20470         dependency.
20471         * manual/install-plain.texi: New file.
20472         * manual/install.texi: Include node directive only for
20473         non-plaintext output.
20475 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20477         * stdlib/longlong.h: Update from GCC.
20479         [BZ #6807]
20480         [BZ #15901]
20481         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20482         * math/w_j0f.c (y0f): Likewise.
20483         * math/w_j0l.c (__y0l): Likewise.
20484         * math/w_j1.c (y1): Likewise.
20485         * math/w_j1f.c (y1f): Likewise.
20486         * math/w_j1l.c (__y1l): Likewise
20487         * math/w_jn.c (yn): Likewise.
20488         * math/w_jnf.c (ynf): Likewise.
20489         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20490         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20491         value for Bessel function domain errors outside _SVID_ mode.
20492         Adjust sign of return value for yn (negative integer, 0).
20493         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20494         by zero in return for negative x and set sign appropriately for
20495         negative n.
20496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20497         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20498         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20499         expectations in error cases.
20500         (y1_test_data): Likewise.
20501         (yn_test_data): Likewise.
20502         * sysdeps/i386/fpu/libm-test-ulps: Update.
20503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20505 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20507         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20508         "64" to "64-v1".  Add "64-v2".
20509         (abi-64-options): Rename to ...
20510         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20511         (abi-64-condition): Rename to ...
20512         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20513         (abi-64-ld-soname): Rename to ...
20514         (abi-64-v1-ld-soname): ... this.
20515         (abi-64-v2-options): Define.
20516         (abi-64-v2-condition): Likewise.
20517         (abi-64-v2-ld-soname): Likewise.
20518         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20519         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20524 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20525             Alan Modra  <amodra@gmail.com>
20527         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20528         New versions for use with the ELFv2 ABI.
20529         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20530         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20531         declaration.
20532         (struct La_ppc64v2_retval): Likewise.
20533         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20534         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20535         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20536         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20537         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20538         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20539         Do not save or restore CR.
20540         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20541         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20542         return values for ELFv2 ABI.  Fix location of FPR return registers.
20543         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20544         updated values for _CALL_ELF == 2.
20545         (La_regs, La_retval, int_retval): Likewise.
20547 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20549         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20550         (FRAME_MIN_SIZE_PARM): Likewise.
20551         (FRAME_BACKCHAIN): Likewise.
20552         (FRAME_CR_SAVE): Likewise.
20553         (FRAME_LR_SAVE): Likewise.
20554         (FRAME_TOC_SAVE): Likewise.
20555         (FRAME_PARM_SAVE): Likewise.
20556         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20557         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20558         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20559         (call_mcount_parm_offset): New macro.
20560         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20561         (PROF): Use symbolic stack frame offsets.
20562         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20563         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20564         Redefine in terms of FRAME_MIN_SIZE.
20565         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20566         (_dl_profile_resolve): Likewise.  Update comment.
20567         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20568         symbols stack frame offsets.
20569         (__sigsetjmp): Likewise.
20570         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20571         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20572         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20573         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20576         (FRAME_BACKCHAIN): Remove.
20577         (FRAME_CR_SAVE): Likewise.
20578         (FRAME_LR_SAVE): Likewise.
20579         (FRAME_COMPILER_DW): Likewise.
20580         (FRAME_LINKER_DW): Likewise.
20581         (FRAME_TOC_SAVE): Likewise.
20582         (FRAME_PARM_SAVE): Likewise.
20583         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20584         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20585         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20587         (CHECK_SP): Use symbolic stack frame offsets.
20588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20589         zone" instead of caller's parameter save area for temp storage.
20590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20591         Likewise.  Also, use symbolic stack frame offsets.
20592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20593         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20594         our own stack frame instead of the caller's.
20595         (__socket): Use symbolic stack frame offsets.
20597 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20598             Alan Modra  <amodra@gmail.com>
20600         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20601         Define.
20602         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20603         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20604         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20605         New function.
20606         (elf_machine_fixup_plt): Call it.
20607         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20608         reloc arguments.
20609         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20610         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20611         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20612         r2 before calling target.
20614 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20615             Alan Modra  <amodra@gmail.com>
20617         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20618         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20619         versions of macros to support ELFv2 ABI.
20620         (LOCALENTRY): New macro.
20621         (ENTRY, EALIGN): Use it.
20622         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20623         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20624         fall through into ENTRY entry point.
20625         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20626         Only define if _CALL_ELF != 2.
20628         (elf_machine_matches_host): Verify ABI version matches.
20629         (RTLD_START): Use LOCALENTRY.
20630         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20631         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20632         (PLT_ENTRY_WORDS): New macro.
20633         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20634         (elf_machine_runtime_setup): Support ELFv2 ABI.
20635         (elf_machine_fixup_plt): Likewise.
20636         (elf_machine_plt_conflict): Likewise.
20637         (resolve_ifunc): Likewise.
20638         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20639         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20640         Likewise.
20641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20642         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20644         (makecontext): Support ELFv2 ABI.
20645         * elf/elf.h (EF_PPC64_ABI): Define.
20647 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20649         * sysdeps/powerpc/powerpc64/sysdep.h
20650         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20651         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20652         (ENTRY) [ASSEMBLER]: ... but instead here ...
20653         (EALIGN) [ASSEMBLER]: ... and here.
20654         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20655         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20656         (ENTRY_2) [!ASSEMBLER]: Use it.
20657         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20658         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20659         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20660         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20661         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20663         Use PPC64_LOAD_FUNCPTR.
20665         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20667 2013-12-04  Alan Modra  <amodra@gmail.com>
20669         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20670         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20671         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20672         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20675         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20676         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20677         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20678         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20679         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20681 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20684         (__makecontext): Fix incorrect CFI when backtracing out of
20685         context created via makecontext.
20686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20687         (__setcontext): Fix incorrect CFI during switch to new context.
20688         (__novec_setcontext): Likewise.
20690 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20692         [BZ #4772]
20693         * time/strptime_l.c (__strptime_internal): Allow modifiers
20694         in strptime.
20695         * time/tst-strptime.c (day_tests): Add testcase.
20697 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20699         * scripts/bench.pl: Skip over blank lines.
20701 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20703         [BZ #926]
20704         * manual/time.texi (Calendar Time): Clarify what timezone functions
20705         use.
20707 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20711 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20713         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20714         implementation.
20715         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20716         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20717         * debug/memset_chk.c (__memset_chk): Likewise.
20718         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20719         * debug/strncpy_chk.c: Likewise.
20721 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20723         [BZ #15268]
20724         [BZ #15425]
20725         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20726         (__ieee754_exp): For possibly underflowing results, check size of
20727         result and force underflow exception if required.
20728         * math/auto-libm-test-in: Add more tests of exp.
20729         * math/auto-libm-test-out: Regenerated.
20730         * sysdeps/i386/fpu/libm-test-ulps: Update.
20731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20733         [BZ #16283]
20734         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20735         * math/w_exp2f.c (__exp2f): Likewise.
20736         * math/w_exp2l.c (__exp2l): Likewise.
20737         * math/auto-libm-test-in: Do not allow missing errno on exp2
20738         underflow.
20739         * math/auto-libm-test-out: Regenerated.
20741 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20743         [BZ #16274]
20744         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20745         handle filename validation.
20746         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20747         (do_open): Delete.
20749 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20751         [BZ #6786]
20752         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20753         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20754         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20755         <float.h>.
20756         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20757         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20758         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20759         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20760         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20761         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20762         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20763         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20764         Add more erfc tests.
20765         * math/auto-libm-test-out: Regenerated.
20766         * sysdeps/i386/fpu/libm-test-ulps: Update.
20767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20769         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20770         exp2, expm1, j0 and j1.
20771         * math/auto-libm-test-out: Regenerated.
20772         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20773         (erfc_test_data): Likewise.
20774         (exp_test_data): Likewise.
20775         (exp_tonearest_test_data): Likewise.
20776         (exp_towardzero_test_data): Likewise.
20777         (exp_downward_test_data): Likewise.
20778         (exp_upward_test_data): Likewise.
20779         (exp10_test_data): Likewise.
20780         (exp2_test_data): Likewise.
20781         (expm1_test_data): Likewise.
20782         (j0_test_data): Likewise.
20783         (j1_test_data): Likewise.
20784         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20785         (input_flag_type): Add flag_xfail_rounding.
20786         (input_flags): Add xfail-rounding.
20787         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20788         (output_for_one_input_case): Handle flag_xfail_rounding.
20789         * sysdeps/i386/fpu/libm-test-ulps: Update.
20790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20794         [BZ #16289]
20795         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20796         division by 0.
20798 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20800         [BZ #16195]
20801         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20802         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20803         (STAP_PROBE0): New macro.
20804         (STAP_PROBE1): Likewise.
20805         (STAP_PROBE2): Likewise.
20806         (STAP_PROBE3): Likewise.
20807         (STAP_PROBE4): Likewise.
20809 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20811         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20813 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20815         * benchtests/Makefile (bench): Add sqrt.
20816         (LDLIBS-bench-sqrt): New.
20817         * benchtests/sqrt-input: New.
20819 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20821         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20822         (GAIH_EAI): Likewise.
20823         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20824         (gaih_inet): Likewise.
20825         (getaddrinfo): Don't use GAIH_EAI.
20827         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20828         (struct gaih): Remove definition.
20830 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20832         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20833         Use HERRNOP directly.
20835 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20839 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20841         * math/gen-auto-libm-tests.c (test_functions): Add more
20842         single-argument functions.
20843         (special_fill_pi_2): New function.
20844         (special_fill_minus_pi_2): Likewise.
20845         (special_fill_pi_6): Likewise.
20846         (special_fill_minus_pi_6): Likewise.
20847         (special_fill_pi_3): Likewise.
20848         (special_fill_2pi_3): Likewise.
20849         (special_fill_e): Likewise.
20850         (special_fill_1_e): Likewise.
20851         (special_fill_e_minus_1): Likewise.
20852         (special_real_inputs): Add more special inputs.
20853         (output_for_one_input_case): Do not require ERANGE on underflow to
20854         zero if round-to-nearest result does not underflow to zero, unless
20855         exact results required.
20856         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20857         atan, atanh, cbrt, cos and cosh.
20858         * math/auto-libm-test-out: Regenerated.
20859         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20860         (acos_tonearest_test_data): Likewise.
20861         (acos_towardzero_test_data): Likewise.
20862         (acos_downward_test_data): Likewise.
20863         (acos_upward_test_data): Likewise.
20864         (acosh_test_data): Likewise.
20865         (asin_test_data): Likewise.
20866         (asin_tonearest_test_data): Likewise.
20867         (asin_towardzero_test_data): Likewise.
20868         (asin_upward_test_data): Likewise.
20869         (asinh_test_data): Likewise.
20870         (atan_test_data): Likewise.
20871         (atanh_test_data): Likewise.
20872         (cbrt_test_data): Likewise.
20873         (cos_test_data): Likewise.
20874         (cos_tonearest_test_data): Likewise.
20875         (cos_towardzero_test_data): Likewise.
20876         (cos_downward_test_data): Likewise.
20877         (cos_upward_test_data): Likewise.
20878         (cosh_test_data): Likewise.
20879         (cosh_tonearest_test_data): Likewise.
20880         (cosh_towardzero_test_data): Likewise.
20881         (cosh_downward_test_data): Likewise.
20882         (cosh_upward_test_data): Likewise.
20883         * sysdeps/i386/fpu/libm-test-ulps: Update.
20884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20886 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20888         [BZ #6787]
20889         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20890         * math/w_exp10f.c (__exp10f): Likewise.
20891         * math/w_exp10l.c (__exp10l): Likewise.
20892         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20893         errno settings in existing tests.
20895         [BZ #14032]
20896         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20897         precision control set to double precision.
20898         * sysdeps/i386/fpu/w_sqrt.c: New file.
20899         * math/auto-libm-test-in: Add more tests.
20900         * math/auto-libm-test-out: Update.
20902         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20903         (sqrt_test_tonearest): New function.
20904         (sqrt_towardzero_test_data): New variable.
20905         (sqrt_test_towardzero): New function.
20906         (sqrt_downward_test_data): New variable.
20907         (sqrt_test_downward): New function.
20908         (sqrt_upward_test_data): New variable.
20909         (sqrt_test_upward): New function.
20910         (main): Call the new functions.
20912         * math/gen-auto-libm-tests.c: New file.
20913         * math/auto-libm-test-in: Likewise.
20914         * math/auto-libm-test-out: New generated file.
20915         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20916         variables.
20917         (%beautify): Add generated representations of zero.
20918         (top level): Set $auto_input and call parse_auto_input.
20919         (beautify): Remove trailing "f" from hex float constants.
20920         (parse_args): Handle XFAIL_TEST.
20921         (convert_condition): New function.
20922         (or_value): Likewise.
20923         (or_cond_value): Likewise.
20924         (generate_testfile): Handle AUTO_TESTS_* lines.
20925         (parse_auto_input): New function.
20926         * math/libm-test.inc (XFAIL_TEST): New macro.
20927         (ERRNO_UNCHANGED): Update value.
20928         (ERRNO_EDOM): Likewise.
20929         (ERRNO_ERANGE): Likewise.
20930         (IGNORE_RESULT): Likewise.
20931         (TEST_COND_flt_32): New macro.
20932         (TEST_COND_dbl_64): Likewise.
20933         (TEST_COND_ldbl_96_intel): Likewise.
20934         (TEST_COND_ldbl_96_m68k): Likewise.
20935         (TEST_COND_ldbl_128): Likewise.
20936         (TEST_COND_ldbl_128ibm): Likewise.
20937         (TEST_COND_long32): Likewise.
20938         (TEST_COND_long64): Likewise.
20939         (TEST_COND_before_rounding): Likewise.
20940         (TEST_COND_after_rounding): Likewise.
20941         (enable_test): Handle XFAIL_TEST flag.
20942         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20943         with finite results.
20944         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20945         auto-libm-test-out.
20947 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20948             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20950         [BZ #16214]
20951         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20952         __tls_get_addr_internal instead of __tls_get_offset in order to
20953         avoid GOT pointer dependency.  Make rtld export
20954         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20955         __tls_get_addr since we are a __tls_get_offset platform.
20956         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20957         GOT pointer being set up before.
20958         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20960 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20962         * manual/math.texi (Errors in Math Functions): Document accuracy
20963         goals.
20965         [BZ #15004]
20966         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20967         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20968         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20969         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20970         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20971         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20972         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20973         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20974         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20975         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20976         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20977         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20978         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20979         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20980         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20981         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20983         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20984         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20985         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20986         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20987         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20988         Likewise.
20989         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20990         Likewise.
20991         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20992         Likewise.
20993         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20994         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20995         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20996         atomic-feupdateenv and flt-rounds.
20997         * sysdeps/powerpc/nofpu/Versions (libc): Add
20998         __atomic_feholdexcept, __atomic_feclearexcept,
20999         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21000         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21001         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21002         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21003         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21004         here.
21005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21006         Update.
21008         * manual/arith.texi (FP Exceptions): Document that exceptions may
21009         not be raised when matherr is used.
21010         (Math Error Reporting): Document overflow in directed rounding
21011         modes.  Document that errno may not be set when finite values are
21012         returned on overflow.  Document intent to set errno on underflow
21013         only for underflow to zero.
21015         [BZ #16271]
21016         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21017         round-to-nearest then adjust result for other rounding modes.
21018         * include/fenv.h (fegetround): Use libm_hidden_proto.
21019         * math/fegetround.c (fegetround): Use libm_hidden_def.
21020         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21021         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21022         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21023         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21024         Likewise.
21025         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21026         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21027         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21028         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21030 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21032         [BZ #16077]
21033         * nss/Versions (libnss_files): Add
21034         _nss_files_gethostbyname3_r.
21035         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21036         New function.
21037         (HOST_DB_LOOKUP): Remove macro.
21038         (_nss_files_gethostbyname_r): Implement function without the
21039         HOST_DB_LOOKUP macro.
21040         (_nss_files_gethostbyname2_r): Likewise.
21042 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21044         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21046 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21048         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21049         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21050         warning.
21052 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21054         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21055         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21056         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21057         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21058         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21059         __fe_nomask_env_priv and attribute_hidden.
21060         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21061         (libc_feupdateenv_test_ppc): Likewise.
21062         (libc_feresetround_ppc): Likewise.
21063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21064         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21065         compat_symbol macro.
21066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21067         (__fe_nomask_env): Likewise.
21068         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21070 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21072         * string/Makefile: Remove ifunc tests.
21073         * string/test-string.h: Define TEST_IFUNC.
21074         * string/test-bcopy-ifunc.c: Remove.
21075         * string/test-bzero-ifunc.c: Likewise.
21076         * string/test-memccpy-ifunc.c: Likewise.
21077         * string/test-memchr-ifunc.c: Likewise.
21078         * string/test-memcmp-ifunc.c: Likewise.
21079         * string/test-memcpy-ifunc.c: Likewise.
21080         * string/test-memmem-ifunc.c: Likewise.
21081         * string/test-memmove-ifunc.c: Likewise.
21082         * string/test-mempcpy-ifunc.c: Likewise.
21083         * string/test-memrchr-ifunc.c: Likewise.
21084         * string/test-memset-ifunc.c: Likewise.
21085         * string/test-rawmemchr-ifunc.c: Likewise.
21086         * string/test-stpcpy-ifunc.c: Likewise.
21087         * string/test-stpncpy-ifunc.c: Likewise.
21088         * string/test-strcasecmp-ifunc.c: Likewise.
21089         * string/test-strcasestr-ifunc.c: Likewise.
21090         * string/test-strcat-ifunc.c: Likewise.
21091         * string/test-strchr-ifunc.c: Likewise.
21092         * string/test-strchrnul-ifunc.c: Likewise.
21093         * string/test-strcmp-ifunc.c: Likewise.
21094         * string/test-strcpy-ifunc.c: Likewise.
21095         * string/test-strcspn-ifunc.c: Likewise.
21096         * string/test-strlen-ifunc.c: Likewise.
21097         * string/test-strncasecmp-ifunc.c: Likewise.
21098         * string/test-strncat-ifunc.c: Likewise.
21099         * string/test-strncmp-ifunc.c: Likewise.
21100         * string/test-strncpy-ifunc.c: Likewise.
21101         * string/test-strnlen-ifunc.c: Likewise.
21102         * string/test-strpbrk-ifunc.c: Likewise.
21103         * string/test-strrchr-ifunc.c: Likewise.
21104         * string/test-strspn-ifunc.c: Likewise.
21105         * string/test-strstr-ifunc.c: Likewise.
21107 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21109         * benchtests/Makefile: Remove ifunc tests.
21110         * benchtests/bench-string.h: Define TEST_IFUNC.
21111         * benchtests/bench-bcopy-ifunc.c: Remove.
21112         * benchtests/bench-bzero-ifunc.c: Likewise.
21113         * benchtests/bench-memccpy-ifunc.c: Likewise.
21114         * benchtests/bench-memchr-ifunc.c: Likewise.
21115         * benchtests/bench-memcmp-ifunc.c: Likewise.
21116         * benchtests/bench-memcpy-ifunc.c: Likewise.
21117         * benchtests/bench-memmem-ifunc.c: Likewise.
21118         * benchtests/bench-memmove-ifunc.c: Likewise.
21119         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21120         * benchtests/bench-memrchr-ifunc.c: Likewise.
21121         * benchtests/bench-memset-ifunc.c: Likewise.
21122         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21123         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21124         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21125         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21126         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21127         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21128         * benchtests/bench-strcat-ifunc.c: Likewise.
21129         * benchtests/bench-strchr-ifunc.c: Likewise.
21130         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21131         * benchtests/bench-strcmp-ifunc.c: Likewise.
21132         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21133         * benchtests/bench-strcpy-ifunc.c: Likewise.
21134         * benchtests/bench-strcspn-ifunc.c: Likewise.
21135         * benchtests/bench-strlen-ifunc.c: Likewise.
21136         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21137         * benchtests/bench-strncat-ifunc.c: Likewise.
21138         * benchtests/bench-strncmp-ifunc.c: Likewise.
21139         * benchtests/bench-strncpy-ifunc.c: Likewise.
21140         * benchtests/bench-strnlen-ifunc.c: Likewise.
21141         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21142         * benchtests/bench-strrchr-ifunc.c: Likewise.
21143         * benchtests/bench-strsep-ifunc.c: Likewise.
21144         * benchtests/bench-strspn-ifunc.c: Likewise.
21145         * benchtests/bench-strstr-ifunc.c: Likewise.
21147 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21149         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21151 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21153         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21154         * rt/aio.h: Likewise.
21155         * sysdeps/gnu/bits/utmp.h: Likewise.
21156         * sysdeps/gnu/bits/utmpx.h: Likewise.
21157         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21158         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21159         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21160         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21161         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21162         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21163         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21164         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21165         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21166         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21167         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21168         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21169         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21171         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21172         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21173         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21174         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21175         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21176         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21177         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21178         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21179         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21180         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21181         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21183         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21184         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21185         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21186         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21187         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21188         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21189         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21190         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21191         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21192         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21193         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21194         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21195         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21196         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21197         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21198         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21200 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21202         [BZ #16245]
21203         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21204         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21206 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21208         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21210         Likewise.
21212 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21214         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21215         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21216         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21217         (__fesetround): Remove define.
21218         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21219         rounding and exceptions handling.
21220         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21221         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21222         (__fe_nomask_env): Likewise.
21223         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21224         __fegetround instead of fegetround.
21225         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21226         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21228 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21230         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21231         it's there.
21233         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21235 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21237         [BZ #11157]
21238         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21239         (encrypt_r): Likewise.
21240         * malloc/obstack.h (obstack_free): Likewise.
21241         * posix/unistd.h (encrypt): Likewise.
21243 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21245         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21246         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21247         DL_CALL_DT_FINI() that call the functions directly.
21248         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21249         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21250         * elf/dl-fini.c: Likewise.
21252 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21254         * malloc/hooks.c (memalign_check): Add alignment rounding.
21255         * malloc/malloc.c (_mid_memalign): New function.
21256         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21257         Implement by calling _mid_memalign.
21258         * manual/probes.texi (Memory Allocation Probes): Remove
21259         memory_valloc_retry and memory_pvalloc_retry.
21261 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21263         * locale/programs/locarchive.c (open_archive): Add const
21264         qualifier to ARCHIVEFNAME and copy default fname to
21265         DEFAULT_FNAME.
21267         [BZ #15601]
21268         * libio/tst-widetext.input: Rename Oriya to Odia.
21269         * locale/iso-639.def: Likewise.
21271         * manual/probes.texi (Mathematical Function Probes): Add
21272         documentation for sin, cos, asin and acos probes.
21273         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21274         (__sin32): Add slowasin probe.
21275         (__cos32): Add slowacos probe.
21276         (__mpsin): Add slowsin probe.
21277         (__mpcos): Add slowcos probe.
21279 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21281         [BZ #15483]
21282         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21283         thread-local __sim_exceptions_thread and global
21284         __sim_exceptions_global.
21285         (__sim_disabled_exceptions): Change to thread-local
21286         __sim_disabled_exceptions_thread and global
21287         __sim_disabled_exceptions_global.
21288         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21289         and global __sim_round_mode_global.
21290         (__simulate_exceptions): Use thread-local floating-point state and
21291         set global state from it as needed.
21292         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21293         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21294         __sim_round_mode_thread.
21295         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21296         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21297         and global __sim_exceptions_global.
21298         (__sim_disabled_exceptions): Change to thread-local
21299         __sim_disabled_exceptions_thread and global
21300         __sim_disabled_exceptions_global.
21301         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21302         and global __sim_round_mode_global.
21303         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21304         (SIM_SET_GLOBAL): Likewise.
21305         * sysdeps/powerpc/soft-fp/sfp-machine.h
21306         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21307         __sim_round_mode_thread.
21308         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21309         __sim_disabled_exceptions_thread.
21310         (__sim_exceptions): Change to __sim_exceptions_thread.
21311         (__sim_disabled_exceptions): Change to
21312         __sim_disabled_exceptions_thread.
21313         (__sim_round_mode): Change to __sim_round_mode_thread.
21314         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21315         thread-local floating-point state and set global state from it as
21316         needed.
21317         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21318         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21319         (__sim_disabled_exceptions): Remove extern declaration.
21320         (feenableexcept): Use thread-local floating-point state and set
21321         global state from it as needed.
21322         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21323         extern declaration.
21324         (__sim_disabled_exceptions): Likewise.
21325         (__sim_round_mode): Likewise.
21326         (__fegetenv): Use thread-local floating-point state.
21327         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21328         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21329         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21330         floating-point state and set global state from it as needed.
21331         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21332         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21333         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21334         Likewise.
21335         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21336         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21337         Likewise.
21338         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21339         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21340         Use __sim_round_mode_thread.
21341         * math/test-fenv-tls.c: New file.
21342         * math/Makefile (tests): Add test-fenv-tls.
21343         ($(objpfx)test-fenv-tls): Depend on
21344         $(common-objpfx)nptl/libpthread.so.
21346 2013-11-19  Andreas Schwab  <schwab@suse.de>
21348         * locale/programs/locale.c (show_info): Decode wordarray elements.
21349         * locale/categories.def (LC_MONETARY): Add element for
21350         _NL_MONETARY_CRNCYSTR.
21351         * locale/C-monetary.c (conversion_rate): New variable.
21352         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21353         element.
21355 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21357         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21358         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21360 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21362         * elf/Makefile (tst-auxv): New test.
21363         * elf/tst-auxv.c: New
21364         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21366 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21368         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21369         (hidden_proto): Caller changed.
21370         (hidden_tls_proto): New macro.
21371         (libc_hidden_tls_proto): Likewise.
21372         (rtld_hidden_tls_proto): Likewise.
21373         (libm_hidden_tls_proto): Likewise.
21374         (libresolv_hidden_tls_proto): Likewise.
21375         (librt_hidden_tls_proto): Likewise.
21376         (libdl_hidden_tls_proto): Likewise.
21377         (libnss_files_hidden_tls_proto): Likewise.
21378         (libnsl_hidden_tls_proto): Likewise.
21379         (libnss_nisplus_hidden_tls_proto): Likewise.
21380         (libutil_hidden_tls_proto): Likewise.
21382 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21384         [BZ #10253]
21385         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21386         (decompose_rpath): Defer expansion to fillin_rpath.
21387         (_dl_init_paths): Pass linkmap to fillin_rpath.
21389 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21391         * benchtests/Makefile: Add strsep.
21392         * benchtests/bench-strsep.c: New file: strsep benchtest.
21393         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21395 2013-11-18  Andreas Schwab  <schwab@suse.de>
21397         * locale/programs/locale.c (show_info) [case byte]: Check for
21398         '\377' instead of '\177'.
21399         * locale/C-monetary.c (not_available): Always use "\377".
21400         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21401         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21402         detect unavailable sign_posn locale elements.
21403         * locale/localeconv.c (__localeconv): For grouping and
21404         mon_grouping handle "\177" and "\377" like no grouping.
21405         (INT_ELEM): New macro.  Use it to set all numeric members.
21406         * locale/programs/ld-monetary.c (monetary_read)
21407         <tok_mon_grouping>: Normalize single -1 to the empty string.
21408         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21409         Likewise.
21411 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21413         [BZ #16055]
21414         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21415         when we match (nil).
21416         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21418 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21420         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21421         (NO_TEST_INLINE): Update value.
21422         (ERRNO_UNCHANGED): Likewise.
21423         (ERRNO_EDOM): Likewise.
21424         (ERRNO_ERANGE): Likewise.
21425         (IGNORE_RESULT): Likewise.
21426         (check_float_internal): Check signs of NaN results if
21427         TEST_NAN_SIGN used.
21428         (check_complex): Pass TEST_NAN_SIGN flag through to second
21429         check_float_internal call.
21430         (copysign_test_data): Add tests with quiet NaNs as second
21431         argument.  Use TEST_NAN_SIGN.
21432         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21433         TEST_NAN_SIGN.
21434         (signbit_test_data): Add tests of quiet NaN argument.
21435         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21437         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21438         $ignore_result.
21439         (parse_args): Handle function results specified as IGNORE.
21440         * math/libm-test.inc (IGNORE_RESULT): New macro.
21441         (check_float_internal): Do not check numerical result if flag
21442         IGNORE_RESULT set.
21443         (check_complex): Pass through IGNORE_RESULT to second
21444         check_float_internal call.
21445         (check_int): Do not check numerical result if flag IGNORE_RESULT
21446         set.
21447         (check_long): Likewise.
21448         (check_bool): Likewise.
21449         (check_longlong): Likewise.
21450         (lrint_test_data): Add tests of infinite and NaN arguments.
21451         (lrint_tonearest_test_data): Likewise.
21452         (lrint_towardzero_test_data): Likewise.
21453         (lrint_downward_test_data): Likewise.
21454         (lrint_upward_test_data): Likewise.
21455         (llrint_test_data): Likewise.
21456         (llrint_tonearest_test_data): Likewise.
21457         (llrint_towardzero_test_data): Likewise.
21458         (llrint_downward_test_data): Likewise.
21459         (llrint_upward_test_data): Likewise.
21460         (lround_test_data): Likewise.
21461         (llround_test_data): Likewise.
21463         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21464         (ERRNO_UNCHANGED): Update value.
21465         (ERRNO_EDOM): Likewise.
21466         (ERRNO_ERANGE): Likewise.
21467         (NO_TEST_INLINE_FLOAT): New macro.
21468         (NO_TEST_INLINE_DOUBLE): Likewise.
21469         (enable_test): New function.
21470         (RUN_TEST_f_f): Check enable_test before running test.
21471         (RUN_TEST_2_f): Likewise.
21472         (RUN_TEST_fff_f): Likewise.
21473         (RUN_TEST_c_f): Likewise.
21474         (RUN_TEST_f_f1): Likewise.
21475         (RUN_TEST_fF_f1): Likewise.
21476         (RUN_TEST_fI_f1): Likewise.
21477         (RUN_TEST_ffI_f1): Likewise.
21478         (RUN_TEST_c_c): Likewise.
21479         (RUN_TEST_cc_c): Likewise.
21480         (RUN_TEST_f_i): Likewise.
21481         (RUN_TEST_f_i_tg): Likewise.
21482         (RUN_TEST_ff_i_tg): Likewise.
21483         (RUN_TEST_f_b): Likewise.
21484         (RUN_TEST_f_b_tg): Likewise.
21485         (RUN_TEST_f_l): Likewise.
21486         (RUN_TEST_f_L): Likewise.
21487         (RUN_TEST_fFF_11): Likewise.
21488         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21489         conditionals.
21490         (cosh_test_data): Likewise.
21491         (exp_test_data): Likewise.
21492         (expm1_test_data): Likewise.
21493         (hypot_test_data): Likewise.
21494         (pow_test_data): Likewise.
21495         (sinh_test_data): Likewise.
21496         (tanh_test_data): Likewise.
21497         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21498         flags argument.
21500         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21501         tests with quiet NaN input and output.
21502         (acosh_test_data): Likewise.
21503         (asin_test_data): Likewise.
21504         (asinh_test_data): Likewise.
21505         (atan_test_data): Likewise.
21506         (atanh_test_data): Likewise.
21507         (atan2_test_data): Likewise.
21508         (cbrt_test_data): Likewise.
21509         (cos_test_data): Likewise.
21510         (cosh_test_data): Likewise.
21511         (erf_test_data): Likewise.
21512         (erfc_test_data): Likewise.
21513         (exp_test_data): Likewise.
21514         (exp10_test_data): Likewise.
21515         (exp2_test_data): Likewise.
21516         (expm1_test_data): Likewise.
21517         (hypot_test_data): Likewise.
21518         (j0_test_data): Likewise.
21519         (j1_test_data): Likewise.
21520         (jn_test_data): Likewise.
21521         (lgamma_test_data): Likewise.
21522         (log_test_data): Likewise.
21523         (log10_test_data): Likewise.
21524         (log1p_test_data): Likewise.
21525         (log2_test_data): Likewise.
21526         (pow_test_data): Likewise.
21527         (scalb_test_data): Likewise.
21528         (sin_test_data): Likewise.
21529         (sincos_test_data): Likewise.
21530         (sinh_test_data): Likewise.
21531         (tan_test_data): Likewise.
21532         (tanh_test_data): Likewise.
21533         (tgamma_test_data): Likewise.
21534         (y0_test_data): Likewise.
21535         (y1_test_data): Likewise.
21536         (yn_test_data): Likewise.
21538         [BZ #16167]
21539         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21540         argument being NaN and avoid computations with second argument in
21541         that case.
21542         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21543         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21544         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21546 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21548         * locale/iso-639.def: Add Chitwani Tharu (the).
21550 2013-11-14  Andreas Schwab  <schwab@suse.de>
21552         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21553         word instead of empty string.
21555 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21558         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21560         (__fe_nomask_env): Likewise.
21562 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21564         * benchtests/bench-timing.h: Include time.h.
21566 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21568         [BZ #15997]
21569         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21570         to 3.4.0 for x32.
21571         * sysdeps/unix/sysv/linux/configure: Regenerated.
21573 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21575         [BZ #16151]
21576         * stdlib/strtod_l.c (round_and_return): Do not consider
21577         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21578         exponent one less than half the least subnormal exponent.
21579         * stdlib/test-strtod-round-data: Add more tests.
21580         * stdlib/tst-strtod-round.c (tests): Regenerated.
21582 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21584         [BZ #14143]
21585         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21586         (__fe_mask_env): Likewise.
21587         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21588         libm_hidden_proto and add function prototype.
21589         (__fe_mask_env): Add function prototype.
21590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21591         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21593         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21595         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21597 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21599         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21600         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21602 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21604         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21605         of htab_find_slot().
21607 2013-11-11  David S. Miller  <davem@davemloft.net>
21609         [BZ #16150]
21610         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21611         symbol in the non-vis3 case in static builds.
21612         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21613         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21614         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21615         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21617 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21619         [BZ #387]
21620         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21621         it is empty.
21623 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21625         * benchtests/Makefile: Add bench-strtod.
21626         * benchtests/bench-strtod.c: New file: strtod benchtest
21628 2013-11-11  Andreas Schwab  <schwab@suse.de>
21630         [BZ #16153]
21631         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21632         terminating NUL in key length.
21634 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21636         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21637         Add artificial ODP entry for vDSO symbol for PPC64.
21638         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21639         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21641 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21643         [BZ #15374]
21644         * nss/getent.c (services_keys): Recognize services starting with digit.
21646 2013-11-06  David S. Miller  <davem@davemloft.net>
21648         [BZ #15985]
21649         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21650         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21652 2013-11-06  Will Newton  <will.newton@linaro.org>
21654         * manual/memory.texi (Malloc Examples): Remove register
21655         keyword from examples.
21657 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21659         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21661 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21663         [BZ #6981]
21664         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21665         depending on [__GCC_IEC_559 > 0].
21666         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21667         depending on [__GCC_IEC_559_COMPLEX > 0].
21669 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21671         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21672         to iso-639.def.
21674 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21676         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21678 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21680         [BZ #16112]
21681         * malloc/malloc (malloc_info): Do not handle first bin as
21682         special case.
21684 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21686         * locale/iso-639.def: Add Central Nahuatl (nhn).
21688 2013-11-01  Bruno Haible  <bruno@clisp.org>
21690         [BZ #7003]
21691         * manual/math.texi (BSD Random): Specify range upper bound as
21692         in POSIX.
21694 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21696         * locale/iso-639.def: Add Meadow Mari (mhr).
21698 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21700         [BZ #14752], [BZ #15763]
21701         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21702         Validate name.
21703         * rt/tst_shm.c: Add test for escaping directory.
21705 2013-10-31  Andreas Schwab  <schwab@suse.de>
21707         [BZ #15917]
21708         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21709         followed by 'x' as part of digit sequence.
21710         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21712 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21714         [BZ #16037]
21715         * configure.ac: allow GNU Make 4.0 and greater.
21716         * configure: Regenerated.
21718 2013-10-30  Will Newton  <will.newton@linaro.org>
21720         [BZ #16038]
21721         * malloc/hooks.c (memalign_check): Limit alignment to the
21722         maximum representable power of two.
21723         * malloc/malloc.c (__libc_memalign): Likewise.
21724         * malloc/tst-memalign.c (do_test): Add test for very
21725         large alignment values.
21726         * malloc/tst-posix_memalign.c (do_test): Likewise.
21728 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21730         [BZ #11087]
21731         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21732         (munmap_chunk): Likewise.
21733         (mremap_chunk): Likewise.
21735 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21737         [BZ #15799]
21738         * stdlib/div.c (div): Remove obsolete code.
21739         * stdlib/ldiv.c (ldiv): Likewise.
21740         * stdlib/lldiv.c (lldiv): Likewise.
21742 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21744         [BZ #16071]
21745         * nss/nss_files/files-XXX.c (get_contents_ret): New
21746         enumerator.
21747         (get_contents): New function.
21748         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21750 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21752         * configure.in: Moved to ...
21753         * configure.ac: ... here. Change reference to configure.in
21754         to configure.ac.
21755         * sysdeps/arm/preconfigure.ac: ... here.
21756         configure.in to configure.ac.
21757         * sysdeps/gnu/configure.in: Moved to ...
21758         * sysdeps/gnu/configure.ac: ... here.
21759         * sysdeps/i386/configure.in: Moved to ...
21760         * sysdeps/i386/configure.ac: ... here.
21761         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21762         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21763         * sysdeps/mach/configure.in: Moved to ...
21764         * sysdeps/mach/configure.ac: ... here.
21765         * sysdeps/mach/hurd/configure.in: Moved to ...
21766         * sysdeps/mach/hurd/configure.ac: ... here.
21767         * sysdeps/powerpc/configure.in: Moved to ...
21768         * sysdeps/powerpc/configure.ac: ... here.
21769         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21770         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21771         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21772         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21773         * sysdeps/s390/s390-32/configure.in: Moved to ...
21774         * sysdeps/s390/s390-32/configure.ac: ... here.
21775         * sysdeps/s390/s390-64/configure.in: Moved to ...
21776         * sysdeps/s390/s390-64/configure.ac: ... here.
21777         * sysdeps/sh/configure.in: Moved to ...
21778         * sysdeps/sh/configure.ac: ... here.
21779         * sysdeps/sparc/configure.in: Moved to ...
21780         * sysdeps/sparc/configure.ac: ... here.
21781         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21782         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21783         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21784         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21785         * sysdeps/x86_64/configure.in: Moved to ...
21786         * sysdeps/x86_64/configure.ac: ... here.
21787         * sysdeps/x86_64/preconfigure.in: Moved to ...
21788         * sysdeps/x86_64/preconfigure.ac: ... here.
21789         * aclocal.m4: Change reference to configure.in to configure.ac.
21790         * config.h.in: Likewise.
21791         * manual/install.texi: Likewise.
21792         * manual/maint.texi: Likewise.
21793         * Makefile: Likewise.
21794         * malloc/Makefile: Likewise.
21795         * nscd/Makefile: Likewise.
21796         * Makeconfig: Change reference to configure.in and
21797         preconfigure.in to configure.ac and preconfigure.ac
21798         respectively.
21799         * INSTALL: Regenerated.
21800         * configure: Likewise.
21801         * sysdeps/gnu/configure: Likewise.
21802         * sysdeps/i386/configure: Likewise.
21803         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21804         * sysdeps/mach/configure: Likewise.
21805         * sysdeps/mach/hurd/configure: Likewise.
21806         * sysdeps/powerpc/configure: Likewise.
21807         * sysdeps/powerpc/powerpc32/configure: Likewise.
21808         * sysdeps/powerpc/powerpc64/configure: Likewise.
21809         * sysdeps/s390/s390-32/configure: Likewise.
21810         * sysdeps/s390/s390-64/configure: Likewise.
21811         * sysdeps/sh/configure: Likewise.
21812         * sysdeps/sparc/configure: Likewise.
21813         * sysdeps/unix/sysv/linux/configure: Likewise.
21814         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21815         * sysdeps/x86_64/configure: Likewise.
21816         * sysdeps/x86_64/preconfigure: Likewise.
21818 2013-10-29  Andreas Schwab  <schwab@suse.de>
21820         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21822 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21824         * benchtests/pow-inputs: Add new inputs.
21826         * benchtests/exp-inputs: Add new inputs.
21828         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21829         conditional check for return value.
21830         (__cos32): Likewise.
21832 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21834         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21835         to provide a boost for large inputs with word alignment.
21836         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21837         implementation based on optimized PPC64 strcpy.
21838         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21839         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21840         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21841         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21843 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21845         [BZ #2801]
21846         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21848 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21850         [BZ #14876]
21851         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21852         * time/tst-strptime.c (day_tests): Add testcase.
21854 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21856         [BZ #14029]
21857         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21859 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21861         [BZ #16074]
21862         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21863         MAP_FAILED on error.
21865 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21867         [BZ #16072]
21868         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21869         heap for large requests.
21871 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21873         [BZ #9954]
21874         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21875         result if the result has no associated interface.
21876         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21877         interface for all 127.X.Y.Z addresses.
21879 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21881         * locale/iso-639.def: Add Ligurian (lij)
21883 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21885         [BZ #15825]
21886         * sunrpc/rpc_main.c: Document rpcgen -5.
21888 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21890         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21892 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21894         [BZ #10278]
21895         * posix/glob.c: Match only directories when trailing slash is present.
21896         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21897         (main): Add testcase.
21899 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21901         [BZ #15670]
21902         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21904 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21906         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21907         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21908         AUTH_DES and cindex for FIPS 140-2.
21909         (DES Encryption): Add cindex FIPS 46-3.
21911         * locale/locarchive.h (struct locarhandle): Add fname.
21912         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21913         if an optional argument was specified to --list-archive,
21914         otherwise NULL.
21915         * locale/programs/locarchive.c (show_archive_content): Take new
21916         argument fname and pass it via ah.fname to open_archive.
21917         * locale/programs/localedef.h: Update decl.
21918         (open_archive): If AH->fname is non-null, open that file
21919         rather than the default file name, and don't ignore ENOENT.
21920         (create_archive): Set AH.fname to NULL.
21921         (delete_locales_from_archive): Likewise.
21922         (add_locales_to_archive): Likewise.
21923         * locale/programs/locfile.c (write_all_categories): Likewise.
21925 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21926             Aldy Hernandez  <aldyh@redhat.com>
21928         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21929         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21930         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21931         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21932         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21933         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21935         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21936         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21937         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21938         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21939         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21940         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21941         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21942         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21943         Likewise.
21944         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21945         Likewise.
21946         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21947         Likewise.
21948         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21949         Likewise.
21950         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21951         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21952         Likewise.
21953         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21954         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21955         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21956         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21957         Likewise.
21958         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21959         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21960         * sysdeps/powerpc/preconfigure: Likewise.
21961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21962         Likewise.
21963         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21964         Replace contents of file by #include of <fenv_libc.h>.
21965         * sysdeps/powerpc/soft-fp/sfp-machine.h
21966         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21967         and <sys/prctl.h>.
21968         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21981         Allow copysignl PLT reference to be missing.
21983 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21984             Joseph Myers  <joseph@codesourcery.com
21986         [BZ #15948]
21987         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21988         single character.
21989         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21991 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21993         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21994         * elf/tst-tls1.c: Likewise.
21995         * elf/tst-tls10.h: Likewise.
21996         * elf/tst-tls14.c: Likewise.
21997         * elf/tst-tls2.c: Likewise.
21998         * elf/tst-tls3.c: Likewise.
21999         * elf/tst-tls4.c: Likewise.
22000         * elf/tst-tls5.c: Likewise.
22001         * elf/tst-tls6.c: Likewise.
22002         * elf/tst-tls7.c: Likewise.
22003         * elf/tst-tls8.c: Likewise.
22004         * elf/tst-tls9.c: Likewise.
22005         * elf/tst-tlsmod1.c: Likewise.
22006         * elf/tst-tlsmod13.c: Likewise.
22007         * elf/tst-tlsmod13a.c: Likewise.
22008         * elf/tst-tlsmod14a.c: Likewise.
22009         * elf/tst-tlsmod16a.c: Likewise.
22010         * elf/tst-tlsmod16b.c: Likewise.
22011         * elf/tst-tlsmod2.c: Likewise.
22012         * elf/tst-tlsmod3.c: Likewise.
22013         * elf/tst-tlsmod4.c: Likewise.
22014         * elf/tst-tlsmod5.c: Likewise.
22015         * elf/tst-tlsmod6.c: Likewise.
22017 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22019         [BZ #12486]
22020         * malloc/malloc.c: remove checks for statistics.
22022 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22024         [BZ #15277]
22025         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22026         * inet/tst-network.c: Add testcase.
22028 2013-10-17  Andreas Schwab  <schwab@suse.de>
22030         [BZ #15218]
22031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22032         to determine canonical name.
22034 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22036         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22037         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22039         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22042         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22045         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22048         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22049         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22050         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22051         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22053         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22054         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22055         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22056         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22058         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22059         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22060         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22061         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22062         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22063         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22064         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22065         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22066         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22067         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22068         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22069         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22070         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22071         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22072         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22073         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22074         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22075         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22076         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22077         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22078         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22079         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22080         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22081         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22082         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22083         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22084         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22085         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22086         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22087         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22089         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22090         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22091         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22093         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22095 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22097         [BZ #16041]
22098         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22099         make result into a quiet NaN.
22101 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22103         * soft-fp/adddf3.c: Fix horizontal whitespace.
22104         * soft-fp/addsf3.c: Likewise.
22105         * soft-fp/addtf3.c: Likewise.
22106         * soft-fp/divdf3.c: Likewise.
22107         * soft-fp/divsf3.c: Likewise.
22108         * soft-fp/divtf3.c: Likewise.
22109         * soft-fp/double.h: Likewise.
22110         * soft-fp/eqdf2.c: Likewise.
22111         * soft-fp/eqsf2.c: Likewise.
22112         * soft-fp/eqtf2.c: Likewise.
22113         * soft-fp/extenddftf2.c: Likewise.
22114         * soft-fp/extended.h: Likewise.
22115         * soft-fp/extendsfdf2.c: Likewise.
22116         * soft-fp/extendsftf2.c: Likewise.
22117         * soft-fp/extendxftf2.c: Likewise.
22118         * soft-fp/fixdfdi.c: Likewise.
22119         * soft-fp/fixdfsi.c: Likewise.
22120         * soft-fp/fixdfti.c: Likewise.
22121         * soft-fp/fixsfdi.c: Likewise.
22122         * soft-fp/fixsfsi.c: Likewise.
22123         * soft-fp/fixsfti.c: Likewise.
22124         * soft-fp/fixtfdi.c: Likewise.
22125         * soft-fp/fixtfsi.c: Likewise.
22126         * soft-fp/fixtfti.c: Likewise.
22127         * soft-fp/fixunsdfdi.c: Likewise.
22128         * soft-fp/fixunsdfsi.c: Likewise.
22129         * soft-fp/fixunsdfti.c: Likewise.
22130         * soft-fp/fixunssfdi.c: Likewise.
22131         * soft-fp/fixunssfsi.c: Likewise.
22132         * soft-fp/fixunssfti.c: Likewise.
22133         * soft-fp/fixunstfdi.c: Likewise.
22134         * soft-fp/fixunstfsi.c: Likewise.
22135         * soft-fp/fixunstfti.c: Likewise.
22136         * soft-fp/floatdidf.c: Likewise.
22137         * soft-fp/floatdisf.c: Likewise.
22138         * soft-fp/floatditf.c: Likewise.
22139         * soft-fp/floatsidf.c: Likewise.
22140         * soft-fp/floatsisf.c: Likewise.
22141         * soft-fp/floatsitf.c: Likewise.
22142         * soft-fp/floattidf.c: Likewise.
22143         * soft-fp/floattisf.c: Likewise.
22144         * soft-fp/floattitf.c: Likewise.
22145         * soft-fp/floatundidf.c: Likewise.
22146         * soft-fp/floatundisf.c: Likewise.
22147         * soft-fp/floatunditf.c: Likewise.
22148         * soft-fp/floatunsidf.c: Likewise.
22149         * soft-fp/floatunsisf.c: Likewise.
22150         * soft-fp/floatunsitf.c: Likewise.
22151         * soft-fp/floatuntidf.c: Likewise.
22152         * soft-fp/floatuntisf.c: Likewise.
22153         * soft-fp/floatuntitf.c: Likewise.
22154         * soft-fp/fmadf4.c: Likewise.
22155         * soft-fp/fmasf4.c: Likewise.
22156         * soft-fp/fmatf4.c: Likewise.
22157         * soft-fp/gedf2.c: Likewise.
22158         * soft-fp/gesf2.c: Likewise.
22159         * soft-fp/getf2.c: Likewise.
22160         * soft-fp/ledf2.c: Likewise.
22161         * soft-fp/lesf2.c: Likewise.
22162         * soft-fp/letf2.c: Likewise.
22163         * soft-fp/muldf3.c: Likewise.
22164         * soft-fp/mulsf3.c: Likewise.
22165         * soft-fp/multf3.c: Likewise.
22166         * soft-fp/negdf2.c: Likewise.
22167         * soft-fp/negsf2.c: Likewise.
22168         * soft-fp/negtf2.c: Likewise.
22169         * soft-fp/op-1.h: Likewise.
22170         * soft-fp/op-2.h: Likewise.
22171         * soft-fp/op-4.h: Likewise.
22172         * soft-fp/op-8.h: Likewise.
22173         * soft-fp/op-common.h: Likewise.
22174         * soft-fp/quad.h: Likewise.
22175         * soft-fp/single.h: Likewise.
22176         * soft-fp/soft-fp.h: Likewise.
22177         * soft-fp/sqrtdf2.c: Likewise.
22178         * soft-fp/sqrtsf2.c: Likewise.
22179         * soft-fp/sqrttf2.c: Likewise.
22180         * soft-fp/subdf3.c: Likewise.
22181         * soft-fp/subsf3.c: Likewise.
22182         * soft-fp/subtf3.c: Likewise.
22183         * soft-fp/truncdfsf2.c: Likewise.
22184         * soft-fp/trunctfdf2.c: Likewise.
22185         * soft-fp/trunctfsf2.c: Likewise.
22186         * soft-fp/trunctfxf2.c: Likewise.
22187         * soft-fp/unorddf2.c: Likewise.
22188         * soft-fp/unordsf2.c: Likewise.
22189         * soft-fp/unordtf2.c: Likewise.
22191 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22193         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22194         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22196 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22198         * elf/dl-libc.c: Clear initfini list after freeing.
22200 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22202         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22203         * soft-fp/addsf3.c: Likewise.
22204         * soft-fp/addtf3.c: Likewise.
22205         * soft-fp/divdf3.c: Likewise.
22206         * soft-fp/divsf3.c: Likewise.
22207         * soft-fp/divtf3.c: Likewise.
22208         * soft-fp/double.h: Likewise.
22209         * soft-fp/eqdf2.c: Likewise.
22210         * soft-fp/eqsf2.c: Likewise.
22211         * soft-fp/eqtf2.c: Likewise.
22212         * soft-fp/extenddftf2.c: Likewise.
22213         * soft-fp/extended.h: Likewise.
22214         * soft-fp/extendsfdf2.c: Likewise.
22215         * soft-fp/extendsftf2.c: Likewise.
22216         * soft-fp/extendxftf2.c: Likewise.
22217         * soft-fp/fixdfdi.c: Likewise.
22218         * soft-fp/fixdfsi.c: Likewise.
22219         * soft-fp/fixdfti.c: Likewise.
22220         * soft-fp/fixsfdi.c: Likewise.
22221         * soft-fp/fixsfsi.c: Likewise.
22222         * soft-fp/fixsfti.c: Likewise.
22223         * soft-fp/fixtfdi.c: Likewise.
22224         * soft-fp/fixtfsi.c: Likewise.
22225         * soft-fp/fixtfti.c: Likewise.
22226         * soft-fp/fixunsdfdi.c: Likewise.
22227         * soft-fp/fixunsdfsi.c: Likewise.
22228         * soft-fp/fixunsdfti.c: Likewise.
22229         * soft-fp/fixunssfdi.c: Likewise.
22230         * soft-fp/fixunssfsi.c: Likewise.
22231         * soft-fp/fixunssfti.c: Likewise.
22232         * soft-fp/fixunstfdi.c: Likewise.
22233         * soft-fp/fixunstfsi.c: Likewise.
22234         * soft-fp/fixunstfti.c: Likewise.
22235         * soft-fp/floatdidf.c: Likewise.
22236         * soft-fp/floatdisf.c: Likewise.
22237         * soft-fp/floatditf.c: Likewise.
22238         * soft-fp/floatsidf.c: Likewise.
22239         * soft-fp/floatsisf.c: Likewise.
22240         * soft-fp/floatsitf.c: Likewise.
22241         * soft-fp/floattidf.c: Likewise.
22242         * soft-fp/floattisf.c: Likewise.
22243         * soft-fp/floattitf.c: Likewise.
22244         * soft-fp/floatundidf.c: Likewise.
22245         * soft-fp/floatundisf.c: Likewise.
22246         * soft-fp/floatunsidf.c: Likewise.
22247         * soft-fp/floatunsisf.c: Likewise.
22248         * soft-fp/floatuntidf.c: Likewise.
22249         * soft-fp/floatuntisf.c: Likewise.
22250         * soft-fp/floatuntitf.c: Likewise.
22251         * soft-fp/fmadf4.c: Likewise.
22252         * soft-fp/fmasf4.c: Likewise.
22253         * soft-fp/fmatf4.c: Likewise.
22254         * soft-fp/gedf2.c: Likewise.
22255         * soft-fp/gesf2.c: Likewise.
22256         * soft-fp/getf2.c: Likewise.
22257         * soft-fp/ledf2.c: Likewise.
22258         * soft-fp/lesf2.c: Likewise.
22259         * soft-fp/letf2.c: Likewise.
22260         * soft-fp/muldf3.c: Likewise.
22261         * soft-fp/mulsf3.c: Likewise.
22262         * soft-fp/multf3.c: Likewise.
22263         * soft-fp/negdf2.c: Likewise.
22264         * soft-fp/negsf2.c: Likewise.
22265         * soft-fp/negtf2.c: Likewise.
22266         * soft-fp/op-1.h: Likewise.
22267         * soft-fp/op-2.h: Likewise.
22268         * soft-fp/op-4.h: Likewise.
22269         * soft-fp/op-8.h: Likewise.
22270         * soft-fp/op-common.h: Likewise.
22271         * soft-fp/quad.h: Likewise.
22272         * soft-fp/single.h: Likewise.
22273         * soft-fp/soft-fp.h: Likewise.
22274         * soft-fp/sqrtdf2.c: Likewise.
22275         * soft-fp/sqrtsf2.c: Likewise.
22276         * soft-fp/sqrttf2.c: Likewise.
22277         * soft-fp/subdf3.c: Likewise.
22278         * soft-fp/subsf3.c: Likewise.
22279         * soft-fp/subtf3.c: Likewise.
22280         * soft-fp/truncdfsf2.c: Likewise.
22281         * soft-fp/trunctfdf2.c: Likewise.
22282         * soft-fp/trunctfsf2.c: Likewise.
22283         * soft-fp/trunctfxf2.c: Likewise.
22284         * soft-fp/unorddf2.c: Likewise.
22285         * soft-fp/unordsf2.c: Likewise.
22286         * soft-fp/unordtf2.c: Likewise.
22288 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22290         [BZ #15672]
22291         * misc/error.c (error_tail): Fix possible buffer overflow.
22293 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22295         [BZ #13028]
22296         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22297         address.
22299 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22301         [BZ #832]
22302         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22303         testing pipefail option.
22305 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22307         * soft-fp/double.h: Indent preprocessor directives inside #if.
22308         * soft-fp/extended.h: Likewise.
22309         * soft-fp/op-2.h: Likewise.
22310         * soft-fp/op-4.h: Likewise.
22311         * soft-fp/op-common.h: Likewise.
22312         * soft-fp/quad.h: Likewise.
22313         * soft-fp/single.h: Likewise.
22314         * soft-fp/soft-fp.h: Likewise.
22316 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22318         * iconv/iconv_prog.c: Fix typos.
22319         * stdio-common/psiginfo-data.h: Likewise.
22321 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22323         [BZ #15764]
22324         * locale/setlocale.c: Fix typo.
22326 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22328         [BZ #16036]
22329         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22330         signaling NaN arguments.
22331         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22332         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22334         [BZ #14910]
22335         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22336         unordered operands.
22337         * soft-fp/gesf2.c (__gesf2): Likewise.
22338         * soft-fp/getf2.c (__getf2): Likewise.
22339         * soft-fp/ledf2.c (__ledf2): Likewise.
22340         * soft-fp/lesf2.c (__lesf2): Likewise.
22341         * soft-fp/letf2.c (__letf2): Likewise.
22343         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22344         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22345         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22346         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22347         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22348         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22349         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22350         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22351         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22352         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22353         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22354         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22355         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22356         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22357         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22358         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22359         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22360         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22361         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22362         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22363         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22364         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22365         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22366         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22367         * soft-fp/floattidf.c (__floattidf): Likewise.
22368         * soft-fp/floattisf.c (__floattisf): Likewise.
22369         * soft-fp/floattitf.c (__floattitf): Likewise.
22370         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22371         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22372         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22373         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22374         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22375         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22376         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22377         * soft-fp/gesf2.c (__gesf2): Likewise.
22378         * soft-fp/getf2.c (__getf2): Likewise.
22379         * soft-fp/ledf2.c (__ledf2): Likewise.
22380         * soft-fp/lesf2.c (__lesf2): Likewise.
22381         * soft-fp/letf2.c (__letf2): Likewise.
22383         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22384         Undefine and redefine.
22385         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22386         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22387         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22388         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22389         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22390         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22391         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22392         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22393         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22394         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22395         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22396         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22397         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22398         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22399         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22401         [BZ #16032]
22402         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22403         without decrementing exponent if mantissa >= that for the
22404         denominator, not >.
22405         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22406         denominator, not >.  Decrement exponent in < case instead of
22407         incrementing in >= case.
22408         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22409         without decrementing exponent if mantissa >= that for the
22410         denominator, not >.
22412         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22413         computing saturated result for unsigned overflow.
22415 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22416             Jeff Law  <law@redhat.com>
22418         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22419         (atan2Mp): Add systemtap probe marker.
22420         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22421         (__ieee754_log): Add systemtap probe marker.
22422         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22423         (atanMp): Add systemtap probe marker.
22424         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22425         (tanMp): Add systemtap probe marker.
22426         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22427         (__slowexp): Add systemtap probe marker.
22428         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22429         (__slowpow): Add systemtap probe marker.
22430         * manual/probes.texi: Document probes.
22432 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22434         [BZ #15362]
22435         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22436         written.
22437         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22438         written.
22439         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22440         written to buffer but not flushed.
22441         * libio/iofwrite_u.c:  Likewise.
22442         * libio/iopadn.c:  Return bytes returned even if EOF was
22443         encountered.
22444         * libio/iowpadn.c:  Likewise.
22445         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22446         if _IO_padn does not write the whole buffer.
22447         [!COMPILE_WPRINTF] (PAD): Likewise.
22449 2013-10-10  David S. Miller  <davem@davemloft.net>
22451         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22452         directory block.
22454 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22456         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22457         instead of FSF address.
22458         * soft-fp/fixdfti.c: Likewise.
22459         * soft-fp/fixsfti.c: Likewise.
22460         * soft-fp/fixtfti.c: Likewise.
22461         * soft-fp/fixunsdfti.c: Likewise.
22462         * soft-fp/fixunssfti.c: Likewise.
22463         * soft-fp/fixunstfti.c: Likewise.
22464         * soft-fp/floattidf.c: Likewise.
22465         * soft-fp/floattisf.c: Likewise.
22466         * soft-fp/floattitf.c: Likewise.
22467         * soft-fp/floatuntidf.c: Likewise.
22468         * soft-fp/floatuntisf.c: Likewise.
22469         * soft-fp/floatuntitf.c: Likewise.
22470         * soft-fp/trunctfxf2.c: Likewise.
22472         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22473         * soft-fp/fixdfti.c: Likewise.
22474         * soft-fp/fixsfti.c: Likewise.
22475         * soft-fp/fixtfti.c: Likewise.
22476         * soft-fp/fixunsdfti.c: Likewise.
22477         * soft-fp/fixunssfti.c: Likewise.
22478         * soft-fp/fixunstfti.c: Likewise.
22479         * soft-fp/floattidf.c: Likewise.
22480         * soft-fp/floattisf.c: Likewise.
22481         * soft-fp/floattitf.c: Likewise.
22482         * soft-fp/floatuntidf.c: Likewise.
22483         * soft-fp/floatuntisf.c: Likewise.
22484         * soft-fp/floatuntitf.c: Likewise.
22485         * soft-fp/trunctfxf2.c: Likewise.
22487 2013-10-10  David S. Miller  <davem@davemloft.net>
22489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22491 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22493         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22494         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22495         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22496         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22497         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22498         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22499         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22502         for NaNs before doing comparisons on argument.
22503         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22504         Likewise.
22506 2013-10-10  Will Newton  <will.newton@linaro.org>
22508         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22509         passed to _int_memalign does not overflow.
22511 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22513         * scripts/bench.pl: Add include-sources directive.
22514         * benchtests/README: Update documentation.
22516 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22518         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22519         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22520         instead of FP_INIT_ROUNDMODE.
22521         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22522         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22524         [BZ #16034]
22525         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22526         copy class of input value.
22527         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22528         not handle exceptions.
22529         * soft-fp/negsf2.c (__negsf2): Likewise.
22530         * soft-fp/negtf2.c (__negtf2): Likewise.
22531         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22533 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22535         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22536         semicolon.  From Linux kernel.
22538 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22540         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22542 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22544         [BZ #156]
22545         * manual/socket.texi: Added statement about buffer
22546         for gethostbyname2_r.
22548 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22550         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22551         Use .p2align directive instead, throughout.
22552         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22553         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22554         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22555         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22556         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22557         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22558         * sysdeps/x86_64/strchr.S: Likewise.
22559         * sysdeps/x86_64/strrchr.S: Likewise.
22561 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22563         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22565         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22567         * sysdeps/generic/math_private.h (__mpsin1): Remove
22568         declaration.
22569         (__mpcos1): Likewise.
22570         (__mpsin): New argument __range_reduce.
22571         (__mpcos): Likewise.
22572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22573         (slow): Use __mpsin and __mpcos.
22574         (slow1): Likewise.
22575         (slow2): Likewise.
22576         (sloww): Likewise.
22577         (sloww1): Likewise.
22578         (sloww2): Likewise.
22579         (bsloww): Likewise.
22580         (bsloww1): Likewise.
22581         (bsloww2): Likewise.
22582         (cslow2): Likewise.
22583         (csloww): Likewise.
22584         (csloww1): Likewise.
22585         (csloww2): Likewise.
22586         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22587         range_reduce.  Merge in __mpsin1.
22588         (__mpcos): Likewise.
22589         (__mpsin1): Remove.
22590         (__mpcos1): Likewise.
22592 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22594         * locale/loadlocale.c (_nl_intern_locale_data): Use
22595         LOCFILE_ALIGNED_P.
22596         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22597         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22598         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22599         obstack data is appropriately aligned.
22600         (obstack_int32_grow_fast): Likewise.
22601         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22602         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22603         (add_locale_uint32_array): Likewise.
22605 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22607         * benchtests/Makefile: Remove ARGLIST and RET variables.
22608         ($(objpfx)bench-%.c): Pass only function name to the script.
22609         * benchtests/README: Update documentation.
22610         * benchtests/acos-inputs: Add new directives.
22611         * benchtests/acosh-inputs: Likewise.
22612         * benchtests/asin-inputs: Likewise.
22613         * benchtests/asinh-inputs: Likewise.
22614         * benchtests/atan-inputs: Likewise.
22615         * benchtests/atanh-inputs: Likewise.
22616         * benchtests/cos-inputs: Likewise.
22617         * benchtests/cosh-inputs: Likewise.
22618         * benchtests/exp-inputs: Likewise.
22619         * benchtests/log-inputs: Likewise.
22620         * benchtests/pow-inputs: Likewise.
22621         * benchtests/rint-inputs: Likewise.
22622         * benchtests/sin-inputs: Likewise.
22623         * benchtests/sinh-inputs: Likewise.
22624         * benchtests/tan-inputs: Likewise.
22625         * benchtests/tanh-inputs: Likewise.
22626         * scripts/bench.pl: Add support for new directives.
22628 2013-10-07  Alan Modra  <amodra@gmail.com>
22630         * README: Fix careless merge.
22632 2013-10-05  Alan Modra  <amodra@gmail.com>
22634         * NEWS: Mention powerpc64le support and bugs fixed.
22635         * README: Both big-endian and little-endian powerpc64 supported.
22637 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22639         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22640         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22641         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22642         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22644 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22646         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22647         match prototype.
22649 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22651         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22652         Move -mhard-float appending from
22653         ports/sysdeps/powerpc/powerpc32/Makefile.
22654         [$(with-fp) = yes] (ASFLAGS): Likewise.
22655         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22656         * sysdeps/powerpc/nofpu: Move directory from
22657         ports/sysdeps/powerpc/nofpu.
22658         * sysdeps/powerpc/soft-fp: Move directory from
22659         ports/sysdeps/powerpc/soft-fp.
22660         * sysdeps/powerpc/powerpc32/405: Move directory from
22661         ports/sysdeps/powerpc/powerpc32/405.
22662         * sysdeps/powerpc/powerpc32/440: Move directory from
22663         ports/sysdeps/powerpc/powerpc32/440.
22664         * sysdeps/powerpc/powerpc32/464: Move directory from
22665         ports/sysdeps/powerpc/powerpc32/464.
22666         * sysdeps/powerpc/powerpc32/476: Move directory from
22667         ports/sysdeps/powerpc/powerpc32/476.
22668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22669         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22671         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22673         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22675         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22677         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22678         * README: Update for powerpc-*-linux-gnu software floating point
22679         support in libc.
22681         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22682         case to powerpc/powerpc32*.
22683         * sysdeps/unix/sysv/linux/configure: Regenerated.
22685         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22686         (_FPU_MASK_OM): Define as 0x04.
22687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22689         0x00c10080.
22690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22691         0x0000003c.
22692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22695         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22696         getcontext_e500.
22697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22698         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22699         setcontext_e500.
22700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22701         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22702         and setcontext_e500.
22704 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22706         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22708 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22710         * manual/threads.texi (Default Thread Attributes): Fix typo.
22712 2013-10-04  Will Newton  <will.newton@linaro.org>
22714         * malloc/Makefile: Add tst-memalign.
22715         * malloc/tst-memalign.c: New file.
22717         * malloc/tst-posix_memalign.c: Add comments.
22718         (do_test): Add comments and call free on all potentially
22719         allocated pointers. Add space after cast.
22721         * malloc/tst-pvalloc.c: Add comments.
22722         (do_test): Add comments and call free on all potentially
22723         allocated pointers. Remove duplicate check for NULL pointer.
22724         Add space after cast.
22726         * malloc/tst-valloc.c: Add comments.
22727         (do_test): Add comments and call free on all potentially
22728         allocated pointers. Remove duplicate check for NULL pointer.
22729         Add space after cast.
22731 2013-10-04  Alan Modra  <amodra@gmail.com>
22733         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22734         Use stdint types in rather than __attribute__((mode())).
22735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22737 2013-10-04  Alan Modra  <amodra@gmail.com>
22739         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22740         Correct handling of unaligned relocs for little-endian.
22741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22743 2013-10-04  Alan Modra  <amodra@gmail.com>
22745         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22746         * configure: Regenerate.
22747         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22748         * shlib-versions: Likewise.
22750 2013-10-04  Alan Modra  <amodra@gmail.com>
22752         * string/tester.c (test_memrchr): Increment reported test cycle.
22754 2013-10-04  Alan Modra  <amodra@gmail.com>
22756         * string/test-memcpy.c (do_one_test): When reporting errors, print
22757         string address and don't overrun end of string.
22759 2013-10-04  Alan Modra  <amodra@gmail.com>
22761         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22762         insrdi.  Make better use of reg selection to speed exit slightly.
22763         Schedule entry path a little better.  Remove useless "are we done"
22764         checks on entry to main loop.  Handle wrapping around zero address.
22765         Correct main loop count.  Handle single left-over word from main
22766         loop inline rather than by using loop_small.  Remove extra word
22767         case in loop_small caused by wrong loop count.  Add little-endian
22768         support.
22769         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22770         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22771         cache hint.
22772         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22773         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22774         support.  Avoid rlwimi.
22775         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22777 2013-10-04  Alan Modra  <amodra@gmail.com>
22779         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22780         insrdi.  Formatting.
22781         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22782         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22783         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22784         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22785         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22786         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22788 2013-10-04  Alan Modra  <amodra@gmail.com>
22790         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22792         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22793         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22794         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22795         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22796         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22797         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22798         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22799         use of regs.  Use power7 mtocrf.  Tidy function tails.
22801 2013-10-04  Alan Modra  <amodra@gmail.com>
22803         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22804         Formatting.  Consistently use rXXX register defines or rN defines.
22805         Use early exit labels that avoid restoring unused non-volatile regs.
22806         Make cr field use more consistent with rWORDn compares.  Rename
22807         regs used as shift registers for unaligned loop, using rN defines
22808         for short lifetime/multiple use regs.
22809         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22810         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22811         addi 1,1,64 to pop stack frame.  Simplify return value code.
22812         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22814 2013-10-04  Alan Modra  <amodra@gmail.com>
22816         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22817         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22818         rather than rlwimi.
22819         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22820         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22821         little-endian support.  Correct typos.
22822         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22823         rather than rlwimi.
22824         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22825         in loop and entry code to keep "and." results.
22826         (strchr): Add little-endian support.  Comment.  Move cntlzd
22827         earlier in tail.
22828         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22830 2013-10-04  Alan Modra  <amodra@gmail.com>
22832         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22833         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22834         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22835         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22837 2013-10-04  Alan Modra  <amodra@gmail.com>
22839         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22840         (rTMP): Define as r11.
22841         (strcmp): Add little-endian support.  Optimise tail.
22842         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22843         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22844         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22845         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22846         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22847         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22850 2013-10-04  Alan Modra  <amodra@gmail.com>
22852         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22853         little-endian support.  Remove unnecessary "are we done" tests.
22854         Handle "s" wrapping around zero and extremely large "size".
22855         Correct main loop count.  Handle single left-over word from main
22856         loop inline rather than by using small_loop.  Correct comments.
22857         Delete "zero" tail, use "end_max" instead.
22858         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22860 2013-10-04  Alan Modra  <amodra@gmail.com>
22862         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22863         support.  Don't branch over align.
22864         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22865         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22866         support.  Rearrange tmp reg use to suit.  Comment.
22867         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22869 2013-10-04  Alan Modra  <amodra@gmail.com>
22871         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22873 2013-10-04  Alan Modra  <amodra@gmail.com>
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22876         conditional form of branch and link when obtaining pc.
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22879 2013-10-04  Alan Modra  <amodra@gmail.com>
22881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22882         HIWORD/LOWORD.
22883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22886 2013-10-04  Alan Modra  <amodra@gmail.com>
22888         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22889         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22890         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22891         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22892         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22893         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22894         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22895         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22896         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22897         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22899 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22900             Alistair Popple <alistair@ozlabs.au.ibm.com>
22901             Alan Modra <amodra@gmail.com>
22903         [BZ #15723]
22904         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22905         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22906         _dl_hwcap access for little-endian.
22907         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22908         destroy vmx regs when saving unaligned.
22909         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22910         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22911         destroy vmx regs when saving unaligned.
22913 2013-10-04  Alan Modra  <amodra@gmail.com>
22915         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22916         Don't use a union to pack hi/low value.
22918 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22920         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22921         for little-endian.
22922         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22923         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22924         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22925         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22926         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22928 2013-10-04  Alan Modra  <amodra@gmail.com>
22930         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22931         constants to usual value for .cst8 section, and remove redundant
22932         high address load.
22933         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22934         constant for 0x1p52.  Load little-endian words of double from
22935         correct stack offsets.
22937 2013-10-04  Alan Modra  <amodra@gmail.com>
22939         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22940         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22941         words of double from correct stack offsets.
22942         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22943         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22944         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22945         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22946         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22947         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22948         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22949         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22950         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22951         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22952         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22953         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22954         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22955         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22956         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22957         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22958         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22960 2013-10-04  Alan Modra  <amodra@gmail.com>
22962         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22963         64-bit int/double union.
22964         (_FPU_SETCW): Likewise.
22965         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22966         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22968 2013-10-04  Alan Modra  <amodra@gmail.com>
22970         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22971         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22973 2013-10-04  Alan Modra  <amodra@gmail.com>
22975         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22976         use vector int constants.
22977         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22979 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22981         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22982         array with long long.
22983         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22984         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22985         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22986         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22987         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22988         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22989         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22990         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22991         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22992         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22993         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22994         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22995         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22997 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22999         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23000         (__signbit): Likewise.  Correct for little-endian.
23001         (__signbitl): Call __signbit.
23002         (lrint): Correct for little-endian.
23003         (lrintf): Call lrint.
23005 2013-10-04  Alan Modra  <amodra@gmail.com>
23007         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23008         union 32-bit int array member with 64-bit int array.
23009         (t515, tm256): Double rather than long double.
23010         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23012 2013-10-04  Alan Modra  <amodra@gmail.com>
23014         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23015         Delete.
23016         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23017         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23018         version of math_ldbl.h.
23020 2013-10-04  Alan Modra  <amodra@gmail.com>
23022         [BZ #15734], [BZ #15735]
23023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23024         all uses of ieee875 long double macros and unions.  Simplify test
23025         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23026         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23027         normalize after ldbl_extract_mantissa, and don't add hidden bit
23028         already handled.  Don't treat low word of ieee854 mantissa like
23029         low word of IBM long double and mask off bit when testing for
23030         zero.
23031         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23032         all uses of ieee875 long double macros and unions.  Simplify tests
23033         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23034         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23035         two1022, instead use their values.  Recognise that tests for large
23036         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23037         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23038         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23039         test for 0.0L and nan.  Correct negation.
23040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23041         ieee875 long double macros and unions.  Correct output for large
23042         magnitude x.  Correct absolute value calculation.
23043         (__erfcl): Likewise.
23044         * math/libm-test.inc: Add tests for errors discovered in IBM long
23045         double versions of fmodl, remainderl, erfl and erfcl.
23047 2013-10-04  Alan Modra  <amodra@gmail.com>
23049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23050         all uses of ieee854 long double macros and unions.  Simplify tests
23051         for long doubles that are fully specified by the high double.
23052         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23053         Likewise.
23054         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23055         Remove dead code too.
23056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23057         (__ieee754_ynl): Likewise.
23058         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23061         Remove dead code too.
23062         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23063         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23064         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23065         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23066         Simplify.
23067         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23068         Simplify.
23069         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23070         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23071         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23072         Comment on variable precision.
23073         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23074         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23075         Likewise.
23076         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23077         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23078         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23079         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23080         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23082 2013-10-04  Alan Modra  <amodra@gmail.com>
23084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23085         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23086         all uses of ieee854 long double macros and unions.
23087         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23088         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23089         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23091         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23093         Likewise.
23094         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23095         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23096         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23097         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23098         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23099         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23100         Simplify sign and nan test too.
23101         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23102         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23103         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23104         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23105         Likewise.
23106         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23107         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23108         Likewise.
23109         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23110         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23111         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23112         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23113         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23114         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23116 2013-10-04  Alan Modra  <amodra@gmail.com>
23118         * stdio-common/printf_size.c (__printf_size): Don't use
23119         union ieee854_long_double in fpnum union.
23120         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23121         signbit macro to retrieve sign from long double.
23122         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23123         retrieve sign from long double.
23124         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23125         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23126         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23127         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23128         * math/test-misc.c (main): Don't use union ieee854_long_double.
23130 2013-10-04  Alan Modra  <amodra@gmail.com>
23132         [BZ #15680]
23133         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23134         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23135         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23136         calculation.  Remove unnecessary test for denormal exponent.
23137         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23138         Correct handling of denormals.  Avoid undefined shift behaviour.
23139         Correct normalisation of low mantissa when low double is denormal.
23140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23141         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23142         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23143         Correct normalisation of low mantissa.  Test for overflow of high
23144         mantissa and normalise.
23145         (ldbl_nearbyint): Use more readable constant for two52.
23146         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23147         (__mpn_construct_long_double): Fix test for overflow of high
23148         mantissa and correct normalisation.  Avoid undefined shift.
23150 2013-10-04  Alan Modra  <amodra@gmail.com>
23152         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23153         (union ibm_extended_long_double): Define as an array of ieee754_double.
23154         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23155         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23156         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23157         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23159         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23161         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23162         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23163         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23164         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23166 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23168         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23169         page size instead of calling getpagesize.
23171         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23172         (LOCFILE_ALIGN_MASK): Likewise.
23173         (LOCFILE_ALIGN_UP): Likewise.
23174         (LOCFILE_ALIGNED_P): Likewise.
23175         * locale/programs/ld-collate.c (collate_output): Use the new
23176         macros instead of __alignof__ (int32_t).
23177         * locale/weight.h (findidx): Likewise.
23179 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23181         [BZ #431]
23182         * manual/string.texi: Fix strncat and wcsncat.
23184 2013-10-03  Brooks Moses  <bmoses@google.com>
23186         [BZ #15915]
23187         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23188         * Makerules: ...here, and adjust associated comments.
23190 2013-10-02  Will Newton  <will.newton@linaro.org>
23192         * malloc/Makefile: Add tst-pvalloc.
23193         * malloc/tst-pvalloc.c: New file.
23195 2013-10-02  Will Newton  <will.newton@linaro.org>
23197         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23198         improve test coverage.
23200 2013-10-02  Will Newton  <will.newton@linaro.org>
23202         * malloc/Makefile: Add tst-posix_memalign.
23203         * malloc/tst-posix_memalign.c: New file.
23205 2013-10-01  Eric Blake  <eblake@redhat.com>
23207         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23208         Use __THROWNL rather than __THROW on static functions.
23210 2013-09-30  Petr Machata  <pmachata@redhat.com>
23212         * elf/elf.h (R_AARCH64_ABS16): New macro.
23213         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23214         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23215         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23216         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23217         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23218         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23219         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23220         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23221         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23222         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23223         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23224         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23225         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23226         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23227         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23228         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23229         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23230         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23231         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23232         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23233         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23234         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23235         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23236         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23237         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23238         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23239         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23240         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23241         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23242         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23243         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23244         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23245         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23246         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23247         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23248         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23249         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23250         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23251         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23252         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23253         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23254         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23255         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23256         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23257         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23258         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23259         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23260         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23261         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23262         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23263         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23264         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23265         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23266         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23267         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23268         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23269         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23270         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23271         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23272         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23273         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23274         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23275         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23276         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23277         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23278         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23279         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23280         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23281         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23282         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23283         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23284         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23285         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23286         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23287         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23288         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23289         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23290         (R_AARCH64_TLSDESC_LDR): Likewise.
23291         (R_AARCH64_TLSDESC_ADD): Likewise.
23292         (R_AARCH64_TLSDESC_CALL): Likewise.
23294 2013-09-30  Andreas Schwab  <schwab@suse.de>
23296         [BZ #15048]
23297         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23298         the nss database lookup.
23299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23302 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23304         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23306 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23308         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23309         ${Bash-specific parameter/pattern/string} parameter expansion.
23310         * sysdeps/unix/make-syscalls.sh: Likewise.
23312 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23314         * sysdeps/sh/stackguard-macros.h: New file.
23316 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23320         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23321         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23322         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23323         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23325 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23327         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23328         Fix thread ID register.
23330 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23332         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23333         [POSIX || UNIX98]: Require rather than permitting all symbols from
23334         <time.h>.
23335         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23336         element of struct sched_param.
23337         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23338         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23339         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23340         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23341         constant.
23343 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23345         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23346         argument calculation.
23348 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23350         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23351         Expect macro.
23352         [POSIX] (pthread_attr_t): Do not require type.
23353         [POSIX] (pthread_cond_t): Likewise.
23354         [POSIX] (pthread_condattr_t): Likewise.
23355         [POSIX] (pthread_key_t): Likewise.
23356         [POSIX] (pthread_mutex_t): Likewise.
23357         [POSIX] (pthread_mutexattr_t): Likewise.
23358         [POSIX] (pthread_once_t): Likewise.
23359         [POSIX] (pthread_t): Likewise.
23360         [POSIX-based standards] (pthread_atfork): Expect function.
23362 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23363             Richard Sandiford  <richard@codesourcery.com>
23365         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23366         (swap_endianness_p): New extern variable.
23367         (set_big_endian): New inline function.
23368         (maybe_swap_uint32): Likewise.
23369         (maybe_swap_uint32_array): Likewise.
23370         (maybe_swap_uint32_obstack): Likewise.
23371         * locale/programs/locfile.c: Include <stdbool.h>.
23372         (swap_endianness_p): New variable.
23373         (add_locale_uint32): Call maybe_swap_uint32.
23374         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23375         (write_locale_data): Call maybe_swap_uint32_array.
23376         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23377         maybe_swap_uint32.
23378         (obstack_int32_grow_fast): Likewise.
23379         (output_weightwc): Call maybe_swap_uint32_obstack.
23380         (collate_output): Likewise.
23381         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23382         (OPT_LITTLE_ENDIAN): Likewise.
23383         (options): Add --little-endian and --big-endian options.
23384         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23385         * locale/programs/locarchive.c: Include "locfile.h".
23386         (GET): New macro.
23387         (SET): Likewise.
23388         (INC): Likewise.
23389         (create_archive): Use the new macros to access fields of
23390         structures directly mapped from or written to locale archives.
23391         (oldlocrecentcmp): Likewise.
23392         (enlarge_archive): Likewise.
23393         (insert_name): Likewise.
23394         (add_alias): Likewise.
23395         (add_locale): Likewise.
23396         (delete_locales_from_archive): Likewise.
23397         (show_archive_content): Likewise.
23398         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23399         locale data.
23401 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23403         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23404         http://www.gnu.org/doc/freemanuals.texi.
23405         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23407 2013-09-24  Will Newton  <will.newton@linaro.org>
23409         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23410         macro.
23412 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23414         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23415         unsigned char.
23417 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23419         * manual/threads.texi (POSIX Threads): Fix a typo.
23421 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23423         [BZ #14547]
23424         * string/tst-strcoll-overflow.c: New test case.
23425         * string/Makefile (xtests): Add tst-strcoll-overflow.
23426         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23427         cache if string sizes may cause integer overflow.
23429         [BZ #14547]
23430         * string/strcoll_l.c (coll_seq): New members rule, idx,
23431         save_idx and back_us.
23432         (get_next_seq_nocache): New function.
23433         (do_compare_nocache): New function.
23434         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23435         when malloc fails.
23437 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23439         [BZ #15754]
23440         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23441         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23442         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23444         [BZ #15754]
23445         * elf/Makefile (tests): Add tst-ptrguard1.
23446         (tests-static): Add tst-ptrguard1-static.
23447         (tst-ptrguard1-ARGS): Define.
23448         (tst-ptrguard1-static-ARGS): Define.
23449         * elf/tst-ptrguard1.c: New file.
23450         * elf/tst-ptrguard1-static.c: New file.
23451         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23452         * sysdeps/i386/stackguard-macros.h: Likewise.
23453         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23454         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23455         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23456         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23457         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23458         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23460 2013-09-23  Hector Marco  <hecmargi@upv.es>
23461             Ismael Ripoll  <iripoll@disca.upv.es>
23462             Carlos O'Donell  <carlos@redhat.com>
23464         [BZ #15754]
23465         * sysdeps/generic/stackguard-macros.h: Define
23466         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23467         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23468         Define __pointer_chk_guard_local.
23469         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23470         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23472 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23474         [BZ #15859]
23475         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23477 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23479         * include/string.h (__ffs): Declare as hidden.
23480         * string/ffs.c (__ffs): Define as hidden.
23481         * sysdeps/i386/ffs.c (__ffs): Likewise.
23482         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23483         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23484         * sysdeps/s390/ffs.c (__ffs): Likewise.
23485         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23487 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23489         * NEWS: Mention malloc probes.
23491         * malloc/arena.c (new_heap): New memory_heap_new probe.
23492         (grow_heap): New memory_heap_more probe.
23493         (shrink_heap): New memory_heap_less probe.
23494         (heap_trim): New memory_heap_free probe.
23495         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23496         (systrim): New memory_sbrk_less probe.
23497         * manual/probes.texi: Document them.
23499         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23500         * manual/probes.texi: Document it.
23502         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23503         (__libc_realloc): Add memory_realloc_retry probe.
23504         (__libc_memalign): Add memory_memalign_retry probe.
23505         (__libc_valloc): Add memory_valloc_retry probe.
23506         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23507         (__libc_calloc): Add memory_calloc_retry probe.
23508         * manual/probes.texi: Document them.
23510         * malloc/arena.c (get_free_list): Add probe
23511         memory_arena_reuse_free_list.
23512         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23513         and memory_arena_reuse.
23514         (arena_get2) [!PER_THREAD]: Likewise.
23515         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23516         memory_arena_reuse_realloc.
23517         * manual/probes.texi: Document them.
23519         * malloc/malloc.c (__libc_free): Add
23520         memory_mallopt_free_dyn_thresholds probe.
23521         (__libc_mallopt): Add multiple memory_mallopt probes.
23522         * manual/probes.texi: Document them.
23524         * malloc/malloc.c: Include stap-probe.h.
23525         (__libc_mallopt): Add memory_mallopt probe.
23526         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23527         * manual/probes.texi: New.
23528         * manual/Makefile (chapters): Add probes.
23529         * manual/threads.texi: Set next node.
23531 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23533         [BZ #15963, #13985]
23534         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23535         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23536         Add `Chinese' to `nan' entry name.
23538 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23540         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23541         (POLYNOMIAL): Likewise.
23542         (TAYLOR_SINCOS): Likewise.
23543         (TAYLOR_SLOW): Likewise.
23544         (__sin): Use TAYLOR_SINCOS.
23545         (__cos): Likewise.
23546         (slow): Use TAYLOR_SLOW.
23547         (sloww): Likewise.
23548         (bsloww): Likewise.
23549         (csloww): Likewise.
23551 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23553         * stdlib/strtod_l.c: Fix buffer overrun.
23555 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23557         * benchtests/Makefile (bench): Add sincos.
23558         * benchtests/bench-sincos.c: New file.
23560         * math/libm-test.inc (cos_test_data): New test inputs.
23561         (sin_test_data): Likewise.
23563         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23564         macro.
23565         (__sin): Use it.
23566         (__cos): Likewise.
23567         (slow1): Likewise.
23568         (slow2): Likewise.
23569         (sloww1): Likewise.
23570         (sloww2): Likewise.
23571         (bsloww1): Likewise.
23572         (bsloww2): Likewise.
23573         (cslow2): Likewise.
23574         (csloww1): Likewise.
23575         (csloww2): Likewise.
23577         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23578         function.
23579         (__sin): Use it.
23580         (__cos): Likewise.
23582         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23583         gotos.
23584         (__cos): Likewise.
23586 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23588         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23589         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23590         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23591         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23592         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23593         * elf/cache.c (print_entry): Handle the new cache flags.
23595 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23596             Aldy Hernandez  <aldyh@redhat.com>
23598         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23599         Change condition to [_SOFT_FLOAT].
23600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23612         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23615         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23616         declaration.
23618 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23620         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23621         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23622         (__longjmp): Use LOAD_GP to load saved GPRs.
23623         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23624         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23625         (__sigsetjmp): Use SAVE_GP to save GPRs.
23627         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23628         Do not append -msoft-float.
23629         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23631 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23633         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23635 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23637         [BZ #15966]
23638         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23639         (_FPU_GETCW): Use initial "__" on variable and field names but not
23640         on macro parameter name.
23641         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23642         parentheses around reference to macro parameter.
23644 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23646         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23647         prototype.
23648         (ctype_startup): Use uint32_t in cast and sizeof for
23649         ctype->charnames.
23651 2013-09-11  Jia Liu  <proljc@gmail.com>
23653         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23654         __daddr_t_defined.
23655         [__FreeBSD__]: Likewise.
23657 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23659         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23660         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23661         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23662         (strchr): Remove __strchr_sse42 ifunc selection.
23663         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23664         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23666 2013-09-11  Will Newton  <will.newton@linaro.org>
23668         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23669         parameter to RES. Remove hardcoded 1000 value.
23670         * benchtests/bench-skeleton.c (main): Pass RES parameter
23671         to TIMING_INIT and multiply result by 1000.
23673 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23677 2013-09-11  Andreas Schwab  <schwab@suse.de>
23679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23680         if not defined.
23681         (O_TMPFILE) [__USE_GNU]: Define.
23682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23683         Define.
23685 2013-09-11  Will Newton  <will.newton@linaro.org>
23687         [BZ #15857]
23688         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23689         does not overflow.
23691 2013-09-11  Will Newton  <will.newton@linaro.org>
23693         [BZ #15856]
23694         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23695         does not overflow.
23697 2013-09-11  Will Newton  <will.newton@linaro.org>
23699         [BZ #15855]
23700         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23701         does not overflow.
23703 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23705         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23706         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23707         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23708         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23709         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23711 2013-09-10  Allan McRae  <allan@archlinux.org>
23713         [BZ #15748]
23714         * manual/arith.texi (Parsing of Floats): Clarify
23715         cross-reference.
23717         [BZ #15849]
23718         * manual/install.texi (Running make install): Mention
23719         --enable-pt-chown.
23720         * INSTALL: Regenerated.
23722 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23724         * csu/init-first.c (_init): Remove the !SHARED condition around
23725         FPU control word initialization.
23726         * elf/dl-support.c (_dl_fpu_control): New variable.
23727         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23728         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23729         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23730         * math/test-fpucw-static.c: New file.
23731         * math/test-fpucw-ieee.c: New file.
23732         * math/test-fpucw-ieee-static.c: New file.
23733         * math/Makefile (tests): Add `test-fpucw-ieee' and
23734         `$(tests-static)'.
23735         (tests-static): New variable.
23736         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23737         dependency to...
23738         [($(build-shared),yes)]
23739         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23740         ... this.
23741         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23742         New dependency.
23744 2013-09-09  Allan McRae  <allan@archlinux.org>
23746         [BZ #15939]
23747         * manual/string.texi (Collation Functions): Fix typo in
23748         strcoll example.
23749         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23751         [BZ #15893]
23752         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23754         [BZ #15892]
23755         * libio/memstream.c (open_memstream): Fix memory leak.
23756         * libio/wmemstream.c (open_wmemstream): Likewise.
23758         [BZ #15895]
23759         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23761 2013-09-09  Will Newton  <will.newton@linaro.org>
23763         * malloc/Makefile: Add tst-realloc to tests.
23764         * malloc/tst-realloc.c: New file.
23766 2013-09-09  Allan McRae  <allan@archlinux.org>
23768         [BZ #15844]
23769         * COPYING: Update from GNU website to fix FSF address.
23770         * COPYING.LIB: Likewise.
23772 2013-09-06  David S. Miller  <davem@davemloft.net>
23774         * po/zh_TW.po: Update Chinese (traditional) translation from
23775         translation project.
23777 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23778             Joseph Myers  <joseph@codesourcery.com>
23780         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23781         "localeinfo.h".
23782         (obstack_chunk_alloc): New macro.
23783         (obstack_chunk_free): Likewise.
23784         (record_offset): New function.
23785         (init_locale_data): Likewise.
23786         (align_locale_data): Likewise.
23787         (add_locale_empty): Likewise.
23788         (add_locale_raw_data): Likewise.
23789         (add_locale_raw_obstack): Likewise.
23790         (add_locale_string): Likewise.
23791         (add_locale_wstring): Likewise.
23792         (add_locale_uint32): Likewise.
23793         (add_locale_uint32_array): Likewise.
23794         (add_locale_char): Likewise.
23795         (start_locale_structure): Likewise.
23796         (end_locale_structure): Likewise.
23797         (start_locale_prelude): Likewise.
23798         (end_locale_prelude): Likewise.
23799         (write_locale_data): Take locale_file structure rather than an
23800         iovec.
23801         * locale/programs/locfile.h: Include "obstack.h".
23802         (struct locale_file): Change to store locale file contents instead
23803         of header.
23804         (init_locale_data): New prototype.
23805         (align_locale_data): Likewise.
23806         (add_locale_empty): Likewise.
23807         (add_locale_raw_data): Likewise.
23808         (add_locale_raw_obstack): Likewise.
23809         (add_locale_string): Likewise.
23810         (add_locale_wstring): Likewise.
23811         (add_locale_uint32): Likewise.
23812         (add_locale_uint32_array): Likewise.
23813         (add_locale_char): Likewise.
23814         (start_locale_structure): Likewise.
23815         (end_locale_structure): Likewise.
23816         (start_locale_prelude): Likewise.
23817         (end_locale_prelude): Likewise.
23818         (write_locale_data): Update prototype.
23819         * locale/programs/3level.h (struct TABLE): Remove result field.
23820         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23821         Use new locale_file interface.
23822         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23823         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23824         * locale/programs/ld-address.c (address_output): Use new
23825         locale_file interface.
23826         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23827         NO_ADD_LOCALE.
23828         (collate_finish): Don't call collseq_table_finalize.
23829         (collate_output): Use new locale_file interface.
23830         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23831         in file.
23832         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23833         (TABLE): Move defines earlier in file.
23834         (ELEMENT): Likewise.
23835         (DEFAULT): Likewise.
23836         (wctrans_table_add): Move macro and inline function earlier in
23837         file.
23838         (struct wctype_table): Move type earlier in file.
23839         (add_locale_wctype_table): New static prototype.
23840         (struct locale_ctype_t): Use logical types instead of struct iovec
23841         pointers for members.
23842         (ctype_output): Use new locale_file interface.
23843         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23844         new locale_file interface.
23845         (allocate_arrays): Update for use of new locale_file interface.
23846         * locale/programs/ld-identification.c (identification_output): Use
23847         new locale_file interface.
23848         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23849         * locale/programs/ld-messages.c (messages_output): Likewise.
23850         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23851         * locale/programs/ld-name.c (name_output): Likewise.
23852         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23853         * locale/programs/ld-paper.c (paper_output): Likewise.
23854         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23855         * locale/programs/ld-time.c (time_output): Likewise.
23857 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23859         * benchtests/Makefile: Add memrchr benchmark.
23860         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23861         benchmark as memrchr.
23862         * benchtests/bench-memrchr-ifunc.c: New file.
23863         * benchtests/bench-memrchr.c: New file.
23865 2013-09-06   Will Newton  <will.newton@linaro.org>
23867         * benchtests/Makefile (string-bench): Add memcpy.
23869 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23870             Cong Wang  <amwang@redhat.com>
23872         [BZ #15850]
23873         * sysdeps/unix/sysv/linux/bits/in.h
23874         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23875         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23876         before __USE_KERNEL_IPV6_DEFS uses.
23877         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23878         IPPROTO_BEETPH.
23879         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23880         sockaddr_in6, or ipv6_mreq.
23882 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23884         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23885         memory access for final bytes in some large inputs.
23886         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23888 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23890         * string/test-memrchr.c: New file.
23891         * string/test-memrchr-ifunc.c: New file.
23892         * string/Makefile: Add new memrchr testcase.
23894 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23896         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23897         fanotify_init returns EPERM.
23899 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23901         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23902         errors.
23903         (top level): Treat second token from macro or constant entries for
23904         allowed headers as allowed.
23905         * include/complex.h: Condition internal declarations on
23906         [!_ISOMAC].
23907         * include/fenv.h: Condition include of <stdbool.h> and internal
23908         declarations on [!_ISOMAC].
23910 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23912         [BZ #15923]
23913         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23915 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23917         * configure.in (--enable-versioning): Remove configure option.
23918         (libc_cv_asm_symver_directive): Remove configure test.
23919         (libc_cv_ld_version_script_option): Likewise.
23920         (VERSIONING): Remove variable and AC_SUBST.
23921         (DO_VERSIONING): Remove AC_DEFINE.
23922         * configure: Regenerated.
23923         * config.h.in (DO_VERSIONING): Remove macro.
23924         * Makerules [$(versioning) = yes]: Change conditionals to
23925         [$(build-shared) = yes].
23926         * config.make.in (versioning): Remove variable.
23927         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23928         [$(build-shared) = yes].
23929         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23930         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23931         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23932         [$(build-shared) = yes].
23933         * extra-lib.mk [$(versioning) = yes]: Likewise.
23934         * hurd/Makefile [$(versioning) = yes]: Likewise.
23935         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23936         [SHARED].
23937         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23938         [SHARED].
23939         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23940         [SHARED && !NO_HIDDEN].
23941         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23942         [SHARED].
23943         [SHARED && DO_VERSIONING]: Likewise..
23944         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23945         [$(build-shared) = yes].
23946         * manual/install.texi (--disable-versioning): Remove
23947         documentation.
23948         * INSTALL: Regenerated.
23949         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23950         to [SHARED].
23951         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23952         [$(build-shared) = yes].
23953         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23954         * sysdeps/i386/i686/multiarch/strstr-c.c
23955         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23956         [SHARED && !NO_HIDDEN].
23957         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23958         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23959         * sysdeps/powerpc/powerpc32/dl-machine.c
23960         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23961         * sysdeps/powerpc/powerpc32/sysdep.h
23962         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23963         to [SHARED && PIC && !NO_HIDDEN].
23964         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23965         conditional to [SHARED].
23967 2013-09-04   Will Newton  <will.newton@linaro.org>
23969         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23970         * benchtests/bench-string.h: Include bench-timing.h instead
23971         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23972         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23973         call to HP_TIMING_DIFF_INIT.
23974         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23975         instead of hp-timing.h macros.
23976         * benchtests/bench-memchr.c: Likewise.
23977         * benchtests/bench-memcmp.c: Likewise.
23978         * benchtests/bench-memcpy.c: Likewise.
23979         * benchtests/bench-memmem.c: Likewise.
23980         * benchtests/bench-memmove.c: Likewise.
23981         * benchtests/bench-memset.c: Likewise.
23982         * benchtests/bench-rawmemchr.c: Likewise.
23983         * benchtests/bench-strcasecmp.c: Likewise.
23984         * benchtests/bench-strcasestr.c: Likewise.
23985         * benchtests/bench-strcat.c: Likewise.
23986         * benchtests/bench-strchr.c: Likewise.
23987         * benchtests/bench-strcmp.c: Likewise.
23988         * benchtests/bench-strcpy.c: Likewise.
23989         * benchtests/bench-strcpy_chk.c: Likewise.
23990         * benchtests/bench-strlen.c: Likewise.
23991         * benchtests/bench-strncasecmp.c: Likewise.
23992         * benchtests/bench-strncat.c: Likewise.
23993         * benchtests/bench-strncmp.c: Likewise.
23994         * benchtests/bench-strncpy.c: Likewise.
23995         * benchtests/bench-strnlen.c: Likewise.
23996         * benchtests/bench-strpbrk.c: Likewise.
23997         * benchtests/bench-strrchr.c: Likewise.
23998         * benchtests/bench-strspn.c: Likewise.
23999         * benchtests/bench-strstr.c: Likewise.
24001 2013-09-04  Will Newton  <will.newton@linaro.org>
24003         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24005 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24007         [BZ #15427]
24008         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24009         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24010         * math/libm-test.inc (lgamma_test_data): Add more tests.
24011         * sysdeps/i386/fpu/libm-test-ulps: Update.
24012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24016         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24018         Add ifunc.
24019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24020         Add strcmp-sse2-unaligned
24021         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24023 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24025         * Versions.def (libc): Add GLIBC_2.19.
24027 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24029         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24030         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24032 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24034         [BZ #14155]
24035         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24036         intermediate calculations in recurrence.
24037         (__ieee754_ynf): Likewise.
24038         * math/libm-test.inc (jn_test_data): Do not allow spurious
24039         underflow exception.  Add more tests.
24040         (yn_test_data): Add more tests.
24041         * sysdeps/i386/fpu/libm-test-ulps: Update.
24042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24044 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24046         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24048 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24050         * csu/init-first.c: Fix then/than typos.
24051         * locale/programs/ld-collate.c: Likewise.
24052         * locale/programs/linereader.h: Likewise.
24053         * manual/charset.texi: Likewise.
24054         * manual/filesys.texi: Likewise.
24055         * manual/stdio.texi: Likewise.
24056         * manual/string.texi: Likewise.
24057         * stdlib/fmtmsg.c: Likewise.
24058         * sysdeps/i386/stpncpy.S: Likewise.
24059         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24060         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24061         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24062         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24064 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24066         * elf/dl-open.c: Fix typos.
24067         * iconvdata/gbbig5.c: Likewise.
24068         * iconvdata/iso-2022-jp.c: Likewise.
24069         * iconv/gconv_int.h: Likewise.
24070         * iconv/loop.c: Likewise.
24071         * nis/rpcsvc/nis.h: Likewise.
24072         * resolv/ns_name.c: Likewise.
24073         * stdio-common/vfscanf.c: Likewise.
24074         * streams/stropts.h: Likewise.
24075         * sunrpc/rpc_thread.c: Likewise.
24076         * sysdeps/i386/strpbrk.S: Likewise.
24077         * sysdeps/ieee754/k_standard.c: Likewise.
24078         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24079         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24080         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24081         * sysdeps/mach/hurd/profil.c: Likewise.
24082         * sysdeps/s390/dl-procinfo.h: Likewise.
24083         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24084         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24085         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24086         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24087         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24089 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24091         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24092         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24094 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24096         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24097         aix specific files.
24098         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24099         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24100         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24101         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24102         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24103         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24104         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24105         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24107 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24108             Roland McGrath  <roland@hack.frob.com>
24110         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24111         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24113 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24115         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24116         __executable_start symbol instead of _start.
24118 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24120         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24121         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24122         Move macros to...
24123         * sysdeps/gnu/ldsodefs.h: ... this new file.
24125         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24126         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24127         instead of ELFOSABI_LINUX.
24129         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24130         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24131         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24132         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24133         Likewise.
24134         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24135         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24136         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24137         Likewise.
24138         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24139         (ibm_extended_long_double): Add ieee_nan member.
24140         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24141         (do_test): New function.
24143         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24144         TEST_TRUNC.
24145         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24146         functions, renamed from truncdfsf_test, trunctfsf_test,
24147         trunctfdf_test.
24148         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24149         functions.
24150         (do_test): Run all these.
24152 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24154         * argp/argp-help.c: Fix typos.
24155         * argp/argp-parse.c: Likewise.
24156         * debug/backtracesyms.c: Likewise.
24157         * elf/elf.h: Likewise.
24158         * malloc/malloc.c: Likewise.
24159         * nis/nis_print.c: Likewise.
24160         * resolv/res_comp.c: Likewise.
24161         * stdlib/stdlib.h: Likewise.
24162         * sunrpc/clnt_tcp.c: Likewise.
24163         * sunrpc/clnt_udp.c: Likewise.
24164         * sunrpc/clnt_unix.c: Likewise.
24165         * sysdeps/unix/bsd/ptsname.c: Likewise.
24166         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24167         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24169         Likewise.
24170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24171         Likewise.
24172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24173         Likewise.
24174         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24176 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24178         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24181 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24183         [BZ #15897]
24184         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24185         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24186         ($(objpfx)bug-dl-leaf): New rule.
24187         ($(objpfx)bug-dl-leaf.so): Likewise.
24188         ($(objpfx)bug-dl-leaf.out): Likewise.
24189         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24190         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24191         * dlfcn/bug-dl-leaf.c: New test.
24192         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24193         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24194         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24195         (dlclose): Likewise.
24196         (dlmopen): Likewise.
24198 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24200         * include/netdb.h [!_ISOMAC]:
24201         Don't include <tls.h>.
24202         (h_errno, __libc_h_errno): Move declaration and macros out of
24203         [_LIBC_REENTRANT].
24205         * include/resolv.h [_RESOLV_H_]:
24206         Don't include <tls.h>.
24207         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24208         * resolv/res_libc.c: Don't include <tls.h>.
24209         (_res): Use __attribute__ ((nocommon)) in place of
24210         __attribute__ ((section (".bss"))).
24212         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24213         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24215         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24217         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24218         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24220         * resolv/res_mkquery.c: Include <sys/time.h>.
24222         * inet/ifreq.c: Moved to ...
24223         * sysdeps/unix/ifreq.c: ... here.
24224         * inet/ifreq.c: New file, true stub version.
24226         * socket/sa_len.c: New file.
24227         * socket/Makefile (aux): Add it.
24228         * sysdeps/unix/sysv/linux/Makefile
24229         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24230         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24231         and #include <socket/sa_len.c>.
24232         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24233         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24235         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24236         * bits/socket.h: ... here.
24238         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24239         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24240         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24242 2013-08-27  Andreas Schwab  <schwab@suse.de>
24244         [BZ #15736]
24245         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24246         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24247         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24248         * string/test-strcasecmp.c (test_main): Run tests in several
24249         locales.
24250         * string/test-strncasecmp.c (test_main): Likewise.
24252         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24253         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24254         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24255         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24256         (__strncasecmp_ssse3) [PIC]: Likewise.
24258 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24260         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24262         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24263         instead of explicitly declaring xdecrypt.
24264         * nis/nss_nis/nis-publickey.c: Likewise.
24266 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24268         [BZ #15890]
24269         * nscd/aicache.c: Include res_hconf.h.
24270         (addhstaiX): Initialize res_hconf.
24272 2013-08-26  Andreas Schwab  <schwab@suse.de>
24274         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24275         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24277 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24279         * nscd/aicache.c (addhstaiX): Fix indentation.
24281 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24283         * configure.ac: Quote $build_pt_chown test.
24284         * configure: Regenerated.
24286 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24288         [BZ #15532]
24289         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24290         * math/s_cexpf.c (__cexpf): Likewise.
24291         * math/s_cexpl.c (__cexpl): Likewise.
24292         * math/libm-test.inc (cexp_test_data): Correct expected return
24293         value for NaN + i0.  Add another test.
24295 2013-08-22  David S. Miller  <davem@davemloft.net>
24297         * po/ca.po: Update Catalan translation from translation project.
24298         * po/uk.po: Add Ukrainian translations from translation project.
24300 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24302         [BZ #15797]
24303         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24304         is infinite, not alongside NaN test.
24305         * math/s_fdimf.c (__fdimf): Likewise.
24306         * math/s_fdiml.c (__fdiml): Likewise.
24307         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24308         errno is unchanged.
24310 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24312         * argp/argp-help.c: Fix typos.
24313         * crypt/speeds.c: Likewise.
24314         * csu/check_fds.c: Likewise.
24315         * elf/dl-load.c: Likewise.
24316         * elf/dl-open.c: Likewise.
24317         * elf/reldep3.c: Likewise.
24318         * elf/reldep.c: Likewise.
24319         * elf/sprof.c: Likewise.
24320         * iconv/iconv_charmap.c: Likewise.
24321         * iconv/skeleton.c: Likewise.
24322         * iconv/strtab.c: Likewise.
24323         * io/lockf64.c: Likewise.
24324         * libio/libioP.h: Likewise.
24325         * resolv/gai_notify.c: Likewise.
24326         * resolv/ns_name.c: Likewise.
24327         * resolv/ns_samedomain.c: Likewise.
24328         * resolv/res_send.c: Likewise.
24329         * stdlib/random.c: Likewise.
24330         * sunrpc/rpc/xdr.h: Likewise.
24331         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24332         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24333         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24334         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24335         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24336         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24337         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24338         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24339         * sysdeps/mach/hurd/check_fds.c: Likewise.
24340         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24341         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24342         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24344         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24345         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24346         * sysdeps/pthread/aio_notify.c: Likewise.
24347         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24348         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24349         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24350         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24351         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24353 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24355         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24356         version if bit_Slow_SSE4_2 is set.
24357         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24358         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24360 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24362         [BZ #15867]
24363         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24364         trampoline stack frame information.
24365         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24367         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24368         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24369         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24370         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24371         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24372         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24373         sa_flags value.
24374         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24375         interrupting a syscall and set with option SA_SIGINFO.
24377 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24379         [BZ #15531]
24380         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24381         argument is infinite.
24382         * math/s_cprojf.c (__cprojf): Likewise.
24383         * math/s_cprojl.c (__cprojl): Likewise.
24384         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24385         * math/libm-test.inc (cproj_test_data): Add more tests.
24387         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24389         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24390         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24391         size.  Use __ffs to determine corresponding shift.
24393 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24394             Roland McGrath  <roland@hack.frob.com>
24396         * Makefile (INSTALL): Remove trailing blank lines from output of
24397         makeinfo.
24399 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24401         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24402         Align 32 bit compat elf_greg to 8 bytes.
24404 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24406         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24408 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24410         * string/strcoll_l.c (coll_seq): New structure.
24411         (get_next_seq_cached): New function.
24412         (get_next_seq): New function.
24413         (do_compare): New function.
24414         (STRCOLL): Use GNU style definition.  Simplify implementation
24415         by using get_next_seq, get_next_seq_cached and do_compare.
24417 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24419         [BZ #14699]
24420         CVE-2013-4237
24421         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24422         member.
24423         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24424         member.
24425         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24426         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24427         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24428         conditional.
24429         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24430         GETDENTS_64BIT_ALIGNED.
24431         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24432         * manual/filesys.texi (Reading/Closing Directory): Document
24433         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24434         strongly.
24435         * manual/conf.texi (Limits for Files): Add portability note to
24436         NAME_MAX, PATH_MAX.
24437         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24439 2013-08-13  Andreas Schwab  <schwab@suse.de>
24441         [BZ #15749]
24442         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24443         of fabs.
24444         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24445         LDBL_MAX_EXP >= 16384]: Add tests for it.
24447 2013-08-12  David S. Miller  <davem@davemloft.net>
24449         * version.h (RELEASE): Set to "development".
24450         (VERSION): Set to "2.18.90".
24451         * NEWS: Add 2.19 section.
24453 2013-08-03  David S. Miller  <davem@davemloft.net>
24455         * po/ko.po: Update Korean translation from translation project.
24457 2013-08-01  David S. Miller  <davem@davemloft.net>
24459         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24460         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24461         Bilka.
24463 2013-07-30  David S. Miller  <davem@davemloft.net>
24465         * po/fr.po: Update French translation from translation project.
24467 2013-07-28  David S. Miller  <davem@davemloft.net>
24469         * po/cs.po: Update Czech translation from translation project.
24471         * po/sv.po: Update Swedish translation from translation project.
24473 2013-07-27  David S. Miller  <davem@davemloft.net>
24475         * po/eo.po: Update Esperanto translation from translation project.
24477         * po/vi.po: Update Vietnamese translation from translation project.
24479         * po/de.po: Update German translation from translation project.
24481 2013-07-26  David S. Miller  <davem@davemloft.net>
24483         * po/bg.po: Update Bulgarian translation from translation project.
24485         * po/nl.po: Update Dutch translation from translation project.
24486         * po/pl.po: Update Polish translation from translation project.
24487         * po/ru.po: Update Russian translation from translation project.
24489 2013-07-24  David S. Miller  <davem@davemloft.net>
24491         * po/libc.pot: Update.
24493 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24495         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24496         variable page size.
24497         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24498         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24499         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24501 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24503         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24505 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24506             Andreas Schwab  <schwab@suse.de>
24507             Roland McGrath  <roland@hack.frob.com>
24508             Joseph Myers  <joseph@codesourcery.com>
24509             Carlos O'Donell  <carlos@redhat.com>
24511         [BZ #15755]
24512         * config.h.in: Define HAVE_PT_CHOWN.
24513         * config.make.in (build-pt-chown): New variable.
24514         * configure.in (--enable-pt_chown): New configure option.
24515         * configure: Regenerate.
24516         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24517         build-pt-chown is enabled.
24518         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24519         pt_chown to fix pty ownership.
24520         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24521         CLOSE_ALL_FDS.
24522         * manual/install.texi (Configuring and compiling): Mention
24523         --enable-pt_chown. Add @findex for grantpt.
24524         * INSTALL: Regenerate.
24526 2013-07-20  David S. Miller  <davem@davemloft.net>
24528         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24529         difference between 32-bit and 64-bit.
24531 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24533         [BZ #15711]
24534         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24535         Avoid system header dependency with -ffreestanding.
24536         ($(objpfx)bits/syscall%d): Likewise.
24538 2013-07-13  David S. Miller  <davem@davemloft.net>
24540         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24541         underflows from atanl/atan2l due to bug 15319.
24542         (casinh_test_data): Likewise.
24544 2013-07-07  David S. Miller  <davem@davemloft.net>
24546         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24548 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24550         * sysdeps/i386/fpu/libm-test-ulps: Update.
24551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24553 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24555         * configure.in (--enable-lock-elision): Fix message text.
24556         * INSTALL: Regenerate.
24557         * configure: Regenerate.
24559 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24563 2013-07-03  Andreas Jaeger  <aj@suse.de>
24565         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24566         define.
24567         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24568         (ptrace_peeksiginfo_args): Add.
24569         (__ptrace_peeksiginfo_flags): Add.
24570         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24571         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24572         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24574 2013-07-03  Allan McRae  <allan@archlinux.org>
24576         * sysdeps/i386/fpu/libm-test-ulps: Update.
24578 2013-07-02  David S. Miller  <davem@davemloft.net>
24580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24582 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24586 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24588         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24591 2013-07-02  Andi Kleen <ak@linux.intel.com>
24593         * config.h.in (ENABLE_LOCK_ELISION): Add.
24594         * configure.in (--enable-lock-elision): Add option.
24595         * manual/install.texi: Document --enable lock elision.
24596         * configure: Regenerate
24597         * INSTALL: Regenerate.
24599 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24601         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24602         SSE4.2 strcasecmp for libc.a.
24603         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24605 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24607         [BZ #13304]
24608         * soft-fp/op-common.h (_FP_FMA): New macro.
24609         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24610         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24611         (_FP_MUL_MEAT_1_imm): ... here.
24612         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24613         (_FP_MUL_MEAT_1_wide): ... here.
24614         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24615         (_FP_MUL_MEAT_1_hard): ... here.
24616         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24617         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24618         (_FP_MUL_MEAT_2_wide): ... here.
24619         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24620         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24621         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24622         (_FP_MUL_MEAT_2_gmp): ... here.
24623         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24624         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24625         (_FP_MUL_MEAT_4_wide): ... here.
24626         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24627         (_FP_MUL_MEAT_4_gmp): ... here.
24628         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24629         (_FP_WFRACBITS_DW_S): Likewise.
24630         (_FP_WFRACXBITS_DW_S): Likewise.
24631         (_FP_HIGHBIT_DW_S): Likewise.
24632         (FP_FMA_S): Likewise.
24633         (_FP_FRAC_HIGH_DW_S): Likewise.
24634         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24635         (_FP_WFRACBITS_DW_D): Likewise.
24636         (_FP_WFRACXBITS_DW_D): Likewise.
24637         (_FP_HIGHBIT_DW_D): Likewise.
24638         (FP_FMA_D): Likewise.
24639         (_FP_FRAC_HIGH_DW_D): Likewise.
24640         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24641         (_FP_WFRACBITS_DW_E): Likewise.
24642         (_FP_WFRACXBITS_DW_E): Likewise.
24643         (_FP_HIGHBIT_DW_E): Likewise.
24644         (FP_FMA_E): Likewise.
24645         (_FP_FRAC_HIGH_DW_E): Likewise.
24646         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24647         (_FP_WFRACBITS_DW_Q): Likewise.
24648         (_FP_WFRACXBITS_DW_Q): Likewise.
24649         (_FP_HIGHBIT_DW_Q): Likewise.
24650         (FP_FMA_Q): Likewise.
24651         (_FP_FRAC_HIGH_DW_Q): Likewise.
24652         * soft-fp/fmasf4.c: New file.
24653         * soft-fp/fmadf4.c: Likewise.
24654         * soft-fp/fmatf4.c: Likewise.
24656 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24659         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24660         Silvermont.
24661         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24662         macro.
24663         (index_Slow_SSE4_2): Likewise.
24664         (index_Prefer_PMINUB_for_stringop): Likewise.
24665         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24666         bit_Slow_SSE4_2 is set.
24667         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24668         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24670 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24672         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24673         rtld_global._dl_hwcap2.
24674         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24675         POWER8.
24676         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24677         POWER8 feature descriptions defined in _dl_hwcap2.
24678         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24679         string handling for POWER8 feature bits.
24680         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24681         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24682         _dl_powerpc_cap_flags.
24683         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24684         * sysdeps/powerpc/rtld-global-offsets.sym
24685         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24686         _dl_hwcap2 in the rtld_global_ro structure.
24688 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24690         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24691         hardware capabilities in support of AT_HWCAP2.
24692         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24693         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24694         GLRO(dl_hwcap2).
24695         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24696         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24697         explicitly the unknown a_type display mechanism is used.
24698         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24699         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24700         struct member.
24701         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24702         to macro prototype for AT_HWCAP2 support.
24703         * sysdeps/i386/dl-procinfo.h: Likewise.
24704         * sysdeps/s390/dl-procinfo.h: Likewise.
24705         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24706         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24707         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24708         return -1 for unknown a_type display fallback.
24709         * sysdeps/sparc/dl-procinfo.h: Likewise.
24710         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24711         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24713 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24715         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24716         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24718 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24720         [BZ #12492]
24721         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24722         mprotect making __stack_prot writable.
24724 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24725             Joseph Myers  <joseph@codesourcery.com>
24727         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24728         as being properly aligned.
24730 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24732         * dlfcn/modstatic5.c: New file.
24733         * dlfcn/tststatic5.c: New file.
24734         * dlfcn/Makefile (tests): Add tststatic5.
24735         (tests-static): Likewise.
24736         (modules-names): Add modstatic5.
24737         (tststatic5-ENV): New variable.
24738         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24740         [BZ #15022]
24741         * elf/dl-support.c (_dl_main_map): New variable.
24742         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24743         (_dl_nns, _dl_load_adds): Set to 1.
24744         (_dl_initial_searchlist): Refer to _dl_main_map.
24745         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24746         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24747         call to _dl_get_origin.
24748         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24749         around call_map.
24750         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24751         * dlfcn/modstatic3.c: New file.
24752         * dlfcn/tststatic3.c: New file.
24753         * dlfcn/tststatic4.c: New file.
24754         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24755         (tests-static): Likewise.
24756         (modules-names): Add modstatic3.
24757         (tststatic3-ENV, tststatic4-ENV): New variables.
24758         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24759         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24761 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24763         * configure.in (CC): Require GCC version 4.4 or later.
24764         * configure: Regenerated.
24765         * manual/install.texi (Tools for Compilation): Update GCC version
24766         requirement.
24767         * INSTALL: Regenerated.
24769 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24771         [BZ #15674]
24772         * string/test-memcmp.c (check2): New.
24773         (main): Call check2.
24775         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24777 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24779         [BZ #15022]
24780         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24781         over to...
24782         (dl_open_worker) [!SHARED]: ... here.
24784 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24786         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24788 2013-06-25  Richard Henderson  <rth@redhat.com>
24790         * locale/programs/locarchive.c: Include <libc-internal.h>
24792 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24794         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24795         trailing whitespace removed.
24797 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24799         [BZ #10283]
24800         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24801         * locale/programs/locarchive.c: Include libc-mmap.h.
24802         (prepare_address_space): Take two new outputs (the mmap base and len).
24803         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24804         values.
24805         (create_archive): Declare new mmap base and len values for
24806         prepare_address_space, and store the result in ah.
24807         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24808         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24809         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24810         Declare new mmap base and len values for
24811         prepare_address_space, and store the result in new_ah.
24812         (open_archive): Declare new mmap base and len values for
24813         prepare_address_space, and store the result in ah.
24814         (close_archive): If ah->mmap_base is not NULL, use that and
24815         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24816         * sysdeps/generic/libc-mmap.h: New file.
24818 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24820         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24821         (ALIGN_UP): Likewise.
24822         (PTR_ALIGN_DOWN): Likewise.
24823         (PTR_ALIGN_UP): Likewise.
24825 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24827         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24828         entry mapped to PPC_PLATFORM_POWER8.
24829         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24830         POWER8.
24831         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24832         (_dl_string_platform): Add case for exporting platform position for
24833         POWER8.
24834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24835         search path to sysdeps/powerpc/powerpc32/power8 directory.
24836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24837         search path to sysdeps/powerpc/powerpc64/power8 directory.
24838         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24839         power7 directories.
24840         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24841         power7 directories.
24843 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24845         * INSTALL: Regenerate.
24847         * nscd/connections.c (nscd_init): Fix comment.
24849 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24851         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24853         [BZ #15667]
24854         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24855         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24857 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24859         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24860         DL_DST_REQ_STATIC.
24861         (DL_DST_REQ_STATIC): Remove macro.
24863 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24865         [BZ #7006]
24866         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24867         with a shift of 0 bits.
24869 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24871         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24872         $(tststatic-ENV).
24874 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24876         [BZ #15655]
24877         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24879 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24881         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24882         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24883         accepts -fno-tree-loop-distribute-patterns.
24884         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24885         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24886         recursive call.
24887         * string/memset.c (memset): Likewise.
24888         * string/test-memmove.c (simple_memmove): Disable loop transformation
24889         to library calls.
24890         * string/test-memset.c (simple_memset): Likewise.
24891         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24892         * benchtests/bench-memset.c (simple_memset): Likewise.
24893         * configure: Regenerated.
24895 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24897         * math/test-misc.c (main): Ignore fesetround failure when failures
24898         of subsequent rounding tests would be ignored.
24900         [BZ #15654]
24901         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24902         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24903         * math/fegetenv.c (__fegetenv): Return 0.
24904         * math/fegetexcept.c (fegetexcept): Return 0.
24905         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24906         FE_TONEAREST.
24907         * math/feholdexcpt.c (feholdexcept): Return 0.
24908         * math/fesetenv.c (__fesetenv): Return 0.
24909         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24910         argument FE_TONEAREST.
24911         * math/feupdateenv.c (__feupdateenv): Return 0.
24912         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24914 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24916         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24917         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24918         ($(objpfx)rtld-%.os rules): Use them.
24920 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24922         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24923         fields.
24925 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24927         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24928         length of target pattern, then descending length of dependency pattern.
24929         * configure.in (AWK): Require gawk 3.1.2 or newer.
24930         * manual/install.texi (Tools for Compilation): Say that we do.
24931         * configure: Regenerated.
24933         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24934         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24935         * scripts/sysd-rules.awk: ... this new script.
24936         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24937         than a glob-style pattern.
24939 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24941         * math/test-misc.c (main): Do not treat incorrectly rounded
24942         conversions as failure unless ROUNDING_TESTS passes.
24944 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24946         [BZ #15631]
24947         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24948         restore exception state around main square root computation, then
24949         check for inexactness explicitly.
24951         * math/libm-test.inc (fma_test_data): Add another test.
24953 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24955         * manual/threads.texi (Non-POSIX Extensions): New document
24956         node.  Document pthread_getattr_default_np and
24957         pthread_setattr_default_np.
24959         * Versions.def (libpthread): Add GLIBC_2.18.
24960         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24962         Likewise.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24964         Likewise.
24965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24966         Likewise.
24967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24968         Likewise.
24969         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24970         Likewise.
24971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24972         Likewise.
24973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24974         Likewise.
24975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24976         Likewise.
24977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24978         Likewise.
24980 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24982         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24983         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24985 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24986             H.J. Lu  <hjl.tools@gmail.com>
24988         [BZ #15627]
24989         * sysdeps/x86_64/rtld-memset.c: Remove file.
24990         * sysdeps/x86_64/rtld-memset.S: New file.
24992 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24994         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24995         (test_in_one_mode): Take arguments for whether the rounding mode
24996         is supported for each floating-point type.
24997         (do_test): Pass new arguments to test_in_one_mode using
24998         ROUNDING_TESTS.
25000 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25002         * posix/tst-waitid.c (do_test): Distinguish different instances of
25003         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25004         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25005         before entering the kernel for waitpid.
25007 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25009         * NEWS: Fix note on clock function precision.  Text by Roland
25010         McGrath.
25012 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25014         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25015         it into place only when and if the sanity check passes.
25017 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25019         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25020         output for whether conversion result is exact.  Take argument
25021         indicating whether type is IBM long double.
25022         (round_for_all): Change need_exact field to ibm_ld.
25023         * stdlib/tst-strtod-round.c (struct exactness): New type.
25024         (struct test): Change bool ld_ok field to struct exactness exact.
25025         (TEST): Update all definitions for change to field.
25026         (tests): Regenerate array contents.
25027         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25028         field value.  Check for IBM long double here.
25029         (do_test): Update calls to test_in_one_mode.
25031 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25033         [BZ #12515]
25034         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25035         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25037 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25039         [BZ #15605]
25040         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25041         generated by the compiler on loop optimizations.
25042         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25043         general definitions.
25045 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25047         * math/bug-nextafter.c: Include <math-tests.h>.
25048         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25049         the relevant type.
25050         * math/bug-nexttoward.c: Include <math-tests.h>.
25051         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25052         the relevant type.
25053         * math/test-misc.c: Include <math-tests.h>.
25054         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25055         the relevant type.
25057 2013-06-12  Andreas Jaeger  <aj@suse.de>
25059         * po/ia.po: Update Interlingua translation from translation
25060         project.
25062 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25064         * include/fenv.h: Include stdbool.h.
25065         (struct rm_ctx): New structure.
25066         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25067         Define macro.
25068         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25069         (SET_RESTORE_ROUNDF): Likewise.
25070         (SET_RESTORE_ROUNDL): Likewise.
25071         (SET_RESTORE_ROUND_NOEX): Likewise.
25072         (SET_RESTORE_ROUND_NOEXF): Likewise.
25073         (SET_RESTORE_ROUND_NOEXL): Likewise.
25074         (SET_RESTORE_ROUND_53BIT): Likewise.
25075         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25076         (libc_feresetround_noexf_ctx): Likewise.
25077         (libc_feresetround_noexl_ctx): Likewise.
25078         (libc_feholdsetround_53bit_ctx): Likewise.
25079         (libc_feresetround_53bit_ctx): Likewise.
25080         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25081         (libc_feholdexcept_setround_sse_ctx): New function.
25082         (libc_fesetenv_sse_ctx): Likewise.
25083         (libc_feupdateenv_sse_ctx): Likewise.
25084         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25085         (libc_feholdexcept_setround_387_ctx): Likewise.
25086         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25087         (libc_feholdsetround_387_prec_ctx): Likewise.
25088         (libc_feholdsetround_387_ctx): Likewise.
25089         (libc_feholdsetround_387_53bit_ctx): Likewise.
25090         (libc_feholdsetround_sse_ctx): Likewise.
25091         (libc_feresetround_sse_ctx): Likewise.
25092         (libc_feresetround_387_ctx): Likewise.
25093         (libc_feupdateenv_387_ctx): Likewise.
25094         (libc_feholdexcept_setroundf_ctx): Define macro.
25095         (libc_fesetenvf_ctx): Likewise.
25096         (libc_feupdateenvf_ctx): Likewise.
25097         (libc_feholdsetroundf_ctx): Likewise.
25098         (libc_feresetroundf_ctx): Likewise.
25099         (libc_feholdexcept_setround_ctx): Likewise.
25100         (libc_fesetenv_ctx): Likewise.
25101         (libc_feupdateenv_ctx): Likewise.
25102         (libc_feholdsetround_ctx): Likewise.
25103         (libc_feresetround_ctx): Likewise.
25104         (libc_feholdexcept_setroundl_ctx): Likewise.
25105         (libc_feupdateenvl_ctx): Likewise.
25106         (libc_feholdsetroundl_ctx): Likewise.
25107         (libc_feresetroundl_ctx): Likewise.
25108         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25109         (libc_feresetround_53bit_ctx): Likewise.
25111 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25113         * locale/iso-639.def: Convert to UTF-8.
25115 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25117         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25118         (EXCEPTION_TESTS_double): Likewise.
25119         (EXCEPTION_TESTS_long_double): Likewise.
25120         (EXCEPTION_TESTS): Likewise.
25121         * math/libm-test.inc (test_exceptions): Only test exceptions if
25122         EXCEPTION_TESTS (FLOAT).
25124 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25126         * benchtests/Makefile (string-bench): Add strcpy_chk and
25127         stpcpy_chk.
25128         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25129         * benchtests/bench-stpcpy_chk.c: New file.
25130         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25131         * benchtests/bench-strcpy_chk.c: New file.
25132         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25133         code.
25134         (do_test): Likewise.
25136 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25138         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25139         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25140         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25141         with tabs where appropriate.
25142         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25143         dl-procinfo.h.
25144         [PPC_PLATFORM_PPC440]: Likewise.
25145         [PPC_PLATFORM_PPC464]: Likewise.
25146         [PPC_PLATFORM_PPC476]: Likewise.
25147         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25148         ppc464, and ppc476 platform strings merging from ports/
25149         dl-procinfo.h.
25151 2013-06-11  Andreas Schwab  <schwab@suse.de>
25153         [BZ #14991]
25154         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25155         (from_ucs4_idx): Regenerate.
25156         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25157         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25158         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25159         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25160         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25161         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25162         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25163         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25164         from FROM_LOOP and TO_LOOP specific macros.
25165         (BODY): Handle combining characters.
25166         * iconvdata/BIG5HKSCS.irreversible: Update.
25167         * iconvdata/BIG5HKSCS.precomposed: New file.
25168         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25169         characters.
25170         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25172 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25174         * include/sys/time.h: Fix indentation and add copyright header.
25176         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25177         (do_test): Likewise.
25178         * string/test-memchr.c (do_one_test): Likewise.
25179         (do_test): Likewise.
25180         * string/test-memcmp.c (do_one_test): Likewise.
25181         (do_test): Likewise.
25182         * string/test-memcpy.c (do_one_test): Likewise.
25183         (do_test): Likewise.
25184         * string/test-memmem.c (do_one_test): Likewise.
25185         (do_test): Likewise.
25186         (do_random_tests): Likewise.
25187         * string/test-memmove.c (do_one_test): Likewise.
25188         (do_test): Likewise.
25189         * string/test-memset.c (do_one_test): Likewise.
25190         (do_test): Likewise.
25191         * string/test-rawmemchr.c (do_one_test): Likewise.
25192         (do_test): Likewise.
25193         * string/test-strcasecmp.c (do_one_test): Likewise.
25194         (do_test): Likewise.
25195         * string/test-strcasestr.c (do_one_test): Likewise.
25196         (do_test): Likewise.
25197         * string/test-strcat.c (do_one_test): Likewise.
25198         (do_test): Likewise.
25199         * string/test-strchr.c (do_one_test): Likewise.
25200         (do_test): Likewise.
25201         * string/test-strcmp.c (do_one_test): Likewise.
25202         (do_test): Likewise.
25203         * string/test-strcpy.c (do_one_test): Likewise.
25204         (do_test): Likewise.
25205         * string/test-string.h: Likewise.
25206         (test_init): Likewise.
25207         * string/test-strlen.c (do_one_test): Likewise.
25208         (do_test): Likewise.
25209         * string/test-strncasecmp.c (do_one_test): Likewise.
25210         (do_test): Likewise.
25211         * string/test-strncat.c (do_one_test): Likewise.
25212         (do_test): Likewise.
25213         * string/test-strncmp.c (do_one_test): Likewise.
25214         (do_test_limit): Likewise.
25215         (do_test): Likewise.
25216         * string/test-strncpy.c (do_one_test): Likewise.
25217         (do_test): Likewise.
25218         * string/test-strnlen.c (do_one_test): Likewise.
25219         (do_test): Likewise.
25220         * string/test-strpbrk.c (do_one_test): Likewise.
25221         (do_test): Likewise.
25222         * string/test-strrchr.c (do_one_test): Likewise.
25223         (do_test): Likewise.
25224         * string/test-strspn.c (do_one_test): Likewise.
25225         (do_test): Likewise.
25226         * string/test-strstr.c (do_one_test): Likewise.
25227         (do_test): Likewise.
25229         * benchtests/Makefile (string-bench): Add string benchmarks.
25230         * benchtests/bench-bcopy-ifunc.c: New file.
25231         * benchtests/bench-bcopy.c: New file.
25232         * benchtests/bench-bzero-ifunc.c: New file.
25233         * benchtests/bench-bzero.c: New file.
25234         * benchtests/bench-memccpy-ifunc.c: New file.
25235         * benchtests/bench-memccpy.c: New file.
25236         * benchtests/bench-memchr-ifunc.c: New file.
25237         * benchtests/bench-memchr.c: New file.
25238         * benchtests/bench-memcmp-ifunc.c: New file.
25239         * benchtests/bench-memcmp.c: New file.
25240         * benchtests/bench-memmem-ifunc.c: New file.
25241         * benchtests/bench-memmem.c: New file.
25242         * benchtests/bench-memmove-ifunc.c: New file.
25243         * benchtests/bench-memmove.c: New file.
25244         * benchtests/bench-mempcpy-ifunc.c: New file.
25245         * benchtests/bench-mempcpy.c: New file.
25246         * benchtests/bench-memset-ifunc.c: New file.
25247         * benchtests/bench-memset.c: New file.
25248         * benchtests/bench-rawmemchr-ifunc.c: New file.
25249         * benchtests/bench-rawmemchr.c: New file.
25250         * benchtests/bench-stpcpy-ifunc.c: New file.
25251         * benchtests/bench-stpcpy.c: New file.
25252         * benchtests/bench-stpncpy-ifunc.c: New file.
25253         * benchtests/bench-stpncpy.c: New file.
25254         * benchtests/bench-strcasecmp-ifunc.c: New file.
25255         * benchtests/bench-strcasecmp.c: New file.
25256         * benchtests/bench-strcasestr-ifunc.c: New file.
25257         * benchtests/bench-strcasestr.c: New file.
25258         * benchtests/bench-strcat-ifunc.c: New file.
25259         * benchtests/bench-strcat.c: New file.
25260         * benchtests/bench-strchr-ifunc.c: New file.
25261         * benchtests/bench-strchr.c: New file.
25262         * benchtests/bench-strchrnul-ifunc.c: New file.
25263         * benchtests/bench-strchrnul.c: New file.
25264         * benchtests/bench-strcmp-ifunc.c: New file.
25265         * benchtests/bench-strcmp.c: New file.
25266         * benchtests/bench-strcpy-ifunc.c: New file.
25267         * benchtests/bench-strcpy.c: New file.
25268         * benchtests/bench-strcspn-ifunc.c: New file.
25269         * benchtests/bench-strcspn.c: New file.
25270         * benchtests/bench-strlen-ifunc.c: New file.
25271         * benchtests/bench-strlen.c: New file.
25272         * benchtests/bench-strncasecmp-ifunc.c: New file.
25273         * benchtests/bench-strncasecmp.c: New file.
25274         * benchtests/bench-strncat-ifunc.c: New file.
25275         * benchtests/bench-strncat.c: New file.
25276         * benchtests/bench-strncmp-ifunc.c: New file.
25277         * benchtests/bench-strncmp.c: New file.
25278         * benchtests/bench-strncpy-ifunc.c: New file.
25279         * benchtests/bench-strncpy.c: New file.
25280         * benchtests/bench-strnlen-ifunc.c: New file.
25281         * benchtests/bench-strnlen.c: New file.
25282         * benchtests/bench-strpbrk-ifunc.c: New file.
25283         * benchtests/bench-strpbrk.c: New file.
25284         * benchtests/bench-strrchr-ifunc.c: New file.
25285         * benchtests/bench-strrchr.c: New file.
25286         * benchtests/bench-strspn-ifunc.c: New file.
25287         * benchtests/bench-strspn.c: New file.
25288         * benchtests/bench-strstr-ifunc.c: New file.
25289         * benchtests/bench-strstr.c: New file.
25291         * benchtests/Makefile: Disable parallel execution of targets.
25292         (string-bench): Add memcpy.
25293         (benchset): New variable to store a list of benchmark sets.
25294         (bench-func): Renamed from bench.
25295         (bench-set): New target.
25296         (bench): Depend on bench-func and bench-set.
25297         * benchtests/README: Add section on benchmark sets.
25298         * benchtests/bench-memcpy-ifunc.c: New file.
25299         * benchtests/bench-memcpy.c: New file.
25300         * benchtests/bench-string.h: New file.
25302 2013-06-11  Andreas Schwab  <schwab@suse.de>
25304         [BZ #15577]
25305         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25306         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25307         values in the triple.
25308         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25309         terminator in the group key.
25311 2013-06-11  Andreas Jaeger  <aj@suse.de>
25313         * po/zh_TW.po: Update Chinese (traditional) translation from
25314         translation project.
25316 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25318         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25319         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25320         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25321         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25322         (clock_getcpuclockid): Likewise.
25323         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25324         Add weak_alias and libc_hidden_def.
25325         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25326         * rt/clock_gettime.c (clock_gettime): Rename to
25327         __clock_gettime.  Add weak_alias and libc_hidden_def.
25328         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25329         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25330         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25331         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25332         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25333         Likewise.
25334         * rt/clock_settime.c (clock_settime): Rename to
25335         __clock_settime.  Add weak_alias and libc_hidden_def.
25336         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25338 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25340         * mach/err_boot.sub: Remove trailing whitespace.
25341         * mach/err_ipc.sub: Likewise.
25342         * mach/err_mach.sub: Likewise.
25344         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25345         (ROUNDING_TESTS_double): Likewise.
25346         (ROUNDING_TESTS_long_double): Likewise.
25347         (ROUNDING_TESTS): Likewise.
25348         * math/libm-test.inc: Include <math-tests.h>.
25349         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25350         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25351         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25352         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25354 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25356         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25357         of assigning.
25359 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25361         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25362         otherwise empty TRANS lines.
25363         * sysdeps/gnu/errlist.c: Regenerated.
25365         * catgets/gencat.c (error_print): Use (void) in function
25366         definition.
25367         * crypt/crypt_util.c (__init_des): Likewise.
25368         * crypt/speeds.c (Stop): Likewise.
25369         (main): Likewise.
25370         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25371         * inet/ruserpass.c (token): Likewise.
25372         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25373         * intl/localealias.c (extend_alias_table): Likewise.
25374         * intl/plural-exp.c (init_germanic_plural): Likewise.
25375         * libio/fcloseall.c (__fcloseall): Likewise.
25376         * libio/genops.c (_IO_flush_all): Likewise.
25377         (_IO_flush_all_linebuffered): Likewise.
25378         (_IO_cleanup): Likewise.
25379         (_IO_iter_begin): Likewise.
25380         (_IO_iter_end): Likewise.
25381         (_IO_list_lock): Likewise.
25382         (_IO_list_unlock): Likewise.
25383         (_IO_list_resetlock): Likewise.
25384         * libio/getchar.c (getchar): Likewise.
25385         * libio/getchar_u.c (getchar_unlocked): Likewise.
25386         * libio/getwchar.c (getwchar): Likewise.
25387         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25388         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25389         * login/getpt.c (__getpt): Likewise.
25390         * login/tst-utmp.c (main): Likewise.
25391         * malloc/hooks.c (__malloc_check_init): Likewise.
25392         * malloc/malloc.c (__malloc_stats): Likewise.
25393         * malloc/mtrace.c (tr_break): Likewise.
25394         (mtrace): Likewise.
25395         (muntrace): Likewise.
25396         * misc/fstab.c (endfsent): Likewise.
25397         * misc/getclktck.c (__getclktck): Likewise.
25398         * misc/getdtsz.c (__getdtablesize): Likewise.
25399         * misc/gethostid.c (gethostid): Likewise.
25400         * misc/getpagesize.c (__getpagesize): Likewise.
25401         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25402         (__get_nprocs): Likewise.
25403         (__get_phys_pages): Likewise.
25404         (__get_avphys_pages): Likewise.
25405         * misc/getttyent.c (getttyent): Likewise.
25406         (setttyent): Likewise.
25407         (endttyent): Likewise.
25408         * misc/getusershell.c (getusershell): Likewise.
25409         (endusershell): Likewise.
25410         (setusershell): Likewise.
25411         (initshells): Likewise.
25412         * misc/hsearch.c (__hdestroy): Likewise.
25413         * misc/sync.c (sync): Likewise.
25414         * misc/syslog.c (closelog_internal): Likewise.
25415         (closelog): Likewise.
25416         * misc/ttyslot.c (ttyslot): Likewise.
25417         * misc/vhangup.c (vhangup): Likewise.
25418         * posix/fork.c (__fork): Likewise.
25419         * posix/getegid.c (__getegid): Likewise.
25420         * posix/geteuid.c (__geteuid): Likewise.
25421         * posix/getgid.c (__getgid): Likewise.
25422         * posix/getpid.c (__getpid): Likewise.
25423         * posix/getppid.c (__getppid): Likewise.
25424         * posix/getuid.c (__getuid): Likewise.
25425         * posix/pause.c (pause): Likewise.
25426         * posix/setpgrp.c (setpgrp): Likewise.
25427         * posix/setsid.c (__setsid): Likewise.
25428         * posix/test-vfork.c (noop): Likewise.
25429         * resolv/gethnamaddr.c (_endhtent): Likewise.
25430         (_gethtent): Likewise.
25431         (ht_endhostent): Likewise.
25432         (gethostent): Likewise.
25433         (dns_service): Likewise.
25434         * stdlib/drand48.c (drand48): Likewise.
25435         * stdlib/lrand48.c (lrand48): Likewise.
25436         * stdlib/mrand48.c (mrand48): Likewise.
25437         * stdlib/rand.c (rand): Likewise.
25438         * stdlib/random.c (__random): Likewise.
25439         * stdlib/setenv.c (clearenv): Likewise.
25440         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25441         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25442         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25443         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25444         (__get_nprocs): Likewise.
25445         (__get_phys_pages): Likewise.
25446         (__get_avphys_pages): Likewise.
25447         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25448         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25449         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25450         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25451         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25452         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25453         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25454         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25455         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25456         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25457         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25458         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25459         * sysdeps/posix/clock.c (clock): Likewise.
25460         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25461         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25462         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25463         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25464         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25465         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25466         (__get_nprocs_conf): Likewise.
25467         (__get_phys_pages): Likewise.
25468         (__get_avphys_pages): Likewise.
25469         * time/clock.c (clock): Likewise.
25470         * time/tzset.c (__tzname_max): Likewise.
25472 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25474         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25475         (__bswap_32): Do not use "register".
25476         * crypt/crypt.c (_ufc_doit_r): Likewise.
25477         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25478         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25479         * gmon/gmon.c (__monstartup): Likewise.
25480         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25481         * hurd/hurdmalloc.c (more_memory): Likewise.
25482         (malloc): Likewise.
25483         (free): Likewise.
25484         (realloc): Likewise.
25485         (malloc_fork_prepare): Likewise.
25486         (malloc_fork_parent): Likewise.
25487         (malloc_fork_child): Likewise.
25488         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25489         (_svcauth_des): Likewise.
25490         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25491         * inet/inet_net.c (inet_network): Likewise.
25492         * inet/inet_netof.c (inet_netof): Likewise.
25493         * inet/rcmd.c (__validuser2_sa): Likewise.
25494         * io/fts.c (fts_open): Likewise.
25495         (fts_load): Likewise.
25496         (fts_close): Likewise.
25497         (fts_read): Likewise.
25498         (fts_children): Likewise.
25499         (fts_build): Likewise.
25500         (fts_stat): Likewise.
25501         (fts_sort): Likewise.
25502         (fts_alloc): Likewise.
25503         (fts_lfree): Likewise.
25504         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25505         (_IO_file_xsgetn): Likewise.
25506         (_IO_file_xsgetn_mmap): Likewise.
25507         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25508         (_IO_cookie_write): Likewise.
25509         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25510         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25511         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25512         * malloc/obstack.c (_obstack_begin): Likewise.
25513         (_obstack_begin_1): Likewise.
25514         (_obstack_newchunk): Likewise.
25515         (_obstack_allocated_p): Likewise.
25516         (obstack_free): Likewise.
25517         (_obstack_memory_used): Likewise.
25518         * misc/getttyent.c (getttynam): Likewise.
25519         (getttyent): Likewise.
25520         (skip): Likewise.
25521         (value): Likewise.
25522         * misc/getusershell.c (initshells): Likewise.
25523         * misc/syslog.c (__vsyslog_chk): Likewise.
25524         * misc/ttyslot.c (ttyslot): Likewise.
25525         * nis/nis_hash.c (__nis_hash): Likewise.
25526         * posix/fnmatch_loop.c (FCT): Likewise.
25527         * posix/getconf.c (print_all): Likewise.
25528         (main): Likewise.
25529         * posix/getopt.c (exchange): Likewise.
25530         * posix/glob.c (globfree): Likewise.
25531         (prefix_array): Likewise.
25532         (__glob_pattern_type): Likewise.
25533         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25534         (NS_GET32): Likewise.
25535         (NS_PUT16): Likewise.
25536         (NS_PUT32): Likewise.
25537         * resolv/gethnamaddr.c (getanswer): Likewise.
25538         (gethostbyname2): Likewise.
25539         (gethostbyaddr): Likewise.
25540         (_gethtent): Likewise.
25541         (_gethtbyname2): Likewise.
25542         (_gethtbyaddr): Likewise.
25543         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25544         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25545         * resolv/res_init.c (__res_vinit): Likewise.
25546         (net_mask): Likewise.
25547         * resolv/res_mkquery.c (outchar): Likewise.
25548         (PRINT): Likewise.
25549         * stdio-common/printf_fp.c (outchar): Likewise.
25550         (PRINT): Likewise.
25551         * stdio-common/printf_fphex.c (outchar): Likewise.
25552         (PRINT): Likewise.
25553         * stdio-common/printf_size.c (outchar): Likewise.
25554         (PRINT): Likewise.
25555         * stdio-common/test_rdwr.c (main): Likewise.
25556         * stdio-common/tfformat.c (matches): Likewise.
25557         * stdio-common/vfprintf.c (outchar): Likewise.
25558         (printf_unknown): Likewise.
25559         (buffered_vfprintf): Likewise.
25560         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25561         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25562         (ReadFile): Likewise.
25563         * stdlib/qsort.c (SWAP): Likewise.
25564         (_quicksort): Likewise.
25565         * stdlib/setenv.c (__add_to_environ): Likewise.
25566         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25567         * stdlib/strtol_l.c (__strtol_l): Likewise.
25568         * stdlib/tst-strtod.c (main): Likewise.
25569         * stdlib/tst-strtol.c (main): Likewise.
25570         * stdlib/tst-strtoll.c (main): Likewise.
25571         * string/bits/string2.h (__strcmp_cc): Likewise.
25572         (__strcmp_cg): Likewise.
25573         (__strcspn_c1): Likewise.
25574         (__strcspn_c2): Likewise.
25575         (__strcspn_c3): Likewise.
25576         (__strspn_c1): Likewise.
25577         (__strspn_c2): Likewise.
25578         (__strspn_c3): Likewise.
25579         (__strsep_1c): Likewise.
25580         (__strsep_2c): Likewise.
25581         (__strsep_3c): Likewise.
25582         * string/memccpy.c (__memccpy): Likewise.
25583         * string/stpcpy.c (__stpcpy): Likewise.
25584         * string/strcmp.c (strcmp): Likewise.
25585         * string/strrchr.c (strrchr): Likewise.
25586         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25587         Likewise.
25588         * sysdeps/mach/hurd/getcwd.c
25589         (_hurd_canonicalize_directory_name_internal): Likewise.
25590         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25591         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25592         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25593         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25594         Likewise, in both definitions.
25595         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25596         definitions.
25597         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25598         64] (__bswap_64): Likewise.
25599         * time/test_time.c (main): Likewise.
25600         * time/tzfile.c (__tzfile_read): Likewise.
25601         (__tzfile_compute): Likewise.
25602         * time/tzset.c (__tzset_parse_tz): Likewise.
25603         (tzset_internal): Likewise.
25604         (compute_change): Likewise.
25605         * wcsmbs/wcscat.c (__wcscat): Likewise.
25606         * wcsmbs/wcschr.c (wcschr): Likewise.
25607         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25608         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25609         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25610         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25611         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25612         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25613         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25614         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25615         * wcsmbs/wmemset.c (wmemset): Likewise.
25617 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25619         * scripts/config.guess: Update to version 2013-05-16.
25620         * scripts/config.sub: Update to version 2013-04-24.
25621         * scripts/install-sh: Update to version 2011-11-20.07.
25622         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25623         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25625 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25627         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25628         * elf/sln.c: Likewise.
25629         * hurd/hurd/ioctl.h: Likewise.
25630         * hurd/hurdmalloc.c: Likewise.
25631         * hurd/xattr.c: Likewise.
25632         * include/shlib-compat.h: Likewise.
25633         * inet/ruserpass.c: Likewise.
25634         * libio/iofgets_u.c: Likewise.
25635         * libio/iofgetws_u.c: Likewise.
25636         * locale/programs/ld-identification.c: Likewise.
25637         * locale/programs/ld-time.c: Likewise.
25638         * mach/msg-destroy.c: Likewise.
25639         * nss/nss_files/files-netgrp.c: Likewise.
25640         * resolv/res_data.c: Likewise.
25641         * soft-fp/op-1.h: Likewise.
25642         * soft-fp/op-2.h: Likewise.
25643         * soft-fp/op-4.h: Likewise.
25644         * soft-fp/op-common.h: Likewise.
25645         * stdio-common/printf_fphex.c: Likewise.
25646         * stdlib/strtod_l.c: Likewise.
25647         * sunrpc/rpc/clnt.h: Likewise.
25648         * sysdeps/generic/framestate.c: Likewise.
25649         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25650         * sysdeps/i386/bsd-setjmp.S: Likewise.
25651         * sysdeps/i386/__longjmp.S: Likewise.
25652         * sysdeps/i386/setjmp.S: Likewise.
25653         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25654         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25655         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25656         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25658         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25659         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25660         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25661         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25662         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25663         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25664         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25665         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25666         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25667         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25668         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25669         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25670         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25671         * sysdeps/ieee754/support.c: Likewise.
25672         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25673         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25674         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25675         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25676         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25677         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25678         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25679         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25680         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25681         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25682         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25683         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25684         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25685         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25686         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25687         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25688         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25691 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25693         * posix/transbug.c: Remove executable mode.
25695 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25697         * crypt/speeds.c: Remove trailing whitespace.
25698         * dlfcn/default.c: Likewise.
25699         * elf/ifuncdep2.c: Likewise.
25700         * elf/ifuncmain1.c: Likewise.
25701         * elf/ifuncmain1vis.c: Likewise.
25702         * elf/testobj.h: Likewise.
25703         * elf/tst-stackguard1.c: Likewise.
25704         * gmon/sys/gmon.h: Likewise.
25705         * hurd/hurdmsg.c: Likewise.
25706         * hurd/new-fd.c: Likewise.
25707         * hurd/ports-get.c: Likewise.
25708         * iconvdata/ibm1008_420.c: Likewise.
25709         * inet/tst-getni1.c: Likewise.
25710         * inet/tst-getni2.c: Likewise.
25711         * libio/ioungetc.c: Likewise.
25712         * libio/wfiledoalloc.c: Likewise.
25713         * manual/libm-err-tab.pl: Likewise.
25714         * math/w_dremf.c: Likewise.
25715         * misc/ftruncate.c: Likewise.
25716         * posix/bug-glob2.c: Likewise.
25717         * posix/tst-pcre.c: Likewise.
25718         * posix/wait4.c: Likewise.
25719         * resolv/README: Likewise.
25720         * resolv/res_debug.h: Likewise.
25721         * resolv/tst-inet_ntop.c: Likewise.
25722         * setjmp/bug269-setjmp.c: Likewise.
25723         * soft-fp/extended.h: Likewise.
25724         * soft-fp/op-1.h: Likewise.
25725         * soft-fp/op-2.h: Likewise.
25726         * soft-fp/op-4.h: Likewise.
25727         * soft-fp/op-8.h: Likewise.
25728         * soft-fp/testit.c: Likewise.
25729         * stdio-common/bug16.c: Likewise.
25730         * stdlib/random.c: Likewise.
25731         * sunrpc/rpcsvc/rquota.x: Likewise.
25732         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25733         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25734         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25735         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25736         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25737         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25738         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25739         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25740         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25741         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25742         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25743         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25744         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25745         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25746         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25747         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25748         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25749         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25750         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25751         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25752         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25753         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25754         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25755         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25756         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25757         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25758         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25759         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25760         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25761         * sysdeps/ieee754/s_lib_version.c: Likewise.
25762         * sysdeps/mach/hurd/check_fds.c: Likewise.
25763         * sysdeps/mach/hurd/getsockname.c: Likewise.
25764         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25765         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25766         * sysdeps/powerpc/bits/link.h: Likewise.
25767         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25768         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25769         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25770         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25771         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25772         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25773         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25774         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25775         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25776         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25777         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25778         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25779         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25780         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25781         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25782         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25783         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25784         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25785         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25786         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25787         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25788         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25789         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25790         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25791         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25792         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25793         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25794         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25795         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25796         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25799         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25800         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25801         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25802         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25803         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25804         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25805         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25806         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25807         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25808         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25809         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25810         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25811         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25812         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25813         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25814         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25815         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25816         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25819         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25820         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25821         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25822         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25823         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25824         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25825         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25826         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25827         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25828         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25829         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25830         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25831         * sysdeps/powerpc/sysdep.h: Likewise.
25832         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25833         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25834         * sysdeps/sh/dl-trampoline.S: Likewise.
25835         * sysdeps/sh/memset.S: Likewise.
25836         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25837         * sysdeps/sh/strlen.S: Likewise.
25838         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25839         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25840         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25841         * sysdeps/sparc/sparc32/rem.S: Likewise.
25842         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25843         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25844         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25845         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25846         * sysdeps/sparc/sparc32/urem.S: Likewise.
25847         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25848         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25849         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25850         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25851         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25852         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25853         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25854         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25855         * sysdeps/unix/bsd/times.c: Likewise.
25856         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25857         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25861         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25862         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25863         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25864         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25865         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25866         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25867         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25868         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25869         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25870         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25871         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25872         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25873         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25874         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25875         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25876         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25877         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25878         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25879         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25880         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25881         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25882         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25883         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25884         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25885         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25886         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25887         * sysdeps/x86_64/strcspn.S: Likewise.
25889 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25891         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25892         generated file.  Regenerate properly from gen-translit.pl.
25893         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25894         locale/C-translit.h.
25896 2013-06-05  Andreas Schwab  <schwab@suse.de>
25898         [BZ #15100]
25899         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25900         week as 6 instead of -1.
25901         * time/tst-strptime.c (day_tests): Add test case.
25903 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25905         * sysdeps/generic/math_private.h
25906         (libc_feholdexcept_setround_53bit): Replace with
25907         libc_feholdsetround_53bit.
25908         (libc_feupdateenv_53bit): Replace with
25909         libc_feresetround_53bit.
25910         (SET_RESTORE_ROUND_53BIT): Adjust.
25912 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25914         * string/test-strchrnul.c: Add copyright header.
25916         * posix/tst-getaddrinfo4.c: Increase test timeout.
25918 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25920         [BZ #15536]
25921         * math/libm-test.inc (MAX_EXP): Remove
25922         (MIN_EXP): Define.
25923         (ulp): Use MIN_EXP - MANT_DIG.
25924         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25926 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25928         * po/be.po: Revert last change.
25929         * po/zh_CN.po: Likewise.
25930         * po/header.pot: Likewise.
25932 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25934         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25935         link-libc-deps to empty as target-specific variable.
25936         * Makerules (link-libc-args): New variable.
25937         (libc-for-link): Likewise.
25938         (link-libc-deps): Likewise.
25939         (lib%.so): Depend on $(link-libc-deps).  Link with
25940         $(link-libc-args).
25941         (build-module): Link with $(link-libc-args).
25942         (build-module-asneeded): Likewise.
25943         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25944         list of objects.
25945         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25946         target-specific variable.
25947         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25948         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25949         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25950         libc.
25951         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25952         libc and ld.so.
25953         ($(objpfx)libpcprofile.so): Likewise.
25954         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25955         libc_nonshared.a.
25956         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25957         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25958         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25959         $(link-libc-deps).
25960         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25961         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25962         * login/Makefile ($(objpfx)libutil.so): Likewise.
25963         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25964         * math/Makefile ($(objpfx)libm.so): Likewise.
25965         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25966         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25967         variable instead of depending directly on libc.
25968         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25969         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25970         $(link-libc-deps).
25971         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25972         libc.
25973         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25974         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25975         ($(objpfx)libanl.so): Likewise.
25976         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25977         ld.so.
25978         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25979         $(link-libc-deps).
25980         * sysdeps/i386/fpu/Makefile: Remove file.
25981         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25982         ($(objpfx)libm.so): Remove dependency on ld.so.
25984 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25986         [BZ # 15553]
25987         * nis/yp_xdr.c (XDRMAXNAME): Define.
25988         (XDRMAXRECORD): Define.
25989         (xdr_domainname): Use XDRMAXNAME.
25990         (xdr_mapname): Likewise.
25991         (xdr_peername): Likewise.
25992         (xdr_keydat): Use XDRMAXRECORD.
25993         (xdr_valdat): Likewise.
25995 2013-05-30  Jeff Law  <law@redhat.com>
25997         [BZ #14256]
25998         * manual/errno.texi (ESTALE): Update to account for more than
25999         just NFS file systems.
26000         * sysdeps/gnu/errlist.c: Regenerated.
26002 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26004         [BZ #15465]
26005         * elf/Makefile (tests): Add tst-null-argv.
26006         (modules-names):  Add tst-null-argv-lib.
26007         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26008         (tst-null-argv-ENV): Set environment for tst-null-argv.
26009         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26010         (RTLD_PROGNAME): New macro.
26011         * elf/tst-null-argv.c: New test case.
26012         * elf/tst-null-argv-lib.c: Library for test case.
26013         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26014         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26015         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26016         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26017         * elf/dl-init.c (call_init): Likewise.
26018         (_dl_init): Likewise.
26019         * elf/dl-load.c (print_search_path): Likewise.
26020         (_dl_map_object): Likewise.
26021         * elf/dl-lookup.c (do_lookup_x): Likewise.
26022         (add_dependency): Likewise.
26023         (_dl_lookup_symbol_x): Likewise.
26024         (_dl_debug_bindings): Likewise.
26025         * elf/dl-open.c (_dl_show_scope): Likewise.
26026         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26027         * elf/dl-version.c (match_symbol): Likewise.
26028         (_dl_check_map_versions): Likewise.
26029         * elf/rtld.c (dl_main): Likewise.
26030         (print_unresolved): Use RTLD_PROGNAME.
26031         (print_missing_version): Likewise.
26032         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26033         (elf_machine_rela): Likewise.
26034         * sysdeps/powerpc/powerpc32/dl-machine.c
26035         (__process_machine_rela): Likewise.
26036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26037         Likewise.
26038         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26039         Likewise.
26040         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26041         Likewise.
26042         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26043         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26044         Likewise.
26045         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26046         Likewise.
26047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26049 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26051         * po/be.po: Add descriptive title.
26052         * po/zh_CN.po: Likewise.
26053         * po/header.pot: Likewise.
26055 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26057         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26058         error message.
26059         (enlarge_archive): Likewise.
26061 2013-05-28  Ben North  <ben@redfrontdoor.org>
26063         * manual/arith.texi (frexp): It is the magnitude of the return
26064         value which lies in [0.5, 1), not the return value itself.
26066 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26070 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26072         * stdio-common/bug26.c (main): Correct fscanf template.
26074         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26075         declare _dl_skip_args.
26077         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26078         Don't declare.
26080         * manual/platform.texi: Add missing @end deftypefun.
26082 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26084         [BZ #15529]
26085         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26086         bit of mantissa of 2^16382.
26087         * math/libm-test.inc (hypot_test_data): Add more tests.
26089         * math/libm-test.inc: Add drem and pow10 to list of tested
26090         functions.
26091         (pow10_test): New function.
26092         (drem_test): Likewise.
26093         (drem_test_tonearest): Likewise.
26094         (drem_test_towardzero): Likewise.
26095         (drem_test_downward): Likewise.
26096         (drem_test_upward): Likewise.
26097         (main): Call the new functions.
26099         * math/libm-test.inc (finite_test_data): Remove.
26100         (finite_test): Run tests from isfinite_test_data.
26101         (gamma_test_data): Remove.
26102         (gamma_test): Run tests from lgamma_test_data.
26103         * sysdeps/i386/fpu/libm-test-ulps: Update.
26104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26106 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26108         * manual/platform.texi: Add PowerPC PPR function set documentation.
26109         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26110         implementation.
26112 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26114         * math/libm-test.inc (MAX_EXP): Define.
26115         (ULPDIFF): Define.
26116         (ulp): New function.
26117         (check_float_internal): Use ULPDIFF.
26118         (cpow_test): Disable failing test.
26119         (check_ulp): Test ulp() implemetnation.
26120         (main): Call check_ulp before starting tests.
26122 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26124         * math/gen-libm-test.pl (generate_testfile): Do not handle
26125         START_DATA and END_DATA.
26126         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26127         END_DATA.
26128         (acos_tonearest_test_data): Likewise.
26129         (acos_towardzero_test_data): Likewise.
26130         (acos_downward_test_data): Likewise.
26131         (acos_upward_test_data): Likewise.
26132         (acosh_test_data): Likewise.
26133         (asin_test_data): Likewise.
26134         (asin_tonearest_test_data): Likewise.
26135         (asin_towardzero_test_data): Likewise.
26136         (asin_downward_test_data): Likewise.
26137         (asin_upward_test_data): Likewise.
26138         (asinh_test_data): Likewise.
26139         (atan_test_data): Likewise.
26140         (atanh_test_data): Likewise.
26141         (atan2_test_data): Likewise.
26142         (cabs_test_data): Likewise.
26143         (cacos_test_data): Likewise.
26144         (cacosh_test_data): Likewise.
26145         (carg_test_data): Likewise.
26146         (casin_test_data): Likewise.
26147         (casinh_test_data): Likewise.
26148         (catan_test_data): Likewise.
26149         (catanh_test_data): Likewise.
26150         (cbrt_test_data): Likewise.
26151         (ccos_test_data): Likewise.
26152         (ccosh_test_data): Likewise.
26153         (ceil_test_data): Likewise.
26154         (cexp_test_data): Likewise.
26155         (cimag_test_data): Likewise.
26156         (clog_test_data): Likewise.
26157         (clog10_test_data): Likewise.
26158         (conj_test_data): Likewise.
26159         (copysign_test_data): Likewise.
26160         (cos_test_data): Likewise.
26161         (cos_tonearest_test_data): Likewise.
26162         (cos_towardzero_test_data): Likewise.
26163         (cos_downward_test_data): Likewise.
26164         (cos_upward_test_data): Likewise.
26165         (cosh_test_data): Likewise.
26166         (cosh_tonearest_test_data): Likewise.
26167         (cosh_towardzero_test_data): Likewise.
26168         (cosh_downward_test_data): Likewise.
26169         (cosh_upward_test_data): Likewise.
26170         (cpow_test_data): Likewise.
26171         (cproj_test_data): Likewise.
26172         (creal_test_data): Likewise.
26173         (csin_test_data): Likewise.
26174         (csinh_test_data): Likewise.
26175         (csqrt_test_data): Likewise.
26176         (ctan_test_data): Likewise.
26177         (ctan_tonearest_test_data): Likewise.
26178         (ctan_towardzero_test_data): Likewise.
26179         (ctan_downward_test_data): Likewise.
26180         (ctan_upward_test_data): Likewise.
26181         (ctanh_test_data): Likewise.
26182         (ctanh_tonearest_test_data): Likewise.
26183         (ctanh_towardzero_test_data): Likewise.
26184         (ctanh_downward_test_data): Likewise.
26185         (ctanh_upward_test_data): Likewise.
26186         (erf_test_data): Likewise.
26187         (erfc_test_data): Likewise.
26188         (exp_test_data): Likewise.
26189         (exp_tonearest_test_data): Likewise.
26190         (exp_towardzero_test_data): Likewise.
26191         (exp_downward_test_data): Likewise.
26192         (exp_upward_test_data): Likewise.
26193         (exp10_test_data): Likewise.
26194         (exp2_test_data): Likewise.
26195         (expm1_test_data): Likewise.
26196         (fabs_test_data): Likewise.
26197         (fdim_test_data): Likewise.
26198         (finite_test_data): Likewise.
26199         (floor_test_data): Likewise.
26200         (fma_test_data): Likewise.
26201         (fma_towardzero_test_data): Likewise.
26202         (fma_downward_test_data): Likewise.
26203         (fma_upward_test_data): Likewise.
26204         (fmax_test_data): Likewise.
26205         (fmin_test_data): Likewise.
26206         (fmod_test_data): Likewise.
26207         (fpclassify_test_data): Likewise.
26208         (frexp_test_data): Likewise.
26209         (gamma_test_data): Likewise.
26210         (hypot_test_data): Likewise.
26211         (ilogb_test_data): Likewise.
26212         (isfinite_test_data): Likewise.
26213         (isgreater_test_data): Likewise.
26214         (isgreaterequal_test_data): Likewise.
26215         (isinf_test_data): Likewise.
26216         (isless_test_data): Likewise.
26217         (islessequal_test_data): Likewise.
26218         (islessgreater_test_data): Likewise.
26219         (isnan_test_data): Likewise.
26220         (isnormal_test_data): Likewise.
26221         (issignaling_test_data): Likewise.
26222         (isunordered_test_data): Likewise.
26223         (j0_test_data): Likewise.
26224         (j1_test_data): Likewise.
26225         (jn_test_data): Likewise.
26226         (ldexp_test_data): Likewise.
26227         (lgamma_test_data): Likewise.
26228         (lrint_test_data): Likewise.
26229         (lrint_tonearest_test_data): Likewise.
26230         (lrint_towardzero_test_data): Likewise.
26231         (lrint_downward_test_data): Likewise.
26232         (lrint_upward_test_data): Likewise.
26233         (llrint_test_data): Likewise.
26234         (llrint_tonearest_test_data): Likewise.
26235         (llrint_towardzero_test_data): Likewise.
26236         (llrint_downward_test_data): Likewise.
26237         (llrint_upward_test_data): Likewise.
26238         (log_test_data): Likewise.
26239         (log10_test_data): Likewise.
26240         (log1p_test_data): Likewise.
26241         (log2_test_data): Likewise.
26242         (logb_test_data): Likewise.
26243         (logb_downward_test_data): Likewise.
26244         (lround_test_data): Likewise.
26245         (llround_test_data): Likewise.
26246         (modf_test_data): Likewise.
26247         (nearbyint_test_data): Likewise.
26248         (nextafter_test_data): Likewise.
26249         (nexttoward_test_data): Likewise.
26250         (pow_test_data): Likewise.
26251         (pow_tonearest_test_data): Likewise.
26252         (pow_towardzero_test_data): Likewise.
26253         (pow_downward_test_data): Likewise.
26254         (pow_upward_test_data): Likewise.
26255         (remainder_test_data): Likewise.
26256         (remainder_tonearest_test_data): Likewise.
26257         (remainder_towardzero_test_data): Likewise.
26258         (remainder_downward_test_data): Likewise.
26259         (remainder_upward_test_data): Likewise.
26260         (remquo_test_data): Likewise.
26261         (rint_test_data): Likewise.
26262         (rint_tonearest_test_data): Likewise.
26263         (rint_towardzero_test_data): Likewise.
26264         (rint_downward_test_data): Likewise.
26265         (rint_upward_test_data): Likewise.
26266         (round_test_data): Likewise.
26267         (scalb_test_data): Likewise.
26268         (scalbn_test_data): Likewise.
26269         (scalbln_test_data): Likewise.
26270         (signbit_test_data): Likewise.
26271         (sin_test_data): Likewise.
26272         (sin_tonearest_test_data): Likewise.
26273         (sin_towardzero_test_data): Likewise.
26274         (sin_downward_test_data): Likewise.
26275         (sin_upward_test_data): Likewise.
26276         (sincos_test_data): Likewise.
26277         (sinh_test_data): Likewise.
26278         (sinh_tonearest_test_data): Likewise.
26279         (sinh_towardzero_test_data): Likewise.
26280         (sinh_downward_test_data): Likewise.
26281         (sinh_upward_test_data): Likewise.
26282         (sqrt_test_data): Likewise.
26283         (tan_test_data): Likewise.
26284         (tan_tonearest_test_data): Likewise.
26285         (tan_towardzero_test_data): Likewise.
26286         (tan_downward_test_data): Likewise.
26287         (tan_upward_test_data): Likewise.
26288         (tanh_test_data): Likewise.
26289         (tgamma_test_data): Likewise.
26290         (trunc_test_data): Likewise.
26291         (y0_test_data): Likewise.
26292         (y1_test_data): Likewise.
26293         (yn_test_data): Likewise.
26294         (significand_test_data): Likewise.
26296         * math/gen-libm-test.pl (@functions): Remove variable.
26297         (generate_testfile): Don't handle START and END lines.
26298         * math/libm-test.inc (START): New macro.
26299         (END): Likewise.
26300         (END_COMPLEX): Likewise.
26301         (acos_test): Use END macro without arguments.
26302         (acos_test_tonearest): Likewise.
26303         (acos_test_towardzero): Likewise.
26304         (acos_test_downward): Likewise.
26305         (acos_test_upward): Likewise.
26306         (acosh_test): Likewise.
26307         (asin_test): Likewise.
26308         (asin_test_tonearest): Likewise.
26309         (asin_test_towardzero): Likewise.
26310         (asin_test_downward): Likewise.
26311         (asin_test_upward): Likewise.
26312         (asinh_test): Likewise.
26313         (atan_test): Likewise.
26314         (atanh_test): Likewise.
26315         (atan2_test): Likewise.
26316         (cabs_test): Likewise.
26317         (cacos_test): Use END_COMPLEX macro without arguments.
26318         (cacosh_test): Likewise.
26319         (carg_test): Use END macro without arguments.
26320         (casin_test): Use END_COMPLEX macro without arguments.
26321         (casinh_test): Likewise.
26322         (catan_test): Likewise.
26323         (catanh_test): Likewise.
26324         (cbrt_test): Use END macro without arguments.
26325         (ccos_test): Use END_COMPLEX macro without arguments.
26326         (ccosh_test): Likewise.
26327         (ceil_test): Use END macro without arguments.
26328         (cexp_test): Use END_COMPLEX macro without arguments.
26329         (cimag_test): Use END macro without arguments.
26330         (clog_test): Use END_COMPLEX macro without arguments.
26331         (clog10_test): Likewise.
26332         (conj_test): Likewise.
26333         (copysign_test): Use END macro without arguments.
26334         (cos_test): Likewise.
26335         (cos_test_tonearest): Likewise.
26336         (cos_test_towardzero): Likewise.
26337         (cos_test_downward): Likewise.
26338         (cos_test_upward): Likewise.
26339         (cosh_test): Likewise.
26340         (cosh_test_tonearest): Likewise.
26341         (cosh_test_towardzero): Likewise.
26342         (cosh_test_downward): Likewise.
26343         (cosh_test_upward): Likewise.
26344         (cpow_test): Use END_COMPLEX macro without arguments.
26345         (cproj_test): Likewise.
26346         (creal_test): Use END macro without arguments.
26347         (csin_test): Use END_COMPLEX macro without arguments.
26348         (csinh_test): Likewise.
26349         (csqrt_test): Likewise.
26350         (ctan_test): Likewise.
26351         (ctan_test_tonearest): Likewise.
26352         (ctan_test_towardzero): Likewise.
26353         (ctan_test_downward): Likewise.
26354         (ctan_test_upward): Likewise.
26355         (ctanh_test): Likewise.
26356         (ctanh_test_tonearest): Likewise.
26357         (ctanh_test_towardzero): Likewise.
26358         (ctanh_test_downward): Likewise.
26359         (ctanh_test_upward): Likewise.
26360         (erf_test): Use END macro without arguments.
26361         (erfc_test): Likewise.
26362         (exp_test): Likewise.
26363         (exp_test_tonearest): Likewise.
26364         (exp_test_towardzero): Likewise.
26365         (exp_test_downward): Likewise.
26366         (exp_test_upward): Likewise.
26367         (exp10_test): Likewise.
26368         (exp2_test): Likewise.
26369         (expm1_test): Likewise.
26370         (fabs_test): Likewise.
26371         (fdim_test): Likewise.
26372         (finite_test): Likewise.
26373         (floor_test): Likewise.
26374         (fma_test): Likewise.
26375         (fma_test_towardzero): Likewise.
26376         (fma_test_downward): Likewise.
26377         (fma_test_upward): Likewise.
26378         (fmax_test): Likewise.
26379         (fmin_test): Likewise.
26380         (fmod_test): Likewise.
26381         (fpclassify_test): Likewise.
26382         (frexp_test): Likewise.
26383         (gamma_test): Likewise.
26384         (hypot_test): Likewise.
26385         (ilogb_test): Likewise.
26386         (isfinite_test): Likewise.
26387         (isgreater_test): Likewise.
26388         (isgreaterequal_test): Likewise.
26389         (isinf_test): Likewise.
26390         (isless_test): Likewise.
26391         (islessequal_test): Likewise.
26392         (islessgreater_test): Likewise.
26393         (isnan_test): Likewise.
26394         (isnormal_test): Likewise.
26395         (issignaling_test): Likewise.
26396         (isunordered_test): Likewise.
26397         (j0_test): Likewise.
26398         (j1_test): Likewise.
26399         (jn_test): Likewise.
26400         (ldexp_test): Likewise.
26401         (lgamma_test): Likewise.
26402         (lrint_test): Likewise.
26403         (lrint_test_tonearest): Likewise.
26404         (lrint_test_towardzero): Likewise.
26405         (lrint_test_downward): Likewise.
26406         (lrint_test_upward): Likewise.
26407         (llrint_test): Likewise.
26408         (llrint_test_tonearest): Likewise.
26409         (llrint_test_towardzero): Likewise.
26410         (llrint_test_downward): Likewise.
26411         (llrint_test_upward): Likewise.
26412         (log_test): Likewise.
26413         (log10_test): Likewise.
26414         (log1p_test): Likewise.
26415         (log2_test): Likewise.
26416         (logb_test): Likewise.
26417         (logb_test_downward): Likewise.
26418         (lround_test): Likewise.
26419         (llround_test): Likewise.
26420         (modf_test): Likewise.
26421         (nearbyint_test): Likewise.
26422         (nextafter_test): Likewise.
26423         (nexttoward_test): Likewise.
26424         (pow_test): Likewise.
26425         (pow_test_tonearest): Likewise.
26426         (pow_test_towardzero): Likewise.
26427         (pow_test_downward): Likewise.
26428         (pow_test_upward): Likewise.
26429         (remainder_test): Likewise.
26430         (remainder_test_tonearest): Likewise.
26431         (remainder_test_towardzero): Likewise.
26432         (remainder_test_downward): Likewise.
26433         (remainder_test_upward): Likewise.
26434         (remquo_test): Likewise.
26435         (rint_test): Likewise.
26436         (rint_test_tonearest): Likewise.
26437         (rint_test_towardzero): Likewise.
26438         (rint_test_downward): Likewise.
26439         (rint_test_upward): Likewise.
26440         (round_test): Likewise.
26441         (scalb_test): Likewise.
26442         (scalbn_test): Likewise.
26443         (scalbln_test): Likewise.
26444         (signbit_test): Likewise.
26445         (sin_test): Likewise.
26446         (sin_test_tonearest): Likewise.
26447         (sin_test_towardzero): Likewise.
26448         (sin_test_downward): Likewise.
26449         (sin_test_upward): Likewise.
26450         (sincos_test): Likewise.
26451         (sinh_test): Likewise.
26452         (sinh_test_tonearest): Likewise.
26453         (sinh_test_towardzero): Likewise.
26454         (sinh_test_downward): Likewise.
26455         (sinh_test_upward): Likewise.
26456         (sqrt_test): Likewise.
26457         (tan_test): Likewise.
26458         (tan_test_tonearest): Likewise.
26459         (tan_test_towardzero): Likewise.
26460         (tan_test_downward): Likewise.
26461         (tan_test_upward): Likewise.
26462         (tanh_test): Likewise.
26463         (tgamma_test): Likewise.
26464         (trunc_test): Likewise.
26465         (y0_test): Likewise.
26466         (y1_test): Likewise.
26467         (yn_test): Likewise.
26468         (significand_test): Likewise.
26470 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26472         [BZ #15381]
26473         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26475 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26477         [BZ #14894]
26478         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26479         __ppc_mdoio and __ppc_mdoom.
26480         * manual/platform.texi: Document new functions __ppc_yield,
26481         __ppc_mdoio and __ppc_mdoom.
26483 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26485         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26486         (main): Mention "tls" pseudo-hwcap is legacy.
26487         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26489 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26491         * math/gen-libm-test.pl (parse_args): Output only string of
26492         arguments as text for test name, not full call or descriptions of
26493         tests for extra outputs.
26494         (generate_testfile): Do not pass function name to parse_args.
26495         Generate this_func variable from START.
26496         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26497         field to arg_str.
26498         (struct test_ff_f_data): Likewise.
26499         (test_ff_f_data_nexttoward): Likewise.
26500         (struct test_fi_f_data): Likewise.
26501         (struct test_fl_f_data): Likewise.
26502         (struct test_if_f_data): Likewise.
26503         (struct test_fff_f_data): Likewise.
26504         (struct test_c_f_data): Likewise.
26505         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26506         (struct test_fF_f1_data): Likewise.
26507         (struct test_ffI_f1_data): Likewise.
26508         (struct test_c_c_data): Rename test_name field to arg_str.
26509         (struct test_cc_c_data): Likewise.
26510         (struct test_f_i_data): Likewise.
26511         (struct test_ff_i_data): Likewise.
26512         (struct test_f_l_data): Likewise.
26513         (struct test_f_L_data): Likewise.
26514         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26515         and extra2_name.
26516         (COMMON_TEST_SETUP): New macro.
26517         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26518         (COMMON_TEST_CLEANUP): Likewise.
26519         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26520         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26521         macros.
26522         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26523         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26524         macros.
26525         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26526         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26527         cleanup macros.
26528         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26529         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26530         macros.
26531         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26532         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26533         macros.
26534         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26535         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26536         cleanup macros.
26537         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26538         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26539         cleanup macros.
26540         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26541         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26542         cleanup macros.
26543         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26544         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26545         macros.
26546         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26547         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26548         macros.
26549         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26550         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26551         macros.
26552         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26553         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26554         cleanup macros.
26555         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26556         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26557         cleanup macros.
26558         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26559         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26560         macros.
26561         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26562         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26563         cleanup macros.
26564         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26565         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26566         macros.
26567         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26568         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26569         macros.
26570         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26571         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26572         cleanup macros.
26573         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26575 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26577         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26578         to _sifields.sigfault.
26579         (si_addr_lsb): Define new macro.
26580         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26581         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26582         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26584 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26586         [BZ #15441]
26587         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26588         returns -1.
26589         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26590         null return -1.
26591         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26592         loading the domain.
26594 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26596         * math/gen-libm-test.pl (parse_args): Do not include expected
26597         result in test name.
26598         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26600         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26601         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26602         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26605 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26607         * benchtests/Makefile: Sort function entries.
26609         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26610         tanh, asinh, acosh, atanh.
26611         * benchtests/acos-inputs: New file.
26612         * benchtests/acosh-inputs: New file.
26613         * benchtests/asin-inputs: New file.
26614         * benchtests/asinh-inputs: New file.
26615         * benchtests/atanh-inputs: New file.
26616         * benchtests/cosh-inputs: New file.
26617         * benchtests/log-inputs: New file.
26618         * benchtests/sinh-inputs: New file.
26619         * benchtests/tanh-inputs: New file.
26621 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26623         [BZ #15339]
26624         * posix/tst-getaddrinfo4.c: New test.
26625         * posix/Makefile (tests): Add it.
26627 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26629         [BZ #15339]
26630         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26631         when no services were used.
26632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26633         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26635 2013-05-21  Andreas Schwab  <schwab@suse.de>
26637         [BZ #15014]
26638         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26639         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26640         successful.
26641         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26642         redundant variable declarations and reallocation of buffer when
26643         parsing as IPv6 address.  Always set NSS status when called from
26644         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26645         buffer too small.  Correct computation of needed size.
26646         * nss/Makefile (tests): Add test-digits-dots.
26647         * nss/test-digits-dots.c: New test.
26649 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26651         * benchtests/Makefile: Remove instructions for adding
26652         benchmark tests.
26653         * benchtests/README: New file to explain how to execute and
26654         enhance the benchmark tests.
26656 2013-05-21  Andreas Schwab  <schwab@suse.de>
26658         [BZ #15493]
26659         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26660         * setjmp/tst-sigsetjmp.c: New test.
26662 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26664         * sysdeps/x86_64/memset.S (memset): New implementation.
26665         (__bzero): Likewise.
26666         (__memset_tail): New function.
26668 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26670         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26671         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26672         __memcpy_sse2_unaligned ifunc selection.
26673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26674         Add memcpy-sse2-unaligned.S.
26675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26676         Add: __memcpy_sse2_unaligned.
26678 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26680         [BZ #15490]
26681         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26682         math_force_eval before restoring floating-point envrionment.
26683         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26685         Likewise.
26686         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26687         <math_private.h>.
26688         (__nearbyintl): Use math_force_eval before restoring
26689         floating-point environment.
26690         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26692         * math/gen-libm-test.pl (special_functions): Remove.
26693         (parse_args): Don't handle TEST_extra.  Handle functions with no
26694         return value.
26695         * math/libm-test.inc (struct test_sincos_data): Replace with
26696         struct test_fFF_11_data.
26697         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26698         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26699         (sincos_test_data): Change element type to struct
26700         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26701         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26702         RUN_TEST_LOOP_sincos.
26703         * math/README.libm-test: Don't mention special handling of
26704         individual functions.
26705         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26706         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26707         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26708         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26709         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26712         * math/gen-libm-test.pl (get_variable): Remove function.
26713         (parse_args): Don't show pointer parameters to call in test
26714         names.  Use "extra output N" in test names for extra outputs
26715         rather than naming variables.
26717 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #15488]
26720         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26721         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26722         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26723         double tests.
26724         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26725         disable.
26726         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26727         check_long_double.
26729         * math/gen-libm-test.pl (@tests): Remove variable.
26730         ($count): Likewise.
26731         (new_test): Remove function.
26732         (show_exceptions): New function.
26733         (special_functions): Use show_exceptions instead of new_test.
26734         (parse_args): Likewise.
26735         (generate_testfile): Pass only function name in generated call to
26736         print_max_error or print_complex_max_error.
26737         (get_ulps): Do not handle complex tests specially.
26738         (output_test): Rename to ...
26739         (get_all_ulps_for_test): ... this.  Return a string rather than
26740         printing to a file.  Require ulps to be present.
26741         (output_ulps): Generate arrays rather than #defines.
26742         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26743         (struct ulp_data): New type.
26744         (BUILD_COMPLEX_ULP): Remove macro.
26745         (compare_ulp_data): New function.
26746         (find_ulps): Likewise.
26747         (find_test_ulps): Likewise.
26748         (find_function_ulps): Likewise.
26749         (find_complex_function_ulps): Likewise.
26750         (print_max_error): Determine allowed ulps using
26751         find_function_ulps.
26752         (print_complex_max_error): Determine allowed ulps using
26753         find_complex_function_ulps.
26754         (check_float_internal): Determine max ulps using find_test_ulps.
26755         (check_float): Do not take max_ulp parameter.  Update call to
26756         check_float_internal.
26757         (check_complex): Likewise.
26758         (check_int): Do not take max_ulp parameter.
26759         (check_long): Likewise.
26760         (check_bool): Likewise.
26761         (check_longlong): Likewise.
26762         (struct test_f_f_data): Remove max_ulp field.
26763         (struct test_ff_f_data): Likewise.
26764         (struct test_ff_f_data_nexttoward): Likewise.
26765         (struct test_fi_f_data): Likewise.
26766         (struct test_fl_f_data): Likewise.
26767         (struct test_if_f_data): Likewise.
26768         (struct test_fff_f_data): Likewise.
26769         (struct test_c_f_data): Likewise.
26770         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26771         (struct test_fF_f1_data): Likewise.
26772         (struct test_ffI_f1_data): Likewise.
26773         (struct test_c_c_data): Remove max_ulp field.
26774         (struct test_cc_c_data): Likewise.
26775         (struct test_f_i_data): Likewise.
26776         (struct test_ff_i_data): Likewise.
26777         (struct test_f_l_data): Likewise.
26778         (struct test_f_L_data): Likewise.
26779         (struct test_sincos_data): Likewise.
26780         (RUN_TEST_f_f): Do not handle ulps.
26781         (RUN_TEST_LOOP_f_f): Likewise.
26782         (RUN_TEST_2_f): Likewise.
26783         (RUN_TEST_LOOP_2_f): Likewise.
26784         (RUN_TEST_fff_f): Likewise.
26785         (RUN_TEST_LOOP_fff_f): Likewise.
26786         (RUN_TEST_c_f): Likewise.
26787         (RUN_TEST_LOOP_c_f): Likewise.
26788         (RUN_TEST_f_f1): Likewise.
26789         (RUN_TEST_LOOP_f_f1): Likewise.
26790         (RUN_TEST_fF_f1): Likewise.
26791         (RUN_TEST_LOOP_fF_f1): Likewise.
26792         (RUN_TEST_fI_f1): Likewise.
26793         (RUN_TEST_LOOP_fI_f1): Likewise.
26794         (RUN_TEST_ffI_f1): Likewise.
26795         (RUN_TEST_LOOP_ffI_f1): Likewise.
26796         (RUN_TEST_c_c): Likewise.
26797         (RUN_TEST_LOOP_c_c): Likewise.
26798         (RUN_TEST_cc_c): Likewise.
26799         (RUN_TEST_LOOP_cc_c): Likewise.
26800         (RUN_TEST_f_i): Likewise.
26801         (RUN_TEST_LOOP_f_i): Likewise.
26802         (RUN_TEST_f_i_tg): Likewise.
26803         (RUN_TEST_LOOP_f_i_tg): Likewise.
26804         (RUN_TEST_ff_i_tg): Likewise.
26805         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26806         (RUN_TEST_f_b): Likewise.
26807         (RUN_TEST_LOOP_f_b): Likewise.
26808         (RUN_TEST_f_b_tg): Likewise.
26809         (RUN_TEST_LOOP_f_b_tg): Likewise.
26810         (RUN_TEST_f_l): Likewise.
26811         (RUN_TEST_LOOP_f_l): Likewise.
26812         (RUN_TEST_f_L): Likewise.
26813         (RUN_TEST_LOOP_f_L): Likewise.
26814         (RUN_TEST_sincos): Likewise.
26815         (RUN_TEST_LOOP_sincos): Likewise.
26817 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26819         [BZ #15480]
26820         [BZ #15485]
26821         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26822         main case of finite arguments, set rounding mode to FE_TONEAREST
26823         and discard exceptions.
26824         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26825         exceptions.
26826         (remainder_tonearest_test_data): New variable.
26827         (remainder_test_tonearest): New function.
26828         (remainder_towardzero_test_data): New variable.
26829         (remainder_test_towardzero): New function.
26830         (remainder_downward_test_data): New variable.
26831         (remainder_test_downward): New function.
26832         (remainder_upward_test_data): New variable.
26833         (remainder_test_upward): New function.
26834         (main): Call the new test functions.
26836         * math/libm-test.inc (struct test_f_f1_data): Remove field
26837         extra_init.
26838         (struct test_fF_f1_data): Likewise.
26839         (struct test_ffI_f1_data): Likewise.
26840         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26841         based on value of EXTRA_EXPECTED.
26842         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26843         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26844         EXTRA_VAR based on value of EXTRA_EXPECTED.
26845         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26846         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26847         EXTRA_VAR based on value of EXTRA_EXPECTED.
26848         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26849         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26850         EXTRA_VAR based on value of EXTRA_EXPECTED.
26851         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26852         * math/gen-libm-test.pl (parse_args): Don't output initializers
26853         for extra output values.
26855         * math/libm-test.inc (check_int): Expect result to be exactly
26856         equal to expected value and do not handle ulps.
26857         (check_long): Likewise.
26858         (check_longlong): Likewise.
26860         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26861         exceptions.
26862         (cimag_test_data): Likewise.
26863         (conj_test_data): Likewise.
26864         (copysign_test_data): Likewise.
26865         (cproj_test_data): Likewise.
26866         (creal_test_data): Likewise.
26867         (fabs_test_data): Likewise.
26868         (fdim_test_data): Likewise.
26869         (finite_test_data): Likewise.
26870         (floor_test_data): Likewise.
26871         (fmax_test_data): Likewise.
26872         (fmin_test_data): Likewise.
26873         (fmod_test_data): Likewise.
26874         (fpclassify_test_data): Likewise.
26875         (frexp_test_data): Likewise.
26876         (ilogb_test_data): Likewise.
26877         (isfinite_test_data): Likewise.
26878         (isgreater_test_data): Likewise.
26879         (isgreaterequal_test_data): Likewise.
26880         (isinf_test_data): Likewise.
26881         (isless_test_data): Likewise.
26882         (islessequal_test_data): Likewise.
26883         (islessgreater_test_data): Likewise.
26884         (isnan_test_data): Likewise.
26885         (isnormal_test_data): Likewise.
26886         (issignaling_test_data): Likewise.
26887         (isunordered_test_data): Likewise.
26888         (ldexp_test_data): Likewise.
26889         (lrint_test_data): Likewise.
26890         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26891         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26892         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26893         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26894         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26895         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26896         test input.
26897         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26898         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26899         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26900         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26901         that test input.
26902         (lrint_downward_test_data): Test for "inexact" exceptions.
26903         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26904         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26905         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26906         test input.
26907         (lrint_upward_test_data): Test for "inexact" exceptions.
26908         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26909         test input.
26910         (llrint_test_data): Test for "inexact" exceptions.
26911         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26912         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26913         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26914         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26915         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26916         (llrint_downward_test_data): Test for "inexact" exceptions.
26917         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26918         (llrint_upward_test_data): Test for "inexact" exceptions.
26919         (logb_test_data): Likewise.
26920         (logb_downward_test_data): Likewise.
26921         (nextafter_test_data): Likewise.
26922         (nexttoward_test_data): Likewise.
26923         (remainder_test_data): Likewise.
26924         (remquo_test_data): Likewise.
26925         (scalbn_test_data): Likewise.
26926         (scalbln_test_data): Likewise.
26927         (signbit_test_data): Likewise.
26928         (sqrt_test_data): Likewise.
26929         (significand_test_data): Likewise.
26931 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933         [BZ #15424]
26934         * benchtests/bench-modf.c (struct args): Mark arg0 as
26935         volatile.
26936         * scripts/bench.pl: Mark members of struct args as volatile.
26938 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26940         [BZ # 15497]
26941         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26942         negative infinity on POWER6 or lower.
26943         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26945 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26947         [BZ #15442]
26948         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26949         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26950         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26951         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26952         (_FP_SETQNAN): New macro.
26953         (_FP_SETQNAN_SEMIRAW): Likewise.
26954         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26955         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26956         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26957         (FP_EXTEND): Use _FP_FRAC_SNANP.
26958         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26959         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26960         into account.
26961         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26962         New macro.
26963         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26964         Likewise.
26966 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26968         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26969         with DIVIDE_BY_ZERO_EXCEPTION.
26970         (gamma_test_data): Likewise.
26971         (lgamma_test_data): Likewise.
26972         (log_test_data): Likewise.
26973         (log10_test_data): Likewise.
26974         (log2_test_data): Likewise.
26975         (tgamma_test_data): Likewise.
26977         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26978         (acos_test_tonearest): Likewise.
26979         (acos_test_towardzero): Likewise.
26980         (acos_test_downward): Likewise.
26981         (acos_test_upward): Likewise.
26982         (acosh_test): Likewise.
26983         (asin_test): Likewise.
26984         (asin_test_tonearest): Likewise.
26985         (asin_test_towardzero): Likewise.
26986         (asin_test_downward): Likewise.
26987         (asin_test_upward): Likewise.
26988         (asinh_test): Likewise.
26989         (atan_test): Likewise.
26990         (atanh_test): Likewise.
26991         (atan2_test): Likewise.
26992         (cabs_test): Likewise.
26993         (cacos_test): Likewise.
26994         (cacosh_test): Likewise.
26995         (casin_test): Likewise.
26996         (casinh_test): Likewise.
26997         (catan_test): Likewise.
26998         (catanh_test): Likewise.
26999         (cbrt_test): Likewise.
27000         (ccos_test): Likewise.
27001         (ccosh_test): Likewise.
27002         (cexp_test): Likewise.
27003         (clog_test): Likewise.
27004         (clog10_test): Likewise.
27005         (cos_test): Likewise.
27006         (cos_test_tonearest): Likewise.
27007         (cos_test_towardzero): Likewise.
27008         (cos_test_downward): Likewise.
27009         (cos_test_upward): Likewise.
27010         (cosh_test): Likewise.
27011         (cosh_test_tonearest): Likewise.
27012         (cosh_test_towardzero): Likewise.
27013         (cosh_test_downward): Likewise.
27014         (cosh_test_upward): Likewise.
27015         (cpow_test): Likewise.
27016         (csin_test): Likewise.
27017         (csinh_test): Likewise.
27018         (csqrt_test): Likewise.
27019         (ctan_test): Likewise.
27020         (ctan_test_tonearest): Likewise.
27021         (ctan_test_towardzero): Likewise.
27022         (ctan_test_downward): Likewise.
27023         (ctan_test_upward): Likewise.
27024         (ctanh_test): Likewise.
27025         (ctanh_test_tonearest): Likewise.
27026         (ctanh_test_towardzero): Likewise.
27027         (ctanh_test_downward): Likewise.
27028         (ctanh_test_upward): Likewise.
27029         (erf_test): Likewise.
27030         (erfc_test): Likewise.
27031         (exp_test): Likewise.
27032         (exp_test_tonearest): Likewise.
27033         (exp_test_towardzero): Likewise.
27034         (exp_test_downward): Likewise.
27035         (exp_test_upward): Likewise.
27036         (exp10_test): Likewise.
27037         (exp2_test): Likewise.
27038         (expm1_test): Likewise.
27039         (fmod_test): Likewise.
27040         (gamma_test): Likewise.
27041         (hypot_test): Likewise.
27042         (j0_test): Likewise.
27043         (j1_test): Likewise.
27044         (jn_test): Likewise.
27045         (lgamma_test): Likewise.
27046         (log_test): Likewise.
27047         (log10_test): Likewise.
27048         (log1p_test): Likewise.
27049         (log2_test): Likewise.
27050         (logb_test_downward): Likewise.
27051         (pow_test): Likewise.
27052         (pow_test_tonearest): Likewise.
27053         (pow_test_towardzero): Likewise.
27054         (pow_test_downward): Likewise.
27055         (pow_test_upward): Likewise.
27056         (remainder_test): Likewise.
27057         (remquo_test): Likewise.
27058         (sin_test): Likewise.
27059         (sin_test_tonearest): Likewise.
27060         (sin_test_towardzero): Likewise.
27061         (sin_test_downward): Likewise.
27062         (sin_test_upward): Likewise.
27063         (sincos_test): Likewise.
27064         (sinh_test): Likewise.
27065         (sinh_test_tonearest): Likewise.
27066         (sinh_test_towardzero): Likewise.
27067         (sinh_test_downward): Likewise.
27068         (sinh_test_upward): Likewise.
27069         (sqrt_test): Likewise.
27070         (tan_test): Likewise.
27071         (tan_test_tonearest): Likewise.
27072         (tan_test_towardzero): Likewise.
27073         (tan_test_downward): Likewise.
27074         (tan_test_upward): Likewise.
27075         (tanh_test): Likewise.
27076         (tgamma_test): Likewise.
27077         (y0_test): Likewise.
27078         (y1_test): Likewise.
27079         (yn_test): Likewise.
27081         * math/gen-libm-test.pl (adjust_arg): Remove function.
27082         (special_function): Remove argument $in_func.  Only handle
27083         generating output for tables of tests, not inside functions.
27084         (parse_args): Likewise.
27085         (generate_testfile): Remove variable $in_func.  Update call to
27086         parse_args.
27087         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27088         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27089         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27090         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27091         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27092         (MAX_VALUE_INIT): Rename macro to max_value.
27093         (MIN_VALUE_INIT): Rename macro to min_value.
27094         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27095         (plus_zero): Remove variable.
27096         (minus_zero): Likewise.
27097         (plus_infty): Likewise.
27098         (minus_infty): Likewise.
27099         (qnan_value): Likewise.
27100         (max_value): Likewise.
27101         (min_value): Likewise.
27102         (min_subnorm_value): Likewise.
27104 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27106         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27107         uint64_t or uint32_t usage.
27108         * crypt/sha256-block.c: Likewise.
27109         * crypt/sha256-crypt.c: Likewise.
27110         * crypt/sha256.c: Likewise.
27111         * crypt/sha512-block.c: Likewise.
27112         * crypt/sha512-crypt.c: Likewise.
27113         * crypt/sha512.c: Likewise.
27114         * debug/backtrace-tst.c: Likewise.
27115         * debug/pcprofiledump.c: Likewise.
27116         * elf/cache.c: Likewise.
27117         * elf/dl-cache.c: Likewise.
27118         * elf/dl-misc.c: Likewise.
27119         * elf/dl-profile.c: Likewise.
27120         * elf/dl-support.c: Likewise.
27121         * elf/ldconfig.c: Likewise.
27122         * elf/sprof.c: Likewise.
27123         * iconv/dummy-repertoire.c: Likewise.
27124         * iconv/iconv_charmap.c: Likewise.
27125         * iconv/skeleton.c: Likewise.
27126         * iconvdata/8bit-generic.c: Likewise.
27127         * iconvdata/cp737.h: Likewise.
27128         * iconvdata/cp775.h: Likewise.
27129         * iconvdata/ibm1008.h: Likewise.
27130         * iconvdata/ibm1025.h: Likewise.
27131         * iconvdata/ibm1046.h: Likewise.
27132         * iconvdata/ibm1097.h: Likewise.
27133         * iconvdata/ibm1112.h: Likewise.
27134         * iconvdata/ibm1122.h: Likewise.
27135         * iconvdata/ibm1123.h: Likewise.
27136         * iconvdata/ibm1124.h: Likewise.
27137         * iconvdata/ibm1129.h: Likewise.
27138         * iconvdata/ibm1130.h: Likewise.
27139         * iconvdata/ibm1132.h: Likewise.
27140         * iconvdata/ibm1133.h: Likewise.
27141         * iconvdata/ibm1137.h: Likewise.
27142         * iconvdata/ibm1140.h: Likewise.
27143         * iconvdata/ibm1141.h: Likewise.
27144         * iconvdata/ibm1142.h: Likewise.
27145         * iconvdata/ibm1143.h: Likewise.
27146         * iconvdata/ibm1144.h: Likewise.
27147         * iconvdata/ibm1145.h: Likewise.
27148         * iconvdata/ibm1146.h: Likewise.
27149         * iconvdata/ibm1147.h: Likewise.
27150         * iconvdata/ibm1148.h: Likewise.
27151         * iconvdata/ibm1149.h: Likewise.
27152         * iconvdata/ibm1153.h: Likewise.
27153         * iconvdata/ibm1154.h: Likewise.
27154         * iconvdata/ibm1155.h: Likewise.
27155         * iconvdata/ibm1156.h: Likewise.
27156         * iconvdata/ibm1157.h: Likewise.
27157         * iconvdata/ibm1158.h: Likewise.
27158         * iconvdata/ibm1160.h: Likewise.
27159         * iconvdata/ibm1161.h: Likewise.
27160         * iconvdata/ibm1162.h: Likewise.
27161         * iconvdata/ibm1163.h: Likewise.
27162         * iconvdata/ibm1164.h: Likewise.
27163         * iconvdata/ibm1166.h: Likewise.
27164         * iconvdata/ibm1167.h: Likewise.
27165         * iconvdata/ibm12712.h: Likewise.
27166         * iconvdata/ibm1390.h: Likewise.
27167         * iconvdata/ibm1399.h: Likewise.
27168         * iconvdata/ibm16804.h: Likewise.
27169         * iconvdata/ibm4517.h: Likewise.
27170         * iconvdata/ibm4899.h: Likewise.
27171         * iconvdata/ibm4909.h: Likewise.
27172         * iconvdata/ibm4971.h: Likewise.
27173         * iconvdata/ibm5347.h: Likewise.
27174         * iconvdata/ibm803.h: Likewise.
27175         * iconvdata/ibm856.h: Likewise.
27176         * iconvdata/ibm901.h: Likewise.
27177         * iconvdata/ibm902.h: Likewise.
27178         * iconvdata/ibm9030.h: Likewise.
27179         * iconvdata/ibm9066.h: Likewise.
27180         * iconvdata/ibm921.h: Likewise.
27181         * iconvdata/ibm922.h: Likewise.
27182         * iconvdata/ibm9448.h: Likewise.
27183         * iconvdata/isiri-3342.h: Likewise.
27184         * iconvdata/jis0201.h: Likewise.
27185         * include/link.h: Likewise.
27186         * include/netdb.h: Likewise.
27187         * inet/check_native.c: Likewise.
27188         * inet/check_pf.c: Likewise.
27189         * inet/getipv4sourcefilter.c: Likewise.
27190         * inet/getnameinfo.c: Likewise.
27191         * inet/getsourcefilter.c: Likewise.
27192         * inet/htonl.c: Likewise.
27193         * inet/setipv4sourcefilter.c: Likewise.
27194         * inet/setsourcefilter.c: Likewise.
27195         * inet/test-inet6_opt.c: Likewise.
27196         * inet/tst-network.c: Likewise.
27197         * locale/C-collate.c: Likewise.
27198         * locale/C-ctype.c: Likewise.
27199         * locale/C-time.c: Likewise.
27200         * locale/C-translit.h: Likewise.
27201         * locale/loadarchive.c: Likewise.
27202         * locale/programs/3level.h: Likewise.
27203         * locale/programs/charmap.c: Likewise.
27204         * locale/programs/charmap.h: Likewise.
27205         * locale/programs/ld-address.c: Likewise.
27206         * locale/programs/ld-collate.c: Likewise.
27207         * locale/programs/ld-ctype.c: Likewise.
27208         * locale/programs/ld-identification.c: Likewise.
27209         * locale/programs/ld-measurement.c: Likewise.
27210         * locale/programs/ld-messages.c: Likewise.
27211         * locale/programs/ld-monetary.c: Likewise.
27212         * locale/programs/ld-name.c: Likewise.
27213         * locale/programs/ld-numeric.c: Likewise.
27214         * locale/programs/ld-paper.c: Likewise.
27215         * locale/programs/ld-telephone.c: Likewise.
27216         * locale/programs/ld-time.c: Likewise.
27217         * locale/programs/linereader.c: Likewise.
27218         * locale/programs/locale.c: Likewise.
27219         * locale/programs/locarchive.c: Likewise.
27220         * locale/programs/locfile.h: Likewise.
27221         * locale/programs/repertoire.c: Likewise.
27222         * locale/programs/simple-hash.c: Likewise.
27223         * locale/programs/simple-hash.h: Likewise.
27224         * malloc/memusage.c: Likewise.
27225         * malloc/memusagestat.c: Likewise.
27226         * nis/nis_defaults.c: Likewise.
27227         * nis/nis_hash.c: Likewise.
27228         * nis/nis_print.c: Likewise.
27229         * nis/nis_xdr.c: Likewise.
27230         * nscd/connections.c: Likewise.
27231         * nscd/hstcache.c: Likewise.
27232         * nscd/nscd_gethst_r.c: Likewise.
27233         * nscd/nscd_getserv_r.c: Likewise.
27234         * nscd/nscd_helper.c: Likewise.
27235         * nscd/servicescache.c: Likewise.
27236         * nss/makedb.c: Likewise.
27237         * nss/nss_db/db-XXX.c: Likewise.
27238         * nss/nss_db/db-initgroups.c: Likewise.
27239         * nss/nss_db/db-netgrp.c: Likewise.
27240         * nss/nss_files/files-network.c: Likewise.
27241         * nss/nss_files/files-parse.c: Likewise.
27242         * posix/bug-regex5.c: Likewise.
27243         * posix/fnmatch_loop.c: Likewise.
27244         * posix/regcomp.c: Likewise.
27245         * posix/regexec.c: Likewise.
27246         * posix/tst-rfc3484-2.c: Likewise.
27247         * posix/tst-rfc3484-3.c: Likewise.
27248         * posix/tst-rfc3484.c: Likewise.
27249         * resolv/nss_dns/dns-canon.c: Likewise.
27250         * resolv/nss_dns/dns-network.c: Likewise.
27251         * resolv/res_init.c: Likewise.
27252         * resolv/res_mkquery.c: Likewise.
27253         * resolv/tst-aton.c: Likewise.
27254         * stdlib/cxa_atexit.c: Likewise.
27255         * stdlib/cxa_finalize.c: Likewise.
27256         * stdlib/gen-fpioconst.c: Likewise.
27257         * stdlib/strtol_l.c: Likewise.
27258         * string/tst-endian.c: Likewise.
27259         * sunrpc/auth_des.c: Likewise.
27260         * sunrpc/clnt_udp.c: Likewise.
27261         * sunrpc/rtime.c: Likewise.
27262         * sunrpc/svcauth_des.c: Likewise.
27263         * sunrpc/xdr.c: Likewise.
27264         * sunrpc/xdr_intXX_t.c: Likewise.
27265         * sunrpc/xdr_rec.c: Likewise.
27266         * sysdeps/generic/ldconfig.h: Likewise.
27267         * sysdeps/generic/ldsodefs.h: Likewise.
27268         * sysdeps/generic/memusage.h: Likewise.
27269         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27271         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27272         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27273         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27274         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27275         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27276         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27277         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27279         * sysdeps/posix/getaddrinfo.c: Likewise.
27280         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27281         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27282         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27283         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27284         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27285         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27286         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27287         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27288         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27289         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27290         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27291         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27292         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27293         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27294         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27295         * sysdeps/x86_64/dl-tls.h: Likewise.
27296         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27297         * time/alt_digit.c: Likewise.
27298         * time/era.c: Likewise.
27299         * wcsmbs/tst-c16c32-1.c: Likewise.
27301 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27303         * math/libm-test.inc (struct test_sincos_data): New type.
27304         (RUN_TEST_LOOP_sincos): New macro.
27305         (sincos_test_data): New variable.
27306         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27308 2013-05-16  Richard Henderson  <rth@redhat.com>
27310         * math/atest-exp2.c (LIMB64): New macro.
27311         (CONSTSZ): New macro.
27312         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27313         (hexdig): Move ...
27314         (print_mpn_fp): ... to function scope.
27315         (read_mpn_hex): Remove.
27316         (get_log2): Remove.
27317         (exp2_mpn): Use mp_log2.
27318         (main): Use mp_exp1.
27320 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27322         * math/libm-test.inc: Remove comment about not testing "inexact"
27323         exceptions.
27324         (INEXACT_EXCEPTION): New macro.
27325         (NO_INEXACT_EXCEPTION): Likewise.
27326         (INVALID_EXCEPTION_OK): Update value.
27327         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27328         (OVERFLOW_EXCEPTION_OK): Likewise.
27329         (UNDERFLOW_EXCEPTION_OK): Likewise.
27330         (IGNORE_ZERO_INF_SIGN): Likewise.
27331         (ERRNO_UNCHANGED): Likewise.
27332         (ERRNO_EDOM): Likewise.
27333         (ERRNO_ERANGE): Likewise.
27334         (test_exceptions): Handle testing "inexact" exceptions.
27335         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27336         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27337         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27338         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27339         INEXACT_EXCEPTION.
27340         (rint_towardzero_test_data): Likewise.
27341         (rint_downward_test_data): Likewise.
27342         (rint_upward_test_data): Likewise.
27344         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27345         with OVERFLOW_EXCEPTION.
27346         (exp10_test_data): Likewise.
27347         (exp2_test_data): Likewise.
27348         (expm1_test_data): Likewise.
27349         (lgamma_test_data): Likewise.
27350         (pow_test_data): Likewise.
27351         (tgamma_test_data): Likewise.
27352         (yn_test_data): Remove duplicate test of overflow.
27354         * math/libm-test.inc (struct test_cc_c_data): New type.
27355         (RUN_TEST_LOOP_cc_c): New macro.
27356         (cpow_test_data): New variable.
27357         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27359         * math/libm-test.inc (struct test_f_L_data): New type.
27360         (RUN_TEST_LOOP_f_L): New macro.
27361         (llrint_test_data): New variable.
27362         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27363         (llrint_tonearest_test_data): New variable.
27364         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27365         (llrint_towardzero_test_data): New variable.
27366         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27367         (llrint_downward_test_data): New variable.
27368         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27369         (llrint_upward_test_data): New variable.
27370         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27371         (llround_test_data): New variable.
27372         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27374 2013-05-13  Peter Collingbourne  <pcc@google.com>
27376         * math/atest-exp2.c (get_log2): Remove const attribute.
27378 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27380         * math/libm-test.inc (struct test_f_l_data): New type.
27381         (RUN_TEST_LOOP_f_l): New macro.
27382         (lrint_test_data): New variable.
27383         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27384         (lrint_tonearest_test_data): New variable.
27385         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27386         (lrint_towardzero_test_data): New variable.
27387         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27388         (lrint_downward_test_data): New variable.
27389         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27390         (lrint_upward_test_data): New variable.
27391         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27392         (lround_test_data): New variable.
27393         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27395 2013-05-15  Peter Collingbourne  <pcc@google.com>
27397         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27398         (EXTRACT_WORDS64) Use where appropriate.
27399         (INSERT_WORDS64) Likewise.
27401         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27402         constraints with x constraints.
27403         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27405         * malloc/obstack.c (_obstack_compat): Add initializer.
27407 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27409         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27410         si_trapno and add si_addr_lsb to _sifields.sigfault.
27411         (si_trapno): Remove macro.
27412         (si_addr_lsb): Define new macro.
27413         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27415 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27417         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27418         instead of TEST_f_l.
27419         (llrint_test_tonearest): Likewise.
27420         (llrint_test_towardzero): Likewise.
27421         (llrint_test_downward): Likewise.
27422         (llrint_test_upward): Likewise.
27423         (llround_test): Likewise.
27425         * math/libm-test.inc (struct test_f_i_data): Add comment.
27426         (RUN_TEST_LOOP_f_b): New macro.
27427         (RUN_TEST_LOOP_f_b_tg): Likewise.
27428         (finite_test_data): New variable.
27429         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27430         (isfinite_test_data): New variable.
27431         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27432         (isinf_test_data): New variable.
27433         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27434         (isnan_test_data): New variable.
27435         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27436         (isnormal_test_data): New variable.
27437         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27438         (issignaling_test_data): New variable.
27439         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27440         (signbit_test_data): New variable.
27441         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27443         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27444         with INVALID_EXCEPTION.
27445         (acosh_test_data): Likewise.
27446         (asin_test_data): Likewise.
27447         (atanh_test_data): Likewise.
27448         (fmod_test_data): Likewise.
27449         (log_test_data): Likewise.
27450         (log10_test_data): Likewise.
27451         (log2_test_data): Likewise.
27452         (pow_test_data): Likewise.
27453         (sqrt_test_data): Likewise.
27454         (y0_test_data): Likewise.
27455         (y1_test_data): Likewise.
27456         (yn_test_data): Likewise.
27458         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27459         function contents.
27461         * math/libm-test.inc (struct test_ff_i_data): New type.
27462         (RUN_TEST_LOOP_ff_i_tg): New macro.
27463         (isgreater_test_data): New variable.
27464         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27465         (isgreaterequal_test_data): New variable.
27466         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27467         (isless_test_data): New variable.
27468         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27469         (islessequal_test_data): New variable.
27470         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27471         (islessgreater_test_data): New variable.
27472         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27473         (isunordered_test_data): New variable.
27474         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27476 2013-05-14  David S. Miller  <davem@davemloft.net>
27478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27480 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27482         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27484         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27485         extra_test to int.
27486         (struct test_f_i_data): Change type of max_ulp to int.
27488         * math/libm-test.inc (test_ffI_f1_data): New type.
27489         (RUN_TEST_LOOP_ffI_f1): New macro.
27490         (remquo_test_data): New variable.
27491         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27493         * setjmp/tst-setjmp-fp.c: New file.
27494         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27495         (link-libm): New variable.
27496         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27498         * math/libm-test.inc (struct test_f_i_data): New type.
27499         (RUN_TEST_LOOP_f_i): New macro.
27500         (RUN_TEST_LOOP_f_i_tg): Likewise.
27501         (fpclassify_test_data): New variable.
27502         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27503         (ilogb_test_data): New variable.
27504         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27506         * math/libm-test.inc (scalbln_test): Correct function name in END
27507         call.
27509         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27510         (RUN_TEST_LOOP_fI_f1): New macro.
27511         (frexp_test_data): New variable.
27512         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27514         * math/libm-test.inc (struct test_fF_f1_data): New type.
27515         (RUN_TEST_LOOP_fF_f1): New macro.
27516         (modf_test_data): New variable.
27517         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27519         * math/libm-test.inc (struct test_f_f1_data): New type.
27520         (RUN_TEST_LOOP_f_f1): New macro.
27521         (gamma_test_data): New variable.
27522         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27523         (lgamma_test_data): New variable.
27524         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27526 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27528         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27529         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27530         (main): Comment "tls" pseudo-hwcap.
27532 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27534         * math/libm-test.inc (struct test_fl_f_data): New type.
27535         (RUN_TEST_LOOP_fl_f): New variable.
27536         (scalbln_test_data): New variable.
27537         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27539         * math/libm-test.inc (struct test_fi_f_data): New type.
27540         (RUN_TEST_LOOP_fi_f): New macro.
27541         (ldexp_test_data): New variable.
27542         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27543         (scalbn_test_data): New variable.
27544         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27546         * math/libm-test.inc (struct test_c_f_data): New type.
27547         (RUN_TEST_LOOP_c_f): New macro.
27548         (cabs_test_data): New variable.
27549         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27550         (carg_test_data): New variable.
27551         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27552         (cimag_test_data): New variable.
27553         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27554         (creal_test_data): New variable.
27555         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27557         * math/libm-test.inc (struct test_if_f_data): New type.
27558         (RUN_TEST_LOOP_if_f): New macro.
27559         (jn_test_data): New variable.
27560         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27561         (yn_test_data): New variable.
27562         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27564         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27566 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27568         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27569         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27571 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27573         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27574         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27575         (bench-deps): Add bench-timing.h.
27576         * benchtests-bench-skeleton.c: Include bench-timing.h.
27577         (main): Use TIMING_* macros instead of clock_gettime.
27578         * benchtests/bench-timing.h: New file.
27580         [BZ #14582]
27581         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27582         Renamed from _LIB_VERSION.
27583         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27585 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27587         * math/libm-test.inc (struct test_fff_f_data): New type.
27588         (RUN_TEST_LOOP_fff_f): New macro.
27589         (fma_test_data): New variable.
27590         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27591         (fma_towardzero_test_data): New variable.
27592         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27593         (fma_downward_test_data): New variable.
27594         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27595         (fma_upward_test_data): New variable.
27596         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27598         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27599         (struct test_c_c_data): New type.
27600         (RUN_TEST_LOOP_c_c): New macro.
27601         (cacos_test_data): New variable.
27602         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27603         (cacosh_test_data): New variable.
27604         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27605         (casin_test_data): New variable.
27606         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27607         (casinh_test_data): New variable.
27608         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27609         (catan_test_data): New variable.
27610         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27611         (catanh_test_data): New variable.
27612         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27613         (ccos_test_data): New variable.
27614         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27615         (ccosh_test_data): New variable.
27616         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27617         (cexp_test_data): New variable.
27618         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27619         (clog_test_data): New variable.
27620         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27621         (clog10_test_data): New variable.
27622         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27623         (conj_test_data): New variable.
27624         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27625         (cproj_test_data): New variable.
27626         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27627         (csin_test_data): New variable.
27628         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27629         (csinh_test_data): New variable.
27630         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27631         (csqrt_test_data): New variable.
27632         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27633         (ctan_test_data): New variable.
27634         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27635         (ctan_tonearest_test_data): New variable.
27636         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27637         (ctan_towardzero_test_data): New variable.
27638         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27639         (ctan_downward_test_data): New variable.
27640         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27641         (ctan_upward_test_data): New variable.
27642         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27643         (ctanh_test_data): New variable.
27644         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27645         (ctanh_tonearest_test_data): New variable.
27646         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27647         (ctanh_towardzero_test_data): New variable.
27648         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27649         (ctanh_downward_test_data): New variable.
27650         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27651         (ctanh_upward_test_data): New variable.
27652         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27653         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27654         of BUILD_COMPLEX.
27656         * math/libm-test.inc (struct test_ff_f_data): New type.
27657         (struct test_ff_f_data_nexttoward): Likewise.
27658         (RUN_TEST_LOOP_2_f): New macro.
27659         (RUN_TEST_LOOP_ff_f): Likewise.
27660         (atan2_test_data): New variable.
27661         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27662         (copysign_test_data): New variable.
27663         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27664         (fdim_test_data): New variable.
27665         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27666         (fmax_test_data): New variable.
27667         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27668         (fmin_test_data): New variable.
27669         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27670         (fmod_test_data): New variable.
27671         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27672         (hypot_test_data): New variable.
27673         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27674         (nextafter_test_data): New variable.
27675         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27676         (nexttoward_test_data): New variable.
27677         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27678         (pow_test_data): New variable.
27679         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27680         (pow_tonearest_test_data): New variable.
27681         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27682         (pow_towardzero_test_data): New variable.
27683         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27684         (pow_downward_test_data): New variable.
27685         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27686         (pow_upward_test_data): New variable.
27687         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27688         (remainder_test_data): New variable.
27689         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27690         (scalb_test_data): New variable.
27691         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27692         * sysdeps/i386/fpu/libm-test-ulps: Update.
27694 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27696         * math/libm-test.inc (fma_test): Use max_value instead of local
27697         variable fltmax.
27698         (nextafter_test): Likewise.
27700         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27701         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27702         (acos_downward_test_data): New variable.
27703         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27704         (acos_upward_test_data): New variable.
27705         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27706         (acosh_test_data): New variable.
27707         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27708         (asin_test_data): New variable.
27709         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27710         (asin_tonearest_test_data): New variable.
27711         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27712         (asin_towardzero_test_data): New variable.
27713         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27714         (asin_downward_test_data): New variable.
27715         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27716         (asin_upward_test_data): New variable.
27717         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27718         (asinh_test_data): New variable.
27719         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27720         (atan_test_data): New variable.
27721         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27722         (atanh_test_data): New variable.
27723         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27724         (cbrt_test_data): New variable.
27725         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27726         (ceil_test_data): New variable.
27727         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27728         (cos_test_data): New variable.
27729         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27730         (cos_tonearest_test_data): New variable.
27731         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27732         (cos_towardzero_test_data): New variable.
27733         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27734         (cos_downward_test_data): New variable.
27735         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27736         (cos_upward_test_data): New variable.
27737         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27738         (cosh_test_data): New variable.
27739         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27740         (cosh_tonearest_test_data): New variable.
27741         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27742         (cosh_towardzero_test_data): New variable.
27743         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27744         (cosh_downward_test_data): New variable.
27745         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27746         (cosh_upward_test_data): New variable.
27747         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27748         (erf_test_data): New variable.
27749         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27750         (erfc_test_data): New variable.
27751         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27752         (exp_test_data): New variable.
27753         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27754         (exp_tonearest_test_data): New variable.
27755         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27756         (exp_towardzero_test_data): New variable.
27757         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27758         (exp_downward_test_data): New variable.
27759         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27760         (exp_upward_test_data): New variable.
27761         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27762         (exp10_test_data): New variable.
27763         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27764         (exp2_test_data): New variable.
27765         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27766         (expm1_test_data): New variable.
27767         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27768         (fabs_test_data): New variable.
27769         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27770         (floor_test_data): New variable.
27771         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27772         (j0_test_data): New variable.
27773         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27774         (j1_test_data): New variable.
27775         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27776         (log_test_data): New variable.
27777         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27778         (log10_test_data): New variable.
27779         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27780         (log1p_test_data): New variable.
27781         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27782         (log2_test_data): New variable.
27783         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27784         (logb_test_data): New variable.
27785         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27786         (logb_downward_test_data): New variable.
27787         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27788         (nearbyint_test_data): New variable.
27789         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27790         (rint_test_data): New variable.
27791         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27792         (rint_tonearest_test_data): New variable.
27793         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27794         (rint_towardzero_test_data): New variable.
27795         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27796         (rint_downward_test_data): New variable.
27797         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27798         (rint_upward_test_data): New variable.
27799         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27800         (round_test_data): New variable.
27801         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27802         (sin_test_data): New variable.
27803         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27804         (sin_tonearest_test_data): New variable.
27805         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27806         (sin_towardzero_test_data): New variable.
27807         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27808         (sin_downward_test_data): New variable.
27809         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27810         (sin_upward_test_data): New variable.
27811         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27812         (sinh_test_data): New variable.
27813         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27814         (sinh_tonearest_test_data): New variable.
27815         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27816         (sinh_towardzero_test_data): New variable.
27817         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27818         (sinh_downward_test_data): New variable.
27819         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27820         (sinh_upward_test_data): New variable.
27821         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27822         (sqrt_test_data): New variable.
27823         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27824         (tan_test_data): New variable.
27825         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27826         (tan_tonearest_test_data): New variable.
27827         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27828         (tan_towardzero_test_data): New variable.
27829         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27830         (tan_downward_test_data): New variable.
27831         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27832         (tan_upward_test_data): New variable.
27833         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27834         (tanh_test_data): New variable.
27835         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27836         (tgamma_test_data): New variable.
27837         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27838         (trunc_test_data): New variable.
27839         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27840         (y0_test_data): New variable.
27841         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27842         (y1_test_data): New variable.
27843         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27844         (significand_test_data): New variable.
27845         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27847 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27849         [BZ #12387]
27850         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27852 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27854         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27856 2013-05-10  Andreas Jaeger  <aj@suse.de>
27858         [BZ #15448]
27859         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27860         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27862 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27864         * math/gen-libm-test.pl (adjust_arg): New function.
27865         (special_functions): Handle generating output in both functions
27866         and arrays.
27867         (parse_args): Likewise.
27868         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27869         $in_func argument to parse_args.
27870         * math/libm-test.inc (struct test_f_f_data): New type.
27871         (IF_ROUND_INIT_): New macro.
27872         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27873         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27874         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27875         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27876         (ROUND_RESTORE_): Likewise.
27877         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27878         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27879         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27880         (ROUND_RESTORE_FE_UPWARD): Likewise.
27881         (RUN_TEST_LOOP_f_f): New macro.
27882         (acos_test_data): New variable.
27883         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27884         (acos_tonearest_test_data): New variable.
27885         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27887 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27889         * benchtests/bench-skeleton.c (startup): Fix coding style.
27891 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27893         [BZ #6809]
27894         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27895         negative infinity argument.
27896         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27897         negative infinity argument.
27898         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27899         negative infinity argument.
27900         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27901         domain errors.
27903 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27905         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27906         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27907         * iconv/iconv_prog.c (main): Likewise.
27908         * locale/programs/charmap-dir.c (charmap_readdir)
27909         (fopen_uncompressed): Likewise.
27910         * locale/programs/locfile.c (siblings_uncached)
27911         (write_locale_data): Use lstat64 instead of lstat.
27912         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27913         stat.
27915 2013-05-10  Andreas Jaeger  <aj@suse.de>
27917         [BZ #15395]
27918         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27919         localization.
27920         Include <locale.h>.
27922 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27924         * elf/dl-close.c (_dl_close_worker): Add comments.
27926 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27928         [BZ #15359]
27929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27930         high part of pi/2.
27931         (__ieee754_rem_pio2l): Update comments.
27933         [BZ #15429]
27934         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27935         high part of pi/2.
27936         (__ieee754_rem_pio2l): Update comments.
27938         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27939         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27941         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27942         M_PI_4l.
27944         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27945         (M_PI_34_LOG10El): Likewise.
27946         (M_PI2_LOG10El): Likewise.
27947         (M_PI4_LOG10El): Likewise.
27948         (M_PI_LOG10El): Likewise.
27950 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27954 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27956         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27957         (MINUS_ZERO_INIT): Likewise.
27958         (PLUS_INFTY_INIT): Likewise.
27959         (MINUS_INFTY_INIT): Likewise.
27960         (QNAN_VALUE_INIT): Likewise.
27961         (MAX_VALUE_INIT): Likewise.
27962         (MIN_VALUE_INIT): Likewise.
27963         (MIN_SUBNORM_VALUE_INIT): Likewise.
27964         (plus_zero): Initialize with PLUS_ZERO_INIT.
27965         (minus_zero): Initialize with MINUS_ZERO_INIT.
27966         (plus_infty): Initialize with PLUS_INFTY_INIT.
27967         (minus_infty): Initialize with MINUS_INFTY_INIT.
27968         (qnan_value): Initialize with QNAN_VALUE_INIT.
27969         (max_value): Initialize with MAX_VALUE_INIT.
27970         (min_value): Initialize with MIN_VALUE_INIT.
27971         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27973         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27974         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27975         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27976         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27978         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27979         (RUN_TEST_2_f): Likewise.
27980         (RUN_TEST_ff_f): Likewise.
27981         (RUN_TEST_fi_f): Likewise.
27982         (RUN_TEST_fl_f): Likewise.
27983         (RUN_TEST_fff_f): Likewise.
27984         (RUN_TEST_c_f): Likewise.
27985         (RUN_TEST_f_f1): Likewise.
27986         (RUN_TEST_fF_f1): Likewise.
27987         (RUN_TEST_fI_f1): Likewise.
27988         (RUN_TEST_ffI_f1): Likewise.
27989         (RUN_TEST_c_c): Likewise.
27990         (RUN_TEST_cc_c): Likewise.
27991         (RUN_TEST_f_i): Likewise.
27992         (RUN_TEST_f_i_tg): Likewise.
27993         (RUN_TEST_ff_i_tg): Likewise.
27994         (RUN_TEST_f_b): Likewise.
27995         (RUN_TEST_f_b_tg): Likewise.
27996         (RUN_TEST_f_l): Likewise.
27997         (RUN_TEST_f_L): Likewise.
27998         (RUN_TEST_sincos): Likewise.
27999         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28000         whether to show exceptions.  Do not include ");\n" in return
28001         value.
28002         (special_functions): Output call to RUN_TEST_sincos instead of
28003         check_float calls.  Update calls to new_test.
28004         (parse_args): Output call to single RUN_TEST_* macro instead of
28005         check_* calls and other assignments.  Update calls to new_test.
28007         [BZ #2546]
28008         [BZ #2560]
28009         [BZ #5159]
28010         [BZ #15426]
28011         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28012         input to result for tgamma overflow.
28013         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28014         (gamma_coeff): New variable.
28015         (NCOEFF): New macro.
28016         (gamma_positive): New function.
28017         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28018         underflow here.  Use gamma_positive instead of exp (lgamma) for
28019         other arguments.
28020         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28021         (gamma_coeff): New variable.
28022         (NCOEFF): New macro.
28023         (gammaf_positive): New function.
28024         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28025         underflow here.  Use gamma_positive instead of exp (lgamma) for
28026         other arguments.
28027         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28028         (gamma_coeff): New variable.
28029         (NCOEFF): New macro.
28030         (gammal_positive): New function.
28031         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28032         underflow here.  Use gamma_positive instead of exp (lgamma) for
28033         other arguments.
28034         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28035         (gamma_coeff): New variable.
28036         (NCOEFF): New macro.
28037         (gammal_positive): New function.
28038         (__ieee754_gammal_r): Handle positive infinity, overflow and
28039         underflow here.  Handle NaN the same as positive infinity.  Remove
28040         check x < 0xffffffff for negative integers.  Use gamma_positive
28041         instead of exp (lgamma) for other arguments.
28042         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28043         (gamma_coeff): New variable.
28044         (NCOEFF): New macro.
28045         (gammal_positive): New function.
28046         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28047         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28048         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28049         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28050         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28051         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28052         * sysdeps/generic/math_private.h (__gamma_productf): New
28053         prototype.
28054         (__gamma_product): Likewise.
28055         (__gamma_productl): Likewise.
28056         * math/Makefile (libm-calls): Add gamma_product.
28057         * math/libm-test.inc (tgamma_test): Add more tests.
28058         * sysdeps/i386/fpu/libm-test-ulps: Update.
28059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28063         * benchtests/bench-skeleton.c (main): Preheat CPU.
28065 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28067         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28069 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28071         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28072         and _dl_skip_args_internal.
28074 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28076         * manual/message.texi (Message Translation): Talk about users.
28077         Message to key mapping impacts design.
28079 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28081         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28083         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28085         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28086         * sysdeps/wordsize-64/glob64.c: ... here.
28088         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28089         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28090         New macros.
28092         * debug/getlogin_r_chk.c: Moved to ...
28093         * login/getlogin_r_chk.c: ... here.
28094         * debug/Makefile (routines): Move getlogin_r_chk to ...
28095         * login/Makefile (routines): ... here.
28096         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28097         * login/Versions (libc: GLIBC_2.4): ... here.
28099         * io/poll.c (__poll): Renamed from poll.
28100         Add libc_hidden_def.
28101         (poll): Define as weak alias.
28103         * debug/ptsname_r_chk.c: Moved to ...
28104         * login/ptsname_r_chk.c: ... here.
28105         * debug/Makefile (routines): Move ptsname_r_chk to ...
28106         * login/Makefile (routines): ... here.
28107         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28108         * login/Versions (libc: GLIBC_2.4): ... here.
28110         * posix/getlogin.c: Moved to ...
28111         * login/getlogin.c: ... here.
28112         * posix/getlogin_r.c: Moved to ...
28113         * login/getlogin_r.c: ... here.
28114         * posix/getlogin_r.c: Moved to ...
28115         * login/getlogin_r.c: ... here.
28116         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28117         * login/Makefile (routines): ... here.
28118         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28119         * login/Versions (libc: GLIBC_2.0): ... here.
28121         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28122         (setrlimit): Define as weak alias.
28124         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28125         Call __ names for open, ftruncate, and close.
28126         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28127         (truncate): Define as weak alias.
28129 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28131         * math/gen-libm-test.pl (parse_args): Initialize x before each
28132         test of frexp, modf and remquo.
28134         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28135         test signgam value.
28137 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28139         [BZ #15418]
28140         [BZ #15419]
28141         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28142         internal tests.
28143         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28145 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28147         * elf/dl-writev.h: New file.
28148         * elf/dl-misc.c: Include it.
28149         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28150         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28152 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28154         * math/libm-test.inc (noXFails): Remove variable.
28155         (noXPasses): Likewise.
28156         (BUILD_COMPLEX_INT): Remove macro.
28157         (print_screen): Remove xfail argument.
28158         (print_screen_max_error): Likewise.
28159         (update_stats): Likewise.
28160         (print_max_error): Likewise.  Update calls to other affected
28161         functions.
28162         (print_complex_max_error): Likewise.
28163         (test_single_exception): Update calls to print_screen.
28164         (test_single_errno): Likewise.
28165         (check_float_internal): Remove xfail argument.  Update calls to
28166         other affected functions.
28167         (check_float): Likewise.
28168         (check_complex): Likewise.
28169         (check_int): Likewise.
28170         (check_long): Likewise.
28171         (check_bool): Likewise.
28172         (check_longlong): Likewise.
28173         (main): Don't print noXFails and noXPasses.
28174         * math/gen-libm-test.pl (top level): Don't mention expected
28175         failure handling in comment.
28176         (new_test): Don't handle expected failures.
28177         (parse_args): Don't mention expected failure handling in comment.
28178         (generate_testfile): Don't handle expected failures.
28179         (parse_ulps): Likewise.
28180         (print_ulps_file): Likewise.
28181         (get_failure): Remove function.
28182         (output_test): Don't handle expected failures.
28183         * make/README.libm-test: Don't mention expected failure handling.
28185         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28186         (minus_zero): Likewise.
28187         (plus_infty): Likewise.
28188         (minus_infty): Likewise.
28189         (qnan_value): Likewise.
28190         (max_value): Likewise.
28191         (min_value): Likewise.
28192         (min_subnorm_value): Likewise.
28193         (initialize): Do not initialize those variables dynamically.
28195 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28197         * io/open.c (__open_2): Moved to ...
28198         * io/open_2.c: ... this new file.
28199         * io/open64.c (__open64_2): Moved to ...
28200         * io/open64_2.c: ... this new file.
28201         * io/openat.c (__openat_2): Moved to ...
28202         * io/openat_2.c: ... this new file.
28203         * io/openat64.c (__openat64_2): Moved to ...
28204         * io/openat64_2.c: ... this new file.
28205         * io/Makefile (routines): Add them.
28206         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28207         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28208         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28209         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28210         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28211         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28212         (__openat64): Add hidden_ver.
28213         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28214         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28216         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28217         Separately conditionalize setting of GLRO(dl_sysinfo) so
28218         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28219         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28221 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28223         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28225         definition.
28226         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28227         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28228         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28229         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28230         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28232 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28234         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28235         test signgam value.
28237         * math/libm-test.inc (hypot_test): Do not use
28238         IGNORE_ZERO_INF_SIGN.
28240 2013-05-03  Andreas Jaeger  <aj@suse.de>
28242         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28243         Linux 3.9.
28244         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28245         (PF_MAX): Adjust for VSOCK change.
28247 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28251 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28253         [BZ #15264]
28254         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28255         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28256         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28258 2013-05-02  David S. Miller  <davem@davemloft.net>
28260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28262 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28264         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28266 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28268         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28270 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28272         [BZ #14952]
28273         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28274         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28275         Use __attribute__ ((__gnu_inline__)).
28276         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28277         Don't use __attribute__ ((__gnu_inline__)).
28279 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28281         [BZ #15423]
28282         * math/s_catan.c (__catan): Handle small real or imaginary part of
28283         input specially to avoid spurious underflow.
28284         * math/s_catanf.c (__catanf): Likewise.
28285         * math/s_catanh.c (__catanh): Likewise.
28286         * math/s_catanhf.c (__catanhf): Likewise.
28287         * math/s_catanhl.c (__catanhl): Likewise.
28288         * math/s_catanl.c (__catanl): Likewise.
28289         * math/libm-test.inc (catan_test): Add more tests.
28290         (catanh_test): Likewise.
28291         * sysdeps/i386/fpu/libm-test-ulps: Update.
28292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28294 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28298 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28300         [BZ #15416]
28301         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28302         accurately for denominator in atan2.
28303         * math/s_catanf.c (__catanf): Likewise.
28304         * math/s_catanh.c (__catanh): Likewise.
28305         * math/s_catanhf.c (__catanhf): Likewise.
28306         * math/s_catanhl.c (__catanhl): Likewise.
28307         * math/s_catanl.c (__catanl): Likewise.
28308         * math/libm-test.inc (catan_test): Add more tests.
28309         (catanh_test): Likewise.
28310         * sysdeps/i386/fpu/libm-test-ulps: Update.
28311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28313 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28315         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28317         * benchtests/Makefile (bench): Remove slow benchmarks.
28318         * benchtests/atan-inputs: Add slow benchmark inputs.
28319         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28320         (BENCH_FUNC): Accept variant offset.
28321         (VARIANT): Define.
28322         * benchtests/bench-skeleton.c (main): Run benchmark for each
28323         variant.
28324         * benchtests/cos-inputs: Add slow benchmark inputs.
28325         * benchtests/exp-inputs: Likewise.
28326         * benchtests/pow-inputs: Likewise.
28327         * benchtests/sin-inputs: Likewise.
28328         * benchtests/slowatan-inputs: Remove.
28329         * benchtests/slowatan.c: Remove.
28330         * benchtests/slowcos-inputs: Remove.
28331         * benchtests/slowcos.c: Remove.
28332         * benchtests/slowexp-inputs: Remove.
28333         * benchtests/slowexp.c: Remove.
28334         * benchtests/slowpow-inputs: Remove.
28335         * benchtests/slowpow.c: Remove.
28336         * benchtests/slowsin-inputs: Remove.
28337         * benchtests/slowsin.c: Remove.
28338         * benchtests/slowtan-inputs: Remove.
28339         * benchtests/slowtan.c: Remove.
28340         * benchtests/tan-inputs: Add slow benchmark inputs.
28341         * scripts/bench.pl: Parse comments and directives.
28343         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28344         in CPPFLAGS.
28345         ($(objpfx)bench-%.c): Remove *-ITER.
28346         * benchtests/bench-modf.c: Remove definition of ITER.
28347         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28348         (main): Loop for DURATION seconds instead of fixed number of
28349         iterations.
28350         * scripts/bench.pl: Don't expect iterations in parameters.
28352 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28354         * io/fchdir.c (__fchdir): Renamed from fchdir.
28355         (fchdir): Define as weak alias.
28357 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28359         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28360         (ERRNO_EDOM): Likewise.
28361         (ERRNO_ERANGE): Likewise.
28362         (noErrnoTests): New variable.
28363         (init_max_error): Set errno to 0.
28364         (test_single_errno): New function.
28365         (test_errno): Likewise.
28366         (check_float_internal): Call test_errno.  Set errno to 0.
28367         (check_complex): Refer to errno tests in comment.
28368         (check_int): Call test_errno.  Set errno to 0.
28369         (check_long): Likewise.
28370         (check_bool): Likewise.
28371         (check_longlong): Likewise.
28372         (cos_test): Use ERRNO_* flags for errno tests instead of
28373         check_int.
28374         (expm1_test): Likewise.
28375         (fmod_test): Likewise.
28376         (ilogb_test): Likewise.
28377         (lgamma_test): Likewise.
28378         (pow_test): Likewise.
28379         (remainder_test): Likewise.
28380         (sin_test): Likewise.
28381         (tan_test): Likewise.
28382         (yn_test): Likewise.
28383         (initialize): Set errno to 0.
28384         (main): Print number of errno tests.
28385         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28387 2013-04-29  Andreas Jaeger  <aj@suse.de>
28389         [BZ #15084]
28390         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28391         and RES_USEVC.
28393         [BZ #15085]
28394         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28395         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28396         unimplemented.
28398         [BZ #15380]
28399         * stdlib/random.c (__initstate): Return NULL if
28400         __initstate fails.
28402         [BZ #15086]
28403         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28404         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28405         RES_SNGLKUPREOP.
28407 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28411 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28413         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28414         of individual tests.
28415         (casin_test): Likewise.
28416         (casinh_test): Likewise.
28418 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28420         [BZ #15409]
28421         * math/s_catan.c (__catan): Handle arguments with large real or
28422         imaginary part separately without squaring.
28423         * math/s_catanf.c (__catanf): Likewise.
28424         * math/s_catanh.c (__catanh): Likewise.
28425         * math/s_catanhf.c (__catanhf): Likewise.
28426         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28427         and redefine.
28428         (__catanhl): Handle arguments with large real or imaginary part
28429         separately without squaring.
28430         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28431         and redefine.
28432         (__catanl): Handle arguments with large real or imaginary part
28433         separately without squaring.
28434         * math/libm-test.inc (catan_test): Add more tests.
28435         (catanh_test): Likewise.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28439 2013-04-27  Andreas Jaeger  <aj@suse.de>
28441         [BZ #15007]
28442         * stdlib/stdlib.h: Update guards for qecvt.
28443         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28444         <stdlib.h>.
28446 2013-04-27  Allan McRae  <allan@archlinux.org>
28448         * sysdeps/i386/fpu/libm-test-ulps: Update.
28450 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28452         [BZ #15406]
28453         * math/s_catan.c: Include <float.h>.
28454         (__catan): Ensure underflow exception occurs for underflowed
28455         result.
28456         * math/s_catanf.c: Include <float.h>.
28457         (__catanf): Ensure underflow exception occurs for underflowed
28458         result.
28459         * math/s_catanh.c: Include <float.h>.
28460         (__catanh): Ensure underflow exception occurs for underflowed
28461         result.
28462         * math/s_catanhf.c: Include <float.h>.
28463         (__catanhf): Ensure underflow exception occurs for underflowed
28464         result.
28465         * math/s_catanhl.c: Include <float.h>.
28466         (__catanhl): Ensure underflow exception occurs for underflowed
28467         result.
28468         * math/s_catanl.c: Include <float.h>.
28469         (__catanl): Ensure underflow exception occurs for underflowed
28470         result.
28471         * math/libm-test.inc (catan_test): Add more tests.
28472         (catanh_test): Likewise.
28474         [BZ #15405]
28475         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28476         underflowed result.
28477         * math/s_ccoshf.c (__ccoshf): Likewise.
28478         * math/s_ccoshl.c (__ccoshl): Likewise.
28479         * math/s_csin.c (__csin): Likewise.
28480         * math/s_csinf.c (__csinf): Likewise.
28481         * math/s_csinh.c (__csinh): Likewise.
28482         * math/s_csinhf.c (__csinhf): Likewise.
28483         * math/s_csinhl.c (__csinhl): Likewise.
28484         * math/s_csinl.c (__csinl): Likewise.
28485         * math/libm-test.inc (ccos_test): Add more tests.
28486         (ccosh_test): Likewise.
28487         (csin_test): Likewise.
28488         (csinh_test): Likewise.
28490 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28492         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28493         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28494         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28495         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28496         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28497         powerpc/power5+/fpu folders.
28498         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28501 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28505 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28507         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28508         additions to variable.
28509         [$(config-machine) = x86_64] (modules-names): Likewise.
28510         ($(objpfx)tst-audit3): Remove dependency.
28511         ($(objpfx)tst-audit3.out): Likewise.
28512         ($(objpfx)tst-audit4): Likewise.
28513         ($(objpfx)tst-audit4.out): Likewise.
28514         ($(objpfx)tst-audit5): Likewise.
28515         ($(objpfx)tst-audit5.out): Likewise.
28516         ($(objpfx)tst-audit6): Likewise.
28517         ($(objpfx)tst-audit6.out): Likewise.
28518         ($(objpfx)tst-audit7): Likewise.
28519         ($(objpfx)tst-audit7.out): Likewise.
28520         (tst-audit3-ENV): Remove variable.
28521         (tst-audit4-ENV): Likewise.
28522         (tst-audit5-ENV): Likewise.
28523         (tst-audit6-ENV): Likewise.
28524         (tst-audit7-ENV): Likewise.
28525         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28526         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28527         addition to variable.
28528         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28529         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28530         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28531         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28532         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28533         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28534         tst-audit3, tst-audit4 and tst-audit5.
28535         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28536         tst-audit6 and tst-audit7.
28537         [$(subdir) = elf] (modules-names): Add audit modules for those
28538         tests.
28539         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28540         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28541         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28542         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28543         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28544         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28545         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28546         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28547         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28548         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28549         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28550         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28551         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28552         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28553         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28554         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28555         Likewise.
28556         [$(subdir) = elf && $(config-cflags-avx) = yes]
28557         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28558         [$(subdir) = elf && $(config-cflags-avx) = yes]
28559         (CFLAGS-tst-auditmod4a.c): Likewise.
28560         [$(subdir) = elf && $(config-cflags-avx) = yes]
28561         (CFLAGS-tst-auditmod4b.c): Likewise.
28562         [$(subdir) = elf && $(config-cflags-avx) = yes]
28563         (CFLAGS-tst-auditmod6b.c): Likewise.
28564         [$(subdir) = elf && $(config-cflags-avx) = yes]
28565         (CFLAGS-tst-auditmod6c.c): Likewise.
28566         [$(subdir) = elf && $(config-cflags-avx) = yes]
28567         (CFLAGS-tst-auditmod7b.c): Likewise.
28568         * elf/tst-audit3.c: Move to ...
28569         * sysdeps/x86_64/tst-audit3.c: ... here.
28570         * elf/tst-audit4.c: Move to ...
28571         * sysdeps/x86_64/tst-audit4.c: ... here.
28572         * elf/tst-audit5.c: Move to ...
28573         * sysdeps/x86_64/tst-audit5.c: ... here.
28574         * elf/tst-audit6.c: Move to ...
28575         * sysdeps/x86_64/tst-audit6.c: ... here.
28576         * elf/tst-audit7.c: Move to ...
28577         * sysdeps/x86_64/tst-audit7.c: ... here.
28578         * elf/tst-auditmod3a.c: Move to ...
28579         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28580         * elf/tst-auditmod3b.c: Move to ...
28581         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28582         * elf/tst-auditmod4a.c: Move to ...
28583         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28584         * elf/tst-auditmod4b.c: Move to ...
28585         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28586         * elf/tst-auditmod5a.c: Move to ...
28587         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28588         * elf/tst-auditmod5b.c: Move to ...
28589         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28590         * elf/tst-auditmod6a.c: Move to ...
28591         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28592         * elf/tst-auditmod6b.c: Move to ...
28593         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28594         * elf/tst-auditmod6c.c: Move to ...
28595         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28596         * elf/tst-auditmod7a.c: Move to ...
28597         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28598         * elf/tst-auditmod7b.c: Move to ...
28599         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28601 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28603         [BZ #15366]
28604         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28605         define unconditionally.
28606         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28607         define unconditionally.
28608         (INT8_C, INT16_C, etc.): Likewise.
28610 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28612         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28613         __ehdr_start with hidden visibility.
28615         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28617 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28619         * math/libm-test.inc (cos_test): Use accurate hex constants.
28620         (sincost_test): Likewise.
28622 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28624         * math/libm-test.inc (catan_test): Add more tests.
28625         (catanh_test): Likewise.
28627         * math/s_catanf.c (__catanf): Use suffixed floating-point
28628         constants.
28629         * math/s_catanhf.c (__catanhf): Likewise.
28630         * math/s_catanhl.c (__catanhl): Likewise.
28631         * math/s_catanl.c (__catanl): Likewise.
28633         [BZ #15394]
28634         * math/s_catan.c (__catan): Calculate imaginary part of result
28635         with log1p not log unless computing log of number close to 0.
28636         * math/s_catanf.c (__catanf): Likewise.
28637         * math/s_catanl.c (__catanl): Likewise.
28638         * math/s_catanh.c (__catanh): Calculate real part of result with
28639         log1p not log unless computing log of number close to 0.
28640         * math/s_catanhf.c (__catanhf): Likewise.
28641         * math/s_catanhl.c (__catanhl): Likewise.
28642         * math/libm-test.inc (catan_test): Add more tests.
28643         (catanh_test): Likewise.
28644         * sysdeps/i386/fpu/libm-test-ulps: Update.
28645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28647 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28649         * benchtests/Makefile: Mention files in which fast and slow
28650         paths of math functions are implemented.
28652 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28654         * sysdeps/posix/timespec_get.c: New file.
28656 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28658         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28659         POWER.
28660         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28661         for POWER.
28662         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28663         powerpc/power5/fpu folders.
28664         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28665         * benchtests/Makefile: Add modf testcase.
28666         * benchtests/bench-modf.c: New file: Benchmark test for mo
28668 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28670         [BZ #14888]
28671         * time/Makefile (tests): Add tst-strptime-whitespace.
28672         * time/strptime_l.c (get_number): Use ISSPACE.
28673         (__strptime_internal): Likewise.
28674         * time/tst-strptime-whitespace.c: New test case.
28676 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28678         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28679         member.
28680         (_nss_files_init): Set it here.
28682 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28684         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28685         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28686         unsigned.
28688 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28690         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28692 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28694         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28695         size just once.
28697 2013-04-21  David S. Miller  <davem@davemloft.net>
28699         * po/ru.po: Update Russion translation from translation project.
28701 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28703         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28704         and setfsgid.
28706 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28708         * configure.in: Remove i386 configure warning. Remove i386 case.
28709         * configure: Regenerate.
28710         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28711         Add example to error message.
28712         * sysdeps/i386/configure: Regenerate.
28714 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28716         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28717         slowtan.
28718         * benchtests/cos-inputs: New file.
28719         * benchtests/slowcos-inputs: New file.
28720         * benchtests/slowcos.c: New file.
28721         * benchtests/slowtan-inputs: New file.
28722         * benchtests/slowtan.c: New file.
28723         * benchtests/tan-inputs: New file.
28725 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28727         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28728         considered kosher.
28730 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28732         * benchtests/Makefile: Include cppflags-iterator.mk to add
28733         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28735         * Makefile.in (bench-clean): New target.
28736         * benchtests/Makefile (bench-clean): Likewise.
28738 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28740         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28742 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28744         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28746 2013-04-15  Andreas Schwab  <schwab@suse.de>
28748         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28749         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28750         * nscd/pwdcache.c (cache_addpw): Likewise.
28751         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28752         more than recsize.
28754 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28756         * benchtests/Makefile (bench): Write all output to
28757         bench-out.tmp together.
28759 2013-04-15  Andreas Schwab  <schwab@suse.de>
28761         * nscd/nscd.c (main): Don't fork again after closing files.
28763 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28765         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28767         * benchtests/Rules (bench-deps): Collect dependencies into a
28768         single variable.  Add Makefile to dependencies.
28769         ($(objpfx)bench-%.c): Depend on bench-deps.
28771 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28772             Xavier Roche  <roche+kml2@exalead.com>
28774         [BZ #15361]
28775         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28776         just that it's a file descriptor.
28777         * manual/llio.texi (Synchronizing AIO Operations): Update description
28778         for EBADF error from aio_fsync.
28780 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28782         * Rules (bench): Move target definition...
28783         * benchtests/Makefile: ... here.
28785 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28787         * math/libm-test.inc (cos_test): Fix PI/2 test.
28788         (sincos_test): Likewise.
28789         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28790         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28792 2013-04-11  Andreas Schwab  <schwab@suse.de>
28794         [BZ #13988]
28795         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28796         accept exponent character only when digits were seen.
28797         * stdio-common/Makefile (tests): Add bug26.
28798         * stdio-common/bug26.c: New file.
28800         [BZ #14293]
28801         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28802         non-freeable.
28804 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28806         * Makeconfig (rtld-prefix): Define built linker prefix.
28807         * Rules (run-bench): Use it.
28808         * math/Makefile (run-regen-ulps): Likewise.
28810         * Rules (bench): Remove eval.
28812 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28813             Roland McGrath  <roland@hack.frob.com>
28814             Ondrej Bilka  <neleai@seznam.cz>
28816         [BZ #15346]
28817         * time/getdate.c: Include ctype.h and alloca.h.
28818         (__getdate_r): Trim leading and trailing spaces of input.
28819         * time/tst-getdate.c (tests): Add tests with leading and
28820         trailing spaces.
28822 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28824         [BZ #14280]
28825         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28826         when computing value.
28828 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28830         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28831         Use testrun.sh to run libm tests.
28833         [BZ #15309]
28834         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28836 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28838         [BZ #15264]
28839         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28841 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28843         * Makefile.in (regen-ulps): New target.
28844         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28845         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28846         [ifneq (no,$(PERL)] (regen-ulps): New target.
28847         [ifeq (no,$(PERL)] (regen-ulps): New target.
28848         * math/libm-test.inc (ulps_file_name): Define.
28849         (output_dir): New variable.
28850         (options): Add "output-dir" option.
28851         (parse_opt): Handle 'o' case.
28852         (main): If output_dir is non-NULL use it as a prefix
28853         otherwise use "".
28854         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28856 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28858         [BZ #10060, #10062]
28859         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28860         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28861         fail configure if __sync_val_compare_and_swap is not inlined.
28862         * sysdeps/i386/configure: Regenerate.
28863         * configure.in: Build for i686 when configured for i386.
28864         * configure: Regenerate.
28865         * README: Remove i386 reference.
28867 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28869         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28870         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28872 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28874         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28875         (lmsnanval): New variables.
28876         (F): Add conversion tests.
28877         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28878         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28880         * stdio-common/tstdiomisc.c (F): Properly collect individual
28881         tests' results.
28883         [BZ #14686, #15336]
28884         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28885         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28886         Instead, use input NaN values or generate a qNaN by arithmetic
28887         operation.  Also fix bugs to comply with the standard.
28888         * math/libm-test.inc (remainder_test): Add more tests.
28890         [BZ #15335, #15342]
28891         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28893         input NaN values or generate a qNaN by arithmetic operation.
28895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28896         unreachable code.
28898         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28899         definitions.
28901 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28903         [BZ #14478]
28904         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28905         underflowed result.
28906         * math/s_cexpf.c (__cexpf): Likewise.
28907         * math/s_cexpl.c (__cexpl): Likewise.
28908         * math/libm-test.inc (cexp_test): Add more tests.
28910 2013-04-03  Andreas Schwab  <schwab@suse.de>
28912         [BZ #15330]
28913         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28914         order arrays from heap if bigger than alloca cutoff.
28916 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28918         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28919         (SNAN_TESTS_double): Refer to GCC PR56831.
28920         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28921         GCC PR56828.
28923 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28925         * Rules (bench): Move bench.out after the run is complete.
28927         * Rules (bench): Echo currently running benchmark.
28929         * benchtests/Makefile (bench): Add atan and slowatan.
28930         * benchtests/atan-inputs: New file.
28931         * benchtests/slowatan-inputs: New file.
28932         * benchtests/slowatan.c: New file.
28934         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28935         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28936         its value.
28938         [BZ #15305]
28939         * sysdeps/unix/sysv/linux/kernel-features.h
28940         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28941         __ASSUME_XFS_RESTRICTED_CHOWN.
28942         * sysdeps/unix/sysv/linux/pathconf.c
28943         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28944         Save and restore errno.
28946 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28948         [BZ #15327]
28949         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28950         arguments using __kernel_casinh.
28951         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28952         arguments using __kernel_casinhf.
28953         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28954         arguments using __kernel_casinhl.
28955         * math/libm-test.inc (cacosh_test): Add more tests.
28956         * sysdeps/i386/fpu/libm-test-ulps: Update.
28957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28959 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28961         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28964         * bench/Makefile (bench): Add sin and slowsin.
28965         * benchtests/sin-inputs: New file.
28966         * benchtests/slowsin-inputs: New file.
28967         * benchtests/slowsin.c: New file.
28969         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28970         (bench): Add slowexp and slowpow.
28971         (exp-ITER): Increase iterations.
28972         (pow-ITER): Likewise.
28973         * benchtests/exp-inputs: Change input.
28974         * benchtests/pow-inputs: Likewise.
28975         * benchtests/slowexp-inputs: New file.
28976         * benchtests/slowexp.c: New file.
28977         * benchtests/slowpow-inputs: New file.
28978         * benchtests/slowpow.c: New file.
28980 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28982         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28983         instructions.
28984         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28985         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28986         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28987         * benchtests/Makefile: Add rint benchtest.
28988         * benchtests/rint-inputs: Input for rint benchtest.
28990 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28992         * Versions.def (libm): Add GLIBC_2.18.
28993         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28994         hidden libm prototypes.
28995         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28996         * math/Makefile (libm-calls): Add s_issignaling.
28997         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28998         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28999         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29000         declaration.
29001         * math/math.h [__USE_GNU] (issignaling): New macro.
29002         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29003         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29005         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29006         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29007         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29008         * manual/arith.texi (issignaling): New section.
29009         * manual/libm-err-tab.pl (@all_functions): Update comment.
29010         * math/gen-libm-test.pl (parse_args): Apply special handling for
29011         issignaling.
29012         * math/libm-test.inc (print_float, issignaling_test): New
29013         functions.
29014         (check_float_internal): Add issignaling checks.
29015         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29016         default definition.
29017         * sysdeps/powerpc/math-tests.h: New file.
29018         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29019         tests.
29020         * math/test-snan.c (TEST_FUNC): Likewise.
29022 2013-03-30  David S. Miller  <davem@davemloft.net>
29024         * po/de.po: Update from translation team.
29026 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29028         [BZ #10357]
29029         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29030         imaginary part less than 1.0 and real part less than 0.5
29031         specially.
29032         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29033         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29034         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29035         (cacos_test): Add more tests.
29036         (casin_test): Likewise.
29037         (casinh_test): Likewise.
29038         * sysdeps/i386/fpu/libm-test-ulps: Update.
29039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29041 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29043         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29044         ONE with its value.
29046         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29047         (__pow_mp): Replace ONE and MONE with their values.
29048         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29049         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29051         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29052         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29053         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29055         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29057         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29058         (__pow_mp): Replace ZERO and MZERO with their values.
29059         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29060         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29061         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29062         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29063         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29064         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29065         (__sqr): Likewise.
29067         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29069         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29071 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29073         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29074         Declare with __attribute__ ((weak)).
29075         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29076         Call __call_tls_dtors only if it's not NULL.
29078 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29080         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29081         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29082         magic __ehdr_start linker symbol if it's defined.
29083         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29084         them up here if it was already done.
29086         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29087         (_dl_aux_init): Use const in cast when setting it.
29088         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29089         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29090         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29092         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29093         Declare them here.
29094         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29095         * csu/libc-tls.c: Nor here.
29096         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29098         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29099         (__libc_message): Never call vsyslog.
29101 2013-03-28  Alan Modra  <amodra@gmail.com>
29103         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29104         Define as empty.
29105         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29106         Likewise.
29108 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29110         [BZ #15214]
29111         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29112         underflow.
29113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29115 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29117         [BZ #15304]
29118         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29119         Don't add gid passed as argument.
29121         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29123 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29125         [BZ #15307]
29126         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29127         imaginary part between 1.0 and 1.5 and real part less than 0.5
29128         specially.
29129         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29130         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29131         * math/libm-test.inc (cacos_test): Add more tests.
29132         (casin_test): Likewise.
29133         (casinh_test): Likewise.
29134         * sysdeps/i386/fpu/libm-test-ulps: Update.
29135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29137 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29139         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29140         constants.
29141         (norm): Likewise.
29142         (denorm): Likewise.
29143         (__dbl_mp): Likewise.
29144         (add_magnitudes): Likewise.
29145         (sub_magnitudes): Likewise.
29146         (__add): Likewise.
29147         (__sub): Likewise.
29148         (__mul): Likewise.
29149         (__sqr): Likewise.
29150         (__inv): Likewise.
29151         (__dvd): Likewise.
29153         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29154         commented code.
29155         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29156         (__dubcos): Likewise.
29157         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29158         (__ieee754_acos): Likewise.
29159         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29160         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29161         (__exp1): Likewise.
29162         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29164         (log1): Likewise.
29165         (my_log2): Likewise.
29166         (checkint): Likewise.
29167         * sysdeps/ieee754/dbl-64/e_remainder.c
29168         (__ieee754_remainder): Likewise.
29169         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29171         (bsloww): Likewise.
29172         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29174         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29175         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29176         MANTISSA_STORE_T to store computations on mantissa.  Use
29177         macros for rounding and division.
29178         (denorm): Likewise.
29179         (__dbl_mp): Likewise.
29180         (add_magnitudes): Likewise.
29181         (sub_magnitudes): Likewise.
29182         (__mul): Likewise.
29183         (__sqr): Likewise.
29184         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29185         powers of two in terms of TWOPOW macro.
29186         (mp_no): Make type of mantissa as MANTISSA_T.
29187         [!RADIXI]: Define RADIXI.
29188         [!TWO52]: Define TWO52.
29189         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29191 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29193         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29194         llroundl symbol when building for PPC32.
29196 2013-03-24  Mark H Weaver  <mhw@netris.org>
29198         * manual/arith.texi (Normalization Functions): Fix prototypes for
29199         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29201 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29203         [BZ #13889]
29204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29205         high value to check if expl overflow.
29206         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29207         to check for underflow and overflow.
29208         * math/libm-test.inc: Add exp test.
29210 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29212         [BZ #11120]
29213         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29214         with NOT_IN_libc.
29216 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29218         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29219         symbol.
29221 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29223         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29224         wrap blocks consisting of several statements.
29226         * sysdeps/generic/math-tests.h: New file.
29227         * sysdeps/i386/fpu/math-tests.h: Likewise.
29228         * math/test-snan.c: Include it.
29229         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29231 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29233         [BZ #15285]
29234         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29235         (__ieee754_j0l): Do not improve calculations using cos of twice
29236         input for inputs above LDBL_MAX / 2.0L.
29237         (__ieee754_y0l): Likewise.
29238         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29239         (__ieee754_j1l): Do not improve calculations using cos of twice
29240         input for inputs above LDBL_MAX / 2.0L.
29241         (__ieee754_y1l): Likewise.
29242         * math/libm-test.inc (j0_test): Add another test.
29243         (j1_test): Likewise.
29244         (y0_test): Likewise.
29245         (y1_test): Likewise.
29246         * sysdeps/i386/fpu/libm-test-ulps: Update.
29248 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29250         * Rules ($(objpfx)bench-%.c): Include code from a C source
29251         file.
29253 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29255         [BZ #15287]
29256         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29257         imaginary part 1.0 and real part less than 0.5 specially.
29258         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29259         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29260         * math/libm-test.inc (cacos_test): Add more tests.
29261         (casin_test): Likewise.
29262         (casinh_test): Likewise.
29263         * sysdeps/i386/fpu/libm-test-ulps: Update.
29264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29266 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29268         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29269         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29271 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29273         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29274         * config.make.in (config-cflags-sse4): Remove variable.
29275         (config-cflags-avx): Likewise.
29276         (config-cflags-sse2avx): Likewise.
29277         (config-cflags-novzeroupper): Likewise.
29278         (config-asflags-i686): Likewise.
29279         (have-mfma4): Likewise.
29280         (have-as-vis3): Likewise.
29281         (MIG): Likewise.
29282         * configure.in (MIG): Do not AC_SUBST.
29283         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29284         (libc_cv_cc_sse4): Do not AC_SUBST.
29285         (libc_cv_cc_avx): Likewise.
29286         (libc_cv_cc_sse2avx): Likewise.
29287         (libc_cv_cc_novzeroupper): Likewise.
29288         (libc_cv_cc_fma4): Likewise.
29289         (libc_cv_as_i686): Likewise.
29290         (libc_cv_sparc_as_vis3): Likewise.
29291         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29292         LIBC_CONFIG_VAR.
29293         (config-asflags-i686): Likewise.
29294         (config-cflags-avx): Likewise.
29295         (config-cflags-sse2avx): Likewise.
29296         (have-mfma4): Likewise.
29297         (config-cflags-novzeroupper): Likewise.
29298         * sysdeps/mach/configure.in (MIG): Likewise.
29299         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29300         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29301         LIBC_CONFIG_VAR.
29302         (config-cflags-avx): Likewise.
29303         (config-cflags-sse2avx): Likewise.
29304         (have-mfma4): Likewise.
29305         (config-cflags-novzeroupper): Likewise.
29306         * configure: Regenerated.
29307         * sysdeps/i386/configure: Likewise.
29308         * sysdeps/mach/configure: Likewise.
29309         * sysdeps/sparc/configure: Likewise.
29310         * sysdeps/x86_64/configure: Likewise.
29312 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29314         [BZ #14812]
29315         * locale/programs/localedef.c (options): Put N_ translation marker
29316         on argument names, not just descriptions.
29318 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29320         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29322 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29324         [BZ #14176]
29325         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29327 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29329         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29330         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29331         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29332         [!BEFORE_ABORT] (before_abort): New function.
29333         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29334         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29335         (writev_for_fatal): New function.
29336         (WRITEV_FOR_FATAL): New macro; call that.
29337         (backtrace_and_maps): New function.
29338         (BEFORE_ABORT): New macro; call that.
29339         (struct str_list): Type removed.
29340         (__libc_message, __libc_fatal): Functions removed.
29341         Include <sysdeps/posix/libc_fatal.c> instead.
29343 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29345         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29346         constants.
29347         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29348         double constants.
29350 2013-03-19  Andreas Schwab  <schwab@suse.de>
29352         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29353         * sysdeps/gnu/configure: Regenerate.
29355         * configure.in: Substitute libc_cv_rtlddir.
29356         * configure: Regenerate.
29357         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29358         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29359         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29360         * elf/Makefile (install-others, CFLAGS-interp.c)
29361         (ldso_install, common-ldd-rewrite): Likewise.
29362         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29363         $(inst_slibdir)/$(rtld-installed-name).
29364         * scripts/rellns-sh: Add -p option.
29365         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29366         for source.
29368 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29370         * manual/nptl.texi: Renamed to ...
29371         * manual/threads.texi: ... this.
29372         * manual/Makefile (chapters): Update.
29374 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29376         [BZ #14812]
29377         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29378         on argument names, not just descriptions.
29379         * malloc/memusagestat.c (options): Likewise.
29380         * nss/getent.c (options): Likewise.
29382 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29384         [BZ #14812]
29385         * iconv/iconv_prog.c (options): Put N_ translation marker
29386         on argument names, not just descriptions.
29387         * iconv/iconvconfig.c (options): Likewise.
29389 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29391         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29392         implementation which is faster on all x86_64 architectures.
29393         Tested on AMD, Intel Nehalem, SNB, IVB.
29394         * sysdeps/x86_64/strnlen.S: Likewise.
29396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29397         Remove all multiarch strlen and strnlen versions.
29398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29399         Remove strlen and strnlen related parts.
29401         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29402         Inline strlen part.
29403         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29405         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29406         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29407         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29408         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29409         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29410         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29412 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29414         * manual/memory.texi (Malloc Tunable Parameters):
29415         Sort parameters alphabetically. Add comments for missing entries.
29417 2013-03-17  David S. Miller  <davem@davemloft.net>
29419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29421 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29423         [BZ #15283]
29424         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29425         for arguments at most half maximum finite value.
29426         * math/libm-test.inc (j0_test): Add more tests.
29427         (j1_test): Likewise.
29428         (y0_test): Likewise.
29429         (y1_test): Likewise.
29430         * sysdeps/i386/fpu/libm-test-ulps: Update.
29431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29433         [BZ #14155]
29434         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29435         1 / x and functions P and Q for arguments above 0x1p256L.
29436         (__ieee754_y0l): Likewise.
29437         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29438         (__ieee754_y1l): Likewise.
29439         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29440         (j1_test): Likewise.
29441         (y0_test): Likewise.
29442         (y1_test): Likewise.
29444 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29446         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29447         variable.
29449 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29451         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29452         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29453         zero since it's initialized to EXEC_PAGESIZE.
29455         * sysdeps/unix/sysv/linux/ldsodefs.h
29456         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29457         * sysdeps/generic/ldsodefs.h: ... here.
29459 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29461         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29463         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29464         math/test-snan.c.
29465         * math/test-snan.c: Renamed from
29466         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29467         * math/Makefile (tests): Add test-snan.
29468         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29469         test-powerpc-snan.
29471         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29472         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29473         functions.
29474         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29475         __builtin_nan family of functions.
29476         * math/libm-test.inc (initialize): Initialize qnan_value with
29477         __builtin_nan family of functions.
29478         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29479         Remove variables.
29480         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29481         Remove functions.
29482         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29483         storage class.  Initialize qNaN_var and sNaN_var with
29484         __builtin_nan and __builtin_nans families of functions,
29485         respectively.
29487         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29488         (sqrt_test): Remove duplicate test with qNaN input.
29489         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29490         (round_test, signbit_test, significand_test): Note missing +/-Inf
29491         as well as qNaN tests.
29493         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29494         qNaN_var.  Fix a few strings, too.
29495         * math/libm-test.inc (nan_value): Rename to qnan_value.
29496         * math/gen-libm-test.pl (%beautify): Adjust to that.
29497         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29498         * math/test-misc.c (main): Likewise.
29499         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29500         to __qnan_bytes, and __qnan_union, respectively.
29501         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29502         Likewise.
29503         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29504         and lqnanval, respectively.
29505         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29506         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29507         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29508         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29510         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29511         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29512         doubles.
29514         * math/test-misc.c (main): Fix copy'n'pastos.
29515         * misc/tst-efgcvt.c (special): Likewise.
29517         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29518         Remove declarations.
29520 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29522         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29523         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29524         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29525         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29527 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29529         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29530         macro to return vdso values correctly in IFUNC implementations.
29531         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29532         Optimization by using IFUNC.
29534 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29535             Richard Henderson  <rth@redhat.com>
29536             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29538         * Makefile.in (bench): New target.
29539         * NEWS: Mention the benchmark framework.
29540         * Rules (bench): Likewise.
29541         (binaries-bench): Generate binaries for functions to
29542         benchmark.
29543         * benchtests/Makefile: New makefile for benchmark tests.
29544         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29545         programs.
29546         * benchtests/exp-inputs: New input file for EXP function.
29547         * benchtests/pow-inputs: New input file for POW function.
29548         * scripts/bench.pl: New script to generate source files for
29549         benchmark programs.
29551 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29553         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29554         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29555         computations on mantissa.  Use macros for rounding and
29556         division.
29557         (denorm): Likewise.
29558         (__dbl_mp): Likewise.
29559         (add_magnitudes): Likewise.
29560         (sub_magnitudes): Likewise.
29561         (__mul): Likewise.
29562         (__sqr): Likewise.
29563         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29564         powers of two in terms of TWOPOW macro.
29565         (mp_no): Make type of mantissa as MANTISSA_T.
29566         [!RADIXI]: Define RADIXI.
29567         [!TWO52]: Define TWO52.
29568         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29570         * manual/nptl.texi (cindex): Modify threads to pthreads.
29572 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29574         * sysdeps/x86_64/preconfigure: Regenerated.
29576 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29578         [BZ #14155]
29579         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29580         0x1p28 and above.
29581         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29582         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29583         0x1p28 and above.
29584         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29585         * math/libm-test.inc (j0_test): Do not allow one spurious
29586         underflow exception.
29587         (y1_test): Likewise.
29589 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29591         * manual/Makefile (chapters): Add nptl.
29592         * manual/debug.texi (Debugging Support): Add link to Threads
29593         chapter.
29594         * manual/nptl.texi: New file.
29596         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29598 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29600         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29601         for non-NULL pointer before the memory validity test. Pointed
29602         out by Holger Brunck <holger.brunck@keymile.com>.
29604 2013-03-13  Andreas Schwab  <schwab@suse.de>
29606         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29607         instead of .os.
29609 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29611         * timezone/zic.c: Update from tzcode 2013b.
29613 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29615         * manual/install.texi (Configuring and compiling):
29616         Mention i686 and i586.
29617         * INSTALL: Regenerate.
29619 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29621         * sysdeps/init_array/elf-init.c: New file.
29622         * csu/elf-init.c
29623         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29624         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29626         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29627         __gmon_start__ as global, but as static with a .preinit_array pointer.
29628         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29629         * sysdeps/init_array/crti.S: New file, empty except for comments.
29630         * sysdeps/init_array/crtn.S: Likewise.
29632 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29634         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29635         definining bcopy.
29636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29637         Remove Prefer_SSE_for_memop.
29638         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29639         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29640         HAS_PREFER_SSE_FOR_MEMOP.
29641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29642         memset-x86-64.
29643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29644         Remove bzero, memset ifunc support.
29645         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29646         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29647         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29648         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29650 2013-03-11  Andreas Schwab  <schwab@suse.de>
29652         [BZ #15234]
29653         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29654         by SHLIB_COMPAT.
29655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29656         (GLIBC_2.16): Remove pthread_atfork.
29658 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29660         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29661         (ptestcases.h): Likewise.
29663 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29665         * Makeconfig ($(common-objpfx)config.status): Depend on
29666         sysdeps/*/preconfigure{,.in} too.
29668 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29670         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29671         (__free_hook): Use void * instead of __malloc_ptr_t.
29672         (__malloc_hook): Likewise.
29673         (__realloc_hook): Likewise.
29674         (__memalign_hook): Likewise.
29675         (__after_morecore_hook): Likewise.
29676         * malloc/arena.c (save_malloc_hook): Likewise.
29677         (save_free_hook): Likewise.
29678         * malloc/hooks.c (malloc_hook_ini): Likewise.
29679         (realloc_hook_ini): Likewise.
29680         (memalign_hook_ini): Likewise.
29681         * malloc/malloc.c (malloc_hook_ini): Likewise.
29682         (realloc_hook_ini): Likewise.
29683         (memalign_hook_ini): Likewise.
29684         (__free_hook): Likewise.
29685         (__malloc_hook): Likewise.
29686         (__realloc_hook): Likewise.
29687         (__memalign_hook): Likewise.
29688         (__libc_malloc): Likewise.
29689         (__libc_free): Likewise.
29690         (__libc_realloc): Likewise.
29691         (__libc_memalign): Likewise.
29692         (__libc_valloc): Likewise.
29693         (__libc_pvalloc): Likewise.
29694         (__libc_calloc): Likewise.
29695         (__posix_memalign): Likewise.
29696         * malloc/morecore.c (__sbrk): Likewise.
29697         (__default_morecore): Likewise.
29699         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29701         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29702         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29703         __malloc_ptrdiff_t.
29705         * malloc/malloc.h (__malloc_size_t): Remove macro.
29706         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29707         __malloc_size_t.
29708         (old_memalign_hook): Likewise.
29709         (old_realloc_hook): Likewise.
29710         (struct hdr): Likewise.
29711         (flood): Likewise.
29712         (mallochook): Likewise.
29713         (memalignhook): Likewise.
29714         (reallochook): Likewise.
29715         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29716         (tr_old_realloc_hook): Likewise.
29717         (tr_old_memalign_hook): Likewise.
29718         (tr_mallochook): Likewise.
29719         (tr_reallochook): Likewise.
29720         (tr_memalignhook): Likewise.
29722 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29724         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29725         default_ldbl_pack and using as default implementation.
29726         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29727         implementation.
29728         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29729         redundant definition.
29730         (ldbl_insert_mantissa): Likewise.
29731         (ldbl_canonicalize): Likewise.
29732         (ldbl_nearbyint): Likewise.
29733         (ldbl_pack): Rename to ldbl_pack_ppc.
29734         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29735         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29736         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29738 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29741         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29742         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29743         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29745         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29746         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29747         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29749 2013-03-07  Andreas Jaeger  <aj@suse.de>
29751         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29752         bits/mman-linux.h.
29754 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29756         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29757         Include mpa.h and declare __MPEXP.
29758         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29759         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29760         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29761         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29762         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29763         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29764         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29766         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29767         (__slowpow): Use long double EXPL and LOGL functions to
29768         compute POW.
29769         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29770         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29771         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29772         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29773         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29774         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29777         intermediate variable to calculate exponent.
29778         (__sqr): Likewise.
29779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29780         Likewise.
29781         (__sqr): Likewise.
29783         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29784         [!NO__SQR]: Define __sqr.
29785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29786         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29787         sysdeps/ieee754/dbl-64/mpa.c.
29788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29790         [BZ #12723]
29791         * posix/Makefile (tests): Add tst-pathconf.
29792         * posix/tst-pathconf.c: New test case.
29793         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29794         _PC_PIPE_BUF.
29795         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29797 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29799         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29801 2013-03-06  Andreas Jaeger  <aj@suse.de>
29803         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29804         definition via __MAP_ANONYMOUS.
29806         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29807         it's not part of Linux headers.
29809         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29810         (MAP_HUGE_MASK): Define.
29812         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29813         Define.
29814         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29815         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29816         Define.
29817         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29818         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29819         Define.
29820         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29821         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29822         Define.
29823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29825         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29826         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29827         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29828         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29829         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29830         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29832         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29833         Handle f2fs.
29835         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29836         Handle f2fs and efivarfs.
29838         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29839         f2fs.
29841         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29842         (EFIVARFS_MAGIC): Add.
29843         (F2FS_LINK_MAX): Add.
29845 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29847         * stdio-common/vfprintf.c: Replace __builtin_expect with
29848         __glibc_unlikely.
29850 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29852         [BZ #13550]
29853         * sysdeps/generic/bp-sym.h: Remove file.
29854         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29855         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29856         <bp-sym.h> and <bp-asm.h>.
29857         (__longjmp): Don't use BP_SYM.
29858         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29859         and <bp-asm.h>.
29860         (memcpy): Don't use BP_SYM.
29861         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29862         <bp-sym.h> and <bp-asm.h>.
29863         (memcpy): Don't use BP_SYM.
29864         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29865         <bp-asm.h>.
29866         (memcpy): Don't use BP_SYM.
29867         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29868         <bp-asm.h>.
29869         (memset): Don't use BP_SYM.
29870         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29871         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29872         (__bzero): Don't use BP_SYM.
29873         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29874         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29875         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29876         <bp-sym.h> and <bp-asm.h>.
29877         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29878         pointers.
29879         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29880         <bp-sym.h> and <bp-asm.h>.
29881         (memcpy): Don't use BP_SYM.
29882         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29883         <bp-sym.h> and <bp-asm.h>.
29884         (memset): Don't use BP_SYM.
29885         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29886         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29887         (__bzero): Don't use BP_SYM.
29888         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29889         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29890         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29891         <bp-sym.h> and <bp-asm.h>.
29892         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29893         pointers.
29894         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29895         <bp-sym.h> and <bp-asm.h>.
29896         (memcpy): Don't use BP_SYM.
29897         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29898         <bp-sym.h> and <bp-asm.h>.
29899         (memset): Don't use BP_SYM.
29900         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29901         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29902         (__bzero): Don't use BP_SYM.
29903         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29904         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29905         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29906         <bp-sym.h> and <bp-asm.h>.
29907         (__memchr): Don't use BP_SYM.
29908         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29909         <bp-sym.h> and <bp-asm.h>.
29910         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29911         pointers.
29912         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29913         <bp-sym.h> and <bp-asm.h>.
29914         (memcpy): Don't use BP_SYM.
29915         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29916         <bp-sym.h> and <bp-asm.h>.
29917         (__mempcpy): Don't use BP_SYM.
29918         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29919         <bp-sym.h> and <bp-asm.h>.
29920         (__memrchr): Don't use BP_SYM.
29921         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29922         <bp-sym.h> and <bp-asm.h>.
29923         (memset): Don't use BP_SYM.
29924         (__bzero): Likewise.
29925         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29926         <bp-sym.h> and <bp-asm.h>.
29927         (__rawmemchr): Don't use BP_SYM.
29928         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29929         <bp-sym.h> and <bp-asm.h>.
29930         (__STRCMP): Don't use BP_SYM.
29931         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29932         <bp-sym.h> and <bp-asm.h>.
29933         (strchr): Don't use BP_SYM.
29934         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29935         <bp-sym.h> and <bp-asm.h>.
29936         (__strchrnul): Don't use BP_SYM.
29937         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29938         <bp-sym.h> and <bp-asm.h>.
29939         (strlen): Don't use BP_SYM.
29940         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29941         <bp-sym.h> and <bp-asm.h>.
29942         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29943         pointers.
29944         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29945         <bp-sym.h> and <bp-asm.h>.
29946         (__strnlen): Don't use BP_SYM.
29947         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29948         <bp-sym.h> and <bp-asm.h>.
29949         (__GI__setjmp): Don't use BP_SYM.
29950         (_setjmp): Likewise.
29951         (__sigsetjmp): Likewise.
29952         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29953         (L(start_addresses)): Don't use BP_SYM.
29954         (_start): Likewise.
29955         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29956         <bp-asm.h>.
29957         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29958         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29959         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29960         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29961         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29962         <bp-asm.h>.
29963         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29964         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29965         about bounded pointers.
29966         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29967         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29968         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29969         <bp-asm.h>.
29970         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29971         about bounded pointers.  Remove GKM FIXME comments.
29972         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29973         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29974         <bp-asm.h>.
29975         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29976         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29977         Remove GKM FIXME comments.
29978         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29979         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29980         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29981         <bp-asm.h>.
29982         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29983         about bounded pointers.  Remove GKM FIXME comment.
29984         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29985         and <bp-asm.h>.
29986         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29987         pointers.
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29989         <bp-sym.h> and <bp-asm.h>.
29990         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29992         <bp-sym.h> and <bp-asm.h>.
29993         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29994         comment.
29996 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29998         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29999         call free(NULL).
30001 2013-03-05  David S. Miller  <davem@davemloft.net>
30003         * po/es.po: Update from translation team.
30005 2013-03-05  Andreas Jaeger  <aj@suse.de>
30007         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30008         <bits/mman-linux.h>.
30009         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30010         is fine.
30011         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30012         <bits/mman-linux.h> to end of file.
30013         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30014         is fine.
30015         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30016         <bits/mman-linux.h> to end of file.
30017         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30018         is fine.
30019         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30020         <bits/mman-linux.h> to end of file.
30022         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30023         (MCL_CURRENT, MCL_FUTURE): Define here.
30025 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30027         [BZ #15232]
30028         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30029         attribute_hidden.
30030         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30032 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30034         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30035         fourth parameter needed for rt_sigprocmask syscall.
30036         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30037         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30038         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30039         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30040         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30041         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30043 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30045         [BZ #13550]
30046         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30047         comment about bounded pointers.
30048         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30049         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30051 2013-03-04  Andreas Jaeger  <aj@suse.de>
30053         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30054         common definitions.
30056         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30057         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30058         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30059         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30060         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30061         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30063 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30065         [BZ #15055]
30066         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30067         __ieee754_sqrl instead of __sqrl.
30069 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30071         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30072         * sysdeps/powerpc/fpu_control.h: ... here.
30073         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30074         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30075         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30076         * sysdeps/powerpc/bits/mathinline.h: ... here.
30078 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30080         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30081         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30082         to just [NEED_DL_SYSINFO_DSO].
30083         * elf/dl-support.c: Likewise.
30084         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30085         * elf/rtld.c (dl_main): Likewise.
30086         * elf/setup-vdso.h (setup_vdso): Likewise.
30087         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30088         * sysdeps/unix/sysv/linux/dl-sysdep.c
30089         (_dl_discover_osversion): Likewise.
30091 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30093         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30094         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30096 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30098         * NEWS: Mention libm performance improvements and non-x86 PI
30099         futex support.
30101         * csu/libc-start.c (__pthread_initialize_minimal): Change
30102         function arguments.
30103         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30105 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30107         [BZ #13550]
30108         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30109         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30110         <bp-sym.h> and <bp-asm.h>.
30111         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30112         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30113         and <bp-asm.h>.
30114         (memcpy): Don't use BP_SYM.
30115         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30116         <bp-asm.h>.
30117         (__mpn_add_n): Don't use BP_SYM.
30118         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30119         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30120         and <bp-asm.h>.
30121         (__mpn_addmul_1): Don't use BP_SYM.
30122         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30123         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30124         <bp-sym.h>.
30125         (_setjmp): Don't use BP_SYM.
30126         (__novmx_setjmp): Likewise.
30127         (__GI__setjmp): Likewise.
30128         (__vmx_setjmp): Likewise.
30129         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30130         <bp-sym.h>.
30131         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30132         (__bzero): Don't use BP_SYM.
30133         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30134         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30135         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30136         <bp-sym.h> and <bp-asm.h>.
30137         (memcpy): Don't use BP_SYM.
30138         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30139         <bp-sym.h> and <bp-asm.h>.
30140         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30142         <bp-sym.h> and <bp-asm.h>.
30143         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30144         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30145         <bp-asm.h>.
30146         (__mpn_lshift): Don't use BP_SYM.
30147         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30148         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30149         <bp-asm.h>.
30150         (memset): Don't use BP_SYM.
30151         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30152         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30153         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30154         <bp-asm.h>.
30155         (__mpn_mul_1): Don't use BP_SYM.
30156         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30157         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30158         <bp-sym.h> and <bp-asm.h>.
30159         (memcmp): Don't use BP_SYM.
30160         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30161         <bp-sym.h> and <bp-asm.h>.
30162         (memcpy): Don't use BP_SYM.
30163         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30164         <bp-sym.h> and <bp-asm.h>.
30165         (memset): Don't use BP_SYM.
30166         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30167         <bp-sym.h> and <bp-asm.h>.
30168         (strncmp): Don't use BP_SYM.
30169         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30170         <bp-sym.h> and <bp-asm.h>.
30171         (memcpy): Don't use BP_SYM.
30172         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30173         <bp-sym.h> and <bp-asm.h>.
30174         (memset): Don't use BP_SYM.
30175         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30176         <bp-sym.h> and <bp-asm.h>.
30177         (__memchr): Don't use BP_SYM.
30178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30179         <bp-sym.h> and <bp-asm.h>.
30180         (memcmp): Don't use BP_SYM.
30181         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30182         <bp-sym.h> and <bp-asm.h>.
30183         (memcpy): Don't use BP_SYM.
30184         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30185         <bp-sym.h> and <bp-asm.h>.
30186         (__mempcpy): Don't use BP_SYM.
30187         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30188         <bp-sym.h> and <bp-asm.h>.
30189         (__memrchr): Don't use BP_SYM.
30190         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30191         <bp-sym.h> and <bp-asm.h>.
30192         (memset): Don't use BP_SYM.
30193         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30194         <bp-sym.h> and <bp-asm.h>.
30195         (__rawmemchr): Don't use BP_SYM.
30196         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30197         <bp-sym.h> and <bp-asm.h>.
30198         (__STRCMP): Don't use BP_SYM.
30199         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30200         <bp-sym.h> and <bp-asm.h>.
30201         (strchr): Don't use BP_SYM.
30202         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30203         <bp-sym.h> and <bp-asm.h>.
30204         (__strchrnul): Don't use BP_SYM.
30205         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30206         <bp-sym.h> and <bp-asm.h>.
30207         (strlen): Don't use BP_SYM.
30208         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30209         <bp-sym.h> and <bp-asm.h>.
30210         (strncmp): Don't use BP_SYM.
30211         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30212         <bp-sym.h> and <bp-asm.h>.
30213         (__strnlen): Don't use BP_SYM.
30214         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30215         <bp-asm.h>.
30216         (__mpn_rshift): Don't use BP_SYM.
30217         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30218         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30219         <bp-sym.h> and <bp-asm.h>.
30220         (__sigsetjmp): Don't use BP_SYM.
30221         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30222         (L(start_addresses)): Don't use BP_SYM.
30223         (_start): Likewise.
30224         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30225         <bp-asm.h>.
30226         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30227         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30228         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30229         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30230         <bp-asm.h>.
30231         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30232         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30233         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30234         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30235         <bp-asm.h>.
30236         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30237         comments.
30238         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30239         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30240         <bp-asm.h>.
30241         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30242         FIXME comments.
30243         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30244         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30245         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30246         <bp-asm.h>.
30247         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30248         comment.
30249         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30250         and <bp-asm.h>.
30251         (strncmp): Don't use BP_SYM,
30252         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30253         <bp-asm.h>.
30254         (__mpn_sub_n): Don't use BP_SYM.
30255         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30256         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30257         and <bp-asm.h>.
30258         (__mpn_submul_1): Don't use BP_SYM.
30259         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30261         <bp-sym.h> and <bp-asm.h>.
30262         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30264         <bp-sym.h> and <bp-asm.h>.
30265         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30266         comment.
30268 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30271         Use ZK to minimize writes to Z.
30272         (sub_magnitudes): Simplify code a bit.
30273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30274         Use ZK to minimize writes to Z.
30275         (sub_magnitudes): Simplify code a bit.
30277 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30279         * csu/gmon-start.c: Add special exception to license text.
30281 2013-02-27  Richard Henderson  <rth@redhat.com>
30283         * scripts/config.guess: Update from config.git.
30284         * scripts/config.sub: Likewise.
30286 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30288         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30290         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30292         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30294         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30296         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30298 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30300         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30301         [$(build-shared = yes].
30303 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30305         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30306         (__mul): Reduce iterations for calculating mantissa.
30308         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30309         MPTWO.
30310         (__mpranred): Likewise.
30312         [BZ #15160]
30313         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30314         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30316 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30318         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30319         Define __attribute__.
30321 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30323         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30324         unused.
30325         * posix/regex_internal.h (__attribute): Remove.
30326         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30327         (re_string_context_at): Likewise.
30328         (bitset_not): Use __attribute__ and mark function as possibly
30329         unused.
30330         (bitset_merge): Likewise.
30331         (bitset_mask): Likewise.
30332         (re_string_char_size_at): Likewise.
30333         (re_string_wchar_at): Likewise.
30334         (re_string_elem_size_at): Likewise.
30336 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30338         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30339         code.
30340         (cc32): Likewise.
30342         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30343         (__acr): Likewise.
30344         (__cpy): Likewise.
30345         (norm): Likewise.
30346         (denorm): Likewise.
30347         (__dbl_mp): Likewise.
30348         (add_magnitudes): Likewise.
30349         (sub_magnitudes): Likewise.
30350         (__mul): Likewise.
30351         (__inv): Likewise.
30353         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30354         style.
30356         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30357         style.
30359         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30360         code.
30362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30363         up changes with default code.
30364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30365         Likewise.
30367 2013-02-24  Allan McRae  <allan@archlinux.org>
30369         * manual/socket.texi (The Internet Namespace): Order menu items
30370         to match that in the file.
30372         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30373         node listing of the info page menu.
30375 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30377         [BZ #13550]
30378         * sysdeps/i386/bp-asm.h: Remove file.
30379         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30380         (PARMS): Do not use macros from bp-asm.h.
30381         (S1): Likewise.
30382         (S2): Likewise.
30383         (SIZE): Likewise.
30384         (__mpn_add_n): Do not use BP_SYM
30385         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30386         "bp-asm.h".
30387         (PARMS): Do not use macros from bp-asm.h.
30388         (S1): Likewise.
30389         (SIZE): Likewise.
30390         (__mpn_addmul_1): Do not use BP_SYM
30391         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30392         "bp-asm.h".
30393         (PARMS): Do not use macros from bp-asm.h.
30394         (SIGMSK): Likewise.
30395         (_setjmp): Likewise.  Do not use BP_SYM.
30396         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30397         "bp-asm.h".
30398         (PARMS): Do not use macros from bp-asm.h.
30399         (SIGMSK): Likewise.
30400         (setjmp): Likewise.  Do not use BP_SYM.
30401         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30402         "bp-asm.h".
30403         (PARMS): Do not use macros from bp-asm.h.
30404         (__frexp): Do not use BP_SYM.
30405         (frexp): Likewise.
30406         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30407         "bp-asm.h".
30408         (PARMS): Do not use macros from bp-asm.h.
30409         (__frexpf): Do not use BP_SYM.
30410         (frexpf): Likewise.
30411         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30412         "bp-asm.h".
30413         (PARMS): Do not use macros from bp-asm.h.
30414         (__frexpl): Do not use BP_SYM.
30415         (frexpl): Likewise.
30416         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30417         "bp-asm.h".
30418         (PARMS): Do not use macros from bp-asm.h.
30419         (__remquo): Do not use BP_SYM.
30420         (remquo): Likewise.
30421         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30422         "bp-asm.h".
30423         (PARMS): Do not use macros from bp-asm.h.
30424         (__remquof): Do not use BP_SYM.
30425         (remquof): Likewise.
30426         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30427         "bp-asm.h".
30428         (PARMS): Do not use macros from bp-asm.h.
30429         (__remquol): Do not use BP_SYM.
30430         (remquol): Likewise.
30431         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30432         "bp-asm.h".
30433         (PARMS): Do not use macros from bp-asm.h.
30434         (DEST): Likewise.
30435         (SRC): Likewise.
30436         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30437         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30438         "bp-asm.h".
30439         (PARMS): Do not use macros from bp-asm.h.
30440         (strlen): Do not use BP_SYM.
30441         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30442         "bp-asm.h".
30443         (PARMS): Do not use macros from bp-asm.h.
30444         (S1): Likewise.
30445         (S2): Likewise.
30446         (SIZE): Likewise.
30447         (__mpn_add_n): Do not use BP_SYM.
30448         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30449         "bp-asm.h".
30450         (PARMS): Do not use macros from bp-asm.h.
30451         (S1): Likewise.
30452         (SIZE): Likewise.
30453         (__mpn_addmul_1): Do not use BP_SYM.
30454         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30455         weak_alias.
30456         (bzero): Likewise.
30457         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30458         "bp-asm.h".
30459         (PARMS): Do not use macros from bp-asm.h.
30460         (S): Likewise.
30461         (SIZE): Likewise.
30462         (__mpn_lshift): Do not use BP_SYM.
30463         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30464         "bp-asm.h".
30465         (PARMS): Do not use macros from bp-asm.h.
30466         (DEST): Likewise.
30467         (SRC): Likewise.
30468         (LEN): Likewise.
30469         (memcpy): Likewise.  Do not use BP_SYM.
30470         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30471         libc_hidden_def and weak_alias.
30472         (mempcpy): Do not use BP_SYM in weak_alias.
30473         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30474         "bp-asm.h".
30475         (PARMS): Do not use macros from bp-asm.h.
30476         (DEST): Likewise.
30477         (LEN): Likewise.
30478         [!BZERO_P] (CHR): Likewise.
30479         (memset): Likewise.  Do not use BP_SYM.
30480         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30481         "bp-asm.h".
30482         (PARMS): Do not use macros from bp-asm.h.
30483         (S1): Likewise.
30484         (SIZE): Likewise.
30485         (__mpn_mul_1): Do not use BP_SYM.
30486         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30487         "bp-asm.h".
30488         (PARMS): Do not use macros from bp-asm.h.
30489         (S): Likewise.
30490         (SIZE): Likewise.
30491         (__mpn_rshift): Do not use BP_SYM.
30492         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30493         "bp-asm.h".
30494         (PARMS): Do not use macros from bp-asm.h.
30495         (STR): Likewise.
30496         (CHR): Likewise.
30497         (strchr): Likewise.  Do not use BP_SYM.
30498         (index): Do not use BP_SYM in weak_alias.
30499         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30500         "bp-asm.h".
30501         (PARMS): Do not use macros from bp-asm.h.
30502         (DEST): Likewise.
30503         (SRC): Likewise.
30504         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30505         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30506         "bp-asm.h".
30507         (PARMS): Do not use macros from bp-asm.h.
30508         (strlen): Do not use BP_SYM.
30509         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30510         "bp-asm.h".
30511         (PARMS): Do not use macros from bp-asm.h.
30512         (S1): Likewise.
30513         (S2): Likewise.
30514         (SIZE): Likewise.
30515         (__mpn_sub_n): Do not use BP_SYM.
30516         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30517         "bp-asm.h".
30518         (PARMS): Do not use macros from bp-asm.h.
30519         (S1): Likewise.
30520         (SIZE): Likewise.
30521         (__mpn_submul_1): Do not use BP_SYM.
30522         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30523         "bp-asm.h".
30524         (PARMS): Do not use macros from bp-asm.h.
30525         (S1): Likewise.
30526         (S2): Likewise.
30527         (SIZE): Likewise.
30528         (__mpn_add_n): Do not use BP_SYM.
30529         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30530         weak_alias.
30531         (bzero): Likewise.
30532         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30533         "bp-asm.h".
30534         (PARMS): Do not use macros from bp-asm.h.
30535         (BLK2): Likewise.
30536         (LEN): Likewise.
30537         (memcmp): Do not use BP_SYM.
30538         (bcmp): Do not use BP_SYM in weak_alias.
30539         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30540         "bp-asm.h".
30541         (PARMS): Do not use macros from bp-asm.h.
30542         (DEST): Likewise.
30543         (SRC): Likewise.
30544         (LEN): Likewise.
30545         (memcpy): Likewise.  Do not use BP_SYM.
30546         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30547         "bp-asm.h".
30548         (PARMS): Do not use macros from bp-asm.h.
30549         (DEST): Likewise.
30550         (SRC): Likewise.
30551         (LEN): Likewise.
30552         (memmove): Likewise.  Do not use BP_SYM.
30553         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30554         "bp-asm.h".
30555         (PARMS): Do not use macros from bp-asm.h.
30556         (DEST): Likewise.
30557         (SRC): Likewise.
30558         (LEN): Likewise.
30559         (__mempcpy): Likewise.  Do not use BP_SYM.
30560         (mempcpy): Do not use BP_SYM in weak_alias.
30561         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30562         "bp-asm.h".
30563         (PARMS): Do not use macros from bp-asm.h.
30564         (DEST): Likewise.
30565         (LEN): Likewise.
30566         [!BZERO_P] (CHR): Likewise.
30567         (memset): Likewise.  Do not use BP_SYM.
30568         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30569         "bp-asm.h".
30570         (PARMS): Do not use macros from bp-asm.h.
30571         (STR2): Likewise.
30572         (strcmp): Do not use BP_SYM.
30573         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30574         "bp-asm.h".
30575         (PARMS): Do not use macros from bp-asm.h.
30576         (STR): Likewise.
30577         (DELIM): Likewise.
30578         [USE_AS_STRTOK_R] (SAVE): Likewise.
30579         (FUNCTION): Likewise.  Do not use BP_SYM.
30580         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30581         aliases.
30582         (strtok_r): Likewise.
30583         (__GI___strtok_r): Likewise.
30584         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30585         (PARMS): Do not use macros from bp-asm.h.
30586         (S): Likewise.
30587         (SIZE): Likewise.
30588         (__mpn_lshift): Do not use BP_SYM.
30589         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30590         (PARMS): Do not use macros from bp-asm.h.
30591         (STR): Likewise.
30592         (CHR): Likewise.
30593         (__memchr): Do not use BP_SYM.
30594         (memchr): Do not use BP_SYM in weak_alias.
30595         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30596         (PARMS): Do not use macros from bp-asm.h.
30597         (BLK2): Likewise.
30598         (LEN): Likewise.
30599         (memcmp): Do not use BP_SYM.
30600         (bcmp): Do not use BP_SYM in weak_alias.
30601         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30602         (PARMS): Do not use macros from bp-asm.h.
30603         (S1): Likewise.
30604         (SIZE): Likewise.
30605         (__mpn_mul_1): Do not use BP_SYM.
30606         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30607         "bp-asm.h".
30608         (PARMS): Do not use macros from bp-asm.h.
30609         (STR): Likewise.
30610         (CHR): Likewise.
30611         (__rawmemchr): Do not use BP_SYM.
30612         (rawmemchr): Do not use BP_SYM in weak_alias.
30613         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30614         (PARMS): Do not use macros from bp-asm.h.
30615         (S): Likewise.
30616         (SIZE): Likewise.
30617         (__mpn_rshift): Do not use BP_SYM.
30618         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30619         (PARMS): Do not use macros from bp-asm.h.
30620         (SIGMSK): Likewise.
30621         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30622         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30623         (_start): Do not use BP_SYM.
30624         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30625         (PARMS): Do not use macros from bp-asm.h.
30626         (DEST): Likewise.
30627         (SRC): Likewise.
30628         (__stpcpy): Likewise.  Do not use BP_SYM.
30629         (stpcpy): Do not use BP_SYM in weak_alias.
30630         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30631         "bp-asm.h".
30632         (PARMS): Do not use macros from bp-asm.h.
30633         (DEST): Likewise.
30634         (SRC): Likewise.
30635         (LEN): Likewise.
30636         (__stpncpy): Likewise.  Do not use BP_SYM.
30637         (stpncpy): Do not use BP_SYM in weak_alias.
30638         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30639         (PARMS): Do not use macros from bp-asm.h.
30640         (STR): Likewise.
30641         (CHR): Likewise.
30642         (strchr): Likewise.  Do not use BP_SYM.
30643         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30644         "bp-asm.h".
30645         (PARMS): Do not use macros from bp-asm.h.
30646         (STR): Likewise.
30647         (CHR): Likewise.
30648         (__strchrnul): Likewise.  Do not use BP_SYM.
30649         (strchrnul): Do not use BP_SYM in weak_alias.
30650         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30651         "bp-asm.h".
30652         (PARMS): Do not use macros from bp-asm.h.
30653         (STOP): Likewise.
30654         (strcspn): Do not use BP_SYM.
30655         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30656         "bp-asm.h".
30657         (PARMS): Do not use macros from bp-asm.h.
30658         (STR): Likewise.
30659         (STOP): Likewise.
30660         (strpbrk): Likewise.  Do not use BP_SYM.
30661         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30662         "bp-asm.h".
30663         (PARMS): Do not use macros from bp-asm.h.
30664         (STR): Likewise.
30665         (CHR): Likewise.
30666         (strrchr): Likewise.  Do not use BP_SYM.
30667         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30668         (PARMS): Do not use macros from bp-asm.h.
30669         (SKIP): Likewise.
30670         (strspn): Do not use BP_SYM.
30671         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30672         (PARMS): Do not use macros from bp-asm.h.
30673         (STR): Likewise.
30674         (DELIM): Likewise.
30675         (SAVE): Likewise.
30676         (FUNCTION): Likewise.  Do not use BP_SYM.
30677         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30678         aliases.
30679         (strtok_r): Likewise.
30680         (__GI___strtok_r): Likewise.
30681         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30682         (PARMS): Do not use macros from bp-asm.h.
30683         (S1): Likewise.
30684         (S2): Likewise.
30685         (SIZE): Likewise.
30686         (__mpn_sub_n): Do not use BP_SYM.
30687         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30688         "bp-asm.h".
30689         (PARMS): Do not use macros from bp-asm.h.
30690         (S1): Likewise.
30691         (SIZE): Likewise.
30692         (__mpn_submul_1): Do not use BP_SYM.
30693         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30694         <bp-sym.h>.
30695         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30696         and <bp-asm.h>.
30697         (PARMS): Do not use macros from bp-asm.h.
30698         (FLAGS): Likewise.
30699         (PTID): Likewise.
30700         (TLS): Likewise.
30701         (CTID): Likewise.
30702         (__clone): Do not use BP_SYM.
30703         (clone): Do not use BP_SYM in weak_alias.
30704         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30705         and <bp-asm.h>.
30706         (PARMS): Do not use macros from bp-asm.h.
30707         (LEN): Likewise.
30708         (__mmap64): Do not use BP_SYM.
30709         (mmap64): Do not use BP_SYM in weak_alias.
30710         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30711         <bp-sym.h> and <bp-asm.h>.
30712         (PARMS): Do not use macros from bp-asm.h.
30713         (__posix_fadvise64_l64): Do not use BP_SYM.
30714         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30715         (PARMS): Do not use macros from bp-asm.h.
30716         (NSOPS): Likewise.
30717         (semtimedop): Do not use BP_SYM.
30718         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30719         and <bp-asm.h>.
30721 2013-02-21  Allan McRae  <allan@archlinux.org>
30723         * manual/message.texi (Charset conversion in gettext):
30724         Move @end statement to beginning of line.
30726 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30729         static.
30730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30731         Likewise.
30733         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30734         (denorm): Likewise.
30735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30738 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30740         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30741         tail-call to the resolved function if pltexit isn't needed.
30743 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30746         or Y being zero as being unlikely.
30747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30748         Likewise.
30750 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30752         * manual/nss.texi (System Databases and Name Service Switch):
30753         Remove frobnicate @pxref.
30755 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30757         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30758         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30760 2013-02-20  Petr Machata  <pmachata@redhat.com>
30762         * elf/elf.h (R_ARM_TARGET1): New macro.
30763         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30764         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30765         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30766         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30767         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30768         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30769         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30770         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30771         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30772         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30773         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30774         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30775         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30776         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30777         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30778         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30779         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30780         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30781         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30782         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30783         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30784         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30785         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30786         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30787         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30788         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30789         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30790         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30791         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30792         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30793         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30794         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30795         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30796         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30797         (R_ARM_THM_GOT_BREL12): Likewise.
30798         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30799         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30800         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30801         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30802         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30803         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30804         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30805         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30806         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30808 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30810         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30811         __attribute_used__ to __attribute__ ((unused)).
30813 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30815         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30816         powerpc mpa.c.
30817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30818         comment formatting.
30819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30821 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #13550]
30824         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30825         Remove macro.
30826         (ENTER): Remove both macro definitions.
30827         (LEAVE): Likewise.
30828         (CHECK_BOUNDS_LOW): Likewise.
30829         (CHECK_BOUNDS_HIGH): Likewise.
30830         (CHECK_BOUNDS_BOTH): Likewise.
30831         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30832         (RETURN_BOUNDED_POINTER): Likewise.
30833         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30834         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30835         (POP_ERRNO_LOCATION_RETURN): Likewise.
30836         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30837         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30838         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30839         macros.
30840         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30841         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30842         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30843         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30844         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30845         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30846         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30847         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30848         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30849         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30850         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30851         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30852         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30853         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30854         removed macros.
30855         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30856         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30857         macros.
30858         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30859         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30860         * sysdeps/i386/i586/memset.S (memset): Likewise.
30861         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30862         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30863         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30864         macros.
30865         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30866         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30867         Change uses of L(2) to L(out).
30868         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30869         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30870         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30871         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30872         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30873         removed macros.
30874         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30875         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30876         macros.
30877         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30878         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30879         (RETURN): Do not use macro LEAVE.
30880         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30881         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30882         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30883         * sysdeps/i386/i686/memset.S (memset): Likewise.
30884         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30885         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30886         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30887         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30888         Likewise.
30889         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30890         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30891         L(1_2) and L(1_3) into L(1).
30892         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30893         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30894         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30895         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30896         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30897         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30898         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30899         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30900         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30901         macros.
30902         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30903         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30904         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30905         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30906         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30907         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30908         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30909         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30910         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30911         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30912         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30913         * sysdeps/i386/strspn.S (strspn): Likewise.
30914         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30915         conditional code.
30916         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30917         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30918         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30919         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30920         L(1_3) into L(1_1).
30921         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30922         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30923         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30924         macros.
30925         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30927 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30929         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30930         macro.
30932 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30934         * math/atest-exp.c (exp_mpn): Remove ROUND.
30935         * math/atest-exp2.c (exp_mpn): Likewise.
30936         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30938         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30939         * stdlib/tst-tls-atexit-lib.c: Likewise.
30940         * stdlib/tst-tls-atexit.c: Likewise.
30942 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30944         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30945         and __attribute_alloc_size__.
30947 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30949         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30950         __attribute_alloc_size__.
30951         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30952         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30954 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30956         * include/programs/xmalloc.h: New file.
30957         * catgets/gencat.c: Include it.
30958         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30959         * elf/pldd.c: Likewise.
30960         * iconv/iconv_charmap.c: Likewise.
30961         * iconv/iconvconfig.c: Likewise.
30962         * iconv/strtab.c: Likewise.
30963         * locale/programs/locale.c: Likewise.
30964         * locale/programs/localedef.h: Likewise.
30965         * locale/programs/simple-hash.c: Likewise.
30966         * nscd/nscd.h: Likewise.
30967         * nss/makedb.c: Likewise.
30968         * sysdeps/generic/ldconfig.h: Likewise.
30970 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30972         * Versions.def: Add GLIBC_2.18.
30973         * include/link.h (struct link_map): New member l_tls_dtor_count.
30974         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30975         (__call_tls_dtors): Likewise.
30976         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30977         __cxa_thread_atexit_impl.
30978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30979         Likewise.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30981         Likewise.
30982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30983         Likewise.
30984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30985         Likewise.
30986         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30988         Likewise.
30989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30990         Likewise.
30991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30993         Likewise.
30994         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30995         (tests): Add test case tst-tls-atexit.
30996         (modules-names): Add shared library for tst-tls-atexit.
30997         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30998         (GLIBC_PRIVATE): Add __call_tls_dtors.
30999         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31000         for libstdc++.
31001         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31002         * stdlib/tst-tls-atexit.c: New test case.
31003         * stdlib/tst-tls-atexit-lib.c: New test case.
31005         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31007         * elf/Versions (ld): Add _dl_find_dso_for_object.
31008         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31009         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31010         (dl_open_worker): Use _dl_find_dso_for_object.
31011         * elf/dl-sym.c (do_sym): Likewise.
31012         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31014 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31016         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31017         Syntactic changes only.
31018         (_dl_runtime_profile): Do a tail-call to the resolved function.
31020 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31022         [BZ #13550]
31023         * sysdeps/x86_64/bp-asm.h: Remove file.
31024         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31025         <bp-sym.h> and <bp-asm.h>.
31026         (__clone): Do not use BP_SYM.
31027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31028         <bp-sym.h> and <bp-asm.h>.
31029         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31030         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31031         "bp-asm.h".
31032         (_setjmp): Do not use BP_SYM.
31033         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31034         "bp-asm.h".
31035         (setjmp): Do not use BP_SYM.
31036         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31037         libc_hidden_def.
31038         (mempcpy): Do not use BP_SYM in weak_alias.
31039         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31040         "bp-asm.h".
31041         (strchr): Do not use BP_SYM.
31042         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31043         "bp-asm.h".
31044         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31045         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31046         (_start): Do not use BP_SYM.
31047         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31048         "bp-asm.h".
31049         (strcat): Do not use BP_SYM.
31050         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31051         "bp-asm.h".
31052         (STRCMP): Do not use BP_SYM.
31053         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31054         "bp-asm.h".
31055         (STRCPY): Do not use BP_SYM.
31056         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31057         "bp-asm.h".
31058         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31059         "bp-asm.h".
31060         (FUNCTION): Do not use BP_SYM.
31061         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31062         weak_alias.
31063         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31065 2013-02-17  Andreas Jaeger  <aj@suse.de>
31067         * time/Versions: Sort entries.
31068         * string/Versions: Likewise.
31069         * resolv/Versions: Likewise.
31070         * posix/Versions: Likewise.
31071         * iconv/Versions: Likewise.
31072         * elf/Versions: Likewise.
31073         * wcsmbs/Versions: Likewise.
31075 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31077         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31078         loop termination condition.
31080         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31081         variable to calculate EZ.
31082         (__sqr): Likewise.
31084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31085         the lower precision input.
31087 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31089         [BZ #13550]
31090         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31091         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31092         (run-via-rtld-prefix): Do not handle %-bp tests.
31093         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31094         (all-object-suffixes): Remove .ob.
31095         (bppfx): Remove variable.
31096         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31097         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31098         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31099         [$(build-bounded) = yes] (libtype.ob): Likewise.
31100         * Makerules (elide-routines.ob): Remove variable.
31101         (do-tests-clean): Do not handle *-bp.out.
31102         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31103         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31104         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31105         (tests): Do not include $(tests-bp.out).
31106         (xtests): Do not include $(xtests-bp.out).
31107         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31108         [$(build-bounded) = yes] ($(addprefix
31109         $(objpfx),$(binaries-bounded))): Remove rule.
31110         ($(objpfx)%-bp.out): Remove rule.
31111         * config.make.in (build-bounded): Remove variable.
31112         * crypt/Makefile [$(build-bounded) = yes]
31113         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31114         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31115         append to variable.
31116         [$(build-bounded) = yes] (install-lib): Likewise.
31117         [$(build-bounded) = yes] (generated): Likewise.
31118         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31119         Remove rule.
31120         * intl/Makefile [$(build-bounded) = yes]
31121         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31122         * math/Makefile [$(build-bounded) = yes]
31123         ($(tests:%=$(objpfx)%-bp): Likewise.
31124         * misc/Makefile [$(build-bounded) = yes]
31125         ($(objpfx)tst-tsearch-bp): Likewise.
31126         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31127         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31128         Remove dependency.
31129         * string/Makefile (o-objects.ob): Remove variable.
31130         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31131         (CFLAGS-.ob): Remove variable.
31132         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31133         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31134         both definitions of variable.
31135         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31136         (ASFLAGS-.ob): Remove variable.
31138 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31140         [BZ #13550]
31141         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31142         Remove __BOUNDED_POINTERS__ from condition.
31143         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31144         * string/bits/string2.h [!__NO_STRING_INLINES &&
31145         !__BOUNDED_POINTERS__]: Likewise.
31146         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31147         Likewise.
31148         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31149         Remove conditional code.
31150         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31151         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31152         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31153         condition.
31155         [BZ #13550]
31156         * csu/libc-start.c: Do not include <bp-sym.h>.
31157         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31158         * elf/dl-open.c: Do not include <bp-sym.h>.
31159         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31160         * math/fegetenv.c: Do not include <bp-sym.h>.
31161         (fegetenv): Do not use BP_SYM in versioned symbols.
31162         * nptl/sysdeps/pthread/bits/libc-lockP.h
31163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31164         <bp-sym.h>.
31165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31166         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31168         (__pthread_mutex_destroy): Likewise.
31169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31170         (__pthread_mutex_lock): Likewise.
31171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31172         (__pthread_mutex_trylock): Likewise.
31173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31174         (__pthread_mutex_unlock): Likewise.
31175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31176         (__pthread_mutexattr_init): Likewise.
31177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31178         (__pthread_mutexattr_destroy): Likewise.
31179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31180         (__pthread_mutexattr_settype): Likewise.
31181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31182         (__pthread_rwlock_init): Likewise.
31183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31184         (__pthread_rwlock_destroy): Likewise.
31185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31186         (__pthread_rwlock_rdlock): Likewise.
31187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31188         (__pthread_rwlock_tryrdlock): Likewise.
31189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31190         (__pthread_rwlock_wrlock): Likewise.
31191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31192         (__pthread_rwlock_trywrlock): Likewise.
31193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31194         (__pthread_rwlock_unlock): Likewise.
31195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31196         (__pthread_key_create): Likewise.
31197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31198         (__pthread_setspecific): Likewise.
31199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31200         (__pthread_getspecific): Likewise.
31201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31202         Likewise.
31203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31204         (_pthread_cleanup_push_defer): Likewise.
31205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31206         (_pthread_cleanup_pop_restore): Likewise.
31207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31208         (pthread_setcancelstate): Likewise.
31209         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31210         <bp-sym.h>.
31211         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31212         (memchr): Do not use BP_SYM in weak_alias.
31213         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31214         (fegetenv): Do not use BP_SYM in versioned symbols.
31215         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31216         (fesetenv): Do not use BP_SYM in versioned symbols.
31217         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31218         (feupdateenv): Do not use BP_SYM in versioned symbols.
31219         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31220         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31221         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31222         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31223         (open64): Do not use BP_SYM in weak_alias.
31224         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31225         (fegetenv): Do not use BP_SYM in versioned symbols.
31226         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31227         (fesetenv): Do not use BP_SYM in versioned symbols.
31228         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31229         (feupdateenv): Do not use BP_SYM in versioned symbols.
31230         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31231         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31232         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31233         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31234         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31235         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31236         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31237         <bp-sym.h>.
31238         (__libc_start_main): Do not use BP_SYM.
31240 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31243         redundant return line.
31244         (norm): Likewise.
31245         (denorm): Likewise.
31246         (dbl_mp): Likewise.
31247         (sub_magnitudes): Likewise.
31248         (__add): Likewise.
31249         (__sub): Likewise.
31250         (__mul): Likewise.
31251         (__inv): Likewise.
31252         (__dvd): Likewise.
31253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31254         (norm): Likewise.
31255         (denorm): Likewise.
31256         (dbl_mp): Likewise.
31257         (sub_magnitudes): Likewise.
31258         (__add): Likewise.
31259         (__sub): Likewise.
31260         (__mul): Likewise.
31261         (__inv): Likewise.
31262         (__dvd): Likewise.
31264         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31265         instead of __mul.
31266         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31267         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31268         (cc32): Likewise.
31270         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31271         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31273         of __mul for squares.
31274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31275         function
31276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31277         Likewise.
31278         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31279         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31281 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31283         [BZ #13550]
31284         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31285         code.
31286         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31287         prototype or function definition.  Rename ubp_* variables and
31288         parameters.  Remove argv definitions conditional on
31289         [__BOUNDED_POINTERS__].
31290         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31291         * elf/dl-runtime.c (_dl_fixup): Likewise.
31292         * include/set-hooks.h (RUN_HOOK): Likewise.
31293         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31294         definition.
31295         * string/strcpy.c (strcpy): Do not use __unbounded.
31296         * sysdeps/generic/frame.h (struct layout): Likewise.
31297         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31298         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31299         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31300         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31301         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31302         (__backtrace): Likewise.
31303         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31304         use __ptrvalue.
31305         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31306         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31307         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31308         Likewise.
31309         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31310         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31311         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31312         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31313         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31314         Do not use __unbounded.
31315         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31316         Rename __unboundedrlimits parameter to rlimits in prototype.
31317         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31318         Do not use __unbounded.
31319         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31320         not use __ptrvalue.
31321         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31322         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31323         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31324         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31325         __ptrvalue or __unbounded.
31326         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31327         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31328         use __unbounded.
31329         (__new_msgctl): Do not use __ptrvalue.
31330         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31331         __unbounded.
31332         (__libc_msgrcv): Do not use __ptrvalue.
31333         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31334         startup_info): Do not use __unbounded.
31335         (__libc_start_main): Likewise.  Rename ubp_* variables and
31336         parameters.  Remove argv definitions conditional on
31337         [__BOUNDED_POINTERS__].
31338         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31339         __ptrvalue.
31340         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31341         use __unbounded.
31342         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31343         or __ptrvalue.
31344         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31345         use __unbounded.
31346         (__new_shmctl): Do not use __ptrvalue.
31347         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31348         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31349         Likewise.
31350         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31351         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31352         (__libc_sigaction): Likewise.
31353         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31354         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31355         Likewise.
31356         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31358 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31360         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31362         * string/mempcpy.c: Implement by calling memcpy.
31364 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31369         evaluation.
31371         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31372         values in the mantissa.
31374         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31375         minimize writes to Z.
31376         (sub_magnitudes): Simplify code a bit.
31378 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31380         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31381         from the message.  The linker prefixes all warnings with that already.
31383 2013-02-12  Andreas Schwab  <schwab@suse.de>
31385         [BZ #15078]
31386         * posix/regexec.c (extend_buffers): Add parameter min_len.
31387         (check_matching): Pass minimum needed length.
31388         (clean_state_log_if_needed): Likewise.
31389         (get_subexp): Likewise.
31390         * posix/Makefile (tests): Add bug-regex34.
31391         (bug-regex34-ENV): Define.
31392         * posix/bug-regex34.c: New file.
31394         [BZ #11561]
31395         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31396         elements compare against the byte sequence of it, not its name.
31397         * posix/Makefile (tests): Add bug-regex35.
31398         (bug-regex35-ENV): Define.
31399         * posix/bug-regex35.c: New file.
31401 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31403         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31404         comment.
31405         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31406         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31407         (CHECK_EOL): Add undef.
31409 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31411         * bits/stdlib-bsearch.h: New file.
31412         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31413         * stdlib/stdlib.h: Likewise.
31415 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31417         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31418         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31419         declaration.
31420         * manual/search.texi (Array Search Function): Add missing const in
31421         lfind prototype.
31422         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31423         declaration to use rlim_t.
31424         (Basic Scheduling Functions): Remove erroneous const from
31425         sched_getparam prototype.  Remove erroneous * from
31426         sched_get_priority_max and sched_get_priority_min prototypes.
31427         (Resource Usage): Fix summary @comment on vtimes to refer to
31428         sys/vtimes.h rather than vtimes.h.
31429         Add missing *s in vtimes prototype.
31430         (Limits on Resources): Fix ulimit prototype to return long int.
31431         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31432         prototypes to use long int rather than double.
31433         (BSD Random): Fix initstate and setstate to use char *, not void *.
31434         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31435         prototype to make second argument 'struct aiocb64 *const[]'.
31436         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31437         (Status of AIO Operations): Remove erroneous const in aio_return and
31438         aio_return64 prototypes.
31439         (Synchronizing I/O): Fix sync prototype to return void.
31440         * manual/startup.texi (Suboptions): Remove an erroneous const in
31441         getsubopt prototype.
31442         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31443         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31444         use size_t rather than int.
31445         (Scanning All Users): Likewise for getpwent_r.
31446         (Setting Groups): Add missing const to setgroups prototype.
31447         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31448         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31449         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31450         'const void *' rather than 'const char *'.
31451         (Host Address Functions): Likewise for inet_ntop.
31452         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31453         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31454         ssize_t for return value.
31455         (Sending Data): Likewise for send, sendto, sendmsg.
31456         (Socket Option Functions): Add a missing const in setsockopt prototype.
31457         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31458         use wchar_t for the argument.
31459         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31460         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31461         take no arguments.
31462         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31463         double/float/long double for second argument.
31464         Fix return types of significand, significandf, significandl.
31465         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31466         argument in fchmod prototype.
31467         (File Owner): Use uid_t and gid_t in fchown prototype.
31468         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31469         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31470         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31471         use 'const struct dirent **' as argument types to CMP function pointer
31472         argument.
31473         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31474         (File Times): Fix summary magic @comment for struct utimbuf and utime
31475         to refer to utime.h, not time.h.
31476         * manual/string.texi (Argz Functions): Add missing const in
31477         argz_extract and argz_next prototypes.
31478         (Finding Tokens in a String): Likewise for basename.
31479         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31480         (Copying and Concatenation): Fix typo in wmemmove prototype.
31481         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31482         (Signal Stack): Remove erroneous const in sigstack prototype.
31483         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31484         prototype.
31485         (Simple Calendar Time): Likewise for stime.
31486         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31487         prototype.
31488         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31489         say sys/sysctl.h instead.
31490         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31491         and vsyslog prototypes.
31493 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31495         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31496         Remove.
31498 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31500         * misc/sys/mman.h: Fix typo in mremap comment.
31502 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31504         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31505         the '\0' terminator.
31507 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31509         [BZ #13550]
31510         * debug/segfault.c: Don't include <bp-checks.h>.
31511         * sysdeps/generic/bp-checks.h: Remove file.
31512         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31513         (__GETDENTS): Don't use CHECK_N.
31514         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31515         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31516         (__getgroups): Don't use CHECK_N.
31517         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31518         (setgroups): Don't use CHECK_N.
31519         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31520         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31521         (__libc_msgrcv): Don't use CHECK_N.
31522         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31523         (__libc_msgsnd): Don't use CHECK_N.
31524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31525         <bp-checks.h>.
31526         (__libc_pread): Don't use CHECK_N.
31527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31528         include <bp-checks.h>.
31529         (__libc_pread64): Don't use CHECK_N.
31530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31531         include <bp-checks.h>.
31532         (__libc_pwrite): Don't use CHECK_N.
31533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31534         include <bp-checks.h>.
31535         (__libc_pwrite64): Don't use CHECK_N.
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31537         <bp-checks.h>.
31538         (__libc_pread): Don't use CHECK_N.
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31540         include <bp-checks.h>.
31541         (__libc_pread64): Don't use CHECK_N.
31542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31543         include <bp-checks.h>.
31544         (__libc_pwrite): Don't use CHECK_N.
31545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31546         include <bp-checks.h>.
31547         (__libc_pwrite64): Don't use CHECK_N.
31548         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31549         (do_pread): Don't use CHECK_N.
31550         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31551         (do_pread64): Don't use CHECK_N.
31552         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31553         (do_pwrite): Don't use CHECK_N.
31554         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31555         (do_pwrite64): Don't use CHECK_N.
31556         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31557         (__libc_readv): Don't use CHECK_N.
31558         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31559         (semop): Don't use CHECK_N.
31560         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31561         <bp-checks.h>.
31562         (semtimedop): Don't use CHECK_N.
31563         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31564         (__libc_pread): Don't use CHECK_N.
31565         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31566         <bp-checks.h>.
31567         (__libc_pread64): Don't use CHECK_N.
31568         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31569         <bp-checks.h>.
31570         (__libc_pwrite): Don't use CHECK_N.
31571         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31572         <bp-checks.h>.
31573         (__libc_pwrite64): Don't use CHECK_N.
31574         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31575         <bp-checks.h>.
31576         (__libc_msgrcv): Don't use CHECK_N.
31577         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31578         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31579         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31580         (__libc_writev): Don't use CHECK_N.
31582 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31584         * string/strcpy.c: Removed unused variable.
31586         * Makeconfig (+sysdep-includes): Define with := rather than =.
31587         Use an existing include/ subdir of each sysdeps dir before it.
31589 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31591         * nscd/connection.c (register_traced_file): Comment function.
31592         [HAVE_INOTIFY] (union __inev): Define.
31593         [HAVE_INOTIFY] (inotify_check_files): New function.
31594         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31595         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31596         clear_db_cache.
31597         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31599 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31601         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31602         loaded if not already and that a failure is permanent.
31604 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31606         [BZ #15006]
31607         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31608         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31610 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31612         [BZ #13550]
31613         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31614         (CHECK_1_NULL_OK): Likewise.
31615         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31616         (__fxstat): Do not use CHECK_1.
31617         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31618         <bp-checks.h>.
31619         (___fxstat64): Do not use CHECK_1.
31620         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31621         <bp-checks.h>.
31622         (__fxstatat): Do not use CHECK_1.
31623         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31624         <bp-checks.h>.
31625         (__fxstatat64): Do not use CHECK_1.
31626         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31627         <bp-checks.h>.
31628         (__fxstat): Do not use CHECK_1.
31629         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31630         <bp-checks.h>.
31631         (__fxstatat): Do not use CHECK_1.
31632         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31633         <bp-checks.h>.
31634         (__getresgid): Do not use CHECK_1.
31635         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31636         <bp-checks.h>.
31637         (__getresuid): Do not use CHECK_1.
31638         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31639         <bp-checks.h>.
31640         (__lxstat): Do not use CHECK_1.
31641         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31642         <bp-checks.h>.
31643         (__old_msgctl): Do not use CHECK_1.
31644         (__new_msgctl): Likewise.
31645         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31646         <bp-checks.h>.
31647         (__new_setrlimit): Do not use CHECK_1.
31648         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31649         <bp-checks.h>.
31650         (__old_shmctl): Do not use CHECK_1.
31651         (__new_shmctl): Likewise.
31652         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31653         <bp-checks.h>.
31654         (__xstat): Do not use CHECK_1.
31655         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31656         (__lxstat): Do not use CHECK_1.
31657         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31658         <bp-checks.h>.
31659         (___lxstat64): Do not use CHECK_1.
31660         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31661         (__old_msgctl): Do not use CHECK_1.
31662         (__new_msgctl): Likewise.
31663         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31664         <bp-checks.h>.
31665         (__gettimeofday): Do not use CHECK_1.
31666         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31667         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31668         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31669         <bp-checks.h>.
31670         (__gettimeofday): Do not use CHECK_1.
31671         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31672         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31673         (__new_shmctl): Do not use CHECK_1.
31674         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31675         <bp-checks.h>.
31676         (do_sigtimedwait): Do not use CHECK_1.
31677         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31678         <bp-checks.h>.
31679         (do_sigwaitinfo): Do not use CHECK_1.
31680         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31681         <bp-checks.h>.
31682         (msgctl): Do not use CHECK_1.
31683         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31684         <bp-checks.h>.
31685         (shmctl): Do not use CHECK_1.
31686         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31687         (ustat): Do not use CHECK_1.
31688         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31689         <bp-checks.h>.
31690         (__fxstat): Do not use CHECK_1.
31691         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31692         <bp-checks.h>.
31693         (__fxstatat): Do not use CHECK_1.
31694         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31695         <bp-checks.h>.
31696         (__lxstat): Do not use CHECK_1.
31697         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31698         <bp-checks.h>.
31699         (__xstat): Do not use CHECK_1.
31700         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31701         (__xstat): Do not use CHECK_1.
31702         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31703         (___xstat64): Do not use CHECK_1.
31705         [BZ #13550]
31706         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31707         definitions.
31708         (CHECK_BOUNDS_HIGH): Likewise.
31709         * string/strcpy.c: Do not include <bp-checks.h>.
31710         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31712 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31714         * nscd/nscd-client.h (__nscd_drop_map_ref):
31715         Add __attribute__ ((unused)).
31716         * nis/nss-nisplus.h (niserr2nss): Likewise.
31718         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31719         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31721         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31722         Remove inline keyword.
31723         * include/rounding-mode.h (round_away): Likewise.
31724         * libio/wfileops.c (adjust_wide_data): Likewise.
31725         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31726         (__m128i_strloadu_tolower): Likewise.
31727         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31728         (__m128i_strloadu_tolower): Likewise.
31729         * time/mktime.c (ydhms_diff): Likewise.
31730         * locale/elem-hash.h (elem_hash): Likewise.
31731         * locale/setlocale.c (setdata): Likewise.
31732         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31733         (re_string_wchar_at): Likewise.
31734         (bitset_not, bitset_merge, bitset_mask): Likewise.
31735         [!(__GNUC__ > 3)] (inline): Remove macro.
31736         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31737         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31738         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31739         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31740         * string/memcmp.c (memcmp_bytes): Likewise.
31741         * locale/programs/locarchive.c (compute_hashval): Likewise.
31742         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31743         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31744         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31745         * nss/getent.c (print_rpc, print_protocols): Likewise.
31746         (print_passwd, print_group, print_aliases): Likewise.
31747         * nis/nss-nisplus.h (niserr2nss): Likewise.
31748         * nscd/connections.c (restart_p): Likewise.
31749         Change return type to bool.
31751 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31753         * Makeconfig (all-Depend-files): Add existing
31754         $(sorted-subdirs:=/Depend) files.
31755         (all-subdirs): Remove nss.
31756         * sysdeps/unix/inet/Subdirs: Add it here instead.
31757         * hesiod/Depend: New file.
31759         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31760         instead of calling alloca.
31762         * io/lseek.c (__lseek): Rename to __libc_lseek.
31763         Define __lseek as an alias.
31765         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31767 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31769         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31770         else clause and remove check for non-standard endianness.
31772 2013-02-04  David S. Miller  <davem@davemloft.net>
31774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31776 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31778         [BZ #13550]
31779         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31780         (__ubp_memchr): Remove prototype.
31781         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31782         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31783         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31784         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31785         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31786         Remove alias.
31787         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31788         (__ubp_memchr): Likewise.
31789         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31790         (__ubp_memchr): Likewise.
31791         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31792         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31793         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31794         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31795         CHECK_STRING.
31796         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31797         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31798         (__getcwd): Do not use CHECK_STRING.
31799         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31800         <bp-checks.h>.
31801         (__real_chown): Do not use CHECK_STRING.
31802         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31803         <bp-checks.h>.
31804         (fchownat): Do not use CHECK_STRING.
31805         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31806         CHECK_STRING.
31807         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31808         <bp-checks.h>.
31809         (__lchown): Do not use CHECK_STRING.
31810         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31811         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31812         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31813         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31815         include <bp-checks.h>.
31816         (truncate64): Do not use CHECK_STRING.
31817         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31818         <bp-checks.h>.
31819         (__real_chown): Do not use CHECK_STRING.
31820         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31821         <bp-checks.h>.
31822         (__lchown): Do not use CHECK_STRING.
31823         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31824         <bp-checks.h>.
31825         (__chown): Do not use CHECK_STRING.
31826         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31827         <bp-checks.h>.
31828         (truncate64): Do not use CHECK_STRING.
31829         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31830         Likewise.
31831         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31832         (__xmknod): Do not use CHECK_STRING.
31833         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31834         <bp-checks.h>.
31835         (__xmknodat): Do not use CHECK_STRING.
31836         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31837         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31839 2013-02-04  Andreas Schwab  <schwab@suse.de>
31841         [BZ #14142]
31842         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31843         * include/netdb.h: Likewise for h_errno.
31844         * elf/tst-stackguard1.c: Include <tls.h>.
31846 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31848         * elf/link.h (struct link_map): Extend the l_addr comment.
31849         * include/link.h (struct link_map): Likewise.
31851 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31853         [BZ #13550]
31854         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31855         (BOUNDED_1): Remove macro.
31856         * debug/backtrace.c: Don't include <bp-checks.h>.
31857         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31858         (__backtrace): Likewise.
31859         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31860         <bp-checks.h>.
31861         (__backtrace): Don't use BOUNDED_1.
31862         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31863         <bp-checks.h>.
31864         (__backtrace): Don't use BOUNDED_1.
31865         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31866         (__backtrace): Don't use BOUNDED_1.
31867         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31868         (shmat): Don't use BOUNDED_N.
31870 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31872         [BZ #13550]
31873         * sysdeps/generic/bp-start.h: Remove file.
31874         * csu/libc-start.c: Don't include <bp-start.h>.
31875         (LIBC_START_MAIN): Set up __environ directly instead of using
31876         INIT_ARGV_and_ENVIRON.
31877         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31878         <bp-start.h>.
31880         [BZ #13550]
31881         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31882         definitions.
31883         (CHECK_FCNTL): Likewise.
31884         (CHECK_N_PAGES): Likewise.
31886         [BZ #13550]
31887         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31888         definitions.
31889         (CHECK_SIGSET_NULL_OK): Likewise.
31890         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31891         <bp-checks.h>.
31892         (sigpending): Don't use CHECK_SIGSET.
31893         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31894         <bp-checks.h>.
31895         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31896         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31897         <bp-checks.h>.
31898         (do_sigsuspend): Don't use CHECK_SIGSET.
31899         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31900         use CHECK_SIGSET.
31901         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31902         (do_sigwait): Don't use CHECK_SIGSET.
31903         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31904         use CHECK_SIGSET.
31905         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31906         include <bp-checks.h>.
31907         (sigpending): Don't use CHECK_SIGSET.
31908         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31909         include <bp-checks.h>.
31910         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31911         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31912         <bp-checks.h>.
31913         (sigpending): Don't use CHECK_SIGSET.
31914         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31915         <bp-checks.h>.
31916         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31918         [BZ #13550]
31919         * sysdeps/generic/bp-semctl.h: Remove file.
31920         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31921         <bp-checks.h> and <bp-semctl.h>.
31922         (__old_semctl): Don't use CHECK_SEMCTL.
31923         (__new_semctl): Likewise.
31924         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31925         and <bp-semctl.h>.
31926         (__old_semctl): Don't use CHECK_SEMCTL.
31927         (__new_semctl): Likewise.
31928         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31929         <bp-checks.h> and <bp-semctl.h>.
31930         (__old_semctl): Don't use CHECK_SEMCTL.
31931         (__new_semctl): Likewise.
31932         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31933         <bp-checks.h> and <bp-semctl.h>.
31934         (semctl): Don't use CHECK_SEMCTL.
31936         [BZ #13550]
31937         * Makerules (elide-bp-thunks): Remove variable.
31938         (elide-routines.oS): Don't use $(elide-bp-thunks).
31939         (elide-routines.os): Likewise.
31940         (elide-routines.o): Likewise.
31941         (elide-routines.op): Likewise.
31942         (elide-routines.og): Likewise.
31943         (objects): Don't use $(bp-thunks).
31944         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31945         include.
31946         (common-generated): Do not add s-proto-bp.d.
31947         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31948         (int): Likewise.
31949         (typ): Likewise.
31950         Do not generate makefile rules for bounded-pointer thunks.
31951         * sysdeps/generic/bp-thunks.h: Remove file.
31952         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31953         * sysdeps/unix/s-proto-bp.S: Likewise.
31955         [BZ #15062]
31956         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31957         parts of result separately when argument is not close to line from
31958         -i to i and one part of argument is small.
31959         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31960         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31961         * math/libm-test.inc (cacos_test): Add more tests.
31962         (casin_test): Likewise.
31963         (casinh_test): Likewise.
31964         * sysdeps/i386/fpu/libm-test-ulps: Update.
31965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31967 2013-01-31  David S. Miller  <davem@davemloft.net>
31969         * po/de.po: Update from translation team.
31971 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31973         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31975 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31977         * configure.in (_AC_PROG_CC_C89): New definition.
31978         * configure: Regenerate.
31980         * configure.in (AC_PROG_CPP): New definition.
31981         * configure: Regenerate.
31983 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31985         * debug/tst-backtrace.h: New file.
31986         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31987         (ret): Remove variable.
31988         (x): Likewise.
31989         (FAIL): Remove macro.
31990         (NO_INLINE): Likewise.
31991         (fn1): Use match function instead of strstr.
31992         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31993         (ret): Remove variable.
31994         (x): Likewise.
31995         (FAIL): Remove macro.
31996         (NO_INLINE): Likewise.
31997         (fn): Use match function instead of strstr.
31998         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31999         (ret): Remove variable.
32000         (x): Likewise.
32001         (FAIL): Remove macro.
32002         (NO_INLINE): Likewise.
32003         (handle_signal): Use match function instead of strstr.
32004         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32005         (ret): Remove variable.
32006         (x): Likewise.
32007         (FAIL): Remove macro.
32008         (NO_INLINE): Likewise.
32009         (handle_signal): Use match function instead of strstr.
32011 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32013         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32015 2013-01-23  David S. Miller  <davem@davemloft.net>
32017         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32018         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32019         argument of CAS if possible.
32020         * sysdeps/sparc/sparc64/bits/atomic.h
32021         (__arch_compare_and_exchange_val_32_acq): Likewise.
32022         (__arch_compare_and_exchange_val_64_acq): Likewise.
32024 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32026         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32027         * sysdeps/posix/ulimit.c: ... this.
32028         Include <limits.h>.
32029         * sysdeps/unix/bsd/ulimit.c: Remove file.
32031 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32033         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32034         (LDFLAGS-tst-array5): Likewise.
32036 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32038         [BZ #15036]
32039         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32040         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32041         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32042         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32044 2013-01-21  David S. Miller  <davem@davemloft.net>
32046         * sysdeps/sparc/backtrace.c: New file.
32047         * sysdeps/sparc/sparc32/backtrace.h: New file.
32048         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32049         * sysdeps/sparc/sparc64/backtrace.h: New file.
32050         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32051         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32052         -funwind-tables.
32054 2013-01-21  Andreas Schwab  <schwab@suse.de>
32056         [BZ #15020]
32057         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32058         closed its stdout.
32060 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32063         "mpa2.h".
32064         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32066 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32067             Mark Mitchell  <mark@codesourcery.com>
32068             Tom de Vries  <tom@codesourcery.com>
32069             Paul Pluzhnikov  <ppluzhnikov@google.com>
32071         * debug/tst-backtrace2.c: New file.
32072         * debug/tst-backtrace3.c: Likewise.
32073         * debug/tst-backtrace4.c: Likewise.
32074         * debug/tst-backtrace5.c: Likewise.
32075         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32076         (CFLAGS-tst-backtrace3.c): Likewise.
32077         (CFLAGS-tst-backtrace4.c): Likewise.
32078         (CFLAGS-tst-backtrace5.c): Likewise.
32079         (LDFLAGS-tst-backtrace2): Likewise.
32080         (LDFLAGS-tst-backtrace3): Likewise.
32081         (LDFLAGS-tst-backtrace4): Likewise.
32082         (LDFLAGS-tst-backtrace5): Likewise.
32083         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32084         tst-backtrace4 and tst-backtrace5.
32086 2013-01-18  Anton Blanchard  <anton@samba.org>
32087             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32089         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32090         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32091         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32092         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32094         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32095         "+r" and remove output regs list as redundant.  Add explicit inline
32096         asm to specify register of return val to work around compiler codegen
32097         bug.  Remove (int) cast on return value.  Add return type parameter to
32098         use in macro so that this macro does not truncate return value for
32099         64-bit values.
32100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32101         pass to INTERNAL_VSYSCALL_NCS.
32102         (INLINE_VSYSCALL): Add 'long int' as return type to
32103         INTERNAL_VSYSCALL_NCS macro invocation.
32104         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32105         INTERNAL_VSYSCALL_NCS macro invocation.
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32108 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32110         [BZ #14496]
32111         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32112         Fix application of SIMD FP exception mask.
32114         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32115         mp_no from a power of two.
32116         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32117         __mpexp_twomm1.  Use __pow_mp.
32119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32120         multiplication.
32122 2013-01-17  David S. Miller  <davem@davemloft.net>
32124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32126 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32128         [BZ #15023]
32129         * include/complex.h: Condition contents on [!_COMPLEX_H].
32130         (__kernel_casinhf): New prototype.
32131         (__kernel_casinh): Likewise.
32132         (__kernel_casinhl): Likewise.
32133         * math/Makefile (libm_calls): Add k_casinh.
32134         * math/k_casinh.c: New file.
32135         * math/k_casinhf.c: Likewise.
32136         * math/k_casinhl.c: Likewise.
32137         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32138         finite nonzero arguments.
32139         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32140         finite nonzero arguments.
32141         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32142         finite nonzero arguments.
32143         * math/s_casinh.c: Do not include <float.h>.
32144         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32145         * math/s_casinhf.c: Do not include <float.h>.
32146         (__casinhf): Move code for finite nonzero arguments to
32147         k_casinhf.c.
32148         * math/s_casinhl.c: Do not include <float.h>.
32149         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32150         redefine.
32151         (__casinhl): Move code for finite nonzero arguments to
32152         k_casinhl.c.
32153         * math/libm-test.inc (cacos_test): Add more tests.
32154         * sysdeps/i386/fpu/libm-test-ulps: Update.
32155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32157 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32159         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32160         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32161         [!HAVE_MREMAP]: Remove [defined linux] case.
32162         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32164 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32166         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32168 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32170         * elf/elf.h (R_386_SIZE32): New relocation.
32171         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32172         R_386_SIZE32.
32173         (elf_machine_rela): Likewise.
32174         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32175         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32177 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32179         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32180         (FP_FAST_FMA): Do not define.
32181         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32182         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32183         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32184         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32185         !_SOFT_FLOAT]: Likewise.
32186         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32187         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32188         value.
32189         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32190         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32191         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32192         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32193         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32194         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32195         file.
32197 2013-01-16  Andreas Schwab  <schwab@suse.de>
32199         [BZ #14327]
32200         * include/stdlib.h (__mktemp): Add declaration.
32201         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32202         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32204 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32206         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32207         definitions.
32208         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32209         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32210         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32211         definitions here.
32212         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32213         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32214         definitions.
32215         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32216         and ONE.
32217         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32218         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32219         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32220         definitions.
32221         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32222         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32223         definitions.
32224         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32226         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32228 2013-01-15  David S. Miller  <davem@davemloft.net>
32230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32231         trunc{,f} to libm-sysdep_routes.
32232         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32234         file.
32235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32237         file.
32238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32239         file.
32240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32242         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32243         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32244         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32245         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32246         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32247         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32250         nearbyint{,f} to libm-sysdep_routes.
32251         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32253         New file.
32254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32255         file.
32256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32257         New file.
32258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32259         file.
32260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32262         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32263         file.
32264         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32265         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32266         file.
32267         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32268         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32269         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32271         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32272         libc_feholdexcept and libc_fesetenv.
32274 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32276         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32278 2013-01-14  David S. Miller  <davem@davemloft.net>
32280         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32281         (SPARC_ASM_VIS2_IFUNC): Likewise.
32282         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32284         use of 'siam' instruction.
32285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32286         Likewise.
32287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32288         Likewise.
32289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32290         Likewise.
32291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32296         file.
32297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32298         file.
32299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32300         file.
32301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32302         file.
32303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32308         new VIS2 routines.
32309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32312         Likewise.
32313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32318         routines to libm-sysdep_routines.
32319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32322         fdim/fdimf to libm-sysdep_routines.
32323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32324         file.
32325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32327         file.
32328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32331         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32332         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32333         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32334         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32336 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32338         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32339         to optimize copies.
32341         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32346         local variable MPTWO.
32347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32348         Likewise.
32350 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32352         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32353         GLOB_NOESCAPE.
32355 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32357         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32359 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32361         * manual/pattern.texi (glob_t): Document gl_flags.
32362         (glob64_t): Likewise.
32364 2013-01-11  David S. Miller  <davem@davemloft.net>
32366         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32367         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32368         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32369         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32370         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32371         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32372         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32373         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32374         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32375         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32376         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32377         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32378         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32380         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32381         sparc V9 rather than using V8 code.
32382         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32383         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32385         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32386         Move to...
32387         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32388         Here.
32390 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32392         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32393         not in the main loop.
32394         * configure: Regenerated.
32396 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32398         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32399         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32400         to just #else.
32401         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32402         [!__GLIBC_HAVE_LONG_LONG] case.
32403         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32404         condition to just #else.
32405         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32406         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32407         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32408         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32409         unconditional.
32410         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32411         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32412         #elif condition to just #else.
32413         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32414         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32415         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32416         #elif condition to just #else.
32418 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32420         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32421         (EF_MIPS_ARCH_64): Fix value.
32422         (EF_MIPS_ARCH_32R2): New.
32423         (EF_MIPS_ARCH_64R2): New.
32425 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32427         * Makeconfig (+link-pie-before-libc): New.
32428         (+link-pie-after-libc): Likewise.
32429         (+link-pie-tests): Likewise.
32430         (+link-pie): Rewritten.
32431         (link-before-libc): Remove $(config-LDFLAGS).
32432         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32433         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32434         (config-LDFLAGS): Renamed to ...
32435         (rtld-LDFLAGS): This.
32436         (rtld-tests-LDFLAGS): New macro.
32437         (link-libc-rpath-link): Likewise.
32438         (link-libc-tests-rpath-link): Likewise.
32439         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32440         (link-libc): Prepand $(link-libc-rpath-link).
32441         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32442         (test-program-prefix): New macro.
32443         (test-via-rtld-prefix): Likewise.
32444         (test-program-cmd): Likewise.
32445         (host-test-program-cmd): Likewise.
32446         * Makefile ($(common-objpfx)testrun.sh): Replace
32447         $(run-program-prefix) with $(test-program-prefix).
32448         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32449         $(rtld-LDFLAGS).
32450         ($(common-objpfx)shlib.lds): Likewise.
32451         (build-module-helper): Likewise.
32452         ($(common-objpfx)format.lds): Likewise.
32453         * Rules (binaries-pie-tests): New.
32454         (binaries-pie-notests): Likewise.
32455         (binaries-pie): Rewritten.
32456         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32457         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32458         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32459         (make-test-out): Replace $(host-built-program-cmd) with
32460         $(host-test-program-cmd).
32461         * config.make.in (build-hardcoded-path-in-tests): New variable.
32462         * configure.in (--enable-hardcoded-path-in-tests): New configure
32463         option.
32464         (hardcoded_path_in_tests): New AC_SUBST.
32465         * configure: Regenerated.
32466         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32467         $(built-program-cmd) with $(test-program-cmd).
32468         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32469         (test_program_cmd): This.
32470         * elf/Makefile ($(objpfx)order.out): Run test with
32471         $(test-program-prefix).
32472         ($(objpfx)order2.out): Likewise.
32473         ($(objpfx)tst-initorder.out): Likewise.
32474         ($(objpfx)tst-initorder2.out): Likewise.
32475         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32476         $(test-program-cmd).
32477         ($(objpfx)tst-array1-static.out): Likewise.
32478         ($(objpfx)tst-array2.out): Likewise.
32479         ($(objpfx)tst-array3.out): Likewise.
32480         ($(objpfx)tst-array4.out): Likewise.
32481         ($(objpfx)tst-array5.out): Likewise.
32482         ($(objpfx)tst-array5-static.out): Likewise.
32483         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32484         $(test-program-cmd).
32485         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32486         $(run-program-prefix) with $(test-program-prefix).
32487         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32488         (test_program_prefix): This.
32489         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32490         $(run-program-prefix) with $(test-program-prefix).
32491         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32492         (test_program_prefix): This.
32493         * iconvdata/tst-tables.sh: Likewise.
32494         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32495         $(run-program-prefix) with $(test-program-prefix).
32496         ($(objpfx)tst-translit.out): Likewise.
32497         ($(objpfx)tst-gettext2.out): Likewise.
32498         ($(objpfx)tst-gettext4.out): Likewise.
32499         ($(objpfx)tst-gettext6.out): Likewise.
32500         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32501         (test_program_prefix): This.
32502         * intl/tst-gettext2.sh: Likewise.
32503         * intl/tst-gettext4.sh  Likewise.
32504         * intl/tst-gettext6.sh: Likewise.
32505         * intl/tst-translit.sh: Likewise.
32506         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32507         with $(test-program-cmd).
32508         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32509         $(run-program-prefix) with $(test-program-prefix).
32510         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32511         (test_program_prefix): This.
32512         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32513         $(run-program-prefix) with $(test-program-prefix).
32514         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32515         (test_program_prefix): This.
32516         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32517         * posix/Makefile ($(objpfx)globtest.out): Replace
32518         $(run-via-rtld-prefix) and $(test-wrapper) with
32519         $(test-program-prefix) and $(test-via-rtld-prefix).
32520         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32521         $(test-program-prefix).
32522         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32523         $(host-test-program-cmd).
32524         (tst-spawn-ARGS): Likewise.
32525         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32526         $(test-program-prefix).
32527         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32528         (test_via_rtld_prefix): This.
32529         (test_wrapper): Renamed to ...
32530         (test_program_prefix): This.
32531         (run_program_prefix): Replaced by test_program_prefix.
32532         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32533         (test_program_prefix): This.
32534         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32535         with $(host-test-program-cmd).
32536         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32537         $(run-program-prefix) with $(test-program-prefix).
32538         ($(objpfx)tst-printf.out): Likewise.
32539         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32540         $(test-program-cmd).
32541         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32542         (test_program_prefix): This.
32543         * stdio-common/tst-unbputc.sh: Likewise.
32544         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32545         $(run-program-prefix) with $(test-program-prefix).
32546         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32547         (test_program_prefix): This.
32548         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32549         $(built-program-cmd) with $(test-program-cmd).
32551 2013-01-11  Andreas Jaeger  <aj@suse.de>
32553         [BZ #15003]
32554         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32555         value. Sync with Linux 3.7.
32557 2013-01-10  David S. Miller  <davem@davemloft.net>
32559         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32563 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32565         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32566         never set.
32567         * configure: Regenerated.
32569 2013-01-10  David S. Miller  <davem@davemloft.net>
32571         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32572         sparc V9 rather than using V8 code.
32573         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32574         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32576 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32578         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32579         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32580         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32581         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32582         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32583         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32584         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32585         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32586         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32587         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32588         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32589         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32590         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32591         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32592         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32593         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32594         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32595         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32596         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32597         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32598         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32599         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32600         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32601         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32602         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32603         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32604         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32606 2013-01-10  David S. Miller  <davem@davemloft.net>
32608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32610 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32612         * posix/Makefile (tests-static): New variable.
32613         (tests): Add $(tests-static).
32614         (tst-exec-static-ARGS): New variable.
32615         (tst-spawn-static-ARGS): Likewise.
32616         * posix/tst-exec-static.c: New file.
32617         * posix/tst-spawn-static.c: Likewise.
32618         * posix/tst-exec.c: Support run directly.
32619         * posix/tst-spawn.c: Likewise.
32621 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32623         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32624         long.
32625         * math/bits/mathcalls.h (llrint): Likewise.
32626         (llround): Likewise.
32627         * stdlib/stdlib.h (struct drand48_data): Likewise.
32628         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32629         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32630         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32631         Likewise.
32632         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32633         Likewise.
32634         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32635         (elf_greg_t): Likewise.
32636         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32637         (__jmp_buf): Likewise.
32638         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32639         definitions.
32640         (llrint): Likewise, for all definitions.
32641         (llrintl): Likewise.
32643         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32644         Remove [__GNUC__] condition.
32645         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32646         condition to just [__USE_ISOC99].
32647         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32649 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32651         [BZ #14200]
32652         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32653         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32654         defined.
32655         (_POSIX_V6_ILP32_OFF32): Likewise.
32656         (_XBS5_ILP32_OFF32): Likewise.
32657         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32658         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32660 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32662         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32665         doubles __mpexp_twomm1.  Adjust usage.
32666         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32667         Remove.
32669 2013-01-10  Andreas Schwab  <schwab@suse.de>
32671         [BZ #14964]
32672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32673         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32675 2013-01-09  David S. Miller  <davem@davemloft.net>
32677         [BZ #15003]
32678         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32679         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32680         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32681         (TCP_FASTOPEN): Define.
32682         (tcp_repair_opt): New structure.
32683         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32684         enum values.
32685         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32686         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32687         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32688         (tcp_cookie_transactions): New structure.
32690 2013-01-09  Anton Blanchard  <anton@samba.org>
32692         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32693         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32694         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32695         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32697 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32699         * include/features.h (__USE_ANSI): Remove.
32701 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32703         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32705         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32707 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32709         * sysdeps/s390/fpu/libm-test-ulps: Update.
32711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32713         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32714         (__acr): Likewise.
32715         (__cpy): Likewise.
32716         (norm): Likewise.
32717         (denorm): Likewise.
32718         (__mp_dbl): Likewise.
32719         (__dbl_mp): Likewise.
32720         (add_magnitudes): Likewise.
32721         (sub_magnitudes): Likewise.
32722         (__add): Likewise.
32723         (__sub): Likewise.
32724         (__mul): Likewise.
32725         (__inv): Likewise.
32726         (__dvd): Likewise.
32727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32728         (__acr): Likewise.
32729         (__cpy): Likewise.
32730         (norm): Likewise.
32731         (denorm): Likewise.
32732         (__mp_dbl): Likewise.
32733         (__dbl_mp): Likewise.
32734         (add_magnitudes): Likewise.
32735         (sub_magnitudes): Likewise.
32736         (__add): Likewise.
32737         (__sub): Likewise.
32738         (__mul): Likewise.
32739         (__inv): Likewise.
32740         (__dvd): Likewise.
32741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32742         (__acr): Likewise.
32743         (__cpy): Likewise.
32744         (norm): Likewise.
32745         (denorm): Likewise.
32746         (__mp_dbl): Likewise.
32747         (__dbl_mp): Likewise.
32748         (add_magnitudes): Likewise.
32749         (sub_magnitudes): Likewise.
32750         (__add): Likewise.
32751         (__sub): Likewise.
32752         (__mul): Likewise.
32753         (__inv): Likewise.
32754         (__dvd): Likewise.
32756 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32758         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32759         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32760         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32761         2 && __USE_EXTERN_INLINES]: Likewise.
32763 2013-01-08  Andreas Jaeger  <aj@suse.de>
32765         [BZ# 14985]
32766         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32767         Remove.
32768         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32769         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32771 2013-01-07  Anton Blanchard  <anton@samba.org>
32773         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32774         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32775         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32776         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32777         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32778         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32779         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32780         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32783         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32784         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32786         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32787         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32788         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32789         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32790         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32791         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32792         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32793         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32794         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32796         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32797         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32798         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32799         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32800         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32802         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32803         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32805         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32806         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32807         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32808         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32809         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32810         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32811         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32812         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32813         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32814         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32815         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32817 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32819         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32820         (__MALLOC_PMT): Likewise.
32821         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32822         [__GNUC__], only on [_LIBC].
32823         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32824         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32825         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32826         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32827         forward declaration.
32828         (realloc_hook_ini): Likewise.
32829         (memalign_hook_ini): Likewise.
32830         (__libc_memalign): Do not use __MALLOC_PMT in variable
32831         declaration.
32832         (__libc_valloc): Likewise.
32833         (__libc_pvalloc): Likewise.
32834         (__libc_calloc): Likewise.
32835         (__posix_memalign): Likewise.
32837         [BZ #14996]
32838         * math/s_casinh.c: Include <float.h>.
32839         (__casinh): Do not do computation with squaring and square root
32840         for large arguments.
32841         * math/s_casinhf.c: Include <float.h>.
32842         (__casinhf): Do not do computation with squaring and square root
32843         for large arguments.
32844         * math/s_casinhl.c: Include <float.h>.
32845         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32846         (__casinhl): Do not do computation with squaring and square root
32847         for large arguments.
32848         * math/libm-test.inc (casin_test): Add more tests.
32849         (casinh_test): Likewise.
32850         * sysdeps/i386/fpu/libm-test-ulps: Update.
32851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32853 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32855         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32856         (__x86_64_raw_data_cache_size): Likewise.
32857         (__x86_64_data_cache_size_half): Likewise.
32858         (__x86_64_raw_data_cache_size_half): Likewise.
32859         (__x86_64_shared_cache_size): Likewise.
32860         (__x86_64_raw_shared_cache_size): Likewise.
32861         (__x86_64_shared_cache_size_half): Likewise.
32862         (__x86_64_raw_shared_cache_size_half): Likewise.
32863         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32864         to ...
32865         (__x86_data_cache_size): This.
32866         (__x86_64_raw_data_cache_size): Renamed to ...
32867         (__x86_raw_data_cache_size): This.
32868         (__x86_64_data_cache_size_half): Renamed to ...
32869         (__x86_data_cache_size_half): This.
32870         (__x86_64_raw_data_cache_size_half): Renamed to ...
32871         (__x86_raw_data_cache_size_half): This.
32872         (__x86_64_shared_cache_size): Renamed to ...
32873         (__x86_shared_cache_size): This.
32874         (__x86_64_raw_shared_cache_size): Renamed to ...
32875         (__x86_raw_shared_cache_size): This.
32876         (__x86_64_shared_cache_size_half): Renamed to ...
32877         (__x86_shared_cache_size_half): This.
32878         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32879         (__x86_raw_shared_cache_size_half): This.
32880         * sysdeps/x86_64/memcpy.S: Updated.
32881         * sysdeps/x86_64/memset.S: Likewise.
32882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32883         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32884         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32886 2013-01-04  David S. Miller  <davem@davemloft.net>
32888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32890 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32892         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32893         1 to avoid redefinition warning.
32894         (__USE_GNU): Don't define.
32895         (init_signaling_nan): Protoize.
32897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32899 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32901         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32903         (__cpymn): Likewise.
32904         (norm): Remove commented code.
32905         (denorm): Likewise.
32906         (__mp_dbl): Likewise.
32907         (__inv): Likewise.
32908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32909         (__cpymn): Likewise.
32910         (norm): Remove commented code.
32911         (denorm): Likewise.
32912         (__mp_dbl): Likewise.
32913         (__inv): Likewise.
32915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32916         mp_no value for 1.0 and 2.0.
32917         (norm): Use RADIXI instead of radixi.d.
32918         (denorm): Likewise.
32919         (__mul): Use 0.0 instead of zero.d.
32920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32921         mp_no value for 1.0 and 2.0.
32922         (norm): Use RADIXI instead of radixi.d.
32923         (denorm): Likewise.
32924         (__mul): Use 0.0 instead of zero.d.
32926 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32928         [BZ #14994]
32929         * math/s_casinh.c (__casinh): Reduce finite argument to first
32930         quadrant then set signs of results at the end.
32931         * math/s_casinhf.c (__casinhf): Likewise.
32932         * math/s_casinhl.c (__casinhl): Likewise.
32933         * math/libm-test.inc (casin_test): Add more tests.
32934         (casinh_test): Likewise.
32935         * sysdeps/i386/fpu/libm-test-ulps: Update.
32936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32938 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32942         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32944         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32945         declarations.
32946         (denorm): Likewise.
32947         (__mp_dbl): Likewise.
32948         (__inv): Likewise.
32950         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32951         and adjust the header comment.
32953         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32954         variable name from declaration.
32956 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32959         Initialize COMMON_CPUID_INDEX_7 element.
32960         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32961         (CPUID_RTM): Likewise.
32962         (HAS_RTM): Likewise.
32963         (COMMON_CPUID_INDEX_7): New enum.
32965 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32967         [BZ #14981]
32968         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32969         size is zero, record memory as freed.
32971 2013-01-03  Andreas Jaeger  <aj@suse.de>
32973         * po/ia.po: Add new Interlingua translation.
32975 2012-01-03  Allan McRae  <allan@archlinux.org>
32977         * locale/programs/localedef.c: Fix description of '--posix' flag.
32979 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32981         * NEWS: Update dates in second copyright notice.
32982         * README: Update copyright dates in example.
32983         * manual/libc.texinfo: Update copyright dates.
32984         * scripts/test-installation.pl: Update copyright date in --version
32985         output.
32987         * hurd/ctty-input.c: Fix copyright notice formatting.
32988         * hurd/ctty-output.c: Likewise.
32989         * hurd/dtable.c: Likewise.
32990         * hurd/hurd-raise.c: Likewise.
32991         * hurd/hurdprio.c: Likewise.
32992         * hurd/msgportdemux.c: Likewise.
32993         * misc/sys/file.h: Likewise.
32994         * misc/sys/ioctl.h: Likewise.
32995         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32996         * sysdeps/mach/hurd/chdir.c: Likewise.
32997         * sysdeps/mach/hurd/fchdir.c: Likewise.
32998         * sysdeps/mach/hurd/rename.c: Likewise.
32999         * sysdeps/mach/hurd/rmdir.c: Likewise.
33000         * sysdeps/mach/hurd/seekdir.c: Likewise.
33001         * sysdeps/mach/hurd/setsid.c: Likewise.
33002         * sysdeps/posix/wait3.c: Likewise.
33004         * All files with FSF copyright notices: Update copyright dates
33005         using scripts/update-copyrights.
33006         * intl/plural.c: Regenerated.
33007         * locale/programs/charmap-kw.h: Likewise.
33008         * locale/programs/locfile-kw.h: Likewise.
33010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33012         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33013         four values.
33015         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33016         calculation loop and add branch prediction.
33018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33019         check access beyond bounds of m1np.
33021         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33022         MPTWO.
33023         (__inv): Remove local variable MPTWO to use the global
33024         constant.
33025         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33027         variable MPTWO.
33028         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33029         MP3HALFS static const.
33031 2013-01-01  David S. Miller  <davem@davemloft.net>
33033         * po/ca.po: Update from translation team.
33035 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33037         * scripts/update-copyrights: New file.
33038         * Makeconfig: Reformat copyright notice.
33039         * ctype/ctype.h: Likewise.
33040         * debug/swprintf_chk.c: Likewise.
33041         * elf/dl-cache.c: Likewise.
33042         * elf/dl-debug.c: Likewise.
33043         * elf/dl-object.c: Likewise.
33044         * grp/initgroups.c: Likewise.
33045         * hurd/Makefile: Likewise.
33046         * hurd/hurd/signal.h: Likewise.
33047         * hurd/hurdfault.c: Likewise.
33048         * hurd/hurdioctl.c: Likewise.
33049         * hurd/hurdlookup.c: Likewise.
33050         * hurd/intr-msg.c: Likewise.
33051         * iconv/gconv_open.c: Likewise.
33052         * libio/swprintf.c: Likewise.
33053         * locale/lc-ctype.c: Likewise.
33054         * locale/nl_langinfo.c: Likewise.
33055         * mach/Machrules: Likewise.
33056         * mach/Makefile: Likewise.
33057         * malloc/obstack.h: Likewise.
33058         * manual/Makefile: Likewise.
33059         * manual/tsort.awk: Likewise.
33060         * misc/bits/stab.def: Likewise.
33061         * nis/nis_print_group_entry.c: Likewise.
33062         * nis/nis_table.c: Likewise.
33063         * nis/nss_compat/compat-pwd.c: Likewise.
33064         * nis/nss_compat/compat-spwd.c: Likewise.
33065         * po/Makefile: Likewise.
33066         * posix/fnmatch.c: Likewise.
33067         * posix/regex.h: Likewise.
33068         * resolv/Makefile: Likewise.
33069         * resolv/nss_dns/dns-network.c: Likewise.
33070         * resolv/res_hconf.c: Likewise.
33071         * scripts/gen-sorted.awk: Likewise.
33072         * soft-fp/soft-fp.h: Likewise.
33073         * stdio-common/printf.h: Likewise.
33074         * stdlib/monetary.h: Likewise.
33075         * stdlib/random.c: Likewise.
33076         * stdlib/random_r.c: Likewise.
33077         * sysdeps/generic/Makefile: Likewise.
33078         * sysdeps/gnu/Makefile: Likewise.
33079         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33080         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33081         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33083         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33085         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33086         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33089         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33090         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33091         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33092         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33093         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33094         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33095         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33097         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33099         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33100         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33101         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33102         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33103         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33104         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33107         * sysdeps/mach/hurd/errnos.awk: Likewise.
33108         * sysdeps/mach/hurd/fork.c: Likewise.
33109         * sysdeps/mach/hurd/getcwd.c: Likewise.
33110         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33111         * sysdeps/mach/hurd/mmap.c: Likewise.
33112         * sysdeps/mach/hurd/utimes.c: Likewise.
33113         * sysdeps/mach/hurd/xmknod.c: Likewise.
33114         * sysdeps/posix/profil.c: Likewise.
33115         * sysdeps/posix/readdir_r.c: Likewise.
33116         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33117         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33118         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33119         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33121         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33122         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33123         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33125         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33126         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33127         * sysdeps/pthread/lio_listio.c: Likewise.
33128         * sysdeps/sparc/dl-procinfo.h: Likewise.
33129         * sysdeps/unix/i386/sysdep.S: Likewise.
33130         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33131         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33132         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33133         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33135         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33136         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33137         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33138         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33139         * sysdeps/wordsize-32/divdi3.c: Likewise.
33140         * time/sys/time.h: Likewise.
33141         * wcsmbs/Makefile: Likewise.
33143 2013-01-01  David S. Miller  <davem@davemloft.net>
33145         * po/fr.po: Update from translation team.
33147         * catgets/gencat.c: Update copyright year.
33148         * csu/version.c: Likewise.
33149         * debug/catchsegv.sh: Likewise.
33150         * debug/pcprofiledump.c: Likewise.
33151         * debug/xtrace.sh: Likewise.
33152         * elf/ldconfig.c: Likewise.
33153         * elf/ldd.bash.in: Likewise.
33154         * elf/pldd.c: Likewise.
33155         * elf/sotruss.ksh: Likewise.
33156         * elf/sprof.c: Likewise.
33157         * iconv/iconv_prog.c: Likewise.
33158         * iconv/iconvconfig.c: Likewise.
33159         * locale/programs/locale.c: Likewise.
33160         * locale/programs/localedef.c: Likewise.
33161         * login/programs/pt_chown.c: Likewise.
33162         * malloc/memusage.sh: Likewise.
33163         * malloc/memusagestat.c: Likewise.
33164         * malloc/mtrace.pl: Likewise.
33165         * nscd/nscd.c: Likewise.
33166         * nss/getent.c: Likewise.
33167         * nss/makedb.c: Likewise.
33168         * posix/getconf.c: Likewise.
33170 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33172         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33173         numbers.
33175 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33177         * math/bits/mathcalls.h (modf): Use __nonnull.
33179 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33181         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33182         (split): Use macro CN instead of the bare value.
33183         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33184         could be used.
33185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33186         instead of the bare value.
33187         (power1): Likewise.
33189 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33191         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33192         __ATAN_TWOM.
33193         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33195         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33196         their values.
33197         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33199         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33200         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33202 2012-12-28  Andreas Jaeger  <aj@suse.de>
33204         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33205         values are from Linux 3.7.
33207         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33208         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33210 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33212         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33213         TRUE case.
33215         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33216         (norm): Likewise.
33217         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33218         variables with preprocessor constants.
33219         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33220         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33221         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33223 2012-12-27  Bruno Haible  <bruno@clisp.org>
33225         [BZ #14317]
33226         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33227         only if needed.
33229 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33232         and use variable directly.
33233         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33235         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33236         MPONE.
33237         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33238         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33239         variable MPONE.
33240         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33242         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33243         include directive.  Remove local variable MPONE.
33244         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33245         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33246         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33248 2012-12-25  David S. Miller  <davem@davemloft.net>
33250         * version.h (RELEASE): Set to "development".
33251         (VERSION): Set to "2.17.90".
33252         * NEWS: Add 2.18 section.
33254 2012-12-21  David S. Miller  <davem@davemloft.net>
33256         * po/hr.po: Update from translation team.
33258 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33260         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33262 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33264         * NEWS:  Mention new memcpy for MIPS.
33266 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33268         * manual/contrib.texi (Contributors): Spelling correction.
33270 2012-12-15  David S. Miller  <davem@davemloft.net>
33272         * po/ru.po: Update from translation team.
33274 2012-12-13  David S. Miller  <davem@davemloft.net>
33276         * NEWS: Mention IFUNC testsuite enhancements.
33278         * po/pl.po: Update from translation team.
33279         * po/bg.po: Likewise.
33281         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33282         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33284 2012-12-11  David S. Miller  <davem@davemloft.net>
33286         * po/sv.po: Update from translation team.
33288         * po/vi.po: Update from translation team.
33290         * po/cs.po: Update from translation team.
33292         * po/de.po: Update from translation team.
33293         * po/eo.po: Likewise.
33294         * po/nl.po: Likewise.
33296 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33298         [BZ #14246]
33299         * manual/argp.texi (Argp Helper Functions): Move node to follow
33300         Argp Parsing State.
33302         [BZ #14872]
33303         * manual/conf.texi (Limits on File System Capacity): Mention if
33304         terminating null is included in the max size.
33306 2012-12-10  Andreas Jaeger  <aj@suse.de>
33308         * po/cs.po: Update from translation team.
33310 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33312         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33313         void pointer and cast to uintptr_t.
33314         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33315         path.
33316         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33317         * sysdeps/s390/s390-64/memset.S: Likewise.
33319 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33321         [BZ #14833]
33322         * menual/message.texi (Message Translation): Fix typos.
33323         (Helper programs for gettext): Likewise.
33325 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33327         [BZ #14898]
33328         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33329         Change to -1.
33331 2012-12-07  David S. Miller  <davem@davemloft.net>
33333         * po/libc.pot: Update.
33335 2012-12-07  Richard Henderson  <rth@redhat.com>
33337         [BZ #10114]
33338         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33339         normal/normal case to before the switch.
33340         (_FP_DIV): Likewise.
33342 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33343             Mike Frysinger  <vapier@gentoo.org>
33345         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33346         check for __NR_fadvise64_64.
33348 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33350         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33351         0, not just to plain "0" as a statement.
33352         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33353         with cw.
33355 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33357         * NEWS: Use sourceware.org in Bugzilla URL.
33359 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33362         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33364         * stdio-common/tst-put-error.c (do_test): Add newline to the
33365         padded test to ensure flush.
33367 2012-12-05  Jeff Law  <law@redhat.com>
33369         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33371 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33373         * README: Don't refer to ports add-on as distributed separately.
33374         Mention AArch64 in list of systems supported in the ports add-on.
33376         * LICENSES: Add more non-FSF copyright and license notices.
33378         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33379         ((unused)).
33381         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33383         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33384         10000 as width of padded output.
33386 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33388         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33390         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33391         variable LX with __attribute__ ((unused)).
33392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33393         Likewise.
33394         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33396         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33397         with __attribute__ ((unused)).
33399 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33401         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33403 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33405         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33406         (CFLAGS-nldbl-acos.c): New variable.
33407         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33408         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33409         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33410         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33411         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33412         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33413         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33414         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33415         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33416         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33417         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33418         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33419         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33420         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33421         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33422         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33423         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33424         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33425         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33426         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33427         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33428         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33429         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33430         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33431         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33432         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33433         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33434         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33435         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33436         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33437         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33438         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33439         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33440         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33441         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33442         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33443         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33444         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33445         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33446         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33447         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33448         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33449         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33450         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33451         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33452         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33453         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33454         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33455         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33456         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33457         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33458         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33459         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33460         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33461         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33462         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33463         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33464         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33465         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33466         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33467         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33468         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33469         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33470         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33471         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33472         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33473         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33474         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33475         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33476         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33477         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33478         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33479         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33480         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33481         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33482         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33483         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33484         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33485         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33486         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33487         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33488         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33489         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33490         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33491         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33492         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33493         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33494         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33495         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33496         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33497         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33498         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33499         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33500         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33501         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33502         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33503         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33506         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33508         [BZ #14914]
33509         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33510         whole low double instead of just low 47 bits when splitting values
33511         into two parts.
33513 2012-12-03  Allan McRae  <allan@archlinux.org>
33515         * manual/stdio.texi (Predefined Printf Handlers): Remove
33516         @hsep and @vsep usage.
33518 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33520         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33521         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33523 2012-12-03  Jeff Law  <law@redhat.com>
33525         * time/sys/time.h (settimeofday): Do not mark TV argument
33526         as __nonnull.
33528 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33530         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33531         when currently writing and seek to current position when not.
33532         * libio/Makefile (tests): Remove bug-fclose1.
33533         * libio/bug-fclose1.c: Delete.
33535 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33537         * manual/arith.texi (feenableexcept): Fix typo.
33538         (fedisableexcept): Likewise.
33540 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33542         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33543         second, differently-typed declaration, rather than a cast.
33545 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33547         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33548         * include/rpc/svc.h: ... here.
33550 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33552         [BZ #13013]
33553         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33554         depending n and resplen2 to catch cases where answer
33555         equals answerp2.
33557 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33559         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33560         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33562 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33564         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33566 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33568         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33570 2012-11-28  Jeff Law  <law@redhat.com>
33572         [BZ #13761]
33573         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33574         dataset_temporary.  Track alloca usage into alloca_used.
33575         If dataset is large allocate and release it via malloc/free.
33577 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33579         [BZ #14197]
33580         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33582 2012-11-28  David S. Miller  <davem@davemloft.net>
33584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33586 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33588         [BZ #14803]
33589         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33590         of pi/2 rounded to nearest to 64 bits.
33591         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33592         nearest to 64 bits.
33593         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33594         bits.
33596 2012-11-28  Jeff Law <law@redhat.com>
33597             Martin Osvald <mosvald@redhat.com>
33599         [BZ #14889]
33600         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33601         * sunrpc/svc.c: Include time.h.
33602         (__svc_accept_failed): New function.
33603         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33604         any reason other than EINTR, call __svc_accept_failed.
33605         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33606         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33608 2012-11-28  Andreas Schwab  <schwab@suse.de>
33610         * scripts/abilist.awk: Also handle indirect functions in .opd
33611         section.
33613 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33615         [BZ #13881]
33616         * sysdeps/x86/fpu/powl_helper.c: New file.
33617         * sysdeps/x86/fpu/Makefile: Likewise.
33618         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33619         (p3): New object.
33620         (__ieee754_powl): Use __powl_helper for finite arguments except
33621         integer exponents below 8.
33622         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33623         (p3): New object.
33624         (__ieee754_powl): Use __powl_helper for finite arguments except
33625         integer exponents below 8.
33626         * math/libm-test.inc (pow_test): Add more tests and enable some
33627         previously disabled tests.
33628         * sysdeps/i386/fpu/libm-test-ulps: Update.
33629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33631 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33632             Carlos O'Donell  <carlos_odonell@mentor.com>
33634         * nss/makedb.c (is_prime): Assert that input is odd and greater
33635         than 4.  Note that fact in a comment too.
33636         (next_prime): Add 4 to input.
33638 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33640         [BZ #11741]
33641         * libio/Makefile (tests): Add test case tst-fwrite-error.
33642         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33643         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33644         * libio/tst-fwrite-error.c: New test case.
33646 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33648         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33649         before casting to void *.
33650         * include/libc-internal.h (__pointer_type): New macro.
33651         (__integer_if_pointer_type_sub): Likewise.
33652         (__integer_if_pointer_type): Likewise.
33653         (cast_to_integer): Likewise.
33654         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33655         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33656         before casting to atomic64_t.
33657         (atomic_exchange_acq): Likewise.
33658         (__arch_exchange_and_add_body): Likewise.
33659         (__arch_add_body): Likewise.
33660         (atomic_add_negative): Likewise.
33661         (atomic_add_zero): Likewise.
33663 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33665         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33666         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33667         (add_fdes): Likewise.
33668         (linear_search_fdes): Likewise.
33669         (binary_search_unencoded_fdes): Likewise.
33671 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33673         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33675 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33677         * configure.in: Autodetect C++ header directories.
33678         * configure: Regenerated.
33680 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33682         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33684 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33688 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33690         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33691         LDBL_MANT_DIG == 106]: Disable some tests.
33692         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33693         Likewise.
33694         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33695         Likewise.
33697         [BZ #14871]
33698         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33699         input for small inputs.  Return +/- pi/2 for large inputs.
33700         * math/libm-test.inc (atan_test): Add more tests.
33702         * sysdeps/generic/unwind-dw2-fde-glibc.c
33703         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33704         __attribute__ ((unused)).
33706         [BZ #14645]
33707         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33708         x * y if x and y are nonzero and z is zero.
33710         [BZ #14811]
33711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33712         nonzero exponents with absolute value below 0x1p-117 to +/-
33713         0x1p-117.
33715         [BZ #14869]
33716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33717         up arguments below 2**-450, not just those below 2**-500.
33718         * math/libm-test.inc (hypot_test): Add another test.
33720         [BZ #14868]
33721         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33722         Return a+b for ratio over 2**120, not 2**60.
33723         * math/libm-test.inc (hypot_test): Add another test.
33725         * math/libm-test.inc (clog_test): Use
33726         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33727         (clog10_test): Likewise.
33729         [BZ #6778]
33730         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33732 2012-11-22  Andreas Schwab  <schwab@suse.de>
33734         * sysdeps/i386/fpu/libm-test-ulps: Update.
33736 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33738         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33739         printf output with newline.
33741 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33743         [BZ #14865]
33744         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33745         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33746         -z nodlopen, -z initfirst and -z execstack support.
33747         * configure: Regenerated.
33749         * elf/elf.h (DF_1_NODIRECT): New macro.
33750         (DF_1_IGNMULDEF): Likewise.
33751         (DF_1_NOKSYMS): Likewise.
33752         (DF_1_NOHDR): Likewise.
33753         (DF_1_EDITED): Likewise.
33754         (DF_1_NORELOC): Likewise.
33755         (DF_1_SYMINTPOSE): Likewise.
33756         (DF_1_GLOBAUDIT): Likewise.
33757         (DF_1_SINGLETON): Likewise.
33758         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33759         DT_1_SUPPORTED_MASK bits.
33760         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33762 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33764         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33766 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33768         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33769         macro.
33771         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33772         (sendmmsg): Move declarations...
33773         * socket/sys/socket.h: ... here.
33774         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33775         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33776         include it from...
33777         * socket/recvmmsg.c: ... this new file.
33778         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33779         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33780         definition of __sendmmsg hidden.
33781         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33782         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33783         Move ENOSYS stub into and include it from...
33784         * socket/sendmmsg.c: ... this new file.
33785         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33786         (sysdep_routines): Move recvmmsg and sendmmsg...
33787         * socket/Makefile (routines): ... here.
33788         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33789         (GLIBC_PRIVATE): Add __sendmmsg.
33790         * include/sys/socket.h (__sendmmsg): Add declarations.
33791         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33792         sendmmsg.
33794 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33796         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33797         variable I1 with __attribute__ ((unused)).
33798         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33800 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33802         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33803         DUMMY variables with __attribute__ ((unused)).
33805         * bits/byteswap.h: Include <bits/types.h>.
33806         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33808 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33810         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33811         string_t.  Do not manually set errno.
33812         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33813         length with __strnlen.  Make sure to both set errno and return it on
33814         failure.
33816 2012-11-19  David S. Miller  <davem@davemloft.net>
33818         With help from Joseph Myers.
33819         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33820         very large arguments properly.
33821         * math/libm-test.inc (atan_test): New tests.
33822         (atan2_test): New tests.
33823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33826 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33828         [BZ #14856]
33829         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33830         Define to 3.
33832         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33833         [POSIX] (EADDRNOTAVAIL): Likewise.
33834         [POSIX] (EAFNOSUPPORT): Likewise.
33835         [POSIX] (EALREADY): Likewise.
33836         [POSIX] (ECONNABORTED): Likewise.
33837         [POSIX] (ECONNREFUSED): Likewise.
33838         [POSIX] (ECONNRESET): Likewise.
33839         [POSIX] (EDESTADDRREQ): Likewise.
33840         [POSIX] (EDQUOT): Likewise.
33841         [POSIX] (EHOSTUNREACH): Likewise.
33842         [POSIX] (EIDRM): Likewise.
33843         [POSIX] (EISCONN): Likewise.
33844         [POSIX] (ELOOP): Likewise.
33845         [POSIX] (EMULTIHOP): Likewise.
33846         [POSIX] (ENETDOWN): Likewise.
33847         [POSIX] (ENETUNREACH): Likewise.
33848         [POSIX] (ENOBUFS): Likewise.
33849         [POSIX] (ENODATA): Likewise.
33850         [POSIX] (ENOLINK): Likewise.
33851         [POSIX] (ENOMSG): Likewise.
33852         [POSIX] (ENOPROTOOPT): Likewise.
33853         [POSIX] (ENOSR): Likewise.
33854         [POSIX] (ENOSTR): Likewise.
33855         [POSIX] (ENOTCONN): Likewise.
33856         [POSIX] (ENOTSOCK): Likewise.
33857         [POSIX] (EOPNOTSUPP): Likewise.
33858         [POSIX] (EOVERFLOW): Likewise.
33859         [POSIX] (EPROTO): Likewise.
33860         [POSIX] (EPROTONOSUPPORT): Likewise.
33861         [POSIX] (EPROTOTYPE): Likewise.
33862         [POSIX] (ESTALE): Likewise.
33863         [POSIX] (ETIME): Likewise.
33864         [POSIX] (ETXTBSY): Likewise.
33865         [POSIX] (EWOULDBLOCK): Likewise.
33866         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33867         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33868         [POSIX] (SEEK_CUR): Likewise.
33869         [POSIX] (SEEK_END): Likewise.
33870         [POSIX || UNIX98] (mode_t): Do not require.
33871         [POSIX] (off_t): Likewise.
33872         [POSIX] (pid_t): Likewise.
33873         [POSIX] (sys/stat.h): Do not allow header.
33874         [POSIX] (unistd.h): Likewise.
33875         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33876         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33877         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33878         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33879         require.
33880         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33881         sigevent): Specify elements.
33882         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33883         entry.
33884         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33885         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33887         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33888         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33889         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33890         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33891         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33892         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33893         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33894         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33895         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33896         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33897         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33898         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33899         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33900         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33901         Likewise.
33902         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33903         Likewise.
33904         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33905         Likewise.
33906         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33907         Likewise.
33908         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33909         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33910         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33911         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33912         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33913         Specify lower bound on value.
33914         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33915         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33916         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33917         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33918         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33919         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33920         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33921         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33922         value.
33923         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33924         as optional.
33925         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33926         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33927         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33928         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33929         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33930         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33931         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33932         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33933         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33934         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33935         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33936         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33937         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33938         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33939         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33940         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33941         entry.
33942         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33943         optional.
33944         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33945         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33946         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33947         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33948         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33949         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33950         Likewise.
33951         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33952         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33953         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33954         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33955         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33956         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33957         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33958         as optional.
33959         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33960         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33961         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33962         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33963         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33964         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33965         specify as optional.
33966         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33967         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33968         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33969         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33970         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33971         [XPG3] (NL_LANGMAX): Likewise.
33972         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33973         [POSIX || XPG3] (NL_NMAX): Likewise.
33974         [POSIX || XPG3] (NL_SETMAX): Likewise.
33975         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33976         [XPG3] (NZERO): Likewise.
33977         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33978         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33979         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33980         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33981         (REG_ERANGE): Expect.
33982         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33983         optional-constant.
33984         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33985         Use (void) in prototype.
33986         [POSIX] (*_t): Allow.
33987         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33988         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33989         (WRDE_BADVAL): Expect.
33991         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33992         expect.
33993         [XPG3 || XPG4] (O_RSYNC): Likewise.
33994         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33995         Likewise.
33996         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33997         [XPG3 || XPG4] (sigqueue): Likewise.
33998         [XPG3 || XPG4] (sigtimedwait): Likewise.
33999         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34000         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34001         [XPG3 || XPG4] (vsnprintf): Likewise.
34002         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34003         Likewise.
34004         [XPG3 || XPG4] (blksize_t): Likewise.
34005         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34006         Likewise.
34007         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34008         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34009         [XPG3 || XPG4] (struct itimerspec): Likewise.
34010         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34011         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34012         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34013         [XPG3 || XPG4] (clockid_t): Likewise.
34014         [XPG3 || XPG4] (timer_t): Likewise.
34015         [XPG3 || XPG4] (clock_getres): Likewise.
34016         [XPG3 || XPG4] (clock_gettime): Likewise.
34017         [XPG3 || XPG4] (clock_settime): Likewise.
34018         [XPG3 || XPG4] (nanosleep): Likewise.
34019         [XPG3 || XPG4] (timer_create): Likewise.
34020         [XPG3 || XPG4] (timer_delete): Likewise.
34021         [XPG3 || XPG4] (timer_gettime): Likewise.
34022         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34023         [XPG3 || XPG4] (timer_settime): Likewise.
34024         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34025         [XPG3 || XPG4] (getlogin_r): Likewise.
34026         [XPG3 || XPG4] (pread): Likewise.
34027         [XPG3 || XPG4] (pthread_atfork): Likewise.
34028         [XPG3 || XPG4] (pwrite): Likewise.
34030         [BZ #14835]
34031         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34032         <bits/siginfo.h>.
34034 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34036         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34037         finalizing MALLSTREAM.
34039         * sysdeps/mach/hurd/syncfs.c: New file.
34041 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34043         [BZ #14719]
34044         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34045         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34046         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34047         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34048         (_nss_dns_gethostbyname4_r): Likewise.
34049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34050         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34052 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34054         [BZ #13763]
34055         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34057 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34059         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34060         * elf/cache.c (print_entry): Print ",AArch64" for
34061         FLAG_AARCH64_LIB64
34063         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34064         * elf/cache.c (print_entry): Print ",hard-float" for
34065         FLAG_ARM_LIBHF.
34067 2012-11-18  David S. Miller  <davem@davemloft.net>
34069         With help from Joseph Myers.
34070         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34071         cutoff to 2**-13.
34072         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34073         cutoff to 2**-25.
34074         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34075         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34076         small.
34077         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34078         * math/libm-test.inc (y0_test): New tests.
34079         (y1_test): New tests.
34080         * sysdeps/i386/fpu/libm-test-ulps: Update.
34081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34084 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34086         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34087         64-bit targets.
34088         * configure: Regenerated.
34090 2012-11-17  David S. Miller  <davem@davemloft.net>
34092         [BZ #14811]
34093         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34094         nonzero exponents with absolute value below 0x1p-128 to +/-
34095         0x1p-128.
34097 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34099         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34101         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34103         * posix/getconf-speclist.c: New file.
34104         * posix/posix-envs.def: Likewise.
34105         * posix/confstr.c (START_ENV_GROUP): New macro.
34106         (END_ENV_GROUP): Likewise.
34107         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34108         (KNOWN_PRESENT_ENV_STRING): Likewise.
34109         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34110         (UNKNOWN_ENVIRONMENT): Likewise.
34111         (confstr): Include posix-envs.def instead of handling
34112         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34113         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34114         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34115         (END_ENV_GROUP): Likewise.
34116         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34117         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34118         (UNKNOWN_ENVIRONMENT): Likewise.
34119         (__sysconf): Include posix-envs.def instead of handling associated
34120         cases directly here.
34121         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34122         preprocessing getconf-speclist.c rather than running getconf or
34123         generating empty file.
34125 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34127         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34129 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34131         [BZ #14672]
34132         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34134 2012-11-16  David S. Miller  <davem@davemloft.net>
34136         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34137         smaller than LDBL_EPSILON/2.0L, just return xm1.
34139 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34141         * elf/tst-array1.c (init): Set constructor priority to 1000.
34142         (fini): Set destructor priority to 1000.
34143         * elf/tst-array2dep.c: Likewise.
34145 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34147         [BZ #11741]
34148         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34149         (_IO_new_file_xsputn): Also return EOF if none of the input
34150         data was written when overflow failed.
34151         * libio/iopadn.c (_IO_padn): Likewise.
34152         * libio/iowpadn.c (_IO_wpadn): Likewise.
34153         * stdio-common/tst-put-error.c: Add copyright notice.
34154         (do_test): Add case for printing padded string.
34155         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34156         _IO_padn returned error.
34157         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34158         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34159         return EOF.
34161 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34163         * libio/libioP.h: Add comment note that the references to C++
34164         bits are now obsolete.
34166 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34168         * math/libm-test.inc (check_complex): Use asprintf.
34170 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34172         * debug/pcprofiledump.c (print_version): Update copyright year.
34173         * malloc/memusagestat.c (print_version): Likewise.
34175 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34177         [BZ #14831]
34178         * elf/Makefile (tests): Add tst-audit8.
34179         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34180         ($(objpfx)tst-audit8.out): New target.
34181         (tst-audit8-ENV): New variable.
34182         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34183         audit if l_reloc_result is NULL.
34184         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34185         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34186         * elf/tst-audit8.c: New file.
34188 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34190         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34191         * misc/Makefile (CFLAGS-select.c): Define.
34192         * posix/Makefile (CFLAGS-pause.c): Define.
34194 2012-11-13  David S. Miller  <davem@davemloft.net>
34196         * crypt/Makefile: Move test targets after toplevel Rules
34197         inclusion.  Grab any necessary sysdep routines when linking.
34198         * crypt/md5.c (md5_process_block): Remove define, we will always
34199         name it __md5_process_block.
34200         (md5_finish_ctx): Update md5_process_block call.
34201         (md5_stream): Likewise.
34202         (md5_process_bytes): Likewise.
34203         (md5_process_block): Rename to __md5_process_block and move to ...
34204         * crypt/md5-block.c: ... here.
34205         * crypt/sha256.c (sha256_process_block): Move to ...
34206         * crypt/sha256-block.c: ... here.
34207         * crypt/sha512.c (sha512_process_block): Move to ...
34208         * crypt/sha512-block.c: ... here.
34209         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34210         path.
34211         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34212         * sysdeps/sparc/sparc64/multiarch/Makefile
34213         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34214         crypt subdir.
34215         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34216         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34217         multiarch changes.
34218         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34219         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34220         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34221         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34222         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34223         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34224         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34225         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34226         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34227         file.
34228         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34229         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34230         file.
34231         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34233 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34235         * timezone/tzselect.ksh: Update from tzcode git revision
34236         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34237         * timezone/zdump.c: Likewise.
34238         * timezone/zic.c: Likewise.
34239         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34240         in TZVERSION setting, not $(PKGVERSION).
34241         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34242         REPORT_BUGS_TO settings.
34244         [BZ #14838]
34245         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34246         macro.
34248 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34250         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34251         detection to immediately after _FP_ROUND().
34252         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34253         bits are 0.
34255 2012-11-11  David S. Miller  <davem@davemloft.net>
34257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34258         inttypes.h
34259         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34260         __close rather than their public counterparts.
34262 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34264         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34265         file.
34266         [UNIX98] (sem_timedwait): Do not expect.
34267         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34268         [XPG4 || UNIX98] (sockatmark): Do not expect.
34269         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34270         (clock_getcpuclockid): Do not expect.
34271         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34272         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34273         Do not expect.
34274         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34275         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34276         [UNIX98] (vwscanf): Likewise.
34277         [UNIX98] (vswscanf): Likewise.
34279 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34281         * timezone/version.h: Remove file.
34282         * timezone/README: Do not refer to version.h.
34283         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34284         $(objpfx)version.h.
34285         ($(objpfx)zdump.o): Likewise.
34286         ($(objpfx)version.h): New target.
34288         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34289         2012i.
34290         * timezone/README: Don't mention modification to tzselect.ksh.
34291         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34292         work on unmodified tzselect.ksh.  Substitute version numbers in
34293         tzselect.ksh.
34295         * Makefile (format-me): Remove.
34296         (INSTALL): Adjust indentation.  Use commands directly instead of
34297         using $(format-me).
34299         * aclocal.m4 (ACX_PKGVERSION): New macro.
34300         (ACX_BUGURL): Likewise.
34301         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34302         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34303         (REPORT_BUGS_TO): Likewise.
34304         * configure: Regenerated.
34305         * config.h.in (PKGVERSION): New macro.
34306         (REPORT_BUGS_TO): Likewise.
34307         * config.make.in (PKGVERSION): New variable.
34308         (PKGVERSION_TEXI): Likewise.
34309         (REPORT_BUGS_TO): Likewise.
34310         (REPORT_BUGS_TEXI): Likewise.
34311         * Makefile (format-me): Use -I$(common-objpfx)manual.
34312         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34313         ($(common-objpfx)manual/%): New target.
34314         (manual/%): Remove target.
34315         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34316         (print_version): Use PKGVERSION.
34317         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34318         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34319         and REPORT_BUGS_TO.
34320         ($(objpfx)xtrace): Likewise.
34321         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34322         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34323         (print_version): Use PKGVERSION.
34324         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34325         (do_version): Use PKGVERSION.
34326         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34327         REPORT_BUGS_TO.
34328         (common-ldd-rewrite): Likewise.
34329         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34330         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34331         (print_version): Use PKGVERSION.
34332         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34333         * elf/pldd.c (argp_program_bug_address): Remove variable.
34334         (more_help): New function.
34335         (argp): Use more_help.
34336         (print_version): Use PKGVERSION.
34337         * elf/sln.c (main): Use PKGVERSION.
34338         (usage): Use REPORT_BUGS_TO.
34339         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34340         (top level): Use PKGVERSION.
34341         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34342         (print_version): Use PKGVERSION.
34343         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34344         (print_version): Use PKGVERSION.
34345         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34346         (print_version): Use PKGVERSION.
34347         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34348         (print_version): Use PKGVERSION.
34349         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34350         (print_version): Use PKGVERSION.
34351         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34352         (print_version): Use PKGVERSION.
34353         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34354         and BUGURL.
34355         ($(objpfx)memusage): Likewise.
34356         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34357         (do_version): Use PKGVERSION.
34358         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34359         (print_version): Use PKGVERSION.
34360         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34361         ($PKGVERSION): New variable.
34362         ($REPORT_BUGS_TO): Likewise.
34363         (usage): Use $REPORT_BUGS_TO.
34364         (top level): Use $PKGVERSION.
34365         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34366         ($(objpfx)pkgvers.texi): New rule.
34367         ($(objpfx)stamp-pkgvers): Likewise.
34368         * manual/install.texi: Include pkgvers.texi.
34369         (--with-pkgversion): Document new configure option.
34370         (--with-bugurl): Likewise.
34371         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34372         than necessarily for this particular distribution.  Use
34373         REPORT_BUGS_TO for where to report bugs.
34374         * INSTALL: Regenerated.
34375         * manual/libc.texinfo: Include pkgvers.texi.
34376         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34377         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34378         (print_version): Use PKGVERSION.
34379         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34380         (print_version): Use PKGVERSION.
34381         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34382         (print_version): Use PKGVERSION.
34383         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34384         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34385         macro.
34386         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34387         (print_version): Use PKGVERSION.
34388         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34389         (print_version): Use PKGVERSION.
34390         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34391         and PKGVERSION.
34393         * timezone/checktab.awk: Update from tzcode 2012i.
34394         * timezone/ialloc.c: Likewise.
34395         * timezone/private.h: Likewise.
34396         * timezone/scheck.c: Likewise.
34397         * timezone/tzfile.h: Likewise.
34398         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34399         (TZVERSION): Hardcode tzcode version number.
34400         * timezone/zdump.c: Update from tzcode 2012i.
34401         * timezone/zic.c: Likewise.
34402         * timezone/version.h: New file.
34403         * timezone/README: Describe version.h.  Update upstream location.
34405         [BZ #14824]
34406         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34407         (mktemp): Enable declaration.
34408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34412         Likewise.
34413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34414         Likewise.
34415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34416         Likewise.
34417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34418         Likewise.
34419         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34420         Likewise.
34421         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34422         Likewise.
34424         [BZ #14821]
34425         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34426         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34427         for copies of such integer values.
34428         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34429         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34431 2012-11-09  Andreas Jaeger  <aj@suse.de>
34433         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34434         definitions and declarations that are provided by
34435         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34437 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34439         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34440         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34441         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34442         definition.
34444 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34446         * elf/elf.h: Update comment before AArch64 relocations.
34448 2012-11-07  David S. Miller  <davem@davemloft.net>
34450         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34451         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34452         (__start_context): Declare.
34453         (__makecontext_ret): Delete.
34454         (__makecontext): Hook up __start_context instead of
34455         __makecontext_ret.
34456         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34457         (sysdep_routines): Add __start_context when in stdlib.
34459 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34461         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34462         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34463         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34464         hardcoded "nm".
34465         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34466         (READELF): New variable.  Use it instead of hardcoded "readelf".
34468 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34470         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34471         * sysdeps/x86/Makefile: Here.
34472         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34473         * sysdeps/x86/tst-xmmymm.sh: This.
34475 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34477         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34478         expectations.
34479         [UNIX98] (pthread_barrier_t): Do not expect.
34480         [UNIX98] (pthread_barrierattr_t): Likewise.
34481         [UNIX98] (pthread_spinlock_t): Likewise.
34482         [UNIX98] (pthread_barrier_destroy): Likewise.
34483         [UNIX98] (pthread_barrier_init): Likewise.
34484         [UNIX98] (pthread_barrier_wait): Likewise.
34485         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34486         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34487         [UNIX98] (pthread_barrierattr_init): Likewise.
34488         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34489         [UNIX98] (pthread_getcpuclockid): Likewise.
34490         [UNIX98] (pthread_mutex_timedlock): Likewise.
34491         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34492         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34493         [UNIX98] (pthread_sigmask): Likewise.
34494         [UNIX98] (pthread_spin_destroy): Likewise.
34495         [UNIX98] (pthread_spin_init): Likewise.
34496         [UNIX98] (pthread_spin_lock): Likewise.
34497         [UNIX98] (pthread_spin_trylock): Likewise.
34498         [UNIX98] (pthread_spin_unlock): Likewise.
34499         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34500         Do not expect.
34501         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34502         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34503         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34504         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34505         [XPG3 || XPG4] (pthread_key_t): Likewise.
34506         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34507         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34508         [XPG3 || XPG4] (pthread_once_t): Likewise.
34509         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34510         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34511         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34512         [XPG3 || XPG4] (pthread_t): Likewise.
34514         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34515         not expect.
34516         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34518         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34519         Change function return type to int.
34521         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34522         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34523         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34524         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34525         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34526         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34527         [!POSIX] (posix_madvise): Likewise.
34528         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34529         && !UNIX98].
34530         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34531         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34532         (mode_t): Likewise.
34533         (posix_mem_offset): Likewise.
34534         (posix_typed_mem_get_info): Likewise.
34535         (posix_typed_mem_open): Likewise.
34537         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34538         Change condition to [XOPEN2K8].
34540         * conform/conformtest.pl: Preprocess allow-header data with -x c
34541         instead of from stdin.
34542         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34543         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34544         [C99-based standards] (cerfc): Likewise.
34545         [C99-based standards] (cexp2): Likewise.
34546         [C99-based standards] (cexpm1): Likewise.
34547         [C99-based standards] (clog10): Likewise.
34548         [C99-based standards] (clog1p): Likewise.
34549         [C99-based standards] (clog2): Likewise.
34550         [C99-based standards] (clgamma): Likewise.
34551         [C99-based standards] (ctgamma): Likewise.
34552         [C99-based standards] (cerff): Likewise.
34553         [C99-based standards] (cerfcf): Likewise.
34554         [C99-based standards] (cexp2f): Likewise.
34555         [C99-based standards] (cexpm1f): Likewise.
34556         [C99-based standards] (clog10f): Likewise.
34557         [C99-based standards] (clog1pf): Likewise.
34558         [C99-based standards] (clog2f): Likewise.
34559         [C99-based standards] (clgammaf): Likewise.
34560         [C99-based standards] (ctgammaf): Likewise.
34561         [C99-based standards] (cerfl): Likewise.
34562         [C99-based standards] (cerfcl): Likewise.
34563         [C99-based standards] (cexp2l): Likewise.
34564         [C99-based standards] (cexpm1l): Likewise.
34565         [C99-based standards] (clog10l): Likewise.
34566         [C99-based standards] (clog1pl): Likewise.
34567         [C99-based standards] (clog2l): Likewise.
34568         [C99-based standards] (clgammal): Likewise.
34569         [C99-based standards] (ctgammal): Likewise.
34570         * conform/data/inttypes.h-data [C99-based standards]: Include
34571         stdint.h-data.  Remove all expectations for stdint.h contents.
34572         [C99-based standards] (PRI*): Do not allow.
34573         [C99-based standards] (SCN*): Likewise.
34574         [C99-based standards] (*_t): Likewise.
34575         [C99-based-standards] (PRId8): Expect macro.
34576         [C99-based-standards] (PRIi8): Likewise.
34577         [C99-based-standards] (PRIo8): Likewise.
34578         [C99-based-standards] (PRIu8): Likewise.
34579         [C99-based-standards] (PRIx8): Likewise.
34580         [C99-based-standards] (PRIX8): Likewise.
34581         [C99-based-standards] (SCNd8): Likewise.
34582         [C99-based-standards] (SCNi8): Likewise.
34583         [C99-based-standards] (SCNo8): Likewise.
34584         [C99-based-standards] (SCNu8): Likewise.
34585         [C99-based-standards] (SCNx8): Likewise.
34586         [C99-based-standards] (PRIdLEAST8): Likewise.
34587         [C99-based-standards] (PRIiLEAST8): Likewise.
34588         [C99-based-standards] (PRIoLEAST8): Likewise.
34589         [C99-based-standards] (PRIuLEAST8): Likewise.
34590         [C99-based-standards] (PRIxLEAST8): Likewise.
34591         [C99-based-standards] (PRIXLEAST8): Likewise.
34592         [C99-based-standards] (SCNdLEAST8): Likewise.
34593         [C99-based-standards] (SCNiLEAST8): Likewise.
34594         [C99-based-standards] (SCNoLEAST8): Likewise.
34595         [C99-based-standards] (SCNuLEAST8): Likewise.
34596         [C99-based-standards] (SCNxLEAST8): Likewise.
34597         [C99-based-standards] (PRIdFAST8): Likewise.
34598         [C99-based-standards] (PRIiFAST8): Likewise.
34599         [C99-based-standards] (PRIoFAST8): Likewise.
34600         [C99-based-standards] (PRIuFAST8): Likewise.
34601         [C99-based-standards] (PRIxFAST8): Likewise.
34602         [C99-based-standards] (PRIXFAST8): Likewise.
34603         [C99-based-standards] (SCNdFAST8): Likewise.
34604         [C99-based-standards] (SCNiFAST8): Likewise.
34605         [C99-based-standards] (SCNoFAST8): Likewise.
34606         [C99-based-standards] (SCNuFAST8): Likewise.
34607         [C99-based-standards] (SCNxFAST8): Likewise.
34608         [C99-based-standards] (PRId16): Likewise.
34609         [C99-based-standards] (PRIi16): Likewise.
34610         [C99-based-standards] (PRIo16): Likewise.
34611         [C99-based-standards] (PRIu16): Likewise.
34612         [C99-based-standards] (PRIx16): Likewise.
34613         [C99-based-standards] (PRIX16): Likewise.
34614         [C99-based-standards] (SCNd16): Likewise.
34615         [C99-based-standards] (SCNi16): Likewise.
34616         [C99-based-standards] (SCNo16): Likewise.
34617         [C99-based-standards] (SCNu16): Likewise.
34618         [C99-based-standards] (SCNx16): Likewise.
34619         [C99-based-standards] (PRIdLEAST16): Likewise.
34620         [C99-based-standards] (PRIiLEAST16): Likewise.
34621         [C99-based-standards] (PRIoLEAST16): Likewise.
34622         [C99-based-standards] (PRIuLEAST16): Likewise.
34623         [C99-based-standards] (PRIxLEAST16): Likewise.
34624         [C99-based-standards] (PRIXLEAST16): Likewise.
34625         [C99-based-standards] (SCNdLEAST16): Likewise.
34626         [C99-based-standards] (SCNiLEAST16): Likewise.
34627         [C99-based-standards] (SCNoLEAST16): Likewise.
34628         [C99-based-standards] (SCNuLEAST16): Likewise.
34629         [C99-based-standards] (SCNxLEAST16): Likewise.
34630         [C99-based-standards] (PRIdFAST16): Likewise.
34631         [C99-based-standards] (PRIiFAST16): Likewise.
34632         [C99-based-standards] (PRIoFAST16): Likewise.
34633         [C99-based-standards] (PRIuFAST16): Likewise.
34634         [C99-based-standards] (PRIxFAST16): Likewise.
34635         [C99-based-standards] (PRIXFAST16): Likewise.
34636         [C99-based-standards] (SCNdFAST16): Likewise.
34637         [C99-based-standards] (SCNiFAST16): Likewise.
34638         [C99-based-standards] (SCNoFAST16): Likewise.
34639         [C99-based-standards] (SCNuFAST16): Likewise.
34640         [C99-based-standards] (SCNxFAST16): Likewise.
34641         [C99-based-standards] (PRId32): Likewise.
34642         [C99-based-standards] (PRIi32): Likewise.
34643         [C99-based-standards] (PRIo32): Likewise.
34644         [C99-based-standards] (PRIu32): Likewise.
34645         [C99-based-standards] (PRIx32): Likewise.
34646         [C99-based-standards] (PRIX32): Likewise.
34647         [C99-based-standards] (SCNd32): Likewise.
34648         [C99-based-standards] (SCNi32): Likewise.
34649         [C99-based-standards] (SCNo32): Likewise.
34650         [C99-based-standards] (SCNu32): Likewise.
34651         [C99-based-standards] (SCNx32): Likewise.
34652         [C99-based-standards] (PRIdLEAST32): Likewise.
34653         [C99-based-standards] (PRIiLEAST32): Likewise.
34654         [C99-based-standards] (PRIoLEAST32): Likewise.
34655         [C99-based-standards] (PRIuLEAST32): Likewise.
34656         [C99-based-standards] (PRIxLEAST32): Likewise.
34657         [C99-based-standards] (PRIXLEAST32): Likewise.
34658         [C99-based-standards] (SCNdLEAST32): Likewise.
34659         [C99-based-standards] (SCNiLEAST32): Likewise.
34660         [C99-based-standards] (SCNoLEAST32): Likewise.
34661         [C99-based-standards] (SCNuLEAST32): Likewise.
34662         [C99-based-standards] (SCNxLEAST32): Likewise.
34663         [C99-based-standards] (PRIdFAST32): Likewise.
34664         [C99-based-standards] (PRIiFAST32): Likewise.
34665         [C99-based-standards] (PRIoFAST32): Likewise.
34666         [C99-based-standards] (PRIuFAST32): Likewise.
34667         [C99-based-standards] (PRIxFAST32): Likewise.
34668         [C99-based-standards] (PRIXFAST32): Likewise.
34669         [C99-based-standards] (SCNdFAST32): Likewise.
34670         [C99-based-standards] (SCNiFAST32): Likewise.
34671         [C99-based-standards] (SCNoFAST32): Likewise.
34672         [C99-based-standards] (SCNuFAST32): Likewise.
34673         [C99-based-standards] (SCNxFAST32): Likewise.
34674         [C99-based-standards] (PRId64): Likewise.
34675         [C99-based-standards] (PRIi64): Likewise.
34676         [C99-based-standards] (PRIo64): Likewise.
34677         [C99-based-standards] (PRIu64): Likewise.
34678         [C99-based-standards] (PRIx64): Likewise.
34679         [C99-based-standards] (PRIX64): Likewise.
34680         [C99-based-standards] (SCNd64): Likewise.
34681         [C99-based-standards] (SCNi64): Likewise.
34682         [C99-based-standards] (SCNo64): Likewise.
34683         [C99-based-standards] (SCNu64): Likewise.
34684         [C99-based-standards] (SCNx64): Likewise.
34685         [C99-based-standards] (PRIdLEAST64): Likewise.
34686         [C99-based-standards] (PRIiLEAST64): Likewise.
34687         [C99-based-standards] (PRIoLEAST64): Likewise.
34688         [C99-based-standards] (PRIuLEAST64): Likewise.
34689         [C99-based-standards] (PRIxLEAST64): Likewise.
34690         [C99-based-standards] (PRIXLEAST64): Likewise.
34691         [C99-based-standards] (SCNdLEAST64): Likewise.
34692         [C99-based-standards] (SCNiLEAST64): Likewise.
34693         [C99-based-standards] (SCNoLEAST64): Likewise.
34694         [C99-based-standards] (SCNuLEAST64): Likewise.
34695         [C99-based-standards] (SCNxLEAST64): Likewise.
34696         [C99-based-standards] (PRIdFAST64): Likewise.
34697         [C99-based-standards] (PRIiFAST64): Likewise.
34698         [C99-based-standards] (PRIoFAST64): Likewise.
34699         [C99-based-standards] (PRIuFAST64): Likewise.
34700         [C99-based-standards] (PRIxFAST64): Likewise.
34701         [C99-based-standards] (PRIXFAST64): Likewise.
34702         [C99-based-standards] (SCNdFAST64): Likewise.
34703         [C99-based-standards] (SCNiFAST64): Likewise.
34704         [C99-based-standards] (SCNoFAST64): Likewise.
34705         [C99-based-standards] (SCNuFAST64): Likewise.
34706         [C99-based-standards] (SCNxFAST64): Likewise.
34707         [C99-based-standards] (PRIdMAX): Likewise.
34708         [C99-based-standards] (PRIiMAX): Likewise.
34709         [C99-based-standards] (PRIoMAX): Likewise.
34710         [C99-based-standards] (PRIuMAX): Likewise.
34711         [C99-based-standards] (PRIxMAX): Likewise.
34712         [C99-based-standards] (PRIXMAX): Likewise.
34713         [C99-based-standards] (SCNdMAX): Likewise.
34714         [C99-based-standards] (SCNiMAX): Likewise.
34715         [C99-based-standards] (SCNoMAX): Likewise.
34716         [C99-based-standards] (SCNuMAX): Likewise.
34717         [C99-based-standards] (SCNxMAX): Likewise.
34718         [C99-based-standards] (PRIdPTR): Likewise.
34719         [C99-based-standards] (PRIiPTR): Likewise.
34720         [C99-based-standards] (PRIoPTR): Likewise.
34721         [C99-based-standards] (PRIuPTR): Likewise.
34722         [C99-based-standards] (PRIxPTR): Likewise.
34723         [C99-based-standards] (PRIXPTR): Likewise.
34724         [C99-based-standards] (SCNdPTR): Likewise.
34725         [C99-based-standards] (SCNiPTR): Likewise.
34726         [C99-based-standards] (SCNoPTR): Likewise.
34727         [C99-based-standards] (SCNuPTR): Likewise.
34728         [C99-based-standards] (SCNxPTR): Likewise.
34729         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34730         allow.
34731         * conform/data/stdint.h-data: Update comments to clarify
34732         requirements.
34733         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34734         type.
34735         [C99-based standards] (INT8_MAX): Likewise.
34736         [C99-based standards] (INT16_MIN): Likewise.
34737         [C99-based standards] (INT16_MAX): Likewise.
34738         [C99-based standards] (INT32_MIN): Likewise.
34739         [C99-based standards] (INT32_MAX): Likewise.
34740         [C99-based standards] (INT64_MIN): Likewise.
34741         [C99-based standards] (INT64_MAX): Likewise.
34742         [C99-based standards] (UINT8_MAX): Likewise.
34743         [C99-based standards] (UINT16_MAX): Likewise.
34744         [C99-based standards] (UINT32_MAX): Likewise.
34745         [C99-based standards] (UINT64_MAX): Likewise.
34746         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34747         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34748         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34749         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34750         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34751         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34752         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34753         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34754         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34755         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34756         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34757         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34758         [C99-based standards] (INT_FAST8_MIN): Likewise.
34759         [C99-based standards] (INT_FAST8_MAX): Likewise.
34760         [C99-based standards] (INT_FAST16_MIN): Likewise.
34761         [C99-based standards] (INT_FAST16_MAX): Likewise.
34762         [C99-based standards] (INT_FAST32_MIN): Likewise.
34763         [C99-based standards] (INT_FAST32_MAX): Likewise.
34764         [C99-based standards] (INT_FAST64_MIN): Likewise.
34765         [C99-based standards] (INT_FAST64_MAX): Likewise.
34766         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34767         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34768         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34769         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34770         [C99-based standards] (INTPTR_MIN): Likewise.
34771         [C99-based standards] (INTPTR_MAX): Likewise.
34772         [C99-based standards] (UINTPTR_MAX): Likewise.
34773         [C99-based standards] (INTMAX_MIN): Likewise.
34774         [C99-based standards] (INTMAX_MAX): Likewise.
34775         [C99-based standards] (UINTMAX_MAX): Likewise.
34776         [C99-based standards] (PTRDIFF_MIN): Likewise.
34777         [C99-based standards] (PTRDIFF_MAX): Likewise.
34778         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34779         [C99-based standards] (SIZE_MAX): Likewise.
34780         [C99-based standards] (WCHAR_MAX): Likewise.
34781         [C99-based standards] (WINT_MAX): Likewise.
34782         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34783         constraint on value.
34784         [C99-based standards] (WCHAR_MIN): Likewise.
34785         [C99-based standards] (WINT_MIN): Likewise.
34786         [C99-based standards] (*_t): Allow.
34787         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34788         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34789         Include math.h-data and complex.h-data.  Remove all expectations
34790         of math.h and complex.h contents.
34791         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34792         at end of line.
34793         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34794         (struct tm): Expect tag.
34795         [C99-based-standards] (wcstof): Expect function.
34796         [C99-based-standards] (wcstold): Likewise.
34797         [C99-based-standards] (wcstoll): Likewise.
34798         [C99-based-standards] (wcstoull): Likewise.
34799         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34800         macro-int-constant.  Specify type.
34801         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34802         constraint on value.
34803         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34804         Specify type.
34805         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34806         Specify value.
34807         [ISO C standards]: Do not allow headers.
34808         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34809         wcs[abcdefghijklmnopqrstuvwxyz]*.
34810         [ISO C standards] (*_t): Do not allow.
34811         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34812         Expect function.
34813         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34814         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34815         Specify type.
34816         [ISO C standards]: Do not allow headers.
34817         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34818         is[abcdefghijklmnopqrstuvwxyz]*.
34819         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34820         to[abcdefghijklmnopqrstuvwxyz]*.
34821         [ISO C standards] (*_t): Do not allow.
34822         * conform/data/stdalign.h-data: New file.
34823         * conform/data/stdbool.h-data: Likewise.
34824         * conform/data/stdnoreturn.h-data: Likewise.
34826 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34828         [BZ #14815]
34829         * manual/filesys.texi (Directory Entries): Typo fix.
34830         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34832 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34834         * elf/elf.h (EM_AARCH64): New macro.
34835         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34836         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34837         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34838         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34839         (R_AARCH64_TLSDESC): Likewise.
34840         (NT_ARM_TLS): Likewise.
34841         (NT_ARM_HW_BREAK): Likewise.
34842         (NT_ARM_HW_WATCH): Likewise.
34844 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34846         [BZ #14811]
34847         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34848         (__ieee754_powl): Saturate nonzero exponents with absolute value
34849         below 0x1p-79 to +/- 0x1p-79.
34850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34851         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34852         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34853         nonzero exponents with absolute value below 0x1p-32 to +/-
34854         0x1p-32.
34855         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34856         (__ieee754_powl): Saturate nonzero exponents with absolute value
34857         below 0x1p-79 to +/- 0x1p-79.
34858         * math/libm-test.inc (pow_test): Add more tests.
34860 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34862         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34863         _dl_s390_cap_flags with kernel. Increase string length.
34864         (_dl_s390_platforms): Add z196 and zEC12.
34866 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34868         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34869         Change XOPEN21K to XOPEN2K.
34871 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34873         * string/memmove.c: Use memcpy when possible.
34875 2012-11-06  Andreas Jaeger  <aj@suse.de>
34877         * po/eo.po: Update from translation team.
34879 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34881         [BZ #14793]
34882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34883         exponent and small x and y exponents, scale x or y up.  Increase
34884         by 2 the exponent used in scaling up.
34885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34887         * math/libm-test.inc (fma_test): Add more tests.
34888         (fma_test_towardzero): Likewise.
34889         (fma_test_downward): Likewise.
34890         (fma_test_upward): Likewise.
34892 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34894         [BZ #14805]
34895         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34896         fenv_t *.
34898         [BZ #14801]
34899         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34900         namespace for names of struct fields.
34901         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34902         fenv_t fields.
34903         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34904         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34906 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34908         [BZ #3665]
34909         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34911 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34913         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34914         PTR_DEMANGLE.
34916         [BZ #5246]
34917         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34918         PTR_DEMANGLE.
34920 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34922         [BZ #14797]
34923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34924         definitely overflow as x * y not x * y + z.
34925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34926         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34927         * math/libm-test.inc (fma_test): Add more tests.
34928         (fma_test_towardzero): Likewise.
34929         (fma_test_downward): Likewise.
34930         (fma_test_upward): Likewise.
34932 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34934         [BZ #157]
34936         * include/stub-tag.h: Remove file.
34937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34938         '#include' of it.
34939         * manual/maint.texi (Porting): Don't reference it.
34940         * Makerules ($(objpfx)stubs): Likewise.
34941         * dirent/closedir.c: Don't include <stub-tag.h>.
34942         * dirent/dirfd.c: Likewise.
34943         * dirent/fdopendir.c: Likewise.
34944         * dirent/getdents.c: Likewise.
34945         * dirent/getdents64.c: Likewise.
34946         * dirent/opendir.c: Likewise.
34947         * dirent/readdir.c: Likewise.
34948         * dirent/readdir64.c: Likewise.
34949         * dirent/readdir64_r.c: Likewise.
34950         * dirent/readdir_r.c: Likewise.
34951         * dirent/rewinddir.c: Likewise.
34952         * dirent/seekdir.c: Likewise.
34953         * dirent/telldir.c: Likewise.
34954         * gmon/profil.c: Likewise.
34955         * grp/setgroups.c: Likewise.
34956         * inet/if_index.c: Likewise.
34957         * io/access.c: Likewise.
34958         * io/chdir.c: Likewise.
34959         * io/chmod.c: Likewise.
34960         * io/chown.c: Likewise.
34961         * io/close.c: Likewise.
34962         * io/dup.c: Likewise.
34963         * io/dup2.c: Likewise.
34964         * io/dup3.c: Likewise.
34965         * io/euidaccess.c: Likewise.
34966         * io/faccessat.c: Likewise.
34967         * io/fchdir.c: Likewise.
34968         * io/fchmod.c: Likewise.
34969         * io/fchmodat.c: Likewise.
34970         * io/fchown.c: Likewise.
34971         * io/fchownat.c: Likewise.
34972         * io/fcntl.c: Likewise.
34973         * io/flock.c: Likewise.
34974         * io/fstatfs.c: Likewise.
34975         * io/fstatfs64.c: Likewise.
34976         * io/fstatvfs.c: Likewise.
34977         * io/fstatvfs64.c: Likewise.
34978         * io/futimens.c: Likewise.
34979         * io/fxstat.c: Likewise.
34980         * io/fxstat64.c: Likewise.
34981         * io/fxstatat.c: Likewise.
34982         * io/fxstatat64.c: Likewise.
34983         * io/getcwd.c: Likewise.
34984         * io/isatty.c: Likewise.
34985         * io/lchmod.c: Likewise.
34986         * io/lchown.c: Likewise.
34987         * io/link.c: Likewise.
34988         * io/linkat.c: Likewise.
34989         * io/lseek.c: Likewise.
34990         * io/lseek64.c: Likewise.
34991         * io/lxstat64.c: Likewise.
34992         * io/mkdir.c: Likewise.
34993         * io/mkdirat.c: Likewise.
34994         * io/mkfifo.c: Likewise.
34995         * io/mkfifoat.c: Likewise.
34996         * io/open.c: Likewise.
34997         * io/open64.c: Likewise.
34998         * io/openat.c: Likewise.
34999         * io/openat64.c: Likewise.
35000         * io/pipe.c: Likewise.
35001         * io/pipe2.c: Likewise.
35002         * io/poll.c: Likewise.
35003         * io/posix_fadvise.c: Likewise.
35004         * io/posix_fadvise64.c: Likewise.
35005         * io/posix_fallocate.c: Likewise.
35006         * io/posix_fallocate64.c: Likewise.
35007         * io/read.c: Likewise.
35008         * io/readlink.c: Likewise.
35009         * io/readlinkat.c: Likewise.
35010         * io/rmdir.c: Likewise.
35011         * io/sendfile.c: Likewise.
35012         * io/sendfile64.c: Likewise.
35013         * io/statfs.c: Likewise.
35014         * io/statfs64.c: Likewise.
35015         * io/statvfs.c: Likewise.
35016         * io/statvfs64.c: Likewise.
35017         * io/symlink.c: Likewise.
35018         * io/symlinkat.c: Likewise.
35019         * io/ttyname.c: Likewise.
35020         * io/ttyname_r.c: Likewise.
35021         * io/umask.c: Likewise.
35022         * io/unlink.c: Likewise.
35023         * io/unlinkat.c: Likewise.
35024         * io/utime.c: Likewise.
35025         * io/utimensat.c: Likewise.
35026         * io/write.c: Likewise.
35027         * io/xmknod.c: Likewise.
35028         * io/xmknodat.c: Likewise.
35029         * io/xstat.c: Likewise.
35030         * io/xstat64.c: Likewise.
35031         * login/getpt.c: Likewise.
35032         * login/grantpt.c: Likewise.
35033         * login/unlockpt.c: Likewise.
35034         * math/e_acoshl.c: Likewise.
35035         * math/e_acosl.c: Likewise.
35036         * math/e_asinl.c: Likewise.
35037         * math/e_atan2l.c: Likewise.
35038         * math/e_atanhl.c: Likewise.
35039         * math/e_coshl.c: Likewise.
35040         * math/e_expl.c: Likewise.
35041         * math/e_fmodl.c: Likewise.
35042         * math/e_gammal_r.c: Likewise.
35043         * math/e_hypotl.c: Likewise.
35044         * math/e_j0l.c: Likewise.
35045         * math/e_j1l.c: Likewise.
35046         * math/e_jnl.c: Likewise.
35047         * math/e_lgammal_r.c: Likewise.
35048         * math/e_log10l.c: Likewise.
35049         * math/e_log2l.c: Likewise.
35050         * math/e_logl.c: Likewise.
35051         * math/e_powl.c: Likewise.
35052         * math/e_rem_pio2l.c: Likewise.
35053         * math/e_sinhl.c: Likewise.
35054         * math/e_sqrtl.c: Likewise.
35055         * math/fclrexcpt.c: Likewise.
35056         * math/fedisblxcpt.c: Likewise.
35057         * math/feenablxcpt.c: Likewise.
35058         * math/fegetenv.c: Likewise.
35059         * math/fegetexcept.c: Likewise.
35060         * math/fegetround.c: Likewise.
35061         * math/feholdexcpt.c: Likewise.
35062         * math/fesetenv.c: Likewise.
35063         * math/fesetround.c: Likewise.
35064         * math/feupdateenv.c: Likewise.
35065         * math/fgetexcptflg.c: Likewise.
35066         * math/fraiseexcpt.c: Likewise.
35067         * math/fsetexcptflg.c: Likewise.
35068         * math/ftestexcept.c: Likewise.
35069         * math/k_cosl.c: Likewise.
35070         * math/k_rem_pio2l.c: Likewise.
35071         * math/k_sinl.c: Likewise.
35072         * math/k_tanl.c: Likewise.
35073         * math/s_asinhl.c: Likewise.
35074         * math/s_atanl.c: Likewise.
35075         * math/s_cbrtl.c: Likewise.
35076         * math/s_erfl.c: Likewise.
35077         * math/s_expm1l.c: Likewise.
35078         * math/s_log1pl.c: Likewise.
35079         * math/s_tanhl.c: Likewise.
35080         * misc/acct.c: Likewise.
35081         * misc/brk.c: Likewise.
35082         * misc/chflags.c: Likewise.
35083         * misc/chroot.c: Likewise.
35084         * misc/fchflags.c: Likewise.
35085         * misc/fgetxattr.c: Likewise.
35086         * misc/flistxattr.c: Likewise.
35087         * misc/fremovexattr.c: Likewise.
35088         * misc/fsetxattr.c: Likewise.
35089         * misc/fsync.c: Likewise.
35090         * misc/ftruncate.c: Likewise.
35091         * misc/futimes.c: Likewise.
35092         * misc/futimesat.c: Likewise.
35093         * misc/getdomain.c: Likewise.
35094         * misc/getdtsz.c: Likewise.
35095         * misc/gethostid.c: Likewise.
35096         * misc/gethostname.c: Likewise.
35097         * misc/getloadavg.c: Likewise.
35098         * misc/getpagesize.c: Likewise.
35099         * misc/getsysstats.c: Likewise.
35100         * misc/getxattr.c: Likewise.
35101         * misc/gtty.c: Likewise.
35102         * misc/ioctl.c: Likewise.
35103         * misc/lgetxattr.c: Likewise.
35104         * misc/listxattr.c: Likewise.
35105         * misc/llistxattr.c: Likewise.
35106         * misc/lremovexattr.c: Likewise.
35107         * misc/lsetxattr.c: Likewise.
35108         * misc/lutimes.c: Likewise.
35109         * misc/madvise.c: Likewise.
35110         * misc/mincore.c: Likewise.
35111         * misc/mlock.c: Likewise.
35112         * misc/mlockall.c: Likewise.
35113         * misc/mmap.c: Likewise.
35114         * misc/mprotect.c: Likewise.
35115         * misc/msync.c: Likewise.
35116         * misc/munlock.c: Likewise.
35117         * misc/munlockall.c: Likewise.
35118         * misc/munmap.c: Likewise.
35119         * misc/preadv.c: Likewise.
35120         * misc/preadv64.c: Likewise.
35121         * misc/ptrace.c: Likewise.
35122         * misc/pwritev.c: Likewise.
35123         * misc/pwritev64.c: Likewise.
35124         * misc/readv.c: Likewise.
35125         * misc/reboot.c: Likewise.
35126         * misc/remap_file_pages.c: Likewise.
35127         * misc/removexattr.c: Likewise.
35128         * misc/revoke.c: Likewise.
35129         * misc/select.c: Likewise.
35130         * misc/setdomain.c: Likewise.
35131         * misc/setegid.c: Likewise.
35132         * misc/seteuid.c: Likewise.
35133         * misc/sethostid.c: Likewise.
35134         * misc/sethostname.c: Likewise.
35135         * misc/setregid.c: Likewise.
35136         * misc/setreuid.c: Likewise.
35137         * misc/setxattr.c: Likewise.
35138         * misc/sstk.c: Likewise.
35139         * misc/stty.c: Likewise.
35140         * misc/swapoff.c: Likewise.
35141         * misc/swapon.c: Likewise.
35142         * misc/sync.c: Likewise.
35143         * misc/syncfs.c: Likewise.
35144         * misc/syscall.c: Likewise.
35145         * misc/truncate.c: Likewise.
35146         * misc/ualarm.c: Likewise.
35147         * misc/usleep.c: Likewise.
35148         * misc/ustat.c: Likewise.
35149         * misc/utimes.c: Likewise.
35150         * misc/vhangup.c: Likewise.
35151         * misc/writev.c: Likewise.
35152         * posix/_exit.c: Likewise.
35153         * posix/alarm.c: Likewise.
35154         * posix/execve.c: Likewise.
35155         * posix/fexecve.c: Likewise.
35156         * posix/fork.c: Likewise.
35157         * posix/fpathconf.c: Likewise.
35158         * posix/getaddrinfo.c: Likewise.
35159         * posix/getegid.c: Likewise.
35160         * posix/geteuid.c: Likewise.
35161         * posix/getgid.c: Likewise.
35162         * posix/getgroups.c: Likewise.
35163         * posix/getlogin.c: Likewise.
35164         * posix/getlogin_r.c: Likewise.
35165         * posix/getpgid.c: Likewise.
35166         * posix/getpid.c: Likewise.
35167         * posix/getppid.c: Likewise.
35168         * posix/getresgid.c: Likewise.
35169         * posix/getresuid.c: Likewise.
35170         * posix/getsid.c: Likewise.
35171         * posix/getuid.c: Likewise.
35172         * posix/glob64.c: Likewise.
35173         * posix/nanosleep.c: Likewise.
35174         * posix/pathconf.c: Likewise.
35175         * posix/pause.c: Likewise.
35176         * posix/posix_madvise.c: Likewise.
35177         * posix/pread.c: Likewise.
35178         * posix/pread64.c: Likewise.
35179         * posix/pwrite.c: Likewise.
35180         * posix/pwrite64.c: Likewise.
35181         * posix/sched_getaffinity.c: Likewise.
35182         * posix/sched_getp.c: Likewise.
35183         * posix/sched_gets.c: Likewise.
35184         * posix/sched_primax.c: Likewise.
35185         * posix/sched_primin.c: Likewise.
35186         * posix/sched_rr_gi.c: Likewise.
35187         * posix/sched_setaffinity.c: Likewise.
35188         * posix/sched_setp.c: Likewise.
35189         * posix/sched_sets.c: Likewise.
35190         * posix/sched_yield.c: Likewise.
35191         * posix/setgid.c: Likewise.
35192         * posix/setlogin.c: Likewise.
35193         * posix/setpgid.c: Likewise.
35194         * posix/setresgid.c: Likewise.
35195         * posix/setresuid.c: Likewise.
35196         * posix/setsid.c: Likewise.
35197         * posix/setuid.c: Likewise.
35198         * posix/sleep.c: Likewise.
35199         * posix/spawni.c: Likewise.
35200         * posix/sysconf.c: Likewise.
35201         * posix/times.c: Likewise.
35202         * posix/wait.c: Likewise.
35203         * posix/wait3.c: Likewise.
35204         * posix/wait4.c: Likewise.
35205         * posix/waitpid.c: Likewise.
35206         * resolv/gai_sigqueue.c: Likewise.
35207         * resource/getpriority.c: Likewise.
35208         * resource/getrlimit.c: Likewise.
35209         * resource/getrusage.c: Likewise.
35210         * resource/nice.c: Likewise.
35211         * resource/setpriority.c: Likewise.
35212         * resource/setrlimit.c: Likewise.
35213         * resource/ulimit.c: Likewise.
35214         * rt/aio_cancel.c: Likewise.
35215         * rt/aio_fsync.c: Likewise.
35216         * rt/aio_read.c: Likewise.
35217         * rt/aio_sigqueue.c: Likewise.
35218         * rt/aio_suspend.c: Likewise.
35219         * rt/aio_write.c: Likewise.
35220         * rt/clock_getres.c: Likewise.
35221         * rt/clock_gettime.c: Likewise.
35222         * rt/clock_nanosleep.c: Likewise.
35223         * rt/clock_settime.c: Likewise.
35224         * rt/lio_listio.c: Likewise.
35225         * rt/mq_close.c: Likewise.
35226         * rt/mq_getattr.c: Likewise.
35227         * rt/mq_notify.c: Likewise.
35228         * rt/mq_open.c: Likewise.
35229         * rt/mq_receive.c: Likewise.
35230         * rt/mq_send.c: Likewise.
35231         * rt/mq_setattr.c: Likewise.
35232         * rt/mq_timedreceive.c: Likewise.
35233         * rt/mq_timedsend.c: Likewise.
35234         * rt/mq_unlink.c: Likewise.
35235         * rt/shm_open.c: Likewise.
35236         * rt/shm_unlink.c: Likewise.
35237         * rt/timer_create.c: Likewise.
35238         * rt/timer_delete.c: Likewise.
35239         * rt/timer_getoverr.c: Likewise.
35240         * rt/timer_gettime.c: Likewise.
35241         * rt/timer_settime.c: Likewise.
35242         * setjmp/__longjmp.c: Likewise.
35243         * setjmp/setjmp.c: Likewise.
35244         * signal/kill.c: Likewise.
35245         * signal/killpg.c: Likewise.
35246         * signal/raise.c: Likewise.
35247         * signal/sigaction.c: Likewise.
35248         * signal/sigaltstack.c: Likewise.
35249         * signal/sigblock.c: Likewise.
35250         * signal/sigignore.c: Likewise.
35251         * signal/sigintr.c: Likewise.
35252         * signal/signal.c: Likewise.
35253         * signal/sigpause.c: Likewise.
35254         * signal/sigpending.c: Likewise.
35255         * signal/sigqueue.c: Likewise.
35256         * signal/sigreturn.c: Likewise.
35257         * signal/sigset.c: Likewise.
35258         * signal/sigsetmask.c: Likewise.
35259         * signal/sigstack.c: Likewise.
35260         * signal/sigsuspend.c: Likewise.
35261         * signal/sigtimedwait.c: Likewise.
35262         * signal/sigvec.c: Likewise.
35263         * signal/sigwait.c: Likewise.
35264         * signal/sigwaitinfo.c: Likewise.
35265         * signal/sysv_signal.c: Likewise.
35266         * socket/accept.c: Likewise.
35267         * socket/accept4.c: Likewise.
35268         * socket/bind.c: Likewise.
35269         * socket/connect.c: Likewise.
35270         * socket/getpeername.c: Likewise.
35271         * socket/getsockname.c: Likewise.
35272         * socket/getsockopt.c: Likewise.
35273         * socket/isfdtype.c: Likewise.
35274         * socket/listen.c: Likewise.
35275         * socket/recv.c: Likewise.
35276         * socket/recvfrom.c: Likewise.
35277         * socket/recvmsg.c: Likewise.
35278         * socket/send.c: Likewise.
35279         * socket/sendmsg.c: Likewise.
35280         * socket/sendto.c: Likewise.
35281         * socket/setsockopt.c: Likewise.
35282         * socket/shutdown.c: Likewise.
35283         * socket/sockatmark.c: Likewise.
35284         * socket/socket.c: Likewise.
35285         * socket/socketpair.c: Likewise.
35286         * stdio-common/ctermid.c: Likewise.
35287         * stdio-common/cuserid.c: Likewise.
35288         * stdio-common/remove.c: Likewise.
35289         * stdio-common/rename.c: Likewise.
35290         * stdio-common/renameat.c: Likewise.
35291         * stdio-common/tempname.c: Likewise.
35292         * stdlib/getcontext.c: Likewise.
35293         * stdlib/makecontext.c: Likewise.
35294         * stdlib/setcontext.c: Likewise.
35295         * stdlib/swapcontext.c: Likewise.
35296         * stdlib/system.c: Likewise.
35297         * streams/fattach.c: Likewise.
35298         * streams/fdetach.c: Likewise.
35299         * streams/getmsg.c: Likewise.
35300         * streams/getpmsg.c: Likewise.
35301         * streams/putmsg.c: Likewise.
35302         * streams/putpmsg.c: Likewise.
35303         * sysdeps/unix/bsd/getpt.c: Likewise.
35304         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35305         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35306         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35308         Likewise.
35309         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35310         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35311         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35312         * sysvipc/msgctl.c: Likewise.
35313         * sysvipc/msgget.c: Likewise.
35314         * sysvipc/msgrcv.c: Likewise.
35315         * sysvipc/msgsnd.c: Likewise.
35316         * sysvipc/semctl.c: Likewise.
35317         * sysvipc/semget.c: Likewise.
35318         * sysvipc/semop.c: Likewise.
35319         * sysvipc/semtimedop.c: Likewise.
35320         * sysvipc/shmat.c: Likewise.
35321         * sysvipc/shmctl.c: Likewise.
35322         * sysvipc/shmdt.c: Likewise.
35323         * sysvipc/shmget.c: Likewise.
35324         * termios/tcdrain.c: Likewise.
35325         * termios/tcflow.c: Likewise.
35326         * termios/tcflush.c: Likewise.
35327         * termios/tcgetattr.c: Likewise.
35328         * termios/tcgetpgrp.c: Likewise.
35329         * termios/tcsendbrk.c: Likewise.
35330         * termios/tcsetattr.c: Likewise.
35331         * termios/tcsetpgrp.c: Likewise.
35332         * time/adjtime.c: Likewise.
35333         * time/clock.c: Likewise.
35334         * time/getitimer.c: Likewise.
35335         * time/gettimeofday.c: Likewise.
35336         * time/setitimer.c: Likewise.
35337         * time/settimeofday.c: Likewise.
35338         * time/stime.c: Likewise.
35339         * time/time.c: Likewise.
35341 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35343         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35344         /usr/old/bin.
35346         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35347         instead of spaces.
35348         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35350 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35352         [BZ #14796]
35353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35354         FE_TONEAREST before applying Dekker multiplication and Knuth
35355         addition.  Clear inexact exceptions and check for exact zero
35356         results afterwards.
35357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35358         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35360         * math/libm-test.inc (fma_test): Add more tests.
35361         (fma_test_towardzero): Likewise.
35362         (fma_test_downward): Likewise.
35363         (fma_test_upward): Likewise.
35364         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35365         function.
35366         (libc_fesetround): New macro.
35367         (libc_fesetroundf): Likewise.
35368         (libc_fesetroundl): Likewise.
35369         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35370         function.
35371         (libc_fesetround_387): Likewise.
35372         (libc_fesetroundf): New macro.
35373         (libc_fesetround): Likewise.
35374         (libc_fesetroundl): Likewise.
35375         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35376         function.
35377         (libc_fesetroundf): New macro.
35378         (libc_fesetround): Likewise.
35379         (libc_fesetroundl): Likewise.
35380         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35381         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35382         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35383         libm_hidden_ver.
35384         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35385         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35386         libm_hidden_def.
35387         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35388         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35389         libm_hidden_ver.
35390         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35391         libm_hidden_def.
35393         [BZ #3439]
35394         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35395         integer constant usable in #if and use that to give value to enum
35396         constant.
35397         (FE_DIVBYZERO): Likewise.
35398         (FE_UNDERFLOW): Likewise.
35399         (FE_OVERFLOW): Likewise.
35400         (FE_INVALID): Likewise.
35401         (FE_INVALID_SNAN): Likewise.
35402         (FE_INVALID_ISI): Likewise.
35403         (FE_INVALID_IDI): Likewise.
35404         (FE_INVALID_ZDZ): Likewise.
35405         (FE_INVALID_IMZ): Likewise.
35406         (FE_INVALID_COMPARE): Likewise.
35407         (FE_INVALID_SOFTWARE): Likewise.
35408         (FE_INVALID_SQRT): Likewise.
35409         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35410         (FE_TONEAREST): Likewise.
35411         (FE_TOWARDZERO): Likewise.
35412         (FE_UPWARD): Likewise.
35413         (FE_DOWNWARD): Likewise.
35414         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35415         (FE_DIVBYZERO): Likewise.
35416         (FE_OVERFLOW): Likewise.
35417         (FE_UNDERFLOW): Likewise.
35418         (FE_INEXACT): Likewise.
35419         (FE_TONEAREST): Likewise.
35420         (FE_DOWNWARD): Likewise.
35421         (FE_UPWARD): Likewise.
35422         (FE_TOWARDZERO): Likewise.
35423         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35424         (FE_UNDERFLOW): Likewise.
35425         (FE_OVERFLOW): Likewise.
35426         (FE_DIVBYZERO): Likewise.
35427         (FE_INVALID): Likewise.
35428         (FE_TONEAREST): Likewise.
35429         (FE_TOWARDZERO): Likewise.
35430         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35431         (FE_OVERFLOW): Likewise.
35432         (FE_UNDERFLOW): Likewise.
35433         (FE_DIVBYZERO): Likewise.
35434         (FE_INEXACT): Likewise.
35435         (FE_TONEAREST): Likewise.
35436         (FE_TOWARDZERO): Likewise.
35437         (FE_UPWARD): Likewise.
35438         (FE_DOWNWARD): Likewise.
35439         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35440         (FE_DIVBYZERO): Likewise.
35441         (FE_OVERFLOW): Likewise.
35442         (FE_UNDERFLOW): Likewise.
35443         (FE_INEXACT): Likewise.
35444         (FE_TONEAREST): Likewise.
35445         (FE_DOWNWARD): Likewise.
35446         (FE_UPWARD): Likewise.
35447         (FE_TOWARDZERO): Likewise.
35449 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35451         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35453 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35455         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35456         commands.  Quote $PWD.
35457         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35458         -x" by "export".
35459         (remove_newlines): Remove.
35461 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35463         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35464         * stdlib/stdlib.h (atof): Moved to ...
35465         * include/bits/stdlib-float.h: Here.  New file.
35466         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35467         * stdlib/bits/stdlib-float.h: New file.
35468         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35469         -mno-sse -mno-mmx.
35470         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35471         <xmmintrin.h>.
35473 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35475         * conform/conformtest.pl (@headers): Add fenv.h.
35476         * conform/data/fenv.h-data: New file.
35477         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35478         include of <math/fenv.h>.
35480         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35481         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35482         && !UNIX98].  Enables tests for XOPEN2K8.
35483         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35484         POSIX2008]: Likewise.
35486         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35487         (struct rusage): Do not expect type or its members.
35489         [BZ #3439]
35490         * math/math.h (FP_NAN): Define macro to integer constant usable in
35491         #if and use that to give value to enum constant.
35492         (FP_INFINITE): Likewise.
35493         (FP_ZERO): Likewise.
35494         (FP_SUBNORMAL): Likewise.
35495         (FP_NORMAL): Likewise.
35497 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35499         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35500         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35501         arguments.
35503 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35505         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35506         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35507         autoconf-time if not.
35508         * configure.in: Remove AC_PREREQ.
35510 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35512         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35513         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35514         of the internal implementation.
35516 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35518         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35519         except include of <misc/sys/syslog.h>.
35521 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35524         function returns with a NULL context exit with zero.
35526 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35528         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35530 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35532         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35533         (run_program_cmd): This.
35534         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35535         (tst_langinfo): New variable.  Use it.
35537 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35539         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35540         floating point opcodes.
35542 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35544         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35545         variable.
35547         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35549         * sysdeps/mach/hurd/powerpc: Remove directory.
35550         * sysdeps/mach/powerpc: Likewise.
35552 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35554         * scripts/check-local-headers.sh: Ignore c++ headers.
35556 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35558         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35559         __libc_cleanup_region_start argument.
35561 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35563         [BZ #14784]
35564         [BZ #14785]
35565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35566         x * y using scaling, not as x * y + z.
35567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35569         * math/libm-test.inc (fma_test): Add more tests.
35570         (fma_test_towardzero): Likewise.
35571         (fma_test_downward): Likewise.
35572         (fma_test_upward): Likewise.
35574 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35576         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35578 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35580         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35581         New variable.
35583 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35585         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35587 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35590         Fix sort order.
35591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35592         Likewise.
35594 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35597         Fix the order of the list for glibc 2.17.
35598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35599         Likewise.
35601 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35605 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35607         [BZ #14610]
35608         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35609         for low part of x being zero before using __atanl (y).
35610         * math/libm-test.inc (atan2_test): Add another test.
35612         * manual/install.texi (Configuring and compiling): Document
35613         general use of test-wrapper and test-wrapper-env.
35614         * INSTALL: Regenerated.
35616         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35617         (__fma): Do not extract and scale down low bits on after-rounding
35618         systems when result rounded to normal precision would have normal
35619         exponent.
35620         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35621         (__fmal): Do not extract and scale down low bits on after-rounding
35622         systems when result rounded to normal precision would have normal
35623         exponent.
35624         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35625         (__fmal): Do not extract and scale down low bits on after-rounding
35626         systems when result rounded to normal precision would have normal
35627         exponent.
35628         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35629         macro.
35630         (fma_test): Add more tests.
35631         (fma_test_towardzero): Likewise.
35632         (fma_test_downward): Likewise.
35633         (fma_test_upward): Likewise.
35635 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35637         * sysdeps/i386/tininess.h: Renamed to ...
35638         * sysdeps/x86/tininess.h: This.
35639         * sysdeps/x86_64/tininess.h: Removed.
35641 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35643         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35644         input.  Use $(build-program-cmd).
35645         ($(objpfx)tst-array1-static.out): Likewise.
35646         ($(objpfx)tst-array2.out): Likewise.
35647         ($(objpfx)tst-array3.out): Likewise.
35648         ($(objpfx)tst-array4.out): Likewise.
35649         ($(objpfx)tst-array5.out): Likewise.
35650         ($(objpfx)tst-array5-static.out): Likewise.
35652 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35654         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35655         if defined.
35657         * nss/nsswitch.h (nss_interface_function): Provide new
35658         macro for use with NSS functions.
35659         * grp/initgroups.c: Use new macro.
35660         * nss/getXXbyYY.c: Likewise.
35661         * nss/getXXbyYY_r.c: Likewise.
35662         * nss/getXXent.c: Likewise.
35663         * nss/getXXent_r.c: Likewise.
35664         * sysdeps/posix/getaddrinfo.c: Likewise.
35666 2012-10-30  Andreas Jaeger  <aj@suse.de>
35668         * po/ru.po: Update Russion translation from translation project.
35670 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35672         [BZ #14152]
35673         [BZ #14783]
35674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35675         result and shift together with sticky bit instead of replicating
35676         round-to-nearest rounding.
35677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35679         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35680         missing underflow exceptions.
35681         (fma_test_towardzero): Add more tests.
35682         (fma_test_downward): Likewise.
35683         (fma_test_upward): Likewise.
35685         [BZ #14047]
35686         * sysdeps/generic/tininess.h: New file.
35687         * sysdeps/i386/tininess.h: Likewise.
35688         * sysdeps/sh/tininess.h: Likewise.
35689         * sysdeps/x86_64/tininess.h: Likewise.
35690         * stdlib/tst-strtod-underflow.c: Likewise.
35691         * stdlib/tst-tininess.c: Likewise.
35692         * stdlib/strtod_l.c: Include <tininess.h>.
35693         (round_and_return): Do not set errno for exact underflow cases.
35694         Force an underflow exception when setting errno for underflow.
35695         Determine underflow based on rounding to normal precision if
35696         TININESS_AFTER_ROUNDING.
35697         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35698         ERANGE for exact underflow cases.
35699         * stdlib/Makefile (tests): Add tst-tininess and
35700         tst-strtod-underflow.
35701         ($(objpfx)tst-tininess): Use $(link-libm).
35702         ($(objpfx)tst-strtod-underflow): Likewise.
35704 2012-10-30  Andreas Jaeger  <aj@suse.de>
35706         [BZ#14767]
35707         * elf/Makefile (tests): Remove conditional for have-initfini-array
35708         since this is now always required and the variable does not exist
35709         anymore.
35710         (tests-static): Likewise.
35711         (modules-names): Likewise.
35713         * po/eo.po: Add Esperanto translation from translation project.
35715         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35716         merged with constructor/destructor.
35717         (init_array): Likewise.
35718         * elf/tst-array2dep.c (fini_array): Likewise.
35719         (init_array): Likewise.
35721 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35723         * manual/message.texi: Delete @cartouche tags.
35725 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35727         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35728         EOPNOTSUPP.
35729         * sysdeps/mach/hurd/fsync.c: Likewise.
35731         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35732         [_POSIX_REALTIME_SIGNALS]: Change condition to
35733         [_POSIX_REALTIME_SIGNALS > 0].
35735 2012-10-27  Andreas Jaeger  <aj@suse.de>
35737         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35738         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35740         [__WORDSIZE != 64]: Likewise.
35742 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35744         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35745         *  iconvdata/tst-tables.sh: Likewise.
35747 2012-10-25  David S. Miller  <davem@davemloft.net>
35749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35750         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35751         of strtoull.
35753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35754         ifunc-impl-list.c
35755         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35756         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35757         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35758         file.
35760 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35762         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35763         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35764         __getdirentries.
35766 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35767             Jim Blandy  <jimb@codesourcery.com>
35769         * scripts/cross-test-ssh.sh: New file.
35770         * manual/install.texi (Configuring and compiling): Document use of
35771         cross-test-ssh.sh.
35772         * INSTALL: Regenerated.
35774 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35776         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35777         EOPNOTSUPP.
35779 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35781         * Makeconfig (run-program-prefix): Fix comment.
35783 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35784             Jim Blandy  <jimb@codesourcery.com>
35786         * Makeconfig (test-wrapper): New variable,
35787         (test-wrapper-env): Likewise.
35788         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35789         (run-built-tests): Define to yes.
35790         (run-program-prefix): Use $(test-wrapper).
35791         (built-program-cmd): Likewise.
35792         * Rules (make-test-out): Use $(test-wrapper-env) and
35793         $(host-built-program-cmd).
35794         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35795         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35796         tst-pathopt.sh.
35797         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35798         $(test-wrapper-env) to tst-rtld-load-self.sh.
35799         ($(objpfx)order2.out): Use $(test-wrapper).
35800         ($(objpfx)tst-initorder.out): Likewise.
35801         ($(objpfx)tst-initorder2.out): Likewise.
35802         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35803         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35804         (test_wrapper_env): New variable.  Use it to run ld.so.
35805         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35806         Use it to run ld.so.
35807         (test_wrapper_env): Likewise.
35808         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35809         $(test-wrapper) to run-iconv-test.sh.
35810         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35811         (ICONV): Use $test_wrapper.
35812         * posix/Makefile ($(objpfx)globtest.out): Pass
35813         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35814         globtest.sh, not $(run-program-prefix).
35815         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35816         (test_wrapper): Likewise.
35817         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35818         set together with run_via_rtld_prefix.
35819         (run_program_prefix): Define in terms of test_wrapper and
35820         run_via_rtld_prefix.
35822 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35824         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35825         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35826         Targets removed.
35828         [BZ #14743]
35829         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35830         Declare __clock_getres, __clock_gettime, __clock_settime,
35831         __clock_nanosleep, and __clock_getcpuclockid.
35832         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35833         Remove librt_hidden_def (clock_gettime).
35834         * sysdeps/unix/clock_gettime.c: Likewise.
35835         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35836         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35837         * rt/clock_getres.c: Define __clock_getres as an alias.
35838         * sysdeps/posix/clock_getres.c: Likewise.
35839         * rt/clock_settime.c: Define __clock_settime as an alias.
35840         * sysdeps/unix/clock_settime.c: Likewise.
35841         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35842         * sysdeps/unix/clock_nanosleep.c: Likewise.
35843         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35844         * rt/clock-compat.c: New file.
35845         * rt/Makefile (librt-routines): Add clock-compat and move
35846         $(clock-routines) to ...
35847         (routines): ... here, new variable.
35848         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35849         Don't add get_clockfreq here.
35850         * rt/Versions (libc: GLIBC_2.17): New version set.
35851         Add clock_* symbols here.
35852         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35853         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35854         (GLIBC_2.17): Add clock_* symbols.
35855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35859         Likewise.
35860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35861         Likewise.
35862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35866         * NEWS: Mention the move.
35868         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35869         Use __open, __read, __close rather than their public counterparts.
35870         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35871         (__get_clockfreq_via_cpuinfo): Likewise.
35872         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35873         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35875         * config.h.in (HAVE_IFUNC): New #undef.
35876         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35877         was successful.
35878         * configure: Regenerated.
35880 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35882         * configure.in: Move READELF check to start of file.
35883         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35884         libc_cv_asm_gnu_indirect_function in the process.
35885         * configure: Regenerated.
35887 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35889         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35890         send the output to /dev/null.
35891         (libc_cv_cc_with_libunwind): Likewise.
35892         (libc_cv_as_noexecstack): Likewise.
35893         * configure: Regenerate.
35895 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35897         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35899         * posix/globtest.sh (TMPDIR): Do not set.
35900         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35901         (testout): Likewise.
35903 2012-10-24  Andreas Jaeger  <aj@suse.de>
35905         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35906         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35907         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35908         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35909         posix_fadvise64, posix_fallocate64.
35911         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35912         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35913         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35914         Likewise.
35915         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35916         Likewise.
35917         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35920         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35921         <bits/fcntl-linux.h>.
35922         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35925         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35926         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35927         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35928         [__WORDSIZE != 64]: Likewise.
35930 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35932         * Makeconfig (run-built-tests): New variable.
35933         * Rules [$(cross-compiling) = yes]: Change condition to
35934         [$(run-built-tests) = no].
35935         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35936         to [$(run-built-tests) = yes].
35937         * elf/Makefile [$(cross-compiling) = no]: Likewise
35938         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35939         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35940         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35941         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35942         * io/Makefile [$(cross-compiling) = no]: Likewise.
35943         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35944         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35945         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35946         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35947         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35948         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35949         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35950         * string/Makefile [$(cross-compiling) = no]: Likewise.
35952         * posix/Makefile ($(objpfx)globtest.out): Pass
35953         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35954         $(rtld-installed-name).
35955         * posix/globtest.sh (elf_objpfx): Remove variable.
35956         (rtld_installed_name): Likewise.
35957         (library_path): Likewise.
35958         (run_program_prefix): New variable.  Use for running globtest
35959         binary.
35961 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35962             Joseph Myers  <joseph@codesourcery.com>
35964         * Makeconfig (host-built-program-cmd): New variable.
35965         * elf/Makefile (tst-stackguard1-ARGS): Use
35966         $(host-built-program-cmd).
35967         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35968         (tst-spawn-ARGS): Likewise.
35969         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35971 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35972             Jim Blandy  <jimb@codesourcery.com>
35974         * Makeconfig (run-via-rtld-prefix): New variable.
35975         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35976         (built-program-cmd): Likewise.
35978 2012-10-22  Andreas Jaeger  <aj@suse.de>
35980         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35981         __O_RSYNC if it exists, otherwise to O_SYNC.
35983 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35984             Joseph Myers  <joseph@codesourcery.com>
35986         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35987         /dev/null.
35988         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35989         from /dev/null
35990         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35991         /dev/null.
35993 2012-10-22  Andreas Jaeger  <aj@suse.de>
35995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35996         Define always.
35997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36000         bits/fcntl-linux.h.
36002         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36003         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36005         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36006         to __O_LARGEFILE.
36007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36008         to __O_LARGEFILE.
36010 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36011             Joseph Myers  <joseph@codesourcery.com>
36013         * config.make.in (NM): New variable.
36015 2012-10-21  Andreas Jaeger  <aj@suse.de>
36017         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36018         definitions and declarations that are provided by
36019         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36021 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36023         [BZ #14683]
36024         * elf/Makefile (tests-static): Add tst-leaks1-static.
36025         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36026         ($(objpfx)tst-leaks1-static): New rule.
36027         ($(objpfx)tst-leaks1-static-mem): Likewise.
36028         (tst-leaks1-static-ENV): New macro.
36029         * elf/dl-open.c (dl_open_worker): Check the main application
36030         only if SHARED is defined.
36031         * elf/tst-leaks1-static.c: New file.
36033 2012-10-20  Andreas Jaeger  <aj@suse.de>
36035         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36036         generic values for Linux.
36037         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36038         and declarations that are provided by <bits/fcntl-linux.h> and
36039         include <bits/fcntl-linux.h>.
36040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36043 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36045         * io/fcntl.h: Move include of <bits/types.h> to the top and
36046         include it unconditionally.
36048 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36050         * wcsmbs/Makefile (tests-ifunc): New variable.
36051         (tests): Add $(tests-ifunc).
36052         * wcsmbs/test-wcschr-ifunc.c: New file.
36053         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36054         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36055         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36056         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36057         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36059         * string/Makefile (tests-ifunc): New variable.
36060         (tests): Add $(tests-ifunc).
36061         * string/test-memccpy.c (TEST_NAME): New macro.
36062         * string/test-memchr.c (TEST_NAME): Likewise.
36063         * string/test-memcmp.c (TEST_NAME): Likewise.
36064         * string/test-memcpy.c (TEST_NAME): Likewise.
36065         * string/test-memmem.c (TEST_NAME): Likewise.
36066         * string/test-memmove.c (TEST_NAME): Likewise.
36067         * string/test-memset.c (TEST_NAME): Likewise.
36068         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36069         * string/test-stpcpy.c (TEST_NAME): Likewise.
36070         * string/test-stpncpy.c (TEST_NAME): Likewise.
36071         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36072         * string/test-strcasestr.c (TEST_NAME): Likewise.
36073         * string/test-strcat.c (TEST_NAME): Likewise.
36074         * string/test-strchr.c (TEST_NAME): Likewise.
36075         * string/test-strcmp.c(TEST_NAME): Likewise.
36076         * string/test-strcpy.c (TEST_NAME): Likewise.
36077         * string/test-strcspn.c (TEST_NAME): Likewise.
36078         * string/test-strlen.c (TEST_NAME): Likewise.
36079         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36080         * string/test-strncmp.c (TEST_NAME): Likewise.
36081         * string/test-strncpy.c (TEST_NAME): Likewise.
36082         * string/test-strnlen.c (TEST_NAME): Likewise.
36083         * string/test-strpbrk.c (TEST_NAME): Likewise.
36084         * string/test-strrchr.c (TEST_NAME): Likewise.
36085         * string/test-strspn.c (TEST_NAME): Likewise.
36086         * string/test-strstr.c (TEST_NAME): Likewise.
36087         * string/test-bcopy-ifunc.c: New file.
36088         * string/test-bzero-ifunc.c: Likewise.
36089         * string/test-memccpy-ifunc.c: Likewise.
36090         * string/test-memchr-ifunc.c: Likewise.
36091         * string/test-memcmp-ifunc.c: Likewise.
36092         * string/test-memcpy-ifunc.c: Likewise.
36093         * string/test-memmem-ifunc.c: Likewise.
36094         * string/test-memmove-ifunc.c: Likewise.
36095         * string/test-mempcpy-ifunc.c: Likewise.
36096         * string/test-memset-ifunc.c: Likewise.
36097         * string/test-rawmemchr-ifunc.c: Likewise.
36098         * string/test-stpcpy-ifunc.c: Likewise.
36099         * string/test-stpncpy-ifunc.c: Likewise.
36100         * string/test-strcasecmp-ifunc.c: Likewise.
36101         * string/test-strcasestr-ifunc.c: Likewise.
36102         * string/test-strcat-ifunc.c: Likewise.
36103         * string/test-strchr-ifunc.c: Likewise.
36104         * string/test-strchrnul-ifunc.c: Likewise.
36105         * string/test-strcmp-ifunc.c: Likewise.
36106         * string/test-strcpy-ifunc.c: Likewise.
36107         * string/test-strcspn-ifunc.c: Likewise.
36108         * string/test-strlen-ifunc.c: Likewise.
36109         * string/test-strncasecmp-ifunc.c: Likewise.
36110         * string/test-strncat-ifunc.c: Likewise.
36111         * string/test-strncmp-ifunc.c: Likewise.
36112         * string/test-strncpy-ifunc.c: Likewise.
36113         * string/test-strnlen-ifunc.c: Likewise.
36114         * string/test-strpbrk-ifunc.c: Likewise.
36115         * string/test-strrchr-ifunc.c: Likewise.
36116         * string/test-strspn-ifunc.c: Likewise.
36117         * string/test-strstr-ifunc.c: Likewise.
36119         * debug/Makefile (tests-ifunc): New variable.
36120         (tests): Add $(tests-ifunc).
36121         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36122         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36123         * debug/test-stpcpy_chk-ifunc.c: New file.
36124         * debug/test-strcpy_chk-ifunc.c: Likewise.
36126 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36128         [BZ #13601]
36129         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36130         header is not read in.
36132 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36134         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36135         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36136         directly.  Pass built executable to script as
36137         $(built-program-cmd).
36138         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36139         $testprogram without using LD_LIBRARY_PATH and $ldso.
36141         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36142         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36143         $(rtld-installed-name).
36144         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36145         (rtld_installed_name): Likewise.
36146         (library_path): Likewise.
36147         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36148         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36149         $(run-program-prefix) to tst-tables.sh.
36150         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36151         it to run tst-table-from and tst-table-to.
36152         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36153         Pass it to tst-table.sh.
36154         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36155         $(run-program-prefix) to tst-gettext.sh.
36156         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36157         tst-translit.sh.
36158         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36159         tst-gettext2.sh.
36160         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36161         to run tst-gettext.
36162         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36163         to run tst-gettext2.
36164         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36165         to run tst-translit.
36166         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36167         $(run-program-prefix) to tst-mtrace.sh.
36168         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36169         to run tst-mtrace.
36170         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36171         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36172         $(rtld-installed-name).
36173         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36174         (rtld_installed_name): Likewise.
36175         (run_program_prefix): New variable.  Use it to run wordexp-test.
36177         * Makeconfig (ARCH): Remove all definitions.
36178         (machine): Likewise.
36179         [ARCH]: Remove conditional code.
36180         [!objdir]: Give error.
36181         [!objdir] (objpfx): Remove.
36182         [!objdir] (common-objpfx): Likewise.
36183         [!objdir] (common-objdir): Likewise.
36184         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36185         AC_CONFIG_FILES call.
36186         * configure: Regenerated.
36188         [BZ #13888]
36189         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36190         or TMPDIR.
36191         (testout): Likewise.
36193         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36194         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36195         $(rtld-installed-name).
36196         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36197         (rtld_installed_name): Likwise.
36198         (runit): Remove function.
36199         (run_getconf): New variable,  Use it for running getconf binary.
36201 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36203         [BZ #14716]
36204         * string/test-memmem.c (check_result): New function.
36205         (do_one_test): Use it.
36206         (check1): New function.
36207         (test_main): Use it.
36209 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36211         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36213 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36215         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36216         (_G_LSEEK64): Likewise.
36217         (_G_MMAP64): Likewise.
36218         (_G_FSTAT64): Likewise.
36219         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36220         (_G_LSEEK64): Likewise.
36221         (_G_MMAP64): Likewise.
36222         (_G_FSTAT64): Likewise.
36223         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36224         unconditional.  Call __mmap64 directly.
36225         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36226         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36227         __lseek64 directly.
36228         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36229         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36230         __mmap64 directly.
36231         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36232         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36233         __lseek64 directly.
36234         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36235         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36236         __lseek64 directly.
36237         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36238         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36239         __lseek64 directly.
36240         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36241         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36242         __fxstat64 directly.
36243         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36244         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36245         unconditional.
36246         (freopen64) [!_G_OPEN64]: Remove conditional code.
36247         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36248         unconditional.
36249         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36250         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36251         unconditional.
36252         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36253         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36254         unconditional.
36255         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36256         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36257         unconditional.
36258         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36259         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36260         unconditional.
36261         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36262         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36263         unconditional.
36264         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36265         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36266         unconditional.
36267         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36269 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36271         [BZ #12140]
36272         * manual/memory.texi (Malloc Tunable Parameters): Add note
36273         about free list pointers overwriting some perturb bytes.
36274         Wording suggested by Roland McGrath.
36276 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36278         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36279         (lgamma_test): Likewise.
36280         (tgamma_test): Likewise.
36282 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36284         [BZ #14700]
36285         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36286         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36288 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36290         * NEWS: Mention BZ #14716.
36291         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36292         when removing AVAILABLE1_USES_J macro.
36294 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36296         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36297         (__bswap_64): __uint64_t for unsigned 64-bit int.
36299 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36301         * include/string.h (memmem): Declare libc hidden alias.
36302         * string/memmem.c (memmem): Define libc hidden alias.
36303         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36304         __read, __close instead of open, read, close.
36306 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36309         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36310         global and hidden.
36311         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36312         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36313         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36314         Likewise.
36315         (__rawmemchr_sse2): Likewise.
36316         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36317         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36318         (__strchr_sse2): Likewise.
36319         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36320         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36321         (__strcasecmp_sse2): Likewise.
36322         (__strncasecmp_sse2): Likewise.
36323         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36324         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36325         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36326         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36327         (__strrchr_sse2): Likewise.
36328         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36329         ifunc-impl-list.c.
36330         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36331         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36332         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36333         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36334         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36335         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36336         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36337         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36338         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36339         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36340         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36341         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36342         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36343         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36344         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36345         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36346         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36347         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36348         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36349         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36350         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36351         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36352         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36353         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36354         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36355         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36356         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36357         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36358         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36359         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36361         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36362         global and hidden.
36363         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36364         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36365         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36366         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36367         Likewise.
36368         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36369         Likewise.
36370         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36371         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36372         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36373         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36374         ifunc-impl-list.c.
36375         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36376         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36377         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36378         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36379         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36380         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36381         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36382         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36383         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36384         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36385         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36386         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36387         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36388         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36389         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36390         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36391         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36392         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36393         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36394         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36395         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36396         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36397         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36398         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36399         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36400         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36401         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36402         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36403         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36404         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36405         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36406         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36407         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36408         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36409         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36410         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36411         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36412         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36413         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36414         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36415         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36417         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36418         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36419         * include/ifunc-impl-list.h: New file.
36420         * misc/ifunc-impl-list.c: Likewise.
36421         * misc/Makefile (routines): Add ifunc-impl-list.
36422         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36423         * string/test-string.h: Include <ifunc-impl-list.h>.
36424         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36425         TEST_NAME]: New variables.
36426         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36427         are defined.
36428         (test_init): Call __libc_ifunc_impl_list to initialize
36429         func_list if TEST_IFUNC and TEST_NAME are defined.
36431         * string/Makefile (strop-tests): Add bcopy and bzero.
36432         * string/test-bcopy.c: New file.
36433         * string/test-bzero.c: Likewise.
36434         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36435         defined.
36436         * string/test-memset.c: Support bzero test if TEST_BZERO is
36437         defined.
36438         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36439         __libc_memmove.
36440         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36441         __libc_memset.
36442         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36443         of memset.
36445 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36447         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36448         * configure: Regenerated.
36450         * Makeconfig (+link-static-before-libc): Don't include
36451         $(link-static-libc).
36453         * libio/libio.h (_IO_pos_t): Remove.
36455 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36457         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36458         McGrath.
36460 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36462         * crypt/crypt-entry.c: Include fips-private.h.
36463         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36464         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36465         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36466         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36468 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36470         * crypt/crypt-private.h: Include stdbool.h.
36471         (_ufc_setup_salt_r): Return bool.
36472         * crypt/crypt-entry.c: Include errno.h.
36473         (__crypt_r): Return NULL with EINVAL for bad salt.
36474         * crypt/crypt_util.c (bad_for_salt): New.
36475         (_ufc_setup_salt_r): Check that salt is long enough and within
36476         the specified alphabet.
36477         * crypt/badsalttest.c: New file.
36478         * crypt/Makefile (tests): Add it.
36479         ($(objpfx)badsalttest): New.
36481 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36483         * NEWS: Add entry for BZ #14602.
36485 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36487         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36488         type-generic.
36489         * math/libm-test.inc: Update comment listing what functions and
36490         macros are tested.
36491         (isgreater_test): New function.
36492         (isgreaterequal_test): Likewise.
36493         (isless_test): Likewise.
36494         (islessequal_test): Likewise.
36495         (islessgreater_test): Likewise.
36496         (isunordered_test): Likewise.
36497         (main): Call the new functions.
36499 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36501         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36502         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36503         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36504         * sysdeps/i386/configure: Regenerated.
36505         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36506         * sysdeps/mach/configure: Regenerated.
36507         * sysdeps/mach/hurd/configure: Regenerated.
36508         * sysdeps/powerpc/configure: Regenerated.
36509         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36510         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36511         * sysdeps/s390/s390-32/configure: Regenerated.
36512         * sysdeps/s390/s390-64/configure: Regenerated.
36513         * sysdeps/sh/configure: Regenerated.
36514         * sysdeps/sparc/configure: Regenerated.
36515         * sysdeps/unix/sysv/linux/configure: Regenerated.
36516         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36517         * sysdeps/x86_64/configure: Regenerated.
36519         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36520         defined.  Don't check if MAP is NULL.
36522 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36524         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36525         (_G_stat64): Likewise.
36526         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36527         (_G_stat64): Likewise.
36528         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36529         instead of struct _G_stat64.
36530         * libio/fileops.c (mmap_remap_check): Likewise.
36531         (decide_maybe_mmap): Likewise.
36532         (_IO_new_file_seekoff): Likewise.
36533         (_IO_file_stat): Likewise.
36534         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36535         _G_off64_t.
36536         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36537         instead of struct _G_stat64.
36538         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36540 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36542         [BZ #14602]
36543         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36544         Replace with ...
36545         (CHECK_EOL): New macro.
36546         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36547         CHECK_EOL.
36548         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36549         Replace with CHECK_EOL.
36550         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36551         Replace with CHECK_EOL.
36553 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36555         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36556         type-generic.
36557         * math/libm-test.inc: Update comment listing what functions and
36558         macros are tested.
36559         (finite_test): New function.
36560         (isinf_test): Likewise.
36561         (isnan_test): Likewise.
36562         (fpclassify_test): Test subnormal input.
36563         (isfinite_test): Likewise.
36564         (isnormal_test): Likewise.
36565         (main): Call the new functions.
36567 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36569         [BZ #14660]
36570         * Makerules (%.dynsym): Force C locale when running
36571         $(OBJDUMP) --dynamic-syms.
36573 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36575         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36576         <stdint.h>.
36578 2012-10-06  David S. Miller  <davem@davemloft.net>
36580         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36581         upper 32-bits of the length value in %o2 since we use branch-on-register
36582         tests which consider the entire 64-bit register.
36584 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36586         * string/test-strstr.c (check2): Add a test for page boundary.
36588 2012-10-05  David S. Miller  <davem@davemloft.net>
36590         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36591         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36592         file.
36593         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36594         sysdep_routines.
36595         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36596         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36597         and bzero when HWCAP_SPARC_CRYPTO is present.
36599 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36601         [BZ #14602]
36602         * string/test-strstr.c (check2): New function.
36603         (test_main): Call check2.
36605         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36606         and bug-strchr1.
36607         * string/bug-strcasestr1.c (do_test): Moved to ...
36608         * string/test-strcasestr.c (check1): Here.  New function.
36609         (do_one_test): Break out result checking code into ...
36610         (check_result): This.  New function.
36611         (do_one_test): Call check_result.
36612         (test_main): Call check1.
36613         * string/bug-strchr1.c (do_test): Moved to ...
36614         * string/test-strchr.c (check1): Here.  New function.
36615         (do_one_test): Break out result checking code into ...
36616         (check_result): This.  New function.
36617         (do_one_test): Call check_result.
36618         (test_main): Call check1.
36619         * string/bug-strstr1.c (main): Moved to ...
36620         * string/test-strstr.c (check1): Here.  New function.
36621         (do_one_test): Break out result checking code into ...
36622         (check_result): This.  New function.
36623         (do_one_test): Call check_result.
36624         (test_main): Call check1.
36625         * string/bug-strcasestr1.c: Removed.
36626         * string/bug-strchr1.c: Likewise.
36627         * string/bug-strstr1.c: Likewise.
36629         * elf/Makefile (dl-routines): Add hwcaps.
36630         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36631         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36632         (_dl_important_hwcaps): Moved to ...
36633         * elf/dl-hwcaps.c: Here.  New file.
36634         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36636         [BZ #14557]
36637         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36638         if IS_IN_rtld isn't defined.
36640         * elf/dl-support.c (_dl_sysinfo_map): New.
36641         Include "get-dynamic-info.h" and "setup-vdso.h".
36642         (_dl_non_dynamic_init): Call setup_vdso.
36643         * elf/dynamic-link.h: Don't include <assert.h>.
36644         (elf_get_dynamic_info): Moved to ...
36645         * elf/get-dynamic-info.h: Here.  New file.
36646         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36647         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36648         * elf/setup-vdso.h: Here.  New file.
36649         * elf/rtld.c: Include "setup-vdso.h".
36650         (dl_main): Call setup_vdso.
36652 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36654         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36655         creal in comment listing functions tested.  List finite, isinf,
36656         isnan, isless, islessequal, isgreater, isgreaterequal,
36657         islessgreater, isunordered, lgamma_r and pow10 as functions and
36658         macros not tested.  Mention which functions not tested are aliases
36659         for other functions.  Fix typo.  Note that signs of NaNs are not
36660         tested.
36662         * scripts/config.guess: Update from config.git.
36663         * scripts/config.sub: Likewise.
36665 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36667         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36668         * misc/madvise.c (madvise): Renamed to __madvise.
36669         Make madvise a weak alias.
36670         * include/sys/mman.h: Declare __madvise.
36671         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36672         * sysdeps/unix/syscalls.list
36673         (madvise): Make __madvise the strong name, and madvise a weak alias.
36674         * sysdeps/unix/sysv/linux/syscalls.list
36675         (madvise, mmap): Remove redundant entries.
36676         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36677         * malloc/malloc.c (mtrim): Likewise.
36678         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36680 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36682         * sysdeps/mach/hurd/dl-cache.c: File removed.
36683         * config.h.in (USE_LDCONFIG): New #undef.
36684         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36685         * configure: Regenerated.
36686         * elf/Makefile (dl-routines): Add dl-cache only under
36687         [$(use-ldconfig) = yes].
36688         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36689         cache on [USE_LDCONFIG].
36690         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36691         [USE_LDCONFIG].
36692         * elf/rtld.c (dl_main): Likewise.
36694 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36696         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36697         _SC_LEVEL4_CACHE_LINESIZE.
36699 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36701         * sysdeps/unix/bsd/confstr.h: File removed.
36703 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36705         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36706         sys/sdt-config.h.
36708 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36710         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36711         Make 'mapoff' field ElfW(Off) rather than off_t.
36713 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36715         * nscd/Makefile: Remove nscd-cflags and all its users.
36716         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36717         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36719         [BZ #10631]
36720         * malloc.c (malloc_printerr): Clarify error message.
36722 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36724         [BZ #14648]
36725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36726         Set bit_FMA_Usable if FMA is supported.
36727         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36728         macro.
36729         (bit_FMA4_Usable): Updated.
36730         (index_FMA_Usable): New macro.
36731         (CPUID_FMA): Likewise
36732         (HAS_FMA): Defined with bit_FMA_Usable.
36734 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36736         * bits/types.h (__swblk_t): Type removed.
36737         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36738         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36739         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36740         (__SWBLK_T_TYPE): Likewise.
36741         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36742         (__SWBLK_T_TYPE): Likewise.
36743         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36744         (__SWBLK_T_TYPE): Likewise.
36745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36746         (__SWBLK_T_TYPE): Likewise.
36748 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36749             Honza Horak <hhorak@redhat.com>
36751         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36752         (xdr_mapname): Use YPMAXMAP as maxsize.
36753         (xdr_peername): Use YPMAXPEER as maxsize.
36754         (xdr_keydat): Use YPAXRECORD as maxsize.
36755         (xdr_valdat): Use YPMAXRECORD as maxsize.
36757 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36759         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36761         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36762         * csu/init-first.c: ... here.
36763         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36764         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36765         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36766         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36767         * sysdeps/i386/init-first.c: File removed.
36768         * sysdeps/sh/init-first.c: File removed.
36770 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36772         [BZ #14645]
36773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36774         if x * y might underflow to zero and z is zero.
36775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36777         * math/libm-test.inc (min_subnorm_value): New variable.
36778         (fma_test): Add more tests.
36779         (fma_test_towardzero): Likewise.
36780         (fma_test_downward): Likewise
36781         (fma_test_upward): Likewise.
36782         (initialize): Set min_subnorm_value.
36784 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36786         [BZ #14638]
36787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36788         0 + 0.
36789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36790         mode for addition resulting in exact zero.
36791         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36793         exact 0 + 0.
36794         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36795         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36796         * math/libm-test.inc (fma_test): Add more tests.
36797         (fma_test_towardzero): New function.
36798         (fma_test_downward): Likewise.
36799         (fma_test_upward): Likewise.
36800         (main): Call the new functions.
36802 2012-09-28  David S. Miller  <davem@davemloft.net>
36804         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36806 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36808         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36809         instead of SIGALRM.
36811         * sysdeps/gnu/_G_config.h: Moved to ...
36812         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36813         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36814         * sysdeps/generic/_G_config.h: ... here.
36816         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36818         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36820         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36821         Conditionalize target on [libnss_test1.so-version].
36823         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36825         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36826         (elfobjdir): Move out of conditionals.
36828         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36829         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36830         (__nss_lookup_function): Conditionalize label remove_from_tree on
36831         [!DO_STATIC_NSS || SHARED], matching its only use.
36833 2012-09-28  David S. Miller  <davem@davemloft.net>
36835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36836         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36837         file.
36838         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36839         sysdep_routines.
36840         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36842         when HWCAP_SPARC_CRYPTO is present.
36844 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36846         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36848 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36850         [BZ #6530]
36851         * stdio-common/vfprintf.c (process_string_arg): Revert
36852         2000-07-22 change.
36854 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36856         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36857         for testcase.
36858         * stdio-common/tst-sprintf.c: Include <locale.h>
36859         (main): Test sprintf's handling of incomplete multibyte
36860         characters.
36862 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36864         * elf/dl-runtime.c (VERSYMIDX): Removed.
36865         * elf/dl-version.c (VERSYMIDX): Likewise.
36866         * elf/do-rel.h (VERSYMIDX): Likewise.
36867         (VALIDX): Likewise.
36868         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36869         * elf/rtld.c (VALIDX): Likewise.
36870         (ADDRIDX): Likewise.
36871         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36872         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36873         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36874         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36875         (VALIDX): Likewise.
36876         (ADDRIDX): Likewise.
36878 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36880         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36882 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36884         [BZ #11438]
36885         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36886         to global scope.
36887         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36888         addresses are in the same scope as 192.0.2/24.
36889         * posix/gai.conf: Document new scope table defaults.
36891 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36893         [BZ #5298]
36894         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36895         for ftell.  Compute offsets from write pointers instead.
36896         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36898 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36900         [BZ #14543]
36901         * libio/Makefile (tests): New test case tst-fseek.
36902         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36903         combination works in wide mode.
36904         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36905         state when the external buffer state changes.
36907 2012-09-27  David S. Miller  <davem@davemloft.net>
36909         [BZ #14376]
36910         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36911         pass reloc->r_addend in as the 'high' argument to
36912         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36916 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36918         * rt/tst-aio2.c: Include <pthread.h>.
36919         * rt/tst-aio3.c: Likewise.
36921 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36923         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36925 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36927         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36928         contents on [SHARED].
36930 2012-09-26  Marek Polacek  <polacek@redhat.com>
36932         [BZ #14530]
36933         [BZ #13741]
36934         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36935         for C++ and GCC <4.3 as well as for non GCC compilers.
36937 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36941 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36943         * Makefile.in (all, install): Declare with .PHONY.
36944         Reported by Michael Hope <michael.hope@linaro.org>.
36946 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36948         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36949         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36950         system header.
36951         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36952         Likewise.
36953         (sydep_routines): Add the new and the internal functions.
36954         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36955         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36957         (GLIBC_2.17): Add the new function.
36958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36959         (GLIBC_2.17): Likewise.
36960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36961         (GLIBC_2.17): Likewise.
36962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36963         (GLIBC_2.17): Likewise.
36964         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36966 2012-09-25  Alan Modra  <amodra@gmail.com>
36968         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36969         Add release barrier before setting once_control to say
36970         initialisation is done.  Add hints on lwarx.  Use macro in
36971         place of isync.
36972         (clear_once_control): Add release barrier.
36974 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36976         [BZ #13629]
36977         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36978         specially.
36979         * math/s_clog10.c (__clog10): Likewise.
36980         * math/s_clog10f.c (__clog10f): Likewise.
36981         * math/s_clog10l.c (__clog10l): Likewise.
36982         * math/s_clogf.c (__clogf): Likewise.
36983         * math/s_clogl.c (__clogl): Likewise.
36984         * math/Makefile (libm-calls): Add x2y2m1.
36985         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36986         (__x2y2m1): Likewise.
36987         (__x2y2m1l): Likewise.
36988         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36989         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36990         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36991         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36992         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36993         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36994         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36995         * sysdeps/i386/fpu/libm-test-ulps: Update.
36996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36998         [BZ #14621]
36999         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37000         int as type of variable DEPTH.
37001         (glob): Use size_t instead of int as type of variables NEWCOUNT
37002         and OLD_PATHC.
37004 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37006         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37007         Add s_sincosf-sse2.
37008         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37009         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37010         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37011         macros for using routine as __sincosf_ia32.
37012         Use macro for function declaration and weak_alias.
37013         * sysdeps/i386/fpu/libm-test-ulps: Update.
37015         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37018         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37019         subnormal argument.
37020         * math/s_cexpf.c (__cexpf): Likewise.
37021         * math/s_csinf.c (__csinf): Likewise.
37022         * math/s_csinhf.c (__csinhf): Likewise.
37023         * math/s_ctanf.c (__ctanf): Likewise.
37024         * math/s_ctanhf.c (__ctanhf): Likewise.
37025         * math/s_ccosh.c (__ccoshf): Likewise.
37026         * math/s_cexp.c (__cexpl): Likewise.
37027         * math/s_csin.c (__csin): Likewise.
37028         * math/s_csinh.c (__csinh): Likewise.
37029         * math/s_ctan.c (__ctan): Likewise.
37030         * math/s_ctanh.c (ctanh): Likewise.
37031         * math/s_ccoshl.c (__ccoshl): Likewise.
37032         * math/s_cexpl.c (__cexpl): Likewise.
37033         * math/s_csinl.c (__csinl): Likewise.
37034         * math/s_csinhl.c (__csinhl): Likewise.
37035         * math/s_ctanl.c (__ctanl): Likewise.
37036         * math/s_ctanhl.c (__ctanhl): Likewise.
37038 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37040         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37041         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37042         (_IO_off_t): Define to __off_t, not _G_off_t.
37043         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37044         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37045         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37046         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37047         type of __dummy and __dummy2 fields.
37048         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37049         (_G_ssize_t): Likewise.
37050         (_G_off_t): Likewise.
37051         (_G_pid_t): Likewise.
37052         (_G_uid_t): Likewise.
37053         (_G_wchar_t): Likewise.
37054         (_G_wint_t): Likewise.
37055         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37056         (_G_ssize_t): Likewise.
37057         (_G_off_t): Likewise.
37058         (_G_pid_t): Likewise.
37059         (_G_uid_t): Likewise.
37060         (_G_wchar_t): Likewise.
37061         (_G_wint_t): Likewise.
37062         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37063         (_G_ssize_t): Likewise.
37064         (_G_off_t): Likewise.
37065         (_G_pid_t): Likewise.
37066         (_G_uid_t): Likewise.
37067         (_G_wchar_t): Likewise.
37068         (_G_wint_t): Likewise.
37070 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37072         * malloc/arena.c: Include malloc-sysdep.h.
37073         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37074         is sufficient to shrink the heap or an unmap is needed.
37075         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37076         new function check_may_shrink_heap.
37077         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37078         new function check_may_shrink_heap.
37080 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37082         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37083         comments.
37085 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37087         * catgets/test-gencat.sh: Add "set -e".
37088         * elf/tst-pathopt.sh: Likewise.
37089         * grp/tst_fgetgrent.sh: Likewise.
37090         * iconvdata/run-iconv-test.sh: Likewise.
37091         * intl/tst-gettext.sh: Likewise.
37092         * intl/tst-gettext2.sh: Likewise.
37093         * intl/tst-gettext4.sh: Likewise.
37094         * intl/tst-gettext6.sh: Likewise.
37095         * intl/tst-translit.sh: Likewise.
37096         * io/ftwtest-sh: Likewise.
37097         * libio/test-freopen.sh: Likewise.
37098         * malloc/tst-mtrace.sh: Likewise.
37099         * posix/globtest.sh: Likewise.
37100         * posix/tst-getconf.sh: Likewise.
37101         * posix/wordexp-tst.sh: Likewise.
37102         * stdio-common/tst-printf.sh: Likewise.
37103         * stdio-common/tst-unbputc.sh: Likewise.
37104         * stdlib/tst-fmtmsg.sh: Likewise.
37105         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37106         * catgets/Makefile: Do not specify -e option when running
37107         testsuite shell scripts.
37108         * elf/Makefile: Likewise.
37109         * grp/Makefile: Likewise.
37110         * iconvdata/Makefile: Likewise.
37111         * intl/Makefile: Likewise.
37112         * io/Makefile: Likewise.
37113         * libio/Makefile: Likewise.
37114         * malloc/Makefile: Likewise.
37115         * posix/Makefile: Likewise.
37116         * stdio-common/Makefile: Likewise.
37117         * stdlib/Makefile: Likewise.
37118         * sysdeps/x86_64/Makefile: Likewise.
37120         * io/ftwtest-sh: Add copyright header.
37121         * posix/globtest.sh: Likewise.
37122         * posix/tst-getconf.sh: Likewise.
37123         * posix/wordexp-tst.sh: Likewise.
37124         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37126 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37128         [BZ #13679]
37129         * Makeconfig (+link): Defined as $(+link-static) if
37130         $(build-shared) isn't yes.
37131         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37132         isn't yes.
37133         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37135         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37137         [BZ #14562]
37138         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37139         new chunk size with MALLOC_ALIGN_MASK.
37141 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37143         [BZ #5044]
37144         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37145         <rounding-mode.h>.
37146         (__printf_fphex): Determine rounding using get_rounding_mode and
37147         round_away.
37148         * stdio-common/tst-printf-round.c (struct hex_test): New
37149         structure.
37150         (hex_tests): New variable.
37151         (test_hex_in_one_mode): New function.
37152         (do_test): Also run tests for hex float output.
37154 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37156         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37157         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37158         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37159         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37160         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37161         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37162         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37163         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37165 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37167         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37168         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37169         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37170         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37172 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37174         [BZ #14579]
37175         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37176         mode only.
37177         * elf/tst-rtld-load-self.sh: New test.
37178         * elf/Makefile: Run it.
37180 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37182         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37183         (tst-writev-ENV): Remove.
37184         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37186 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37188         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37190 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37192         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37193         unconditional.
37194         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37195         Likewise.
37196         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37197         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37198         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37199         Likewise.
37201 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37203         [BZ #14587]
37204         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37205         * config.make.in (have-cpp-asm-debuginfo): Removed.
37206         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37207         * configure: Regenerated.
37209 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37211         [BZ #5044]
37212         * stdio-common/printf_fp.c: Include <stdbool.h> and
37213         <rounding-mode.h>.
37214         (___printf_fp): Determine rounding using get_rounding_mode and
37215         round_away.
37216         * stdio-common/tst-printf-round.c: New file.
37217         * stdio-common/Makefile (tests): Add tst-printf-round.
37218         (link-libm): New variable.
37219         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37221 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37223         [BZ #14576]
37224         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37225         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37226         Likewise.
37227         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37228         Likewise.
37230 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37232         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37233         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37234         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37235         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37237 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37239         [BZ #14518]
37240         * include/rounding-mode.h: New file.
37241         * sysdeps/generic/get-rounding-mode.h: Likewise.
37242         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37243         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37244         (MAX_VALUE): New macro.
37245         (MIN_VALUE): Likewise.
37246         (overflow_value): New function.
37247         (underflow_value): Likewise.
37248         (round_and_return): Use overflow_value and underflow_value to
37249         determine return values in overflow and underflow cases.  Use
37250         round_away to determine rounding depending on rounding mode.
37251         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37252         determine return values in overflow and underflow cases.
37253         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37254         (struct test_results): New structure.
37255         (struct test): Use struct test_results to store expected results
37256         for all rounding modes.
37257         (TEST): Include expected results for all rounding modes.
37258         (test_in_one_mode): New function.
37259         (do_test): Use test_in_one_mode to compute and check results.
37260         Check results for all rounding modes.
37261         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37262         $(link-libm).
37264 2012-12-09  Allan McRae  <allan@archlinux.org>
37266         * sysdeps/i386/fpu/libm-test-ulps: Update
37268 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37270         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37271         (_G_int32_t): Likewise.
37272         (_G_uint16_t): Likewise.
37273         (_G_uint32_t): Likewise.
37274         (_G_HAVE_BOOL): Likewise.
37275         (_G_HAVE_ATEXIT): Likewise.
37276         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37277         (_G_HAVE_IO_FILE_OPEN): Likewise.
37278         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37279         (_G_int32_t): Likewise.
37280         (_G_uint16_t): Likewise.
37281         (_G_uint32_t): Likewise.
37282         (_G_HAVE_BOOL): Likewise.
37283         (_G_HAVE_ATEXIT): Likewise.
37284         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37285         (_G_HAVE_IO_FILE_OPEN): Likewise.
37286         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37287         (_G_int32_t): Likewise.
37288         (_G_uint16_t): Likewise.
37289         (_G_uint32_t): Likewise.
37290         (_G_HAVE_BOOL): Likewise.
37291         (_G_HAVE_ATEXIT): Likewise.
37292         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37293         (_G_HAVE_IO_FILE_OPEN): Likewise.
37295 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37297         * csu/libc-tls.c: Update copyright years.
37299 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37301         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37302         [!_G_USING_THUNKS]: Remove conditional code.
37303         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37304         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37306         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37307         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37308         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37309         (_G_VTABLE_LABEL_PREFIX): Likewise.
37310         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37311         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37312         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37313         (_G_VTABLE_LABEL_PREFIX): Likewise.
37314         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37315         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37316         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37317         (_G_VTABLE_LABEL_PREFIX): Likewise.
37318         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37320 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37322         * libio/Makefile: Include ../Makeconfig before tests.
37323         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37324         only if $(build-shared) is yes.
37326         * iconv/gconv_db.c: Update copyright years.
37328 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37330         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37331         unwind info if defined PIC. Fix special cases description.
37332         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37334         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37335         DP_HI_MASK entry.
37336         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37338 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37340         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37342         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37343         is NULL.
37345         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37346         (LDLIBS-tst-chk4): This.
37347         (LDFLAGS-tst-chk5): Renamed to ...
37348         (LDLIBS-tst-chk5): This.
37349         (LDFLAGS-tst-chk6): Renamed to ...
37350         (LDLIBS-tst-chk6): This.
37351         (LDFLAGS-tst-lfschk4): Renamed to ...
37352         (LDLIBS-tst-lfschk4): This.
37353         (LDFLAGS-tst-lfschk5): Renamed to ...
37354         (LDLIBS-tst-lfschk5): This.
37355         (LDFLAGS-tst-lfschk6): Renamed to ...
37356         (LDLIBS-tst-lfschk6): This.
37358         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37359         on $(common-objpfx)soversions.mk.
37361 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37363         [BZ #10014]
37364         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37365         example host name.
37367 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37369         * malloc/arena.c (arena_get_retry): New function that gets
37370         another arena for the caller to try its request on.
37371         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37372         current arena cannot fulfill the request.
37373         (__libc_memalign): Likewise.
37374         (__libc_memalign): Likewise.
37375         (__libc_pvalloc): Likewise.
37376         (__libc_calloc): Likewise.
37378 2012-09-05  John Tobey  <john.tobey@gmail.com>
37380         [BZ #13542]
37381         * manual/arith.texi (Operations on Complex): Fix description
37382         of carg branch cut.
37384 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37386         [BZ #10014]
37387         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37388         host name.
37390         [BZ #10038]
37391         * manual/memory.texi (Memory): Make order of menu items match
37392         order of sections.
37394 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37396         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37397         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37398         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37400 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37402         * csu/libc-tls.c (static_dtv): Renamed to ...
37403         (_dl_static_dtv): This.  Make it global.
37404         (_dl_initial_dtv): Removed.
37405         (__libc_setup_tls): Updated.
37406         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37407         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37408         DL_INITIAL_DTV.
37410 2012-09-06  Petr Machata  <pmachata@redhat.com>
37412         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37413         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37414         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37415         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37417 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37419         [BZ #14545]
37420         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37421         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37422         freeing dtv[-1].
37424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37426         [BZ #14544]
37427         * Makeconfig (link-static-before-libc): Replace $(+prector)
37428         with $(+prectorT).
37429         (link-static-after-libc): Replace $(+postctor) with
37430         $(+postctorT).
37431         (link-bounded): Replace $(+prector)/$(+postctor) with
37432         $(+prectorT)/$(+postctorT).
37433         (+prectorT): New macro.
37434         (+postctorT): Likewise.
37436 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37438         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37439         (round_str): Handle values above the maximum for IBM long double
37440         as inexact.
37441         * stdlib/tst-strtod-round.c (tests): Regenerated.
37443 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37445         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37446         assembler flag.
37447         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37448         zarch_nohighgprs around the zarch optimized routines.
37449         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37450         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37451         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37452         for zarch.
37454 2012-09-05  David S. Miller  <davem@davemloft.net>
37456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37458         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37459         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37460         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37461         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37462         entries.
37464 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37466         * malloc/arena.c: Fold copyright years.
37467         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37469 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37471         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37473 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37475         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37477 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37479         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37480         change internal state upon failure.
37482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37484         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37485         * malloc/memusage.c (mmap): Likewise.
37486         (mmap64, mremap): Likewise.  Adjust name in comment.
37488 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37490         * libio/fileops.c: Fix typos in comments.
37491         * libio/oldfileops.c: Likewise.
37492         * libio/wfileops.c: Likewise.
37494 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37496         [BZ #1349]
37497         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37498         (tst-malloc-usable-ENV): Set environment for test case.
37499         * malloc/hooks.c (malloc_check_get_size): New function to get
37500         requested size.
37501         * malloc/malloc.c (musable): Use malloc_check_get_size.
37502         * malloc/tst-malloc-usable.c: New test case.
37504 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37506         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37508 2012-09-05  Allan McRae  <allan@archlinux.org>
37510         [BZ #13966]
37511         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37512         determine header location.
37513         * configure: Regenerated.
37515 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37517         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37518         float format.
37519         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37520         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37521         format.
37522         (test): Regenerate.
37524 2012-09-04  David S. Miller  <davem@davemloft.net>
37526         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37527         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37528         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37530 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37532         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37533         failures.
37535         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37537 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37539         [BZ #9914]
37540         * libio/iogetdelim.c: Include <limits.h>.
37541         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37542         + len + 1 would overflow.
37544 2012-09-03  Andreas Jaeger  <aj@suse.de>
37546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37547         * sysdeps/i386/fpu/libm-test-ulps: Update.
37549 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37551         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37552         Add s_sinf-sse2, s_conf-sse2.
37554         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37555         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37556         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37557         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37559         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37560         for using routine as __sinf_ia32.
37561         Use macro for function declaration and weak_alias.
37562         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37563         for using routine as __cosf_ia32.
37564         Use macro for function declaration and weak_alias.
37566         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37567         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37569         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37570         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37573         * math/libm-test.inc (cos_test): Add more test cases.
37574         (sin_test): Likewise.
37575         (sincos_test): Likewise.
37577 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37579         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37580         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37581         hidden.
37582         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37584 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37586         [BZ #14538]
37587         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37588         first element of the GOT.
37589         (elf_machine_load_address): Return the difference between
37590         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37592 2012-09-01  Allan McRae  <allan@archlinux.org>
37594         [BZ #13412]
37595         * configure.in (AWK): Require gawk version 3.0 or later.
37596         * configure: Regenerated.
37598 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37600         * sysdeps/unix/sysv/linux/kernel-features.h
37601         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37602         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37603         [__NR_clock_getres]: Make code unconditional.
37604         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37605         (clock_getcpuclockid): Remove code left unreachable by removal of
37606         conditionals.
37607         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37608         code unconditional.
37609         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37610         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37611         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37612         Make code unconditional.
37613         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37614         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37615         * sysdeps/unix/sysv/linux/clock_settime.c
37616         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37617         conditional code.
37618         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37619         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37621 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37623         [BZ #14476]
37624         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37625         scripts/test-installation.pl.
37627         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37628         and $ld_so_version if it is set.
37630 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         [BZ #14516]
37633         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37634         failure if reading from procfs failed.
37635         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37637 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37639         * sysdeps/unix/sysv/linux/kernel-features.h
37640         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37641         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37642         Remove conditional code.
37643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37644         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37645         Remove conditional code.
37646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37647         * sysdeps/unix/sysv/linux/i386/fxstat.c
37648         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37650         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37651         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37653         * sysdeps/unix/sysv/linux/i386/lxstat.c
37654         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37656         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37657         Remove conditional code.
37658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37659         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37660         Remove conditional code.
37661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37662         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37663         <kernel-features.h>.
37664         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37665         Remove.
37666         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37667         Remove conditional code.
37668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37669         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37670         Remove conditional.
37672 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37674         [BZ #5400]
37675         * NEWS: Add fixed bug number.
37677 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37679         [BZ #14519]
37680         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37681         underflowing exponent in case of negative sign.
37682         * stdlib/tst-strtod-round-data: Add more tests.
37683         * stdlib/tst-strtod-round.c (tests): Regenerated.
37685         [BZ #3479]
37686         * stdlib/strtod_l.c (NDIG): Remove.
37687         (HEXNDIG): Likewise.
37688         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37689         smallest representable value.
37690         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37691         lie within an exact representation of 1/2 ulp of the result.
37692         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37693         unconditionally.
37694         (TENS_P9_IDX): Define unconditionally.
37695         (TENS_P9_SIZE): Likewise.
37696         (TENS_P10_IDX): Likewise.
37697         (TENS_P10_SIZE): Likewise.
37698         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37699         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37700         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37701         entries for 10^2^13 and 10^2^14.
37702         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37703         (TENS_P13_IDX): Define.
37704         (TENS_P13_SIZE): Likewise.
37705         (TENS_P14_IDX): Likewise.
37706         (TENS_P14_SIZE): Likewise.
37707         (_fpioconst_pow10): Change array size to
37708         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37709         unconditional.
37710         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37711         1024]: Add entries for 10^2^13 and 10^2^14.
37712         [LAST_POW10 > _LAST_POW10]: Remove #error.
37713         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37714         (_fpioconst_pow10): Change array size to
37715         FPIOCONST_POW10_ARRAY_SIZE.
37716         * stdlib/gen-fpioconst.c: New file.
37717         * stdlib/gen-tst-strtod-round.c: Likewise.
37718         * stdlib/tst-strtod-round-data: Likewise.
37719         * stdlib/tst-strtod-round.c: Likewise.
37720         * stdlib/Makefile (tests): Add tst-strtod-round.
37722         [BZ #14459]
37723         * stdlib/strtod_l.c: Include <stdint.h>.
37724         (NDEBUG): Do not define.
37725         (round_and_return): Change EXPONENT parameter to type intmax_t.
37726         Rearrange calculations to avoid internal overflow possibilities.
37727         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37728         Rearrange calculations to avoid internal overflow possibilities.
37729         Assert that number fits inside MPNSIZE limbs.
37730         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37731         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37732         calculations and add assertions to avoid internal overflow
37733         possibilities.  Add casts to avoid signed/unsigned operations.
37734         * stdlib/tst-strtod-overflow.c: New file.
37735         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37737 2012-08-25  Marek Polacek  <polacek@redhat.com>
37739         * time/time.h: Fix some typos in comments.
37741 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37743         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37744         * posix/tst-rfc3484-2.c: Likewise.
37745         * posix/tst-rfc3484-3.c: Likewise.
37747 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37749         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37750         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37752 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37754         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37755         #include of fxstatat64.c.
37757 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37759         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37760         * shadow/getspent_r.c: Likewise.
37761         * shadow/getspnam.c: Likewise.
37762         * shadow/getspnam_r.c: Likewise.
37763         * gshadow/getsgent.c: Likewise.
37764         * gshadow/getsgent_r.c: Likewise.
37765         * gshadow/getsgnam.c: Likewise.
37766         * gshadow/getsgnam_r.c: Likewise.
37767         * inet/getnetbyad.c: Likewise.
37768         * inet/getnetbyad_r.c: Likewise.
37769         * inet/getnetbynm.c: Likewise.
37770         * inet/getnetbynm_r.c: Likewise.
37771         * inet/getnetent.c: Likewise.
37772         * inet/getnetent_r.c: Likewise.
37773         * inet/getproto.c: Likewise.
37774         * inet/getproto_r.c: Likewise.
37775         * inet/getprtent.c: Likewise.
37776         * inet/getprtent_r.c: Likewise.
37777         * inet/getprtname.c: Likewise.
37778         * inet/getprtname_r.c: Likewise.
37779         * inet/getrpcbyname.c: Likewise.
37780         * inet/getrpcbyname_r.c: Likewise.
37781         * inet/getrpcbynumber.c: Likewise.
37782         * inet/getrpcbynumber_r.c: Likewise.
37783         * inet/getrpcent.c: Likewise.
37784         * inet/getrpcent_r.c: Likewise.
37785         * inet/getaliasent.c: Likewise.
37786         * inet/getaliasent_r.c: Likewise.
37787         * inet/getaliasname.c: Likewise.
37788         * inet/getaliasname_r.c: Likewise.
37789         * nscd/getgrgid_r.c: Likewise.
37790         * nscd/getgrnam_r.c: Likewise.
37791         * nscd/gethstbyad_r.c: Likewise.
37792         * nscd/gethstbynm3_r.c: Likewise.
37793         * nscd/getpwnam_r.c: Likewise.
37794         * nscd/getpwuid_r.c: Likewise.
37795         * nscd/getsrvbynm_r.c: Likewise.
37796         * nscd/getsrvbypt_r.c: Likewise.
37797         * nscd/gai.c: Likewise.
37799         * configure.in (build_nscd): New substituted variable, set
37800         by --disable-build-nscd and defaults to $use_nscd.
37801         * configure: Regenerated.
37802         * config.make.in (build-nscd): New substituted variable.
37803         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37804         Change conditional to require [$(build-nscd) = yes] as well.
37805         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37807         [BZ# 13696]
37808         * configure.in (use_nscd): New substituted variable, set by
37809         --disable-nscd.  If enabled, define USE_NSCD.
37810         * configure: Regenerated.
37811         * config.h.in: Add USE_NSCD.
37812         * config.make.in (use-nscd): New substituted variable.
37813         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37814         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37815         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37816         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37817         (CFLAGS-getgrnam_r.c): Likewise.
37818         (CFLAGS-initgroups.c): Likewise.
37819         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37820         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37821         Variables removed.
37822         * inet/getnetgrent_r.c
37823         (nscd_setnetgrent): New function, broken out of ...
37824         (setnetgrent): ... here.  Call it.
37825         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37826         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37827         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37828         * nscd/Makefile (routines, aux): Move definitions after include of
37829         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37830         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37831         Conditionalize on [USE_NSCD].
37832         (is_nscd, nscd_init_cb): Likewise.
37833         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37834         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37835         * nss/nss_db/db-init.c: Likewise.
37836         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37837         [USE_NSCD].
37838         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37839         (make_request): Use it.
37840         (cache_valid_p): New function.
37841         (__check_pf): Use it.
37842         * NEWS: Add item for --disable-nscd.
37844 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37846         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37847         to support sed >= 4.2.1-20-ga9bf076.
37848         * configure: Regenerated.
37850 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37852         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37853         Conditionalize whole body on [IREL].
37855 2012-08-22  Jeff Law <law@redhat.com>
37857         [BZ #14505]
37858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37859         if the family is PF_UNSPEC.
37861 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37863         * Makerules (lib-version): Rename from V.
37864         (install-lib-nosubdir): Change V to lib-version.
37866 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37868         [BZ #14252]
37869         * powerpc32/power6/wcschr.c: New file.
37870         * powerpc32/power6/wcscpy.c: New file.
37871         * powerpc32/power6/wcsrchr.c: New file.
37872         * powerpc64/power6/wcschr.c: New file.
37873         * powerpc64/power6/wcscpy.c: New file.
37874         * powerpc64/power6/wcsrchr.c: New file.
37876 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37878         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37879         (two_way_short_needle): Use it.
37880         * string/strstr.c (AVAILABLE1_USES_J): Define.
37881         * string/strcasestr.c: Likewise.
37883         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37884         array references.
37885         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37887         [BZ #11607]
37888         * NEWS: Add an entry.
37889         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37890         define their defaults.
37891         (two_way_short_needle): Detect end-of-string on-the-fly.
37892         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37893         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37894         * string/bug-strcasestr1.c: New test.
37895         * string/Makefile: Run it.
37897 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37899         [BZ #11607]
37900         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37901         the first character.
37903 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37905         * csu/elf-init.c (__libc_csu_irel): Function removed.
37906         * csu/libc-start.c (apply_irel): New function.
37907         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37909 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37911         * sysdeps/unix/sysv/linux/kernel-features.h
37912         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37913         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37914         <kernel-features.h>.
37915         [__NR_fadvise64_64]: Make code unconditional.
37916         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37917         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37918         !__NR_fadvise64_64)]: Likewise.
37919         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37920         !__NR_fadvise64_64))]: Likewise.
37921         [__NR_fadvise64]: Make code unconditional.
37922         [!__NR_fadvise64]: Remove conditional code.
37923         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37924         <kernel-features.h>.
37925         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37926         unconditional.
37927         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37928         conditional code.
37929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37930         not include <kernel-features.h>.
37931         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37932         unconditional.
37933         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37934         conditional code.
37935         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37936         include <kernel-features.h>.
37937         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37938         unconditional.
37939         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37940         conditional code.
37942 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37944         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37945         slight instruction rearrangements per scrollpipe analysis.
37946         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37948 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37950         * manual/syslog.texi (syslog; vsyslog, closelog):
37951         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37952         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37954         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37955         DSOCAPS to match condition on defining it.
37957 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37959         * sysdeps/unix/sysv/linux/kernel-features.h
37960         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37962         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37963         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37965         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37966         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37968         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37969         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37971         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37972         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37974         * sysdeps/unix/sysv/linux/kernel-features.h
37975         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37976         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37977         unconditional.
37978         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37979         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37980         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37981         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37982         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37983         Make code unconditional.
37984         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37985         (__mmap64) [!__NR_mmap2]: Likewise.
37986         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37987         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37988         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37989         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37990         [__NR_mmap2]: Make code unconditional.
37991         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37992         (__mmap64) [!__NR_mmap2]: Likewise.
37994 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37996         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37998 2012-08-18  Andreas Jaeger  <aj@suse.de>
38000         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38002 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38004         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38005         * include/unistd.h (__have_sock_cloexec): Likewise.
38006         (__have_pipe2): Likewise.
38007         (__have_dup3): Likewise.
38009 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38011         [BZ #9685]
38012         * include/unistd.h (__have_pipe2): Change define into an extern int.
38013         (__have_dup3): Likewise.
38014         * socket/have_sock_cloexec.c: Include fcntl.h.
38015         (__have_pipe2): New variable.
38016         (__have_dup3): Likewise.
38018 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38020         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38022 2012-08-17  Marek Polacek  <polacek@redhat.com>
38024         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38025         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38027 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38029         * configure.in: Add AC_SUBST for sysheaders.
38030         * configure: Regenerated.
38031         * config.make.in (sysheaders): New substituted variable.
38033         * sysdeps/unix/mkfifo.c: Moved ...
38034         * sysdeps/posix/mkfifo.c: ... here.
38035         * sysdeps/unix/mkfifoat.c: Moved ...
38036         * sysdeps/posix/mkfifoat.c: ... here.
38038         * sysdeps/unix/utime.c: Moved ...
38039         * sysdeps/posix/utime.c: ... here.
38041         * sysdeps/unix/time.c: Moved ...
38042         * sysdeps/posix/time.c: ... here.
38043         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38044         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38046         * sysdeps/unix/nice.c: Moved ...
38047         * sysdeps/posix/nice.c: ... here.
38049         * sysdeps/unix/alarm.c: Moved ...
38050         * sysdeps/posix/alarm.c: ... here.
38052         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38054 2012-08-17  Jeff Law <law@redhat.com>
38056         * intl/Makefile (codeset_mo): New variable.
38057         ($(codeset_mo)): New target.
38058         (tst-codeset.out): Depend on that.  Remove explicit rule.
38059         (tst-gettext3.out, tst-gettext5.out): Likewise.
38060         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38061         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38062         * intl/tst-codeset.sh: Remove.
38063         * intl/tst-gettext3.sh: Likewise.
38064         * intl/tst-gettext5.sh: Likewise.
38066 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38068         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38069         * sysdeps/unix/syscalls.list: ... here.
38071         * sysdeps/posix/getaddrinfo.c
38072         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38073         (gaiconf_init, gaiconf_reload): Use them.
38074         [!_STATBUF_ST_NSEC]
38075         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38076         Define using time_t rather than struct timespec.
38078         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38079         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38080         Macros removed.
38081         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38082         [!NO_THREADS].
38083         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38084         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38085         Likewise.
38087         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38088         __libc_cleanup_push argument.
38090         * bits/param.h: New file.
38091         * misc/sys/param.h: New file.
38092         * include/sys/param.h: New file.
38093         * misc/Makefile (headers): Add bits/param.h.
38094         * sysdeps/generic/sys/param.h: File removed.
38095         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38096         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38097         * sysdeps/mach/hurd/bits/param.h: New file.
38098         * sysdeps/mach/hurd/sys/param.h: File removed.
38100         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38101         last change.
38103         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38104         [_IO_MTSAFE_IO].
38105         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38106         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38107         New macros.
38109         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38110         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38111         rather than -D_IO_MTSAFE_IO conditionally.
38112         * stdio-common/Makefile (CPPFLAGS): Likewise.
38113         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38114         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38115         Use $(libio-mtsafe).
38116         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38117         of -D_IO_MTSAFE_IO.
38118         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38119         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38120         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38121         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38122         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38123         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38124         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38125         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38126         (CFLAGS-fread_u_chk.c): Likewise.
38127         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38128         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38129         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38130         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38131         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38132         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38133         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38134         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38135         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38137         * libio/Makefile: Test [$(libc-reentrant) = yes]
38138         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38140         * Makeconfig
38141         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38142         * sysdeps/pthread/configure: File removed.
38143         * sysdeps/pthread/Makeconfig: New file.
38144         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38145         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38147 2012-08-16  Gary Benson  <gbenson@redhat.com>
38149         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38150         unmapping the first object in a namespace.
38152 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38154         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38155         (__internal_setnetgrent): ... this.  Add internal_function to
38156         definition.  Add libc_hidden_def.
38157         (setnetgrent): Update caller.
38158         (internal_endnetgrent): Renamed to ...
38159         (__internal_endnetgrent): ... this.  Add internal_function to
38160         definition.  Add libc_hidden_def.
38161         (endnetgrent): Update caller.
38162         (internal_getnetgrent_r): Renamed to ...
38163         (__internal_getnetgrent_r): ... this.  Add internal_function to
38164         definition.  Add libc_hidden_def.
38165         (__getnetgrent_r): Update caller.
38166         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38168 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38170         * stdlib/longlong.h: Update from GCC.
38172 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38174         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38175         on _QL, which is set by umul_ppmm but never used.
38176         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38177         variables, which are set by GMP macros but never used.
38178         * stdio-common/_itowa.c (_itowa): Likewise.
38179         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38180         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38182 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38184         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38185         struct La_sh_regs is not constant.
38186         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38187         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38188         and struct La_sparc64_regs are not constant.
38190 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38192         * sysdeps/unix/sysv/linux/kernel-features.h
38193         (__ASSUME_POSIX_TIMERS): Remove.
38194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38196         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38197         Make code unconditional.
38198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38199         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38200         Make code unconditional.
38201         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38202         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38203         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38204         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38205         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38206         Make code unconditional.
38207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38208         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38209         (__libc_missing_posix_timers): Remove.
38211 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38213         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38214         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38216         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38218         * elf/dl-sym.c: Include <stdlib.h>.
38220         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38221         constants, which avoids warnings in 32-bit builds.
38223         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38224         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38226         * misc/lseek.c: File moved to ...
38227         * io/lseek.c: ... here.
38229         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38231         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38232         shifting LEN more than 31 bits at once.
38234 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38236         [BZ #14195]
38237         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38238         segmentation fault for a case of two empty input strings.
38239         * string/test-strncasecmp.c (check1): Renamed to...
38240         (bz12205): ...this.
38241         (bz14195): Add new testcase for two empty input strings and N > 0.
38242         (test_main): Call new testcase, adapt for renamed function.
38244 2012-08-15  Andreas Jaeger  <aj@suse.de>
38246         [BZ #14090]
38247         * crypt/md5test2.c: New test, based on test supplied by Serge
38248         Belyshev <belyshev@depni.sinp.msu.ru>.
38249         * crypt/Makefile (xtests): Add md5test-giant..
38250         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38252 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38254         [BZ #14090]
38255         * crypt/md5.c (md5_process_block): Don't assume the buffer
38256         length is less than 2**32.
38257         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38258         length is less than 2**64.
38260 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38262         * string/str-two-way.h: Include <sys/param.h>.
38263         (MAX): Macro removed.
38265         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38266         Move #define and #undef of memmove to just before and after
38267         including <string.h>.
38269         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38270         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38271         and after including <string.h>.  Move declarations of
38272         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38273         to before #include "string/memmove.c".
38275         * include/dirent.h: Declare __getdirentries.
38277         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38278         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38280 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38282         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38283         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38284         * sysdeps/i386/configure: Regenerated.
38285         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38286         STABS_CURRENT_FILE, and STABS_FUN.
38287         (END): Remove call to STABS_FUN_END.
38288         (STABS_CURRENT_FILE1): Delete.
38289         (STABS_CURRENT_FILE): Likewise.
38290         (STABS_FUN): Likewise.
38291         (STABS_FUN_END): Likewise.
38292         (STABS_FUN2): Likewise.
38293         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38294         * sysdeps/x86_64/configure: Regenerated.
38296 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38298         * elf/dl-open.c: Include <atomic.h>.
38299         * elf/dl-lookup.c: Likewise.
38301 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38303         * sysdeps/unix/sysv/linux/kernel-features.h
38304         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38305         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38306         unconditionally.
38307         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38308         unconditionally.
38309         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38310         condition on __ASSUME_CLONE_THREAD_FLAGS.
38312 2012-08-14  Andreas Jaeger  <aj@suse.de>
38314         * sysdeps/i386/fpu/libm-test-ulps: Update.
38316 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38318         * include/atomic.h (atomic_exchange_and_add): Split into ...
38319         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38320         New atomic macros.
38322 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38326 2012-08-13  Jeff Law <law@redhat.com>
38328         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38329         null byte in the output string.
38331 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38333         * sysdeps/unix/sysv/linux/kernel-features.h
38334         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38335         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38336         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38337         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38338         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38339         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38340         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38342 2012-08-09  Jeff Law <law@redhat.com>
38344         [BZ #13939]
38345         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38346         When avoid_arena is set, don't retry in the that arena.  Pick the
38347         next one, whatever it might be.
38348         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38349         (arena_lock): Pass in new parameter to arena_get2.
38350         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38351         arena_get2.
38352         (__libc_malloc): Unify retrying after main arena failure with
38353         __libc_memalign version.
38354         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38356 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38358         [BZ #14166]
38359         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38360         to __redirect_strstr.
38361         (__strstr_sse42): Use typeof __redirect_strstr.
38362         (__strstr_ia32): Likewise.
38363         (__libc_strstr): New prototype.
38364         (strstr): Renamed to ...
38365         (__libc_strstr): This.
38366         (strstr): New strong alias of __libc_strstr.
38367         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38368         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38369         __redirect_time.
38370         Include <time.h>.
38371         (__libc_time): New prototype.
38372         (time_ifunc): Replace time with __libc_time.
38373         (time): New strong alias and hidden definition of __libc_time.
38374         (__GI_time): Remove strong alias.
38375         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38376         Include <stddef.h>.
38377         (memmove): Redefined to __redirect_memmove.
38378         (__memmove_sse2): Use typeof __redirect_memmove.
38379         (__memmove_ssse3): Likewise.
38380         (__memmove_ssse3_back): Likewise.
38381         (__libc_memmove): New prototype.
38382         (memmove): Renamed to ...
38383         (__libc_memmove): This.
38384         (memmove): New strong alias of __libc_memmove.
38386 2012-08-08  Mark Salter  <msalter@redhat.com>
38388         * elf/elf.h
38389         (R_MN10300_TLS_GD): Define.
38390         (R_MN10300_TLS_LD): Likewise.
38391         (R_MN10300_TLS_LDO): Likewise.
38392         (R_MN10300_TLS_GOTIE): Likewise.
38393         (R_MN10300_TLS_IE): Likewise.
38394         (R_MN10300_TLS_LE): Likewise.
38395         (R_MN10300_TLS_DTPMOD): Likewise.
38396         (R_MN10300_TLS_DTPOFF): Likewise.
38397         (R_MN10300_TLS_TPOFF): Likewise.
38398         (R_MN10300_SYM_DIFF): Likewise.
38399         (R_MN10300_ALIGN): Likewise.
38400         (R_MN10300_NUM): Update.
38402 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38405         Remove.
38407 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38409         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38411         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38412         sysdeps/unix -> sysdeps/posix move.
38413         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38415 2012-08-07      Allan McRae     <allan@archlinux.org>
38417         [BZ #14303]
38418         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38419         (SUNOS_CPP): Likewise.
38420         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38421         not found.
38422         (open_input): Call CPP using execvp.
38424 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38426         * sysdeps/unix/sysv/linux/kernel-features.h
38427         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38428         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38429         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38430         (__ASSUME_WAITID_SYSCALL): Likewise.
38431         * sysdeps/unix/sysv/linux/dl-execstack.c
38432         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38433         code unconditional.
38434         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38435         conditional code.
38436         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38437         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38438         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38439         code.
38440         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38441         unconditional.
38442         [__ASSUME_WAITID_SYSCALL]: Likewise.
38443         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38445 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38447         * sysdeps/unix/closedir.c: Renamed to ...
38448         * sysdeps/posix/closedir.c: ... here.
38449         * sysdeps/unix/dirfd.c: Renamed to ...
38450         * sysdeps/posix/dirfd.c: ... here.
38451         * sysdeps/unix/dirstream.h: Renamed to ...
38452         * sysdeps/posix/dirstream.h: ... here.
38453         * sysdeps/unix/fdopendir.c: Renamed to ...
38454         * sysdeps/posix/fdopendir.c: ... here.
38455         * sysdeps/unix/opendir.c: Renamed to ...
38456         * sysdeps/posix/opendir.c: ... here.
38457         * sysdeps/unix/readdir.c: Renamed to ...
38458         * sysdeps/posix/readdir.c: ... here.
38459         * sysdeps/unix/readdir_r.c: Renamed to ...
38460         * sysdeps/posix/readdir_r.c: ... here.
38461         * sysdeps/unix/rewinddir.c: Renamed to ...
38462         * sysdeps/posix/rewinddir.c: ... here.
38463         * sysdeps/unix/seekdir.c: Renamed to ...
38464         * sysdeps/posix/seekdir.c: ... here.
38465         * sysdeps/unix/telldir.c: Renamed to ...
38466         * sysdeps/posix/telldir.c: ... here.
38467         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38468         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38469         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38470         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38472         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38473         * bits/fcntl.h: ... here.
38475         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38476         not 0.
38477         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38478         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38479         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38480         (struct flock): Move l_start, l_len to the beginning.
38481         Use __pid_t for l_pid.
38482         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38483         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38484         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38485         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38486         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38487         [__USE_LARGEFILE64] (struct flock64): New type.
38488         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38490         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38491         * bits/dirent.h: ... here.
38493         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38494         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38496 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38498         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38499         Change from 2.6.0 to 2.6.16.
38500         * sysdeps/unix/sysv/linux/configure: Regenerated.
38501         * sysdeps/unix/sysv/linux/kernel-features.h
38502         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38503         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38504         version.
38505         (__ASSUME_UTIMES): Likewise.
38506         (__ASSUME_CLONE_STOPPED): Remove.
38507         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38508         architectures, not kernel version.
38509         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38510         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38511         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38512         (__ASSUME_WAITID_SYSCALL): Likewise.
38513         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38514         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38515         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38516         refer to older versions.
38518 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38520         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38521         Define alphasort64 as an alias.
38522         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38523         Define versionsort64 as an alias.
38524         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38525         Define scandir64 as an alias.
38526         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38527         Define scandirat64 as an alias.
38528         * dirent/alphasort64.c (alphasort64):
38529         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38530         * dirent/versionsort64.c: Likewise.
38531         * dirent/scandir64.c: Likewise.
38532         * dirent/scandirat64.c: Likewise.
38533         * sysdeps/wordsize-64/alphasort.c: File removed.
38534         * sysdeps/wordsize-64/alphasort64.c: File removed.
38535         * sysdeps/wordsize-64/scandir.c: File removed.
38536         * sysdeps/wordsize-64/scandir64.c: File removed.
38537         * sysdeps/wordsize-64/scandirat.c: File removed.
38538         * sysdeps/wordsize-64/scandirat64.c: File removed.
38539         * sysdeps/wordsize-64/versionsort.c: File removed.
38540         * sysdeps/wordsize-64/versionsort64.c: File removed.
38541         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38542         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38543         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38544         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38545         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38546         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38547         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38548         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38550         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38551         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38552         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38553         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38554         [defined __arch64__ || defined __sparcv9]
38555         (__INO_T_MATCHES_INO64_T): New macro.
38556         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38557         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38558         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38559         * sysdeps/unix/sysv/linux/bits/dirent.h
38560         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38561         (_DIRENT_MATCHES_DIRENT64): New macro.
38563         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38564         Define lockf64 as an alias.
38565         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38566         Define fseeko64 as an alias.
38567         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38568         Define ftello64 as an alias.
38569         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38570         Define _IO_fgetpos64 and fgetpos64 as aliases.
38571         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38572         Define _IO_fsetpos64 and fsetpos64 as aliases.
38573         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38574         Conditionalize body on this.
38575         * libio/fseeko64.c: Likewise.
38576         * libio/ftello64.c: Likewise.
38577         * libio/iofgetpos64.c: Likewise.
38578         * libio/iofsetpos64.c: Likewise.
38579         * sysdeps/wordsize-64/lockf.c: File removed.
38580         * sysdeps/wordsize-64/lockf64.c: File removed.
38581         * sysdeps/wordsize-64/fseeko.c: File removed.
38582         * sysdeps/wordsize-64/fseeko64.c: File removed.
38583         * sysdeps/wordsize-64/ftello.c: File removed.
38584         * sysdeps/wordsize-64/ftello64.c: File removed.
38585         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38586         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38587         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38588         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38589         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38591         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38592         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38593         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38594         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38595         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38596         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38597         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38598         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38600         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38602         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38604         [defined __arch64__ || defined __sparcv9]
38605         (__OFF_T_MATCHES_OFF64_T): New macro.
38606         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38607         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38608         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38609         (__OFF_T_MATCHES_OFF64_T): New macro.
38611 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38613         * stdlib/secure-getenv.c (__secure_getenv): Replace
38614         GLIBC_2_16 with GLIBC_2_17.
38616 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38618         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38619         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38621 2012-08-03  David S. Miller  <davem@davemloft.net>
38623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38625 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38628         Remove.
38629         (__ASSUME_CORRECT_SI_PID): Likewise.
38630         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38631         (__ASSUME_TMPFS_NAME): Likewise.
38632         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38633         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38634         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38635         (HAVE_AUX_SECURE): Make definition unconditional.
38636         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38637         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38639 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38641         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38642         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38643         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38644         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38645         __eloop_threshold instead of SYMLOOP_MAX.
38647         * sysdeps/generic/eloop-threshold.h: New file.
38648         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38649         of MAXSYMLINKS.
38650         * elf/chroot_canon.c (chroot_canon): Likewise.
38652 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38654         [BZ #13717]
38655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38656         Change to 2.6.0 everywhere.
38657         * sysdeps/unix/sysv/linux/configure: Regenerated.
38658         * sysdeps/unix/sysv/linux/kernel-features.h
38659         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38660         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38661         kernel versions.
38662         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38663         (__ASSUME_FUTEX_REQUEUE): Remove.
38664         (__ASSUME_STATFS64): Define unconditionally.
38665         (__ASSUME_AT_SECURE): Likewise.
38666         (__ASSUME_CORRECT_SI_PID): Likewise.
38667         (__ASSUME_TGKILL): Define without depending on kernel version for
38668         i386.
38669         (__ASSUME_UTIMES): Likewise.
38670         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38671         kernel version.
38672         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38673         (__ASSUME_TMPFS_NAME): Likewise.
38674         * README: Update reference to Linux kernel versions.
38676 2012-08-02  Marek Polacek  <polacek@redhat.com>
38678         [BZ# 14150]
38679         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38680         libc_cv_asm_type_prefix with %.
38681         * configure: Regenerated.
38682         * include/libc-symbols.h: Remove comment about
38683         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38684         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38685         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38686         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38687         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38688         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38689         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38690         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38691         * elf/tst-unique2mod1.c: Likewise.
38692         * elf/tst-unique1mod2.c: Likewise.
38693         * elf/tst-unique1mod1.c: Likewise.
38694         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38695         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38696         Replace ASM_TYPE_DIRECTIVE with .type.
38697         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38698         * sysdeps/i386/sysdep.h: Likewise.
38699         * sysdeps/x86_64/sysdep.h: Likewise.
38700         * sysdeps/sh/sysdep.h: Likewise.
38701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38702         Do not define ASM_TYPE_DIRECTIVE.
38703         * sysdeps/powerpc/sysdep.h: Likewise.
38704         * sysdeps/powerpc/powerpc32/sysdep.h:
38705         Replace ASM_TYPE_DIRECTIVE with .type.
38706         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38707         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38708         * sysdeps/i386/fpu/e_powf.S: Likewise.
38709         * sysdeps/i386/fpu/e_expl.S: Likewise.
38710         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38711         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38712         * sysdeps/i386/fpu/e_pow.S: Likewise.
38713         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38714         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38715         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38716         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38717         * sysdeps/i386/fpu/e_log2.S: Likewise.
38718         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38719         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38720         * sysdeps/i386/fpu/e_powl.S: Likewise.
38721         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38722         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38723         * sysdeps/i386/fpu/e_logl.S: Likewise.
38724         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38725         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38726         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38727         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38728         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38729         * sysdeps/i386/fpu/e_log.S: Likewise.
38730         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38731         * sysdeps/i386/fpu/e_logf.S: Likewise.
38732         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38733         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38734         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38735         * sysdeps/i386/fpu/e_log10.S: Likewise.
38736         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38737         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38738         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38739         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38740         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38741         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38742         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38743         * sysdeps/i386/i686/strtok.S: Likewise.
38744         * sysdeps/i386/i386-mcount.S: Likewise.
38745         * sysdeps/i386/strtok.S: Likewise.
38746         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38747         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38748         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38749         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38750         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38751         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38752         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38753         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38754         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38755         * sysdeps/x86_64/_mcount.S: Likewise.
38756         * sysdeps/x86_64/strtok.S: Likewise.
38757         * sysdeps/sh/_mcount.S: Likewise.
38759 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38761         * libio/iofopen.c: Include <fcntl.h>.
38762         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38763         (_IO_fopen64, fopen64): Define as aliases.
38764         * libio/iofopen64.c: Include <fcntl.h>.
38765         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38766         Conditionalize body on this.
38767         * sysdeps/wordsize-64/iofopen.c: File removed.
38768         * sysdeps/wordsize-64/iofopen64.c: File removed.
38770 2012-08-01  Marek Polacek  <polacek@redhat.com>
38772         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38773         Use dlfcn directly instead of a variable.
38774         (binfmt-subdir): Do not define.
38775         (dlfcn): Likewise.
38777 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38780         Remove all definitions.
38781         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38782         <kernel-features.h>.
38783         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38784         (miss_F_GETOWN_EX): Remove all definitions.
38785         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38786         macro definition.
38787         [!__ASSUME_FCNTL64]: Remove conditional code.
38788         [__ASSUME_FCNTL64]: Make code unconditional.
38789         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38790         <kernel-features.h>.
38791         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38792         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38793         (lockf64) [__NR_fcntl64]: Make code unconditional.
38794         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38796         * sysdeps/unix/sysv/linux/kernel-features.h
38797         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38798         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38799         Make code unconditional.
38800         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38801         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38803         [__NR_vfork]: Make code unconditional.
38804         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38805         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38807         [__NR_vfork]: Make code unconditional.
38808         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38809         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38811 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38813         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38814         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38816         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38817         Define mkstemp64 as an alias.
38818         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38819         Define mkstemps64 as an alias.
38820         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38821         Define mkostemp64 as an alias.
38822         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38823         Define mkostemps64 as an alias.
38824         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38825         Conditionalize body on this.
38826         * misc/mkostemp64.c: Likewise.
38827         * misc/mkostemps64.c: Likewise.
38828         * misc/mkstemps64.c: Likewise.
38829         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38830         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38831         * sysdeps/wordsize-64/mkostemp.c: File removed.
38832         * sysdeps/wordsize-64/mkstemp.c: File removed.
38833         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38834         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38835         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38836         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38838         [BZ #14138]
38839         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38840         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38841         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38842         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38844         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38845         compat_symbol macros from <shlib-compat.h> rather than the underlying
38846         default_symbol_version and symbol_version macros, so that DEFAULT
38847         lines in shlib-versions are respected.
38848         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38850 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38852         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38853         Declare with warn_unused_result.
38854         (setgid, setregid, setegid, setresgid): Likewise.
38855         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38856         Likewise.
38857         * WUR-REPORT: Remove set*id functions.
38859 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38861         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38863 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38865         [BZ #10191]
38866         * include/sys/socket.h (__libc_accept, __libc_accept4):
38867         Add attribute_hidden.
38868         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38870         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38871         use of PTR_MANGLE.
38872         * inet/getnetgrent_r.c (setup): Likewise.
38874         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38876 2012-07-31  David S. Miller  <davem@davemloft.net>
38878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38880 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38882         [BZ #13629]
38883         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38884         value between 1.0 and 2.0 and smaller part has absolute value less
38885         than 1.0.
38886         * math/s_clog10.c (__clog10): Likewise.
38887         * math/s_clog10f.c (__clog10f): Likewise.
38888         * math/s_clog10l.c (__clog10l): Likewise.
38889         * math/s_clogf.c (__clogf): Likewise.
38890         * math/s_clogl.c (__clogl): Likewise.
38891         * math/libm-test.inc (clog_test): Add more tests.
38892         (clog10_test): Likewise.
38893         * sysdeps/i386/fpu/libm-test-ulps: Update.
38894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38896 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38898         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38899         Exit with zero in case no suitable GID is found, and write a
38900         message to standard error.
38902 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38904         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38905         rather than to 1.
38906         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38907         (MAXPATHLEN): Removed.
38908         (NOGROUP, NODEV): New macros.
38909         (setbit, clrbit, isset, isclr): New macros.
38910         (howmany, roundup, powerof2): New macros.
38911         (DEV_BSIZE): New macro.
38913         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38914         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38916         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38917         definition on [!__NO_LONG_DOUBLE_MATH].
38919         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38920         PTR_MANGLE and PTR_DEMANGLE.
38922         * socket/accept4.c (accept4): Rename to __libc_accept4.
38923         Define accept4 as a weak alias.
38925         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38926         on [_DIRENT_HAVE_D_TYPE].
38927         * io/ftw.c (ftw_dir): Likewise.
38929         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38931         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38933         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38934         Use the BSD numbers rather than the arbitrary ones we had.
38935         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38936         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38937         (SIGXCPU, SIGXFSZ): New macros.
38938         (_NSIG): Now 32.
38940         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38941         initializer on [_LIBC_REENTRANT].
38943         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38944         definitions inside [_POSIX_MAPPED_FILES].
38946         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38948         * dirent/opendir.c: Include <fcntl.h>.
38950         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38951         (__libc_getspecific): Likewise.
38952         (__libc_key_create): Likewise.
38954         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38955         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38956         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38957         (tmpfile64): Define as alias.
38958         * sysdeps/wordsize-64/tmpfile.c: File removed.
38959         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38961         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38963         * stdio-common/vfscanf.c: Include <stdbool.h>.
38964         * nss/makedb.c: Likewise.
38965         * stdio-common/_i18n_number.h: Likewise.
38966         * argp/argp-help.c: Likewise.
38967         * posix/wordexp.c: Likewise.
38968         * sysdeps/posix/spawni.c: Likewise.
38969         * nss/nss_files/files-initgroups.c: Likewise.
38970         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38971         * nss/nss_files/files-initgroups.c: Likewise.
38972         * nss/nss_db/db-netgrp.c: Likewise.
38973         * nss/nss_db/db-initgroups.c: Likewise.
38974         * io/fchmodat.c: Include <sys/stat.h>.
38976         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38977         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38979         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38980         [HAVE_MMAP].
38982         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38983         Add multiple inclusion protection.
38985 2012-07-27  David S. Miller  <davem@davemloft.net>
38987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38989 2012-07-27  Gary Benson  <gbenson@redhat.com>
38991         [BZ #14298]
38992         * elf/rtld.c: Include <stap-probe.h>.
38993         (dl_main): Added static probes "init_start" and "init_complete".
38994         * elf/dl-load.c: Include <stap-probe.h>.
38995         (lose): Take new parameter "nsid".
38996         Added static probe "map_failed".
38997         (_dl_map_object_from_fd): Pass namespace id to lose.
38998         Added static probe "map_start".
38999         (open_verify): Pass namespace id to lose.
39000         * elf/dl-open.c: Include <stap-probe.h>.
39001         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39002         and "reloc_complete".
39003         * elf/dl-close.c: Include <stap-probe.h>.
39004         (_dl_close_worker): Added static probes "unmap_start" and
39005         "unmap_complete".
39006         * elf/rtld-debugger-interface.txt: New file documenting the above.
39008 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39010         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39011         rather than a string variable.
39012         * sunrpc/rpc_main.c (h_output): Likewise.
39013         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39015 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39017         * inet/check_native.c: New file.
39019 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39021         [BZ #13629]
39022         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39023         if larger part has absolute value 1.0.
39024         * math/s_clog10.c (__clog10): Likewise.
39025         * math/s_clog10f.c (__clog10f): Likewise.
39026         * math/s_clog10l.c (__clog10l): Likewise.
39027         * math/s_clogf.c (__clogf): Likewise.
39028         * math/s_clogl.c (__clogl): Likewise.
39029         * math/libm-test.inc (clog_test): Add more tests.
39030         (clog10_test): Likewise.
39031         * sysdeps/i386/fpu/libm-test-ulps: Update.
39032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39034         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39035         (pltexit): Likewise.
39036         (La_regs): Likewise.
39037         (La_retval): Likewise.
39038         (int_retval): Likewise.
39039         Update #error for removed macros to refer only to definitions in
39040         tst-audit.h.
39041         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39042         macro.
39043         (pltexit): Likewise.
39044         (La_regs): Likewise.
39045         (La_retval): Likewise.
39046         (int_retval): Likewise.
39047         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39048         macro.
39049         (pltexit): Likewise.
39050         (La_regs): Likewise.
39051         (La_retval): Likewise.
39052         (int_retval): Likewise.
39053         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39054         macro.
39055         (pltexit): Likewise.
39056         (La_regs): Likewise.
39057         (La_retval): Likewise.
39058         (int_retval): Likewise.
39059         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39060         macro.
39061         (pltexit): Likewise.
39062         (La_regs): Likewise.
39063         (La_retval): Likewise.
39064         (int_retval): Likewise.
39065         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39066         macro.
39067         (pltexit): Likewise.
39068         (La_regs): Likewise.
39069         (La_retval): Likewise.
39070         (int_retval): Likewise.
39071         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39072         macro.
39073         (pltexit): Likewise.
39074         (La_regs): Likewise.
39075         (La_retval): Likewise.
39076         (int_retval): Likewise.
39077         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39078         macro definitions in tst-audit.h.
39079         * sysdeps/i386/tst-audit.h: New file.
39080         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39081         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39082         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39083         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39084         * sysdeps/sh/tst-audit.h: Likewise.
39085         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39086         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39087         * sysdeps/x86_64/tst-audit.h: Likewise.
39089 2012-07-26  Andreas Jaeger  <aj@suse.de>
39091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39092         ptrace.
39094         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39095         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39096         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39097         PTRACE_O_MASK.
39098         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39099         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39100         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39102         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39103         value.
39105         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39106         _sigsys.
39107         (si_call_addr, si_syscall, si_arch): Define new macro.
39108         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39109         _sigsys.
39110         (si_call_addr, si_syscall, si_arch): Define new marcro.
39111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39112         _sigsys.
39113         (si_call_addr, si_syscall, si_arch): Define new macro.
39114         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39115         _sigsys.
39116         (si_call_addr, si_syscall, si_arch): Define new macro.
39118 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39120         [BZ #13717]
39121         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39122         Change to 2.4.21 where previously 2.4.1.
39123         * sysdeps/unix/sysv/linux/configure: Regenerated.
39124         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39125         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39126         Linux kernel version.
39127         (__ASSUME_STD_AUXV): Remove.
39128         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39129         kernel version.
39130         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39131         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39132         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39133         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39134         (__ASSUME_NETLINK_SUPPORT): Likewise.
39135         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39136         (__no_netlink_support): Remove conditional definition.
39137         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39138         Remove.
39139         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39140         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39141         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39142         (if_nameindex_ioctl): Remove.
39143         (if_nameindex_netlink): Do not handle __no_netlink_support.
39144         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39145         code.
39146         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39147         Remove conditional code.
39148         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39149         code.
39150         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39151         unconditional.
39152         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39153         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39154         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39155         Remove.
39156         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39157         [!__ASSUME_STD_AUXV]: Remove conditional code.
39158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39159         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39160         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39162         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39163         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39164         code.
39165         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39167         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39168         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39169         conditional code.
39170         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39172         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39173         code.
39174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39175         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39176         conditional code.
39177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39178         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39179         code unconditional.
39180         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39181         conditional code.
39182         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39183         unconditional.
39184         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39185         conditional code.
39186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39187         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39188         unconditional.
39189         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39190         conditional code.
39191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39192         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39193         code unconditional.
39194         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39195         conditional code.
39196         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39197         unconditional.
39198         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39199         conditional code.
39200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39201         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39202         code unconditional.
39203         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39204         conditional code.
39205         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39206         unconditional.
39207         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39208         conditional code.
39210 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39212         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39213         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39214         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39215         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39216         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39217         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39218         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39219         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39220         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39221         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39222         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39223         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39224         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39225         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39226         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39227         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39228         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39229         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39230         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39232         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39233         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39234         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39236 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39238         * Versions.def: Add GLIBC_2.17.
39239         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39240         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39241         Introduce __libc_secure_getenv.
39242         * stdlib/Versions (2.17): Add secure_getenv
39243         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39244         * stdlib/secure-getenv.c: Rename __secure_getenv to
39245         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39246         symbol __secure_getenv for GLIBC_2.0.
39247         * stdlib/tst-secure-getenv.c: New.
39248         * stdlib/Makefile (tests): Add testcase.
39249         * manual/startup.texi (Environment Access): Document
39250         secure_getenv.
39251         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39252         __libc_secure_getenv.
39253         * inet/ruserpass.c (ruserpass): Likewise.
39254         * malloc/mtrace.c (mtrace): Likewise.
39255         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39256         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39257         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39258         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39259         HAVE_SECURE_GETENV.
39260         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39261         __secure_getenv to __libc_secure_getenv.
39262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39264         Likewise.
39265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39266         Likewise.
39267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39269         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39275 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39277         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39278         (struct La_i86_retval): Likewise.
39279         (struct La_x86_64_regs): Likewise.
39280         (struct La_x86_64_retval): Likewise.
39281         (struct La_x32_regs): Likewise.
39282         (struct La_x32_retval): Likewise.
39283         (struct La_ppc32_regs): Likewise.
39284         (struct La_ppc32_retval): Likewise.
39285         (struct La_ppc64_regs): Likewise.
39286         (struct La_ppc64_retval): Likewise.
39287         (struct La_sh_regs): Likewise.
39288         (struct La_sh_retval): Likewise.
39289         (struct La_s390_32_regs): Likewise.
39290         (struct La_s390_32_retval): Likewise.
39291         (struct La_s390_64_regs): Likewise.
39292         (struct La_s390_64_retval): Likewise.
39293         (struct La_sparc32_regs): Likewise.
39294         (struct La_sparc32_retval): Likewise.
39295         (struct La_sparc64_regs): Likewise.
39296         (struct La_sparc64_retval): Likewise.
39297         (struct audit_ifaces): Remove architecture-specific pltenter and
39298         pltexit members.
39299         * sysdeps/i386/ldsodefs.h: New file.
39300         * sysdeps/powerpc/ldsodefs.h: Likewise.
39301         * sysdeps/s390/ldsodefs.h: Likewise.
39302         * sysdeps/sh/ldsodefs.h: Likewise.
39303         * sysdeps/sparc/ldsodefs.h: Likewise.
39304         * sysdeps/x86_64/ldsodefs.h: Likewise.
39306 2012-07-25  Marek Polacek  <polacek@redhat.com>
39308         [BZ #6808]
39309         * math/libm-test.inc (yn_test): Add another test.
39310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39311         to ERANGE when the result is +-Inf.
39312         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39313         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39314         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39315         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39317 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39319         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39320         equal to 0.
39321         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39322         clock_t.
39323         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39325 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39327         * configure.in <sysdeps resolving>: Correct printing
39328         Implies_before.
39329         * configure: Regenerate.
39331 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39333         * math/w_ilogb.c: Include <limits.h>.
39334         * math/w_ilogbl.c: Likewise.
39336 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39338         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39339         va_copy.  Document allowing for unavailable va_copy only as
39340         pre-C99 compatibility.
39341         * manual/string.texi (Copying and Concatenation): Use va_copy
39342         instead of __va_copy in concat example.
39344 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39346         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39347         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39348         it if not null.
39350         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39351         with O_NOLINK passed to __file_name_lookup.
39353         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39354         with O_NOLINK passed to __file_name_lookup.
39356         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39357         negative N or less than NGIDS.
39359         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39360         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39361         enough.  Use memcpy instead of strncpy.
39363 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39365         * elf/Makefile (check-data): Remove.
39366         (localplt.data): New vpath directive.
39367         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39368         instead of $(check-data).
39369         * scripts/data/localplt-generic.data: Move to ...
39370         * sysdeps/generic/localplt.data: ... here.
39371         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39372         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39373         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39375         ... here.
39376         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39378         ... here.
39379         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39381         ... here.
39382         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39384         ... here.
39385         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39387         ... here.
39388         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39390         ... here.
39392 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39394         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39395         PPC32 and PPC64 files.
39396         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39397         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39399 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39401         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39402         __makecontext_ret to ...
39403         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39404         ... here and call exit if uc_link is NULL.  New file.
39405         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39406         __makecontext_ret.S.
39407         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39408         __makecontext_ret to ...
39409         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39410         ... here and call exit if uc_link is NULL.  New file.
39411         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39412         __makecontext_ret.S.
39414 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39416         * elf/elf.h (R_390_IRELATIVE): New definition.
39417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39418         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39419         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39421         (elf_machine_lazy_rel): Likewise.
39422         * sysdeps/s390/dl-irel.h: New file.
39423         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39424         * sysdeps/s390/s390-64/memset.S: New asm code.
39425         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39426         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39427         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39428         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39429         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39430         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39432         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39433         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39434         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39435         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39436         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39437         * sysdeps/s390/s390-32/memset.S: New asm code.
39438         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39440 2012-07-17  Marek Polacek  <polacek@redhat.com>
39442         [BZ #14349]
39443         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39444         * sysdeps/s390/s390-64/configure.in: Likewise.
39445         * sysdeps/sparc/configure.in: Likewise.
39446         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39447         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39448         * sysdeps/i386/configure.in: Likewise.
39449         * sysdeps/x86_64/configure.in: Likewise.
39450         * sysdeps/sh/configure.in: Likewise.
39451         * sysdeps/s390/s390-32/configure: Regenerated.
39452         * sysdeps/s390/s390-64/configure: Likewise.
39453         * sysdeps/x86_64/configure: Likewise.
39454         * sysdeps/sh/configure: Likewise.
39455         * sysdeps/powerpc/powerpc64/configure: Likewise.
39456         * sysdeps/powerpc/powerpc32/configure: Likewise.
39457         * sysdeps/sparc/configure: Likwise.
39458         * sysdeps/i386/configure: Likewise.
39460         * elf/dl-open.c: Comment fixes.
39462 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39464         * Makefile [CXX] (check-data): Remove.
39465         [CXX] (c++-types.data): New vpath directive.
39466         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39467         vpath.  Do not allow for C++ type data being missing.
39468         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39469         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39470         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39471         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39472         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39473         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39474         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39476         ... here.
39477         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39479         ... here.
39480         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39482         ... here.
39483         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39485         ... here.
39486         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39488         ... here.
39489         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39491         ... here.
39492         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39494         ... here.
39495         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39498         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39499         definitions to architecture-specific files.
39500         (TLS_IE): Likewise.
39501         (TLS_LD): Likewise.
39502         (TLS_GD): Likewise.
39503         * sysdeps/i386/tls-macros.h: New file.
39504         * sysdeps/powerpc/tls-macros.h: Likewise.
39505         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39506         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39507         * sysdeps/sh/tls-macros.h: Likewise.
39508         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39509         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39510         * sysdeps/x86_64/tls-macros.h: Likewise.
39512 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39514         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39515         zero value for regular exit case.
39517         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39518         (__start_context): Preserve zero value for regular exit case.
39520 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39521             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39523         * manual/setjmp.texi (setcontext): Clarify normal process
39524         termination when uc_link is the null pointer.
39525         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39526         exit call.
39528 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39530         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39531         preprocessor.  Test for each exception mask separately.
39533 2012-07-16  Andreas Jaeger  <aj@suse.de>
39535         * po/ru.po: Update from translation team.
39537 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39539         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39540         equal to 0.
39541         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39542         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39543         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39544         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39547 2012-07-13  Andreas Jaeger  <aj@suse.de>
39549         * po/fr.po: Update from translation team.
39551 2012-07-12  Marek Polacek  <polacek@redhat.com>
39553         [BZ #14173]
39554         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39556         loop condition.
39558 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39560         [BZ #13717]
39561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39562         Change to 2.4.1 where previously 2.4.0.
39563         * sysdeps/unix/sysv/linux/configure: Regenerated.
39564         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39565         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39566         version.
39567         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39568         (__ASSUME_AT_CLKTCK): Remove.
39569         (__ASSUME_AT_PAGESIZE): Likewise.
39570         (__ASSUME_AT_XID): Likewise.
39571         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39572         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39573         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39574         unconditionally.
39575         (HAVE_AUX_PAGESIZE): Likewise.
39576         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39577         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39578         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39580 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39582         [BZ #14307]
39583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39584         the temporary buffer used to invoke __gethostbyname2_r,
39585         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39586         host_data / struct gaih_addrtuple.
39587         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39588         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39589         header file nss/nsswitch.h.
39590         * nss/nsswitch.h (global scope): Add definition of implementation
39591         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39592         resolv/nss_dns/dns-host.c).
39594 2012-07-11  Andreas Jaeger  <aj@suse.de>
39596         * po/fr.po: Update from translation team.
39598         * po/sv.po: Update from translation team
39599         * po/fr.po: Another update from translation team.
39601 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39603         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39604         for subnormals or multiply small sinh result by itself.
39605         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39608 2012-07-11  David S. Miller  <davem@davemloft.net>
39610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39612 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39614         [BZ #14347]
39615         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39616         (INTERNAL_MARK): Shift it here.
39618 2012-07-10  Marek Polacek  <polacek@redhat.com>
39620         [BZ #14151]
39621         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39622         libc_cv_asm_global_directive with .globl.
39623         * configure: Regenerated.
39624         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39625         with .globl.
39626         * sysdeps/i386/configure: Regenerated.
39627         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39628         with .globl.
39629         * sysdeps/x86_64/configure: Regenerated.
39630         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39631         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39632         * elf/tst-unique2mod2.c: Likewise.
39633         * elf/tst-unique2mod1.c: Likewise.
39634         * elf/tst-unique1mod2.c: Likewise.
39635         * elf/tst-unique1mod1.c: Likewise.
39636         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39637         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39638         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39639         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39640         * sysdeps/mach/sysdep.h: Likewise.
39641         * sysdeps/i386/sysdep.h: Likewise.
39642         * sysdeps/i386/i386-mcount.S: Likewise.
39643         * sysdeps/x86_64/_mcount.S: Likewise.
39644         * sysdeps/x86_64/sysdep.h: Likewise.
39645         * sysdeps/sh/_mcount.S: Likewise.
39646         * sysdeps/sh/sysdep.h: Likewise.
39647         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39648         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39649         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39650         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39651         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39652         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39653         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39654         * locale/localeinfo.h: Likewise.
39655         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39656         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39658 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39660         [BZ #14336]
39661         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39662         system".
39663         * manual/message.texi (The Uniforum approach): Likewise.
39664         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39665         (glibc iconv Implementation): Likewise.
39667 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39669         [BZ #14337]
39670         * math/s_clog.c (__clog): Avoid scaling a value down where that
39671         could result in underflow.
39672         * math/s_clog10.c (__clog10): Likewise.
39673         * math/s_clog10f.c (__clog10f): Likewise.
39674         * math/s_clog10l.c (__clog10l): Likewise.
39675         * math/s_clogf.c (__clogf): Likewise.
39676         * math/s_clogl.c (__clogl): Likewise.
39677         * math/libm-test.inc (clog_test): Add more tests.
39678         (clog10_test): Likewise.
39679         * sysdeps/i386/fpu/libm-test-ulps: Update.
39680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39682 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39684         [BZ #14283]
39685         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39686         by 7 not 8 to examine high bit of fractional part.
39688         [BZ #14042]
39689         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39690         for call to __mcount_internal.
39691         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39692         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39693         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39695 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39697         [BZ #14154]
39698         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39699         approximation for values within 0x1p-13f of an odd multiple of
39700         pi/4.
39701         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39702         exception.  Add more tests.
39703         * sysdeps/i386/fpu/libm-test-ulps: Update.
39705         [BZ #6778]
39706         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39707         inputs and return -1 for them.  Do not check for +Inf in case not
39708         reachable for +Inf.
39709         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39710         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39711         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39712         and return -1 for them.  Do not check for +Inf in case not
39713         reachable for +Inf.
39714         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39715         define.
39716         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39717         and return -1 for them.  Do not check for +Inf in case not
39718         reachable for +Inf.
39719         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39720         spurious underflow.
39721         * sysdeps/i386/fpu/libm-test-ulps: Update.
39722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39724 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39726         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39728 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39730         [BZ #14157]
39731         [BZ #14331]
39732         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39733         could result in spurious underflow.  Scale down values above
39734         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39735         * math/s_csqrtf.c (__csqrtf): Likewise.
39736         * math/s_csqrtl.c (__csqrtl): Likewise.
39737         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39738         spurious underflow.
39739         * sysdeps/i386/fpu/libm-test-ulps: Update.
39740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39742 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39744         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39745         xopen-msg.sed.
39746         * catgets/xopen-msg.awk: New file.
39747         * catgets/xopen-msg.sed: Removed.
39749         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39750         po2text.sed.
39751         * intl/po2test.awk: New file.
39752         * intl/po2test.sed: Removed.
39754 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39756         [BZ #14328]
39757         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39758         or multiply small sinh result by itself.
39759         * math/s_ctanf.c (__ctanf): Likewise.
39760         * math/s_ctanh.c (__ctanh): Likewise.
39761         * math/s_ctanhf.c (__ctanhf): Likewise.
39762         * math/s_ctanhl.c (__ctanhl): Likewise.
39763         * math/s_ctanl.c (__ctanl): Likewise.
39764         * math/libm-test.inc (ctan_test_tonearest): New function.
39765         (ctan_test_towardzero): Likewise.
39766         (ctan_test_downward): Likewise.
39767         (ctan_test_upward): Likewise.
39768         (ctanh_test_tonearest): Likewise.
39769         (ctanh_test_towardzero): Likewise.
39770         (ctanh_test_downward): Likewise.
39771         (ctanh_test_upward): Likewise.
39772         (main): Call these new functions.
39773         * sysdeps/i386/fpu/libm-test-ulps: Update.
39774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39776 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39778         * .gitignore: Delete /ports entry.
39780 2012-07-03  Andreas Jaeger  <aj@suse.de>
39782         * po/bg.po: Update from translation team.
39783         * po/cs.po: Likewise.
39784         * po/de.po: Likewise.
39785         * po/hr.po: Likewise.
39786         * po/nl.pl: Likewise.
39787         * po/pl.po: Likewise.
39788         * po/vi.po: Likewise.
39790 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39792         * Makeconfig [!+link] (+link-before-libc): New variable.
39793         [!+link] (+link-after-libc): Likewise.
39794         [!+link] (+link-tests): Likewise.
39795         [!+link] (+link): Define in terms of $(+link-before-libc) and
39796         $(+link-after-libc).
39797         [!+link-static] (+link-static-before-libc): New variable.
39798         [!+link-static] (+link-static-after-libc): Likewise.
39799         [!+link-static] (+link-static-tests): Likewise.
39800         [!+link-static] (+link-static): Define in terms of
39801         $(+link-static-before-libc) and $(+link-static-after-libc).
39802         [build-shared] (link-libc-before-gnulib): New variable.
39803         [build-shared] (link-libc-tests): Likewise.
39804         [build-shared] (link-libc): Define in terms of
39805         $(link-libc-before-gnulib).
39806         [!build-shared] (link-libc-tests): New variable.
39807         (link-libc-static-tests): New variable.
39808         [!gnulib] (gnulib-arch): New variable.
39809         [!gnulib] (gnulib-tests): Likewise.
39810         [!gnulib] (static-gnulib-arch): Likewise.
39811         [!gnulib] (static-gnulib-tests): Likewise.
39812         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39813         Define with "=" instead of ":=".
39814         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39815         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39816         * Rules (binaries-all-notests): New variable.
39817         (binaries-all-tests): Likewise.
39818         (binaries-static-notests): Likewise.
39819         (binaries-static-tests): Likewise.
39820         (binaries-all): Define using $(binaries-all-notests) and
39821         $(binaries-all-tests).
39822         (binaries-static): Define using $(binaries-static-notests) and
39823         $(binaries-static-tests).
39824         (binaries-shared-tests): New variable.
39825         (binaries-shared-notests): Likewise.
39826         (binaries-shared): Remove variable.
39827         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39828         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39829         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39830         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39831         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39832         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39833         * elf/Makefile (sln-modules): New variable.
39834         (extra-objs): Add $(sln-modules:=.o).
39835         (ldconfig-modules): Add static-stubs.
39836         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39837         * elf/static-stubs.c: New file.
39839         [BZ #14283]
39840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39841         by 7 not 8 to examine high bit of fractional part.  Use volatile
39842         variables when splitting into final array of floats if
39843         __FLT_EVAL_METHOD__ != 0.
39844         * math/libm-test.inc (cos_test): Add another test.
39845         (sin_test): Likewise.
39846         * sysdeps/i386/fpu/libm-test-ulps: Update.
39848         [BZ #14273]
39849         * math/libm-test.inc (cosh_test): Add more tests.
39851         * version.h (RELEASE): Set to "development".
39852         (VERSION): Set to "2.16.90".
39854 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39856         * NEWS: Update copyright. Remove last-updated date.
39857         Mention math library bug fixes and timezone data changes.
39858         * README: Mention GNU/Hurd, x32, and HPPA support status.
39860 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39862         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39864 2012-06-27  Andreas Jaeger  <aj@suse.de>
39866         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39868 2012-06-25  Andreas Jaeger  <aj@suse.de>
39870         * sysdeps/s390/fpu/libm-test-ulps: Update.
39872 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39873             Thomas Schwinge  <thomas@codesourcery.com>
39875         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39876         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39878         fanotify_mark.
39880 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39882         * sysdeps/mach/start.c: Remove file.
39883         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39884         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39885         * sysdeps/sh/init-first.c: Likewise.
39887         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39888         registers for frame unwinding purposes, add CFI directives.
39889         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39890         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39891         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39892         Likewise.
39894         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39895         __fortify_fail returning.
39896         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39898         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39899         sysdeps/sh/____longjmp_chk.S.
39900         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39901         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39902         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39903         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39905         * sysdeps/sh/abort-instr.h: New file.
39906         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39907         process in case exit returns.
39909         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39910         initialize the GOT register before use.
39912         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39913         calculation of ARGC > 4.
39915         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39916         meaningful names to some local labels.
39918 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39919             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39921         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39922         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39923         (__arch_compare_and_exchange_val_16_acq): Likewise.
39924         (__arch_compare_and_exchange_val_32_acq): Likewise.
39925         (atomic_exchange_and_add): Fix gUSA sequence.
39926         (atomic_add): Likewise.
39927         (atomic_add_negative): Likewise.
39928         (atomic_add_zero): Likewise.
39929         (atomic_bit_test_set): Likewise.
39931 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39933         [BZ #13579]
39934         * include/link.h (struct link_map): Add l_free_initfini.
39935         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39936         l_initfini.
39937         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39938         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39939         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39940         set.
39942 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39944         * configure.in: Use AC_LANG_SOURCE.
39945         * configure: Regenerate.
39947 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39949         * configure.in (libc_cv_localstatedir): New substituted variable.
39950         * configure: Regenerated.
39951         * config.make.in (localstatedir): New variable, substituted from
39952         libc_cv_localstatedir.
39953         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39954         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39955         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39956         * sysdeps/gnu/configure: Regenerated.
39958 2012-06-21  Jeff Law  <law@redhat.com>
39960         [BZ #14277]
39961         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39962         free.  Simplify list management for _LIBC case.
39964 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39966         [BZ #14273]
39967         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39968         Clear sign bit of 64-bit integer value before comparing against
39969         overflow value.
39971         * sysdeps/mach/configure: Regenerated.
39973 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39975         [BZ #14278]
39976         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39978 2012-06-21  Jeff Law  <law@redhat.com>
39980         [BZ #13882]
39981         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39982         uint16_t for elements in the "seen" array to avoid char overflows.
39983         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39984         * elf/dl-open.c (dl_open_worker): Likewise.
39986 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39988         * scripts/list-sources.sh: Scan PORTS for translations.
39989         * po/libc.pot: Regenerated.
39991 2012-06-21  Andreas Jaeger  <aj@suse.de>
39993         [BZ #12194]
39994         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39995         warning.
39996         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39997         * bits/byteswap-16.h (__bswap_16): Likewise.
39998         * bits/byteswap.h (__bswap_constant_16): Likewise.
40000 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40002         [BZ #14117]
40003         * sysdeps/i386/fpu_control.h: Removed.
40004         * sysdeps/x86_64/fpu_control.h: Moved to ...
40005         * sysdeps/x86/fpu_control.h: Here.
40007         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40008         (_FPU_SETCW): Likewise.
40010 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40012         [BZ #14117]
40013         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40014         * sysdeps/x86/fpu/bits/mathinline.h: This.
40015         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40017         [BZ #14050]
40018         [BZ #14117]
40019         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40020         functions if __x86_64__ is defined.
40022 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40024         * string/endian.h: Add !__ASSEMBLER__ condition for including
40025         conversion interfaces.
40027 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40029         [BZ #14241]
40030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40031         of ABS(x) in calculating zero to negative powers other than odd
40032         integers.
40033         * math/libm-test.inc (pow_test): Add more tests.
40035 2012-06-15  Andreas Jaeger  <aj@suse.de>
40037         * manual/contrib.texi (Contributors): Update entry of Liubov
40038         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40039         Machado Filho.
40041 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40043         * string/string.h: Add __wur to GNU version of strerror_r.
40045 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40047         [BZ #14229]
40048         * string/Makefile (tests): Add tst-strtok_r.
40049         * string/tst-strtok_r.c: New file.
40050         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40051         RAX_LP/RDX_LP on SAVE_PTR.
40053 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40055         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40057 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40059         * libm_test.inc (csqrt_test): Allow more spurious underflow
40060         exceptions.
40061         (j0_test): Likewise.
40062         (j1_test): Likewise.
40063         (y0_test): Likewise.
40064         (y1_test): Likewise.
40066 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40068         * po/Makefile (libc.pot): Use UTF-8 charset.
40070 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40072         [BZ #14210]
40073         Suppress sign-conversion warning from FD_SET.
40074         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40075         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40076         not unsigned long int.
40077         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40079 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40081         [BZ #14050]
40082         [BZ #14117]
40083         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40084         __extern_always_inline instead of __extern_inline.
40085         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40086         (__signbit): Likewise.
40087         (__signbitl): Support C++ namespace.
40088         (lrintf): New inline function.
40089         (lrint): Likewise.
40090         (llrintf): Likewise.
40091         (llrint): Likewise.
40092         (fmaxf): Likewise.
40093         (fmax): Likewise.
40094         (fminf): Likewise.
40095         (fmin): Likewise.
40096         (rint): Likewise.
40097         (rintf): Likewise.
40098         (ceil): Likewise.
40099         (ceilf): Likewise.
40100         (floor): Likewise.
40101         (floorf): Likewise.
40102         (nearbyint): Likewise.
40103         (nearbyintf): Likewise.
40105 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40107         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40108         non-default versions.
40110 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40112         [BZ #14218]
40113         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40115 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40117         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40118         (FE_UPWARD, FE_DOWNWARD): Don't define.
40119         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40120         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40122         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40123         reading it.
40124         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40125         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40127 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40129         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40131         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40132         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40134 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40136         [BZ #14117]
40137         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40138         * sysdeps/i386/fpu/Implies: New file.
40139         * sysdeps/x86_64/fpu/Implies: Likewise.
40140         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40141         * sysdeps/x86/fpu/bits/fenv.h: This.
40143         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40144         __SSE_MATH__.
40146 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40148         [BZ #14134]
40149         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40150         character 0xffff that matches the last element of the
40151         conversion table.
40153 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40155         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40156         fmodl commit.
40158 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40160         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40161         values higher than 25.6283.
40163 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40166         subnormal exponent extraction and add some __builtin_expect.
40167         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40168         Fix for subnormal mantissa calculation.
40170 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40172         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40173         cpu2 is -1 and errno is not ENOSYS.
40175 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40177         [BZ #14117]
40178         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40179         * sysdeps/x86/bits/string.h: This.
40180         * sysdeps/x86_64/bits/string.h: Removed.
40182         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40183         if not compiling for x86-64, but compiling for >= i486.
40185         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40186         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40188         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40189         New macro from Linux kernel 3.4.0.
40190         (FP_XSTATE_MAGIC2): Likewise.
40191         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40192         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40193         (struct _fpx_sw_bytes): New struct.
40194         (struct _xsave_hdr): Likewise.
40195         (struct _ymmh_state): Likewise.
40196         (struct _xstate): Likewise.
40198         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40199         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40200         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40201         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40202         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40203         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40205         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40206         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40207         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40208         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40209         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40210         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40212 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40214         [BZ #13743]
40215         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40216         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40217         (sysdep_headers): Include sys/platform/ppc.h.
40218         * sysdeps/powerpc/test-gettimebase.c: Test for
40219         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40220         * manual/Makefile (appendices): Include platform.texi.
40221         * manual/contrib.texi (Contributors): Update @node pointers.
40222         * manual/maint.texi (Maintenance): Likewise.
40223         (Platform): New node.
40224         * manual/platform.texi: New file.  Document the new features.
40226 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40227             Jakub Jelinek  <jakub@redhat.com>
40229         [BZ #14188]
40230         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40231         where __builtin_expect is unavailable.
40233 2012-06-03  David S. Miller  <davem@davemloft.net>
40235         * stdlib/longlong.h: Updated from GCC.
40237 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40239         [BZ #14042]
40240         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40241         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40242         __mcount_internal.
40243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40244         (GLIBC_2.16): Likewise.
40246 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40250 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40253         (default-abi): New variable.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40255         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40256         variable.
40257         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40258         Likewise.
40259         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40260         Likewise.
40261         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40262         Likewise.
40264         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40265         definition.  Document in comment.
40267 2012-06-01  David S. Miller  <davem@davemloft.net>
40269         * stdlib/longlong.h: Updated from GCC.
40271 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40273         [BZ #14117]
40274         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40275         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40276         sys/debugreg.h sys/io.h here.
40277         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40278         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40279         sys/io.h.
40280         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40281         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40282         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40283         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40284         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40285         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40287         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40288         Define only if __x86_64__ is defined.
40290 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40292         [BZ #14048]
40293         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40294         Use int64_t for variable i.
40295         * math/libm-test.inc (fmod_test): Add more tests.
40297         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40298         z computation is not scheduled after fetestexcept.
40299         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40300         Use math_force_eval instead of asm to ensure calculation scheduled
40301         before exception test.
40302         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40303         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40305 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40308         computation is not scheduled after fetestexcept.
40310 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40312         [BZ #14117]
40313         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40314         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40316 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40318         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40319         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40321 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40323         [BZ #14117]
40324         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40325         <bits/wordsize.h>.
40326         (__WCHAR_MIN): Support __WORDSIZE == 64.
40327         (__WCHAR_MAX): Likewise.
40329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40330         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40332         [BZ #14183]
40333         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40334         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40336         [BZ #14117]
40337         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40338         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40340         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40341         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40343         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40344         Defined to 1 if __x86_64__ isn't defined.
40345         (_STAT_VER_LINUX_OLD): New.
40346         (st_atime): Remove duplicate.
40347         (st_mtime): Likewise.
40348         (st_ctime): Likewise.
40350 2012-05-31  David S. Miller  <davem@davemloft.net>
40352         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40353         entries.
40355 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40357         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40358         gen-libm-test.pl.
40360         [BZ #14132]
40361         * elf/dl-reloc.c: Include <_itoa.h>.
40362         (_dl_reloc_bad_type): Remove use of INTUSE.
40363         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40364         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40365         * stdio-common/psiginfo.c (psiginfo): Likewise.
40366         * stdio-common/psignal.c (psignal): Likewise.
40367         * string/strsignal.c (strsignal): Likewise.
40368         * include/signal.h (_sys_siglist): Declare hidden proto.
40369         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40370         INTVARDEF with libc_hidden_data_def.
40371         * stdio-common/itoa-udigits.c: Likewise.
40372         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40373         (_itoa_lower_digits_internal): Remove declaration.
40374         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40375         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40376         (_sys_sigabbrev_internal): Remove aliases.
40377         (_sys_siglist): Define hidden alias.
40379 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40382         bits/sysctl.h.
40384 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40386         [BZ #14117]
40387         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40388         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40390         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40391         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40392         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40393         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40394         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40395         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40397         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40398         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40399         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40401         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40402         with __addr.
40403         (insw): Likewise.
40404         (insl): Likewise.
40405         (outsb): Likewise.
40406         (outsw): Likewise.
40407         (outsl): Likewise.
40409         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40410         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40411         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40413         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40414         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40415         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40416         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40417         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40418         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40420         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40421         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40423         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40424         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40426         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40427         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40428         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40430         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40431         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40432         to ...
40433         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40435         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40436         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40437         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40439         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40440         for x86-64.
40441         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40443 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40445         * math/math.h (M_El): Use two more decimal places.
40446         (M_LOG2El): Likewise.
40447         (M_LOG10El): Likewise.
40448         (M_LN2l): Likewise.
40449         (M_LN10l): Likewise.
40450         (M_PIl): Likewise.
40451         (M_PI_2l): Likewise.
40452         (M_PI_4l): Likewise.
40453         (M_1_PIl): Likewise.
40454         (M_2_PIl): Likewise.
40455         (M_2_SQRTPIl): Likewise.
40456         (M_SQRT2l): Likewise.
40457         (M_SQRT1_2l): Likewise.
40459 2012-05-31  David S. Miller  <davem@davemloft.net>
40461         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40462         values between float registers.
40463         * sysdeps/sparc/sparc64/memset.S: Likewise.
40464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40466 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40468         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40469         -D_FORTIFY_SOURCE=1.
40470         (CPPFLAGS-tst-longjmp_chk.c): Define.
40471         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40472         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40473         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40474         CFLAGS-tst-wchar-h.c.
40476 2012-05-31  Marek Polacek  <polacek@redhat.com>
40478         [BZ #14132]
40479         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40480         __endmntent_internal): Remove declaration.
40481         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40482         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40483         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40485 2012-05-30  David S. Miller  <davem@davemloft.net>
40487         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40488         (___Q_simulate_exceptions): Use real FP ops rather than writing
40489         into the %fsr.
40490         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40491         Likewise.
40493 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40495         [BZ #14117]
40496         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40497         * sysdeps/x86/bits/xtitypes.h: This.
40499         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40500         * sysdeps/x86/bits/wordsize.h: This.
40502         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40503         * sysdeps/x86/bits/huge_vall.h: This.
40505         * sysdeps/i386/bits/select.h: Removed.
40506         * sysdeps/x86_64/bits/select.h: Renamed to ...
40507         * sysdeps/x86/bits/select.h: This.
40509         * sysdeps/i386/bits/setjmp.h: Removed.
40510         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40511         * sysdeps/x86/bits/setjmp.h: This.
40513         * sysdeps/i386/bits/mathdef.h: Removed.
40514         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40515         * sysdeps/x86/bits/mathdef.h: This.
40517 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40519         [BZ #14132]
40520         * include/sys/socket.h (__connect_internal)
40521         (__libc_sa_len_internal): Remove declaration.
40522         (__connect, __libc_sa_len): Declare hidden_proto.
40523         (SA_LEN): Remove use of INTUSE.
40524         * socket/connect.c: Add libc_hidden_def.
40525         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40526         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40527         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40528         alias.
40529         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40530         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40531         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40532         of adding _internal alias.
40534 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40536         [BZ #14117]
40537         * sysdeps/i386/bits/link.h: Removed.
40538         * sysdeps/i386/bits/linkmap.h: Likewise.
40539         * sysdeps/x86_64/bits/link.h: Renamed to ...
40540         * sysdeps/x86/bits/link.h: This.
40541         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40542         * sysdeps/x86/bits/linkmap.h: This.
40544         * sysdeps/i386/bits/endian.h: Removed.
40545         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40546         * sysdeps/x86/bits/endian.h: This.
40548         * sysdeps/i386/bits/byteswap.h: Removed.
40549         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40550         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40551         * sysdeps/x86/bits/byteswap.h: This.
40552         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40553         * sysdeps/x86/bits/byteswap-16.h: This.
40554         * sysdeps/i386/Implies: Add x86.
40555         * sysdeps/x86_64/Implies: Likewise.
40557 2012-05-30  David S. Miller  <davem@davemloft.net>
40559         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40560         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40561         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40562         (FP_TRAPPING_EXCEPTIONS): Define.
40563         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40564         (FP_TRAPPING_EXCEPTIONS): Define.
40565         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40566         subnormals only when inexact has been signalled or underflow
40567         exceptions are enabled.
40568         (_FP_PACK_CANONICAL): Likewise.
40570 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40572         [BZ #14183]
40573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40574         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40576 2012-05-30  Richard Henderson  <rth@twiddle.net>
40578         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40579         with #ifndef NOT_IN_libc.
40581         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40582         marked to avoid plt entry.
40584 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40586         [BZ #14112]
40587         * Makeconfig (default-abi): New macro.
40588         (abi-includes): Likewise.
40589         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40590         $(abi-$(default-abi)-lib-soname) for soname if defined.
40591         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40592         abi-variants.
40593         * Makefile (installed-stubs): Likewise.
40594         * include/stubs-biarch.h: Removed.
40595         * scripts/lib-names.awk: Only handle one library at a time.
40596         * scripts/soversions.awk: Remove WORDSIZE support.
40597         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40598         entries.
40599         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40600         Removed.
40601         (syscall-list-default-condition): Likewise.
40602         (syscall-list-default-condition): Likewise.
40603         (syscall-list-includes): Likewise.
40604         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40605         syscall-list-* with abi-*.  Handle undefined abi-variants.
40606         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40607         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40608         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40609         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40610         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40611         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40612         Removed.
40613         (syscall-list-32-options): Likewise.
40614         (syscall-list-32-condition): Likewise.
40615         (syscall-list-64-options): Likewise.
40616         (syscall-list-64-condition): Likewise.
40617         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40618         macro.
40619         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40620         Renamed to ...
40621         (abi-*): This.
40622         (abi-64-ld-soname): New macro.
40623         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40624         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40625         Renamed to ...
40626         (abi-*): This.
40627         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40628         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40630 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40632         * sysdeps/unix/sysv/linux/kernel-features.h
40633         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40634         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40635         include <kernel-features.h>.
40636         [!__NR_ftruncate64]: Remove conditional code.
40637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40638         [__NR_ftruncate64]: Make code unconditional.
40639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40640         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40641         include <kernel-features.h>.
40642         [!__NR_ftruncate64]: Remove conditional code.
40643         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40644         [__NR_ftruncate64]: Make code unconditional.
40645         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40647         include <kernel-features.h>.
40648         [!__NR_ftruncate64]: Remove conditional code.
40649         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40650         [__NR_ftruncate64]: Make code unconditional.
40651         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40653         include <kernel-features.h>.
40654         [!__NR_ftruncate64]: Remove conditional code.
40655         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40656         [__NR_ftruncate64]: Make code unconditional.
40657         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40659         * configure.in (libc_cv_fpie): Weaken to a compile test using
40660         LIBC_TRY_CC_OPTION.
40661         * configure: Regenerated.
40663 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40669         Refreshed.
40670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40676         Refreshed.
40678 2012-05-27  David S. Miller  <davem@davemloft.net>
40680         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40681         (___Q_zero): New.
40682         (__Q_simulate_exceptions): Return void.  Change to simulate
40683         exceptions by writing into the %fsr.
40684         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40685         (__Qp_handle_exceptions): Likewise.
40686         (numbers): Delete.
40687         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40688         __Qp_handle_exceptions.
40689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40690         __Qp_handle_exceptions.
40691         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40692         as unused and give dummy FP_RND_NEAREST initializer.
40693         (FP_INHIBIT_RESULTS): Define.
40694         (___Q_simulate_exceptions): Update declaration.
40695         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40696         formatting.
40697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40698         as unused and give dummy FP_RND_NEAREST initializer.
40699         (__Qp_handle_exceptions): Update declaration.
40700         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40701         formatting.
40703 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40705         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40706         the temporary FPU control word.
40707         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40708         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40709         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40710         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40712         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40713         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40714         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40715         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40716         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40717         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40719 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40721         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40722         fields.
40724 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40726         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40727         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40728         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40729         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40730         Likewise.
40731         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40732         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40733         Likewise.
40735 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40737         * po/h.po: Update from translation team.
40739 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40741         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40743         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40744         handling of denormals.
40745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40746         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40747         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40748         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40749         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40752         Likewise.
40754 2012-05-26  Marek Polacek  <polacek@redhat.com>
40756         [BZ #14152]
40757         * math/libm-test.inc (fma_test): Don't always expect underflow
40758         exception.
40760 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40762         [BZ #12416]
40763         * elf/tst-execstack.c: Include stackinfo.h.
40764         (do_test): Adjust test case to ensure that pthread_getattr_np
40765         behaviour remains the same after marking stack executable.
40767 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40769         * sysdeps/unix/sysv/linux/kernel-features.h
40770         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40771         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40772         kernel-features.h.
40773         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40774         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40775         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40776         kernel-features.h.
40777         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40778         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40780 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40782         * configure.in: Define the default includes to being none.
40783         * configure: Regenerated.
40785 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40787         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40788         * sysdeps/x86_64/setjmp.S: Likewise.
40789         * sysdeps/i386/bsd-setjmp.S: Likewise.
40790         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40791         * sysdeps/i386/setjmp.S: Likewise.
40792         * sysdeps/i386/__longjmp.S: Likewise.
40793         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40794         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40796         * include/stap-probe.h: New file.
40797         * configure.in: Handle --enable-systemtap.
40798         * configure: Regenerated.
40799         * config.h.in (USE_STAP_PROBE): New #undef.
40800         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40801         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40802         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40804 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40806         [BZ #13717]
40807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40808         to 2.4.0 where earlier.
40809         * sysdeps/unix/sysv/linux/configure: Regenerated.
40810         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40811         <kernel-features.h>.
40812         [__ASSUME_32BITUIDS]: Make code unconditional.
40813         [!__ASSUME_32BITUIDS]: Remove conditional code.
40814         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40815         <kernel-features.h>.
40816         [__ASSUME_32BITUIDS]: Make code unconditional.
40817         [!__ASSUME_32BITUIDS]: Remove conditional code.
40818         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40819         [__ASSUME_32BITUIDS]: Make code unconditional.
40820         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40821         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40822         <kernel-features.h>.
40823         [__ASSUME_32BITUIDS]: Make code unconditional.
40824         [!__ASSUME_32BITUIDS]: Remove conditional code.
40825         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40826         <kernel-features.h>.
40827         [__ASSUME_32BITUIDS]: Make code unconditional.
40828         [!__ASSUME_32BITUIDS]: Remove conditional code.
40829         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40830         <kernel-features.h>.
40831         [__ASSUME_32BITUIDS]: Make code unconditional.
40832         [!__ASSUME_32BITUIDS]: Remove conditional code.
40833         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40834         <kernel-features.h>.
40835         [__ASSUME_32BITUIDS]: Make code unconditional.
40836         [!__ASSUME_32BITUIDS]: Remove conditional code.
40837         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40838         <kernel-features.h>.
40839         [__ASSUME_32BITUIDS]: Make code unconditional.
40840         [!__ASSUME_32BITUIDS]: Remove conditional code.
40841         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40842         <kernel-features.h>.
40843         [__ASSUME_32BITUIDS]: Make code unconditional.
40844         [!__ASSUME_32BITUIDS]: Remove conditional code.
40845         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40846         <kernel-features.h>.
40847         [__ASSUME_32BITUIDS]: Make code unconditional.
40848         [!__ASSUME_32BITUIDS]: Remove conditional code.
40849         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40850         <kernel-features.h>.
40851         [__ASSUME_32BITUIDS]: Make code unconditional.
40852         [!__ASSUME_32BITUIDS]: Remove conditional code.
40853         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40854         <kernel-features.h>.
40855         [__ASSUME_32BITUIDS]: Make code unconditional.
40856         [!__ASSUME_32BITUIDS]: Remove conditional code.
40857         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40858         <kernel-features.h>.
40859         [__ASSUME_32BITUIDS]: Make code unconditional.
40860         [!__ASSUME_32BITUIDS]: Remove conditional code.
40861         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40862         <kernel-features.h>.
40863         [__NR_setresgid] (__setresgid): Do not declare.
40864         [__ASSUME_32BITUIDS]: Make code unconditional.
40865         [!__ASSUME_32BITUIDS]: Remove conditional code.
40866         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40867         <kernel-features.h>.
40868         [__NR_setresuid] (__setresuid): Do not declare.
40869         [__ASSUME_32BITUIDS]: Make code unconditional.
40870         [!__ASSUME_32BITUIDS]: Remove conditional code.
40871         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40872         <kernel-features.h>.
40873         [__ASSUME_32BITUIDS]: Make code unconditional.
40874         [!__ASSUME_32BITUIDS]: Remove conditional code.
40875         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40876         <kernel-features.h>.
40877         [__ASSUME_32BITUIDS]: Make code unconditional.
40878         [!__ASSUME_32BITUIDS]: Remove conditional code.
40879         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40880         <kernel-features.h>.
40881         [__ASSUME_32BITUIDS]: Make code unconditional.
40882         [!__ASSUME_32BITUIDS]: Remove conditional code.
40883         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40884         <kernel-features.h>.
40885         [__ASSUME_32BITUIDS]: Make code unconditional.
40886         [!__ASSUME_32BITUIDS]: Remove conditional code.
40887         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40888         <kernel-features.h>.
40889         [__ASSUME_32BITUIDS]: Make code unconditional.
40890         [!__ASSUME_32BITUIDS]: Remove conditional code.
40891         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40892         <kernel-features.h>.
40893         [__ASSUME_32BITUIDS]: Make code unconditional.
40894         [!__ASSUME_32BITUIDS]: Remove conditional code.
40895         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40896         <kernel-features.h>.
40897         [__ASSUME_32BITUIDS]: Make code unconditional.
40898         [!__ASSUME_32BITUIDS]: Remove conditional code.
40899         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40900         <kernel-features.h>.
40901         [__ASSUME_32BITUIDS]: Make code unconditional.
40902         [!__ASSUME_32BITUIDS]: Remove conditional code.
40903         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40904         <kernel-features.h>.
40905         [__ASSUME_32BITUIDS]: Make code unconditional.
40906         [!__ASSUME_32BITUIDS]: Remove conditional code.
40907         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40908         <kernel-features.h>.
40909         [__ASSUME_32BITUIDS]: Make code unconditional.
40910         [!__ASSUME_32BITUIDS]: Remove conditional code.
40911         * sysdeps/unix/sysv/linux/kernel-features.h
40912         (__ASSUME_SETRESUID_SYSCALL): Remove.
40913         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40914         (__ASSUME_32BITUIDS): Likewise.
40915         (__ASSUME_LDT_WORKS): Likewise.
40916         (__ASSUME_O_DIRECTORY): Likewise.
40917         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40918         architecture but not kernel version.
40919         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40920         (__ASSUME_MMAP2_SYSCALL): Likewise.
40921         (__ASSUME_STAT64_SYSCALL): Likewise.
40922         (__ASSUME_IPC64): Likewise.
40923         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40924         <kernel-features.h>.
40925         [__ASSUME_32BITUIDS]: Make code unconditional.
40926         [!__ASSUME_32BITUIDS]: Remove conditional code.
40927         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40928         <kernel-features.h>.
40929         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40930         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40931         132096]: Remove conditional code.
40932         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40933         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
40942         <kernel-features.h>.
40943         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40944         unconditional.
40945         (__setresgid): Do not declare.
40946         [__ASSUME_32BITUIDS]: Make code unconditional.
40947         [!__ASSUME_32BITUIDS]: Remove conditional code.
40948         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40949         <kernel-features.h>.
40950         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40951         unconditional.
40952         (__setresuid): Do not declare.
40953         [__ASSUME_32BITUIDS]: Make code unconditional.
40954         [!__ASSUME_32BITUIDS]: Remove conditional code.
40955         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40956         <kernel-features.h>.
40957         [__ASSUME_32BITUIDS]: Make code unconditional.
40958         [!__ASSUME_32BITUIDS]: Remove conditional code.
40959         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40960         <kernel-features.h>.
40961         [__ASSUME_32BITUIDS]: Make code unconditional.
40962         [!__ASSUME_32BITUIDS]: Remove conditional code.
40964 2012-05-25  Richard Henderson  <rth@twiddle.net>
40966         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40967         dl_hwcap to ifunc resolver.
40968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40969         elf_ifunc_invoke.
40970         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40971         dl_hwcap to ifunc resolver.
40972         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40976         [BZ #14153]
40977         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40978         for |x| <= 2**-26, not 2**-57.
40979         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40980         exception.
40982 2012-05-24  Jeff Law  <law@redhat.com>
40984         * stdio-common/Makefile (tests): Add bug25.
40985         * stdio-common/bug25.c: New test.
40987 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40989         [BZ #13576]
40990         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40991         multiple of MALLOC_ALIGNMENT in size.
40992         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40994 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40996         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40997         Require >= 256.
40998         (FILENAME_MAX): Use macro-int-constant.
40999         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41000         (_IOFBF): Use macro-int-constant.
41001         (_IOLBF): Likewise.
41002         (_IONBF): Likewise.
41003         (SEEK_CUR): Likewise.
41004         (SEEK_END): Likewise.
41005         (SEEK_SET): Likewise.
41006         (TMP_MAX): Likewise.
41007         (EOF): Use macro-int-constant.  Require < 0.
41008         (NULL): Use macro-constant.  Require == 0.
41009         (stdin): Require type to be FILE *.
41010         (stdout): Likewise.
41011         (stderr): Likewise.
41012         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41013         macro-int-constant.
41014         (EXIT_SUCCESS): Likewise.
41015         (NULL): Use macro-constant.  Require == 0.
41016         (RAND_MAX): Use macro-int-constant.
41017         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41018         [C99-based standards] (strtof): Require function.
41019         [C99-based standards] (strtold): Likewise.
41020         [C99-based standards] (strtoll): Likewise.
41021         [C99-based standards] (strtoull): Likewise.
41022         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41023         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41024         [ISO || ISO99 || ISO11] (math.h): Likewise.
41025         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41026         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41027         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41029 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41031         [BZ #14132]
41032         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41033         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41034         * intl/dgettext.c (DCGETTEXT): Likewise.
41035         * intl/gettext.c (DCGETTEXT): Likewise.
41036         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41037         * posix/regex_internal.h (gettext): Likewise.
41038         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41039         Remove declaration.
41040         * include/argz.h (__argz_count_internal)
41041         (__argz_stringify_internal): Remove declaration.
41042         (__argz_count, __argz_stringify): Declare hidden proto.
41043         * intl/dcgettext.c: Remove use of INTDEF.
41044         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41045         * string/argz-stringify.c: Likewise.
41046         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41047         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41048         Declare hidden proto.
41049         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41050         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41051         Declare hidden proto.
41052         * include/stdio.h (__asprintf_internal): Don't declare.
41053         (__asprintf): Don't define as macro.  Declare hidden proto.
41054         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41055         (__fsetlocking): Declare hidden proto.
41056         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41057         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41058         hidden proto.
41059         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41060         (_IO_setlinebuf): Remove use of INTUSE.
41061         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41062         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41063         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41064         Remove declaration.
41065         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41066         (_IO_do_flush): Remove use of INTUSE.
41067         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41068         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41069         (_IO_adjust_column, _IO_least_wmarker)
41070         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41071         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41072         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41073         (_IO_default_doallocate, _IO_wdefault_doallocate)
41074         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41075         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41076         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41077         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41078         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41079         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41080         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41081         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41082         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41083         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41084         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41085         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41086         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41087         proto.
41088         (_IO_flush_all_internal, _IO_adjust_column_internal)
41089         (_IO_default_uflow_internal, _IO_default_finish_internal)
41090         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41091         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41092         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41093         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41094         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41095         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41096         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41097         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41098         (_IO_file_close_internal, _IO_file_close_it_internal)
41099         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41100         (_IO_file_init_internal, _IO_file_attach_internal)
41101         (_IO_file_fopen_internal, _IO_file_read_internal)
41102         (_IO_file_sync_internal, _IO_file_seek_internal)
41103         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41104         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41105         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41106         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41107         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41108         (_IO_list_all_internal, _IO_link_in_internal)
41109         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41110         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41111         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41112         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41113         (_IO_do_write_internal, _IO_padn_internal)
41114         (_IO_getline_info_internal, _IO_getline_internal)
41115         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41116         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41117         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41118         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41119         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41120         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41121         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41122         with libc_hidden_ver, remove use of INTUSE.
41123         * libio/genops.c: Likewise.
41124         * libio/freopen.c: Likewise.
41125         * libio/freopen64.c: Likewise.
41126         * libio/iofclose.c: Likewise.
41127         * libio/iofdopen.c: Likewise.
41128         * libio/iofflush.c: Likewise.
41129         * libio/iofflush_u.c: Likewise.
41130         * libio/iofgets.c: Likewise.
41131         * libio/iofgets_u.c: Likewise.
41132         * libio/iofopen.c: Likewise.
41133         * libio/iofopncook.c: Likewise.
41134         * libio/iofread.c: Likewise.
41135         * libio/iofread_u.c: Likewise.
41136         * libio/ioftell.c: Likewise.
41137         * libio/iofwrite.c: Likewise.
41138         * libio/iogetline.c: Likewise.
41139         * libio/iogets.c: Likewise.
41140         * libio/iogetwline.c: Likewise.
41141         * libio/iopadn.c: Likewise.
41142         * libio/iopopen.c: Likewise.
41143         * libio/ioseekoff.c: Likewise.
41144         * libio/ioseekpos.c: Likewise.
41145         * libio/iosetbuffer.c: Likewise.
41146         * libio/iosetvbuf.c: Likewise.
41147         * libio/ioungetc.c: Likewise.
41148         * libio/ioungetwc.c: Likewise.
41149         * libio/iovdprintf.c: Likewise.
41150         * libio/iovsprintf.c: Likewise.
41151         * libio/iovsscanf.c: Likewise.
41152         * libio/memstream.c: Likewise.
41153         * libio/obprintf.c: Likewise.
41154         * libio/oldfileops.c: Likewise.
41155         * libio/oldiofclose.c: Likewise.
41156         * libio/oldiofdopen.c: Likewise.
41157         * libio/oldiofopen.c: Likewise.
41158         * libio/oldiopopen.c: Likewise.
41159         * libio/oldstdfiles.c: Likewise.
41160         * libio/putc.c: Likewise.
41161         * libio/setbuf.c: Likewise.
41162         * libio/setlinebuf.c: Likewise.
41163         * libio/stdfiles.c: Likewise.
41164         * libio/strops.c: Likewise.
41165         * libio/vasprintf.c: Likewise.
41166         * libio/vscanf.c: Likewise.
41167         * libio/vsnprintf.c: Likewise.
41168         * libio/vswprintf.c: Likewise.
41169         * libio/wfiledoalloc.c: Likewise.
41170         * libio/wfileops.c: Likewise.
41171         * libio/wgenops.c: Likewise.
41172         * libio/wmemstream.c: Likewise.
41173         * libio/wstrops.c: Likewise.
41174         * libio/__fpurge.c: Likewise.
41175         * libio/__fsetlocking.c: Likewise.
41176         * assert/assert.c: Likewise.
41177         * debug/fgets_chk.c: Likewise.
41178         * debug/fgets_u_chk.c: Likewise.
41179         * debug/fread_chk.c: Likewise.
41180         * debug/fread_u_chk.c: Likewise.
41181         * debug/gets_chk.c: Likewise.
41182         * debug/obprintf_chk.c: Likewise.
41183         * debug/vasprintf_chk.c: Likewise.
41184         * debug/vdprintf_chk.c: Likewise.
41185         * debug/vsnprintf_chk.c: Likewise.
41186         * debug/vsprintf_chk.c: Likewise.
41187         * malloc/mtrace.c: Likewise.
41188         * misc/error.c: Likewise.
41189         * misc/syslog.c: Likewise.
41190         * stdio-common/asprintf.c: Likewise.
41191         * stdio-common/fxprintf.c: Likewise.
41192         * stdio-common/getw.c: Likewise.
41193         * stdio-common/isoc99_fscanf.c: Likewise.
41194         * stdio-common/isoc99_scanf.c: Likewise.
41195         * stdio-common/isoc99_vfscanf.c: Likewise.
41196         * stdio-common/isoc99_vscanf.c: Likewise.
41197         * stdio-common/isoc99_vsscanf.c: Likewise.
41198         * stdio-common/printf-prs.c: Likewise.
41199         * stdio-common/printf_fp.c: Likewise.
41200         * stdio-common/printf_fphex.c: Likewise.
41201         * stdio-common/printf_size.c: Likewise.
41202         * stdio-common/putw.c: Likewise.
41203         * stdio-common/scanf.c: Likewise.
41204         * stdio-common/sprintf.c: Likewise.
41205         * stdio-common/tmpfile.c: Likewise.
41206         * stdio-common/vfprintf.c: Likewise.
41207         * stdio-common/vfscanf.c: Likewise.
41208         * stdlib/strfmon_l.c: Likewise.
41209         * sunrpc/openchild.c: Likewise.
41210         * sunrpc/xdr_stdio.c: Likewise.
41211         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41212         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41214 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41216         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41218         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41219         in the third column, to generate for the shared library an IFUNC
41220         that uses _dl_vdso_vsym.
41221         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41222         * Makeconfig (object-suffixes-noshared): New variable.
41224         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41225         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41226         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41227         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41229         [BZ #14132]
41230         * include/sys/time.h (__gettimeofday): Remove macro.
41231         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41232         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41233         Remove INTDEF.
41234         (__gettimeofday): Add libc_hidden_def.
41235         (gettimeofday): Add libc_hidden_weak.
41236         * sysdeps/mach/gettimeofday.c: Likewise.
41237         * sysdeps/posix/gettimeofday.c: Likewise.
41238         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41239         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41240         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41241         (__gettimeofday_internal): Remove strong_alias.
41242         (__gettimeofday): Add libc_hidden_def.
41243         (gettimeofday): Add libc_hidden_weak.
41244         * sysdeps/unix/syscalls.list (gettimeofday):
41245         Remove __gettimeofday_internal alias.
41247 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41248             H.J. Lu  <hongjiu.lu@intel.com>
41250         [BZ #12495]
41251         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41252         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41253         (largebin_index_32_big): New.
41254         (largebin_index): Use it for 16-byte alignment.
41255         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41256         correction with front_misalign.
41258 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41262         Likewise.
41263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41264         Likewise.
41265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41266         Likewise.
41267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41268         Likewise.
41269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41270         Likewise.
41271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41272         Likewise.
41273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41274         Likewise.
41275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41276         Likewise.
41277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41278         Likewise.
41279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41280         Likewise.
41281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41282         Likewise.
41283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41284         Likewise.
41286         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41287         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41289 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41291         [BZ #10846]
41292         [BZ #14036]
41293         * math/libm-test.inc (exp_test): Add test from bug 14036.
41294         (pow_test): Add test from bug 10846.
41296         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41297         and other flags.
41298         (special_function): Do not include flags in test name.
41299         (parse_args): Likewise.
41300         * sysdeps/i386/fpu/libm-test-ulps: Update.
41301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41302         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41303         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41306         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41307         exceptions.
41308         * math/libm-test.inc ("Philosophy"): Update comment about
41309         exception testing.
41310         (UNDERFLOW_EXCEPTION): New macro.
41311         (UNDERFLOW_EXCEPTION_OK): Likewise.
41312         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41313         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41314         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41315         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41316         (INVALID_EXCEPTION_OK): Update value.
41317         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41318         (OVERFLOW_EXCEPTION_OK): Likewise.
41319         (IGNORE_ZERO_INF_SIGN): Likewise.
41320         (test_exceptions): Handle underflow exceptions.
41321         (acos_test): Update for underflow exception expectations.
41322         (cexp_test): Likewise.
41323         (clog_test): Likewise.
41324         (clog10_test): Likewise.
41325         (csqrt_test): Likewise.
41326         (ctan_test): Likewise.
41327         (ctanh_test): Likewise.
41328         (exp_test): Likewise.
41329         (exp10_test): Likewise.
41330         (exp2_test): Likewise.
41331         (expm1_test): Likewise.
41332         (fma_test): Likewise.
41333         (j0_test): Likewise.
41334         (jn_test): Likewise.
41335         (nexttoward_test): Likewise.
41336         (pow_test): Likewise.
41337         (scalbn_test): Likewise.
41338         (scalbln_test): Likewise.
41339         (tan_test): Likewise.
41340         (y1_test): Likewise.
41341         * sysdeps/i386/fpu/libm-test-ulps: Update.
41342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41344 2012-05-23  David S. Miller  <davem@davemloft.net>
41346         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41347         (__libc_sigaction): Remove unused local variables.
41349 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41351         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41353 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41355         mktime: avoid signed integer overflow
41356         * time/mktime.c (__mktime_internal): Do not mishandle the case
41357         where diff == INT_MIN.
41359         mktime: simplify computation of average
41360         * time/mktime.c (ranged_convert): Use new time_t_avg function
41361         instead of rolling our own (probably-slower) code.
41363         mktime: do not assume signed right shift propagates sign bit
41364         * time/mktime.c (isdst_differ): New static function.
41365         (__mktime_internal): No need to normalize tm_isdst now.
41366         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41367         tm_isdst values.
41369         mktime: merge another wrapv change from gnulib
41370         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41371         from some compilers.
41373         mktime: remove incorrect attempt at unusual arithmetics
41374         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41375         The code didn't really work on such machines anyway.
41376         (TYPE_MINIMUM): Assume two's complement.
41377         (twos_complement_arithmetic): Verify that long_int and time_t
41378         are two's complement (or unsigned, in the latter case).
41380         mktime: check signed shifts on long_int and time_t, too
41381         * time/mktime.c (SHR): Check that shifts work as desired
41382         on the types long_int and time_t too, as SHR is used on
41383         such types.
41385         mktime: do not assume 'long' is wide enough
41386         * time/mktime.c (verify): Move decl up.
41387         (long_int): New type.
41388         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41389         to remove assumption in the code that 'long' is wide enough to
41390         store year values.  This assumption is not true on x32 and on
41391         some non-glibc platforms.
41393         mktime: merge wrapv change from gnulib
41394         * time/mktime.c (WRAPV): New macro.
41395         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41396         (guess_time_tm, __mktime_internal): Do not assume that signed
41397         integer overflow wraps around; modern compilers generate code
41398         where this assumption is no longer valid.
41400 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41402         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41403         Replace "jmp L(pseudo_end)" with "ret".
41404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41405         Likewise.
41407 2012-05-23  Andreas Jaeger  <aj@suse.de>
41409         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41410         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41412 2012-05-23  Andreas Jaeger  <aj@suse.de>
41413             Maximilian Attems  <max@stro.at>
41415         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41416         New macros.
41418 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41420         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41421         code so that pseudo_end is just ret and the stack pointer is
41422         correct also for static library in error case.
41424 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41426         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41427         move to syscalls.list.
41428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41433         * manual/install.texi (Running make install): Do not mention Linux
41434         kernel version for which pt_chown is not needed.
41435         (Linux): Do not mention problems with nscd with 2.0 kernels.
41436         * INSTALL: Regenerated.
41438 2012-05-23  Andreas Jaeger  <aj@suse.de>
41440         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41441         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41442         macro.
41443         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41445         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41447         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41448         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41449         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41450         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41452         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41453         * sysdeps/unix/sysv/linux/bits/in.h
41454         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41456 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41458         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41459         (PREPARE_VERSION): Just use assert instead, it will be elided
41460         under [NDEBUG] anyway.
41462 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41464         * sysdeps/unix/sysv/linux/Makefile: Include
41465         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41466         (sysdep_routines): Remove sysctl.
41467         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41468         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41469         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41470         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41471         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41473 2012-05-22  Andreas Jaeger  <aj@suse.de>
41475         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41476         that pseudo_end is just ret and the stack pointer is correct also
41477         for static library in error case.
41479 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41481         [BZ #14122]
41482         * nss/nsswitch.c (defconfig_entries): New variable.
41483         (__nss_database_lookup): Don't leak defconfig entries.
41484         (nss_parse_service_list): Don't leak on error paths.
41485         (free_database_entries): New function.
41486         (free_defconfig): New function.
41487         (free_mem): Move common code to free_database_entries.
41489 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41491         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41492         Add arch_prctl.
41493         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41495         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41496         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41498         New macro.
41499         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41500         (INTERNAL_SYSCALL_TYPES): Likewise.
41501         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41502         (LOAD_REGS_TYPES_[1-6]): Likewise.
41503         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41504         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41506 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41508         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41509         copysignl for GLIBC_2_0.
41510         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41511         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41512         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41513         logbl for GLIBC_2_0.
41514         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41515         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41517 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41520         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41522         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41523         Use "neg %eax".
41525         * time/mktime.c: Update copyright years.
41527 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41529         mktime: merge comment-quoting-style change from gnulib
41530         * time/mktime.c: Quote 'like this' in comments.
41531         The GNU coding standards suggest that we no longer quote `like this',
41532         as "`" and "'" are typically rendered asymmetrically nowadays.
41533         The typical gnulib style is to quote 'like this' when quoting
41534         code, and "like this" when quoting English.
41536         * time/mktime.c (compile-command): Add "-I.".
41538         mktime: merge mktime-internal.h change from gnulib
41539         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41541         mktime: merge time_r change from gnulib
41542         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41544         mktime: merge DEBUG change from gnulib
41545         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41546         case system <time.h> has a #define.
41548         mktime: merge <sys/types.h> change from gnulib
41549         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41550         since <time.t> is now guaranteed to define time_t.
41552         mktime: merge HAVE_CONFIG_H change from gnulib
41553         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41555 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41558         Use "neg %eax".
41560         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41561         __rlim_t cast.
41562         (struct rusage): Use anonymous union to pad each field to
41563         __syscall_slong_t.
41565 2012-05-21  David S. Miller  <davem@davemloft.net>
41567         * Makefules (o-iterator): Remove .s cases.
41568         (compile-command.s): Delete.
41569         (COMPILE.s): Delete.
41570         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41572 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41574         * configure.in (libc_cv_predef_stack_protector): Only consider
41575         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41576         * configure: Regenerated.
41578 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41581         New macro.  Use R*LP on int and pointer.
41582         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41583         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41584         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41585         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41587         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41588         [__WORDSIZE_TIME64_COMPAT32] instead of
41589         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41590         (struct utmp): Likewise.
41591         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41592         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41593         Renamed to ...
41594         (__WORDSIZE_TIME64_COMPAT32): This.
41595         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41596         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41597         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41598         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41599         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41600         (__WORDSIZE_TIME64_COMPAT32): New macro.
41602 2012-05-21  Andreas Jaeger  <aj@suse.de>
41604         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41605         only if [SHARED]. Add prototype for __wcschr_ia32.
41607 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41609         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41610         of %rbp unmolested in the jmp_buf while mangling the low bits.
41611         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41612         unmolested high bits of %rbp while demangling the low bits.
41613         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41615 2012-05-21  Andreas Jaeger  <aj@suse.de>
41617         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41618         * sunrpc/svc_simple.c: Use it for registerrpc.
41619         * sunrpc/xcrypt.c: Use it for passwd2des.
41621         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41623 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41625         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41626         Don't define if [__SYSCALL_WORDSIZE != 32].
41627         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41628         New macro.
41630 2012-05-21  Bruno Haible  <bruno@clisp.org>
41631             Andreas Jaeger  <aj@suse.de>
41633         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41634         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41635         inptr and inend for must_buffer_ch.
41636         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41637         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41638         * stdio-common/Makefile (tests): Remove bug15.
41639         (bug15-ENV): Remove macro.
41640         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41641         anymore.
41643 2012-05-19  Andreas Jaeger  <aj@suse.de>
41644             Roland McGrath  <roland@hack.frob.com>
41646         * manual/contrib.texi: Completely rewritten. It contains now an
41647         alphabetical list of contributors and their contributions.
41649 2012-05-21  Richard Henderson  <rth@twiddle.net>
41651         * misc/getauxval.c (__getauxval): Use unsigned long int.
41652         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41653         (getauxval): Use unsigned long int.
41655 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41659 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41661         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41662         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41663         __alignof__ (long double).
41665 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41669 2012-05-20  Richard Henderson  <rth@twiddle.net>
41671         * misc/getauxval.c: New file.
41672         * misc/sys/auxv.h: New file.
41673         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41674         (routines): Add getauxval.
41675         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41676         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41677         * elf/dl-sysdep.c (_dl_auxv): Remove.
41678         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41679         * elf/dl-support.c (_dl_auxv): New variable.
41680         (_dl_aux_init): Initialize it.
41681         * manual/startup.texi (Auxiliary Vector): New node.
41682         * sysdeps/generic/bits/hwcap.h: New file.
41683         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41684         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41685         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41686         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41687         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41688         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41690         Update.
41691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41694         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41700 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41704 2012-05-19  David S. Miller  <davem@davemloft.net>
41706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41708 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41710         [BZ #14123]
41711         * math/s_ccosh.c: Include <float.h>
41712         (__ccosh): Avoid internal overflow calculating sinh and cosh
41713         values before multiplying by sin and cos values.
41714         * math/s_ccoshf.c: Likewise.
41715         * math/s_ccoshl.c: Likewise.
41716         * math/s_csin.c: Likewise.
41717         * math/s_csinf.c: Likewise.
41718         * math/s_csinl.c: Likewise.
41719         * math/s_csinh.c: Likewise.
41720         * math/s_csinhf.c: Likewise.
41721         * math/s_csinhl.c: Likewise.
41722         * math/libm-test.inc (ccos_test): Add more tests.
41723         (ccosh_test): Likewise.
41724         (csin_test): Likewise.
41725         (csinh_test): Likewise.
41726         * sysdeps/i386/fpu/libm-test-ulps: Update.
41727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41729 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41731         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41732         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41734         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41736 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41738         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41739         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41740         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41741         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41742         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41743         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41744         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41745         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41746         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41747         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41748         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41749         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41750         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41751         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41752         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41753         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41754         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41755         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41756         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41757         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41758         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41759         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41760         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41761         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41762         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41763         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41764         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41765         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41766         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41767         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41768         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41770 2012-05-18  Andreas Jaeger  <aj@suse.de>
41772         * csu/.gitignore: Delete.
41774 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41776         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41777         (timex): Use __syscall_slong_t.
41779 2012-05-18  Andreas Jaeger  <aj@suse.de>
41780             Carlos O'Donell  <carlos_odonell@mentor.com>
41782         * manual/install.texi (Configuring and compiling): Update
41783         description about files modified in the source directory.
41784         * INSTALL: Regenerated.
41786 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41788         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41789         value.  Use "or" to set return value to -1.
41790         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41791         negate return value.
41793 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41795         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41796         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41797         failure if the compiler has Graphite support disabled.
41798         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41799         Likewise.
41800         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41801         (CFLAGS-memmove.c): Likewise.
41802         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41803         Likewise.
41805 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41807         * sysdeps/x86_64/x32/_itoa.h: New file.
41809         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41810         getdents system call only if kernel and user dirents have the
41811         same d_ino and d_off.
41813         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41814         LLONG_MAX != LONG_MAX.
41815         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41816         (_fitoa_word): Likewise.
41818         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41819         years.
41820         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41821         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41822         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41824         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41825         include <bits/wordsize.h>.  Check __x86_64__ instead of
41826         __WORDSIZE.
41827         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41828         if __x86_64__ is defined.  Use anonymous union on fpstate.
41830         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41831         anonymous union.
41833 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41835         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41836         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41838         Refer to _rtld_local_ro instead of _rtld_global_ro.
41839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41840         Likewise.
41841         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41842         Likewise.
41843         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41844         Likewise.
41845         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41846         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41847         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41849         * sysdeps/powerpc/powerpc32/dl-machine.c
41850         (__elf_machine_runtime_setup) [PROF]: Don't reference
41851         _dl_prof_resolve.
41853 2012-05-18  Andreas Jaeger  <aj@suse.de>
41855         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41856         function only available for GCCs before 3.4 since GCC 3.4
41857         introduced a builtin.
41858         (lrint): Likewise.
41859         (llrintf): Likewise.
41860         (llrint): Likewise.
41861         (fmaxf): Likewise.
41862         (fmax): Likewise.
41863         (fminf): Likewise.
41864         (fmin): Likewise.
41865         (rint): Likewise.
41866         (rintf): Likewise.
41867         (nearbyint): Likewise.
41868         (nearbyintf): Likewise.
41869         (ceil): Likewise.
41870         (ceilf): Likewise.
41871         (floor): Likewise.
41872         (floorf): Likewise.
41874 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41876         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41877         on both fields and cast pointer to __syscall_ulong_t.
41879         * bits/types.h (__fsword_t): New type.
41880         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41881         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41883         (__FSWORD_T_TYPE): Likewise.
41884         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41885         (__FSWORD_T_TYPE): Likewise.
41886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41887         (__FSWORD_T_TYPE): Likewise.
41888         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41889         (__FSWORD_T_TYPE): Likewise.
41890         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41891         __SWORD_TYPE with __fsword_t.
41892         (statfs64): Likewise.
41894 2012-05-17  David S. Miller  <davem@davemloft.net>
41896         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41898 2012-05-17  Andreas Jaeger  <aj@suse.de>
41900         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41901         warning.
41903 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41905         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41907 2012-05-17  Andreas Jaeger  <aj@suse.de>
41909         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41910         when it is used.
41912 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41914         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41916 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41918         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41919         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41921 2012-05-17  Andreas Jaeger  <aj@suse.de>
41922             Carlos O'Donell  <carlos_odonell@mentor.com>
41924         [BZ #14059]
41925         * sysdeps/x86_64/multiarch/init-arch.h
41926         (bit_YMM_Usable): Rename to...
41927         (bit_AVX_Usable): ... this.
41928         (bit_FMA4_Usable): New macro.
41929         (bit_XMM_state): New macro.
41930         (bit_YMM_state): New macro.
41931         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41932         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41933         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41934         (CPUID_OSXSAVE): New macro.
41935         (CPUID_AVX): New macro.
41936         (CPUID_FMA4): New macro.
41937         (index_YMM_Usable): Rename to...
41938         (index_AVX_Usable): ... this.
41939         (HAS_AVX): Use HAS_ARCH_FEATURE.
41940         (HAS_FMA4): Likewise.
41941         (HAS_YMM_USABLE): Remove.
41942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41943         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41944         are present.
41945         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41946         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41947         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41948         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41949         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41951 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41953         * math/libm-test.c: Support platforms without multiple rounding modes.
41954         * math/bug-nextafter.c: Support platforms without FP exceptions.
41955         * math/bug-nexttoward.c: Likewise.
41956         * math/test-fenv.c: Likewise.
41957         * math/test-misc.c: Likewise.
41958         * stdlib/bug-getcontext.c: Likewise.
41960 2012-05-17  Andreas Jaeger  <aj@suse.de>
41962         * manual/examples/search.c (critter_cmp): Change signature to
41963         avoid warnings.
41964         * manual/string.texi (Collation Functions): Likewise.
41966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41968         * bits/types.h: Fold copyright years.
41969         * bits/typesizes.h: Likewise.
41970         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41971         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41972         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41973         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41974         * time/time.h: Likewise.
41976 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41978         [BZ #208]
41979         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41980         in instead of returning them.  Return void.
41981         (__libc_mallinfo): Accumulate over all arenas.
41982         (__malloc_stats): Adjust for change in int_mallinfo interface.
41984 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41986         [BZ #10375]
41987         * configure.in (NM): Add AC_CHECK_TOOL for it.
41988         (libc_extra_cflags): New substituted variable.
41989         Check for -fstack-protector being used implicitly.
41990         * configure: Regenerated.
41991         * config.make.in (config-extra-cflags): New variable,
41992         gets @libc_extra_cflags@.
41993         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41995         [BZ #10375]
41996         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41997         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41998         * configure: Regenerated.
41999         * config.make.in (CPPUNDEFS): New substituted variable.
42000         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42001         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42002         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42004 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42006         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42007         (mq_attr): Use __syscall_slong_t.
42009 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42011         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42012         Check __x86_64__ instead of __WORDSIZE.
42013         (_STAT_VER_LINUX): Likewise.
42014         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42015         __syscall_ulong_t and __syscall_slong_t.
42016         (stat64): Likewise.
42018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42020         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42022 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42024         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42028         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42029         __syscall_ulong_t.
42031         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42032         include <bits/wordsize.h>.  Check __x86_64__ instead of
42033         __WORDSIZE.
42034         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42035         defined.
42036         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42038         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42039         include <bits/wordsize.h>.  Check __x86_64__ instead of
42040         __WORDSIZE.
42041         (user_regs_struct): Use "__extension__ unsigned long long"
42042         instead of "unsigned long" if __x86_64__ is defined.
42043         (user): Likewise.  Pad after pointer field if __ILP32__ is
42044         defined.
42046 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42048         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42049         versions 5 to 9.
42050         * configure: Regenerated.
42051         * manual/install.texi (texinfo): Increase version requirement to
42052         4.5 or later.
42053         * INSTALL: Regenerated.
42055         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42057 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42059         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42061         * sysdeps/x86_64/x32/ffs.c: New file.
42063         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42064         __syscall_ulong_t.
42065         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42066         defined.  Use __syscall_ulong_t.
42067         (shminfo): Use __syscall_ulong_t.
42068         (shm_info): Likewise.
42070         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42071         __syscall_ulong_t.
42073         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42074         <bits/wordsize.h>.
42075         (msgqnum_t): Use __syscall_ulong_t.
42076         (msglen_t): Likewise.
42077         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42078         __syscall_ulong_t.
42080         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42081         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42083         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42085         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42086         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42088         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42089         __syscall_slong_t.
42091         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42092         include <bits/wordsize.h>.  Check __x86_64__ instead of
42093         __WORDSIZE.
42095         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42096         "unsigned long long int" if __x86_64__ is defined.
42097         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42099         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42100         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42101         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42103         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42104         <stdint.h>.
42105         (GET_PC): Cast to uintptr_t first.
42106         (GET_FRAME): Likewise.
42107         (GET_STACK): Likewise.
42109         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42110         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42111         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42112         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42113         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42114         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42115         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42116         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42117         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42118         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42119         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42120         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42121         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42122         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42123         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42124         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42125         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42126         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42127         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42128         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42129         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42130         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42131         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42132         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42133         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42134         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42135         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42136         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42139 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42141         * Makerules (+depfiles): Also collect depfiles from .oS in
42142         $(extra-objs).
42143         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42144         .oS, $(libnldbl-routines)).
42146         * Makerules (native-compile-mkdep-flags): Define.
42147         * sunrpc/Makefile (extra-objs): Add $(addprefix
42148         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42149         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42150         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42151         calling $(make-target-directory).
42153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42155         * bits/types.h (__snseconds_t): Removed.
42156         * time/time.h (struct timespec): Replace __snseconds_t with
42157         __syscall_slong_t.
42158         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42159         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42160         Likewise.
42161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42162         (__SNSECONDS_T_TYPE): Likewise.
42163         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42164         (__SNSECONDS_T_TYPE): Likewise.
42165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42166         (__SNSECONDS_T_TYPE): Likewise.
42168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42170         * sysdeps/mach/hurd/bits/typesizes.h
42171         (__SYSCALL_SLONG_TYPE): New macro.
42172         (__SYSCALL_ULONG_TYPE): Likewise.
42174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42176         * bits/types.h (__syscall_slong_t): New type.
42177         (__syscall_ulong_t): Likewise.
42179         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42180         (__SYSCALL_ULONG_TYPE): Likewise.
42181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42182         (__SYSCALL_SLONG_TYPE): Likewise.
42183         (__SYSCALL_ULONG_TYPE): Likewise.
42184         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42185         (__SYSCALL_SLONG_TYPE): Likewise.
42186         (__SYSCALL_ULONG_TYPE): Likewise.
42187         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42188         (__SYSCALL_SLONG_TYPE): Likewise.
42189         (__SYSCALL_ULONG_TYPE): Likewise.
42191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42193         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42194         Add sigaltstack-offsets.sym.
42195         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42196         <sigaltstack-offsets.h>.
42197         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42198         longjmp_msg pointer.
42199         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42200         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42201         signal stack.
42202         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42204 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42206         * elf/stackguard-macros.h: Remove file.
42207         * sysdeps/generic/stackguard-macros.h: New file.
42208         * sysdeps/i386/stackguard-macros.h: Likewise.
42209         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42210         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42211         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42212         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42213         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42214         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42215         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42216         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42217         <elf/stackguard-macros.h>.
42219         [BZ #14109]
42220         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42221         __aligned__ in attribute.
42222         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42223         (gregset_t): Likewise.
42225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42227         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42228         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42229         * sysdeps/x86_64/x32/Implies-after: New file.
42231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42233         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42234         and access return value for _dl_profile_fixup.  Use R10_LP to
42235         load frame size.
42237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42239         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42243         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42244         * sysdeps/x86_64/x32/sysdep.h: New file.
42246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42248         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42249         * sysdeps/x86_64/setjmp.S: Likewise.
42251 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42253         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42254         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42255         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42256         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42257         remove unused global constant.
42259 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42261         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42262         include of <not-cancel.h>.
42264 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42266         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42268 2012-05-15  Jeff Law  <law@redhat.com>
42269             Andreas Jaeger  <aj@suse.de>
42271         [BZ #13594]
42272         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42273         out from...
42274         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42275         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42276         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42277         code changing __hst_map_handle.map.
42279 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42281         * configure.in (sysnames): Look for Implies-before and Implies-after
42282         files.
42283         * configure: Regenerated.
42285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42287         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42288         8-byte data alignment with LP_SIZE alignment.
42290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42292         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42293         into R10_LP.
42295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42297         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42301         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42302         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42304         Likewise.
42305         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42309         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42310         (stackinfo_sub_sp): Likewise.
42312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42314         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42315         RAX_LP.
42317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42319         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42320         into R*_LP.
42322 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42325         sizes into R*_LP.
42327 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42329         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42333         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42334         into R11_LP and load __x86_64_shared_cache_size_half into
42335         R8_LP.
42337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42339         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42340         R8_LP.
42342 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42344         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42345         logb for POWER7.
42346         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42347         logbf for POWER7.
42348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42349         logbl for POWER7.
42350         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42351         powerpc32/power7/fpu/s_logb.c via #include.
42352         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42353         powerpc32/power7/fpu/s_logbf.c via #include.
42354         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42355         powerpc32/power7/fpu/s_logbl.c via #include.
42357 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42359         * README.libm: Remove file.
42361 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42363         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42364         count for x32.  Use R*_LP and omit operand-size suffix.
42366 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42368         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42369         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42370         * sysdeps/x86_64/x32/shlib-versions: New file.
42372 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42374         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42375         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42376         Use _dl_fatal_printf instead.
42378 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42380         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42381         set if not set by the user.  Do not allow for being unset.
42382         * sysdeps/unix/sysv/linux/configure: Regenerated.
42384 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42386         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42387         the `q' suffix from lea and replace .quad with ASM_ADDR.
42389 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42391         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42392         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42393         instead of $17.
42394         (PTR_DEMANGLE): Likewise.
42396 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42398         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42399         (LP_OP): Likewise.
42400         (ASM_ADDR): Likewise.
42401         (RAX_LP): Likewise.
42402         (RBP_LP): Likewise.
42403         (RBX_LP): Likewise.
42404         (RCX_LP): Likewise.
42405         (RDI_LP): Likewise.
42406         (RSI_LP): Likewise.
42407         (RSP_LP): Likewise.
42408         (R8_LP): Likewise.
42409         (R9_LP): Likewise.
42410         (R10_LP): Likewise.
42411         (R10_LP): Likewise.
42412         (R11_LP): Likewise.
42413         (R12_LP): Likewise.
42414         (R13_LP): Likewise.
42415         (R14_LP): Likewise.
42416         (R15_LP): Likewise.
42418 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42420         * sysdeps/x86_64/x32/dl-machine.h: New file.
42422 2012-05-14  Andreas Jaeger  <aj@suse.de>
42424         * manual/Makefile (subdir): Remove export of subdir.
42425         (all): Remove target.
42426         (.PHONY): Remove all from list.
42427         (mkinstalldirs): Remove.
42428         (.PHONY): Remove installdirs from list.
42429         ($(inst_infodir)/libc.info): Use make-target-directory.
42430         (installdirs): Remove.
42431         (subdir_%): Remove.
42432         (glibc-targets): Remove.
42433         (lib): Remove.
42434         (stubs): Remove.
42435         ($(objpfx)stubs ../po/manual.pot): Remove.
42436         ($(objpfx)stamp%): Remove.
42437         (make-target-directory): Remove.
42438         (subdir_install): Remove.
42439         (routines): Remove.
42440         (aux): Remove.
42441         (sources): Remove.
42442         (objects): Remove.
42443         (headers): Remove.
42445         [BZ #13750]
42446         * manual/.gitignore: Remove, it's not needed anymore.
42447         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42448         all files in it.
42449         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42450         directory.
42451         (texis): Renamed to $(objpfx)texis.
42452         (texis-path): New, contains path to generated files.
42453         (chapters.%): Use texis-path for complete path, add extra argument
42454         libc-texinfo.sh.
42455         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42456         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42457         (summary,texi, stamp-summary): Use complete path of
42458         files. Generate files in build dir.
42459         (dir-add.texi): Build in build dir.
42460         (libm-err.texi,stamp-libm-err): Likewise.
42461         (version.texi, stamp-version): Likewise.
42462         (.%c.texi): Likewise.
42463         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42464         (mostlyclean): Remove target.
42465         (realclean): Remove target.
42466         (generated): Add new variable with contents from mostlyclean and
42467         realclean, remove entries duplicated in common-mostlyclean, add
42468         stamp-libm-err and stamp-version.
42469         (generated-dirs): Add libc directory.
42470         ($(inst_infodir)/libc.info): Install files from build dir.
42472         * manual/install.texi (Configuring and compiling): Adjust since
42473         the info files are not part of the tar ball anymore.
42475 2012-05-14  Andreas Jaeger  <aj@suse.de>
42477         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42478         variable.
42480 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42482         [BZ #13717]
42483         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42484         to 2.2.0 where earlier.
42485         * sysdeps/unix/sysv/linux/configure: Regenerated.
42486         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42487         Remove conditional code.
42488         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42489         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42490         Remove conditional code.
42491         [!__NR_lchown]: Likewise.
42492         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42493         [__NR_lchown]: Likewise.
42494         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42495         comment referencing __ASSUME_LCHOWN_SYSCALL.
42496         * sysdeps/unix/sysv/linux/i386/sigaction.c
42497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42499         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42500         Remove conditional code.
42501         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42502         (__protocol_available): Remove #if 0 code.
42503         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42504         conditional code.
42505         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42506         * sysdeps/unix/sysv/linux/kernel-features.h
42507         (__ASSUME_GETCWD_SYSCALL): Don't define.
42508         (__ASSUME_REALTIME_SIGNALS): Likewise.
42509         (__ASSUME_PREAD_SYSCALL): Likewise.
42510         (__ASSUME_PWRITE_SYSCALL): Likewise.
42511         (__ASSUME_POLL_SYSCALL): Likewise.
42512         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42513         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42514         non-SPARC.
42515         (__ASSUME_SIOCGIFNAME): Don't define.
42516         (__ASSUME_MSG_NOSIGNAL): Likewise.
42517         (__ASSUME_SENDFILE): Define unconditionally.
42518         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42519         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42520         conditional code.
42521         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42522         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42523         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42524         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42525         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42526         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42527         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42529         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42530         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42532         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42533         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42535         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42536         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42538         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42539         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42541         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42542         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42544         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42545         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42547         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42550         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42551         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42552         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42553         Remove conditional code.
42554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42555         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42556         Remove conditional code.
42557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42558         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42559         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42560         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42561         Remove conditional code.
42562         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42563         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42564         Remove conditional code.
42565         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42566         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42567         Remove conditional code.
42568         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42569         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42570         Remove conditional code.
42571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42572         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42573         Remove conditional code.
42574         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42575         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42576         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42577         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42578         * sysdeps/unix/sysv/linux/sigaction.c
42579         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42580         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42581         * sysdeps/unix/sysv/linux/sigpending.c
42582         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42583         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42584         * sysdeps/unix/sysv/linux/sigprocmask.c
42585         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42586         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42587         * sysdeps/unix/sysv/linux/sigsuspend.c
42588         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42589         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42590         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42591         (__libc_missing_rt_sigs): Remove.
42592         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42593         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42594         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42595         Remove conditional code.
42596         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42597         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42598         return 1.
42599         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42600         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42601         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42602         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42604 2012-05-14  Andreas Jaeger  <aj@suse.de>
42606         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42607         it's not used in glibc.
42608         (__coshm1): Likewise.
42609         (__acosh1p): Likewise.
42610         (__sgn): Likewise.
42612         * manual/string.texi (Copying and Concatenation): Add missing
42613         variable in concat example.
42614         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42616 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42618         [BZ #14103]
42619         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42620         __builtin_clzl with __builtin_clzll.
42622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42624         [BZ #14104]
42625         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42626         libc_freeres_ptr.
42628 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42630         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42631         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42632         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42633         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42635 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42637         * NEWS: Update ia64 info.
42639 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42641         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42642         used as bcopy.
42644 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42646         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42647         * sysdeps/unix/syscalls.list (dup3): Likewise.
42648         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42649         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42651 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42653         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42654         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42656 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42658         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42659         thread pointer.
42660         (TLS_IE): Use mov/add instead of movq/addq to load thread
42661         pointer.
42662         (TLS_GD_PREFIX): New.
42663         (TLS_GD): Use it.
42665 2012-05-11  David S. Miller  <davem@davemloft.net>
42667         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42668         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42669         (_FPU_SETCW): Likewise.
42671 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42673         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42674         is 32-byte aligned.
42676 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42678         [BZ #11837]
42679         * iconvdata/gb18030.c: Update tables.
42680         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42681         characters specially.
42682         (BODY for TO_LOOP): Add encoding of missing ranges.
42684 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42686         [BZ #13673]
42687         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42688         * sysdeps/mach/hurd/dup3.c: Likewise.
42689         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42690         * sysdeps/powerpc/memmove.c:: Likewise.
42692 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42694         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42695         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42697 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42699         * elf/elf.h (R_X86_64_RELATIVE64): New.
42700         (R_X86_64_NUM): Updated.
42701         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42702         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42703         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42704         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42705         tst-quad1pie tst-quad2pie
42706         (modules-names): Add tst-quadmod1 tst-quadmod2.
42707         ($(objpfx)tst-quad1): New dependency.
42708         ($(objpfx)tst-quad2): Likewise.
42709         ($(objpfx)tst-quad1pie): Likewise.
42710         ($(objpfx)tst-quad2pie): Likewise.
42711         * sysdeps/x86_64/tst-quad1.c: New file.
42712         * sysdeps/x86_64/tst-quad1pie.c: New file.
42713         * sysdeps/x86_64/tst-quad2.c: Likewise.
42714         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42715         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42716         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42717         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42718         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42722         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42723         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42724         * streams/stropts.h (t_scalar_t): Define type.
42726         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42727         (_PATH_PRESERVE): Set to "/var/lib".
42728         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42730         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42731         instead of int.
42733         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42734         if __dir_mkfile succeeded.
42736         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42737         checking for _hurd_dtablesize.  Unlock it right after having
42738         finished _hurd_dtable allocation.
42740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42742         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42743         * sysdeps/mach/hurd/configure: Regenerated.
42744         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42745         special-casing to...
42746         * sysdeps/gnu/configure.in: ... this new file.
42747         * sysdeps/unix/sysv/linux/configure: Regenerated.
42748         * sysdeps/gnu/configure: New generated file.
42750         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42751         for Linux: use nsec instead of usec, as well as:
42752         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42753         members of type struct timespec.
42754         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42755         New macros.
42756         (struct stat64): Likewise.
42757         (_STATBUF_ST_NSEC): New macro.
42758         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42760         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42761         __strtoul_internal rather than strtoul.
42763 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42765         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42766         and reject them.
42768 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42770         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42771         which preserves existing values.
42772         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42774 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42776         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42777         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42778         greater than FD_SETSIZE.
42780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42782         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42783         allocated, call __vm_protect to finish enabling the existing space, and
42784         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42785         allocate the remainder.
42787 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42789         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42790         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42794         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42795         sysdeps/mach/hurd/readlink.c.
42797         * posix/tst-sysconf.c (posix_options): Only use
42798         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42799         _POSIX_SYNCHRONIZED_IO when they are defined
42800         * sysdeps/mach/hurd/bits/posix_opt.h:
42801         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42802         (_XOPEN_REALTIME): Undefine macro.
42803         (_XOPEN_REALTIME_THREADS): Undefine macro.
42804         (_XOPEN_SHM): Undefine macro.
42805         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42806         macro to -1.
42807         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42808         macro to -1.
42809         (_POSIX_ASYNC_IO): Undefine macro.
42810         (_POSIX_PRIORITIZED_IO): Undefine macro.
42811         (_POSIX_SPIN_LOCKS): Define macro to -1.
42813         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42814         SA_NODEFER, SA_RESETHAND.
42815         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42816         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42817         F_DUPFD_CLOEXEC.
42819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42821         * elf/Makefile (pldd-modules): Define unconditionally.
42823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42825         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42829         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42830         Return ENOENT when name is empty.
42831         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42835         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42837         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42839 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42841         Fix mlock in all cases except non-readable pages.
42842         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42843         instead of VM_PROT_ALL as parameter to __vm_wire function.
42845         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42846         (__mkdir): When path is `/', just fail with EEXIST.
42847         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42851         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42852         <sys/uio.h> (for writev).
42853         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42854         and <sys/param.h> (for MIN).
42856 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42858         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42859         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42860         if interrupted.
42862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42864         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42865         Depend on against $(link-rpcuserlibs).
42867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42869         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42870         (__libc_stack_end): Do not use attribute_relro.
42871         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42872         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42873         to libthread-provided value.
42874         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42875         attribute_relro.
42877 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42879         [BZ #3748]
42880         * bits/libc-lock.h (__libc_once_get): New macro.
42881         * sysdeps/mach/bits/libc-lock.h: Likewise.
42882         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42883         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42884         instead of using implementation details.
42886         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42887         * libio/freopen.c: Likewise.
42888         * libio/freopen64.c: Likewise.
42889         * misc/syslog.c: Likewise.
42890         * nscd/connections.c: Likewise.
42891         * nscd/netgroupcache.c: Likewise.
42892         * sysdeps/posix/getcwd.c: Likewise.
42894 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42896         * math/w_ilogbf.c: Add #include <limits.h>.
42898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42900         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42901         path instead of returning without unlocking.
42903         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42904         immediate-write ioctls.
42905         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42907 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42909         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42910         __builtin_frame_address instead of making assumptions about the
42911         location of the return address relative to DATA.  Force early load of
42912         the return address.
42913         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42914         __builtin_frame_address.
42916         dup3 for GNU Hurd.
42917         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42918         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42919         implement dup3 and do some further code clean-ups.
42920         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42921         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42923 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42925         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42927         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42928         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42929         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42930         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42931         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42932         d->port.lock.
42934         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42935         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42936         when handler == SIG_ERR, not when handler != SIG_ERR.
42938 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42940         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42941         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42942         definitions.
42944         accept4 for GNU Hurd.
42945         * include/sys/socket.h (__libc_accept4): New prototype.
42946         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42947         to implement __libc_accept4.
42948         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42949         __libc_accept4.
42950         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42952         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42953         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42954         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42955         signal-defines.sym.
42957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42959         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42963         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42964         assertion on O_CLOEXEC flag.
42965         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42966         * hurd/intern-fd.c: Likewise.
42967         * hurd/port2fd.c: Likewise.
42969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42971         [BZ #3906]
42972         * bits/in.h (IPV6_PKTINFO): Define new macro.
42973         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42975 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42977         [BZ #13954]
42978         [BZ #13955]
42979         [BZ #13956]
42980         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42981         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42982         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42983         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42984         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42985         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42986         * math/libm-test.inc (logb_test) : Additional logb tests.
42988 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42989             Andreas Jaeger  <aj@suse.de>
42991         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42992         * configure: Regenerated.
42993         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42994         * config.make.in (link-obsolete-rpc): New substituted variable.
42995         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42996         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42997         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42998         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42999         so that libc.a contains the symbols.
43000         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43001         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43002         * sunrpc/auth_none.c: Likewise.
43003         * sunrpc/auth_unix.c: Likewise.
43004         * sunrpc/authdes_prot.c: Likewise.
43005         * sunrpc/authuxprot.c: Likewise.
43006         * sunrpc/clnt_gen.c: Likewise.
43007         * sunrpc/clnt_perr.c: Likewise.
43008         * sunrpc/clnt_raw.c: Likewise.
43009         * sunrpc/clnt_simp.c: Likewise.
43010         * sunrpc/clnt_tcp.c: Likewise.
43011         * sunrpc/clnt_udp.c: Likewise.
43012         * sunrpc/clnt_unix.c: Likewise.
43013         * sunrpc/des_crypt.c: Likewise.
43014         * sunrpc/des_soft.c: Likewise.
43015         * sunrpc/get_myaddr.c: Likewise.
43016         * sunrpc/key_call.c: Likewise.
43017         * sunrpc/key_prot.c: Likewise.
43018         * sunrpc/netname.c: Likewise.
43019         * sunrpc/pm_getmaps.c: Likewise.
43020         * sunrpc/pm_getport.c: Likewise.
43021         * sunrpc/pmap_clnt.c: Likewise.
43022         * sunrpc/pmap_prot.c: Likewise.
43023         * sunrpc/pmap_prot2.c: Likewise.
43024         * sunrpc/pmap_rmt.c: Likewise.
43025         * sunrpc/publickey.c: Likewise.
43026         * sunrpc/rpc_cmsg.c: Likewise.
43027         * sunrpc/rpc_common.c: Likewise.
43028         * sunrpc/rpc_dtable.c: Likewise.
43029         * sunrpc/rpc_prot.c: Likewise.
43030         * sunrpc/rpc_thread.c: Likewise.
43031         * sunrpc/rtime.c: Likewise.
43032         * sunrpc/svc.c: Likewise.
43033         * sunrpc/svc_auth.c: Likewise.
43034         * sunrpc/svc_raw.c: Likewise.
43035         * sunrpc/svc_run.c: Likewise.
43036         * sunrpc/svc_tcp.c: Likewise.
43037         * sunrpc/svc_udp.c: Likewise.
43038         * sunrpc/svc_unix.c: Likewise.
43039         * sunrpc/svcauth_des.c: Likewise.
43040         * sunrpc/xcrypt.c: Likewise.
43041         * sunrpc/xdr.c: Likewise.
43042         * sunrpc/xdr_array.c: Likewise.
43043         * sunrpc/xdr_float.c: Likewise.
43044         * sunrpc/xdr_intXX_t.c: Likewise.
43045         * sunrpc/xdr_mem.c: Likewise.
43046         * sunrpc/xdr_rec.c: Likewise.
43047         * sunrpc/xdr_ref.c: Likewise.
43048         * sunrpc/xdr_sizeof.c: Likewise.
43049         * sunrpc/xdr_stdio.c: Likewise.
43051 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43054         change.  Update copyright years.
43056 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43058         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43060 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43061             Joseph Myers  <joseph@codesourcery.com>
43062             Paul Pluzhnikov  <ppluzhnikov@google.com>
43064         [BZ #14012]
43065         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43066         requiring rpcgen.
43067         [cross-compiling] (extra-libs): Likewise.
43068         [cross-compiling] (extra-libs-others): Likewise.
43069         [cross-compiling] (librpcsvc-routines): Likewise.
43070         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43071         [cross-compiling] (omit-deps): Likewise.
43072         (sunrpc-CPPFLAGS): New variable.
43073         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43074         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43075         (cross-rpcgen-objs): New variable.
43076         (extra-objs): Append $(cross-rpcgen-objs).
43077         ($(cross-rpcgen-objs)): New rule.
43078         ($(objpfx)cross-rpcgen): Likewise.
43079         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43080         comment.
43081         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43082         ($(objpfx)x%.stmp): Likewise.
43083         * sunrpc/proto.h [IS_IN_build] (_): Define.
43084         [IS_IN_build] (_libc_intl_domainname): Likewise.
43086 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43088         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43089         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43090         and R_X86_64_TPOFF64.
43092 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43094         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43095         sysdeps/unix/sysv/syscalls.list.
43096         (stime): Likewise.
43097         (utime): Likewise.
43098         * sysdeps/unix/sysv/syscalls.list: Remove file.
43100 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43102         [BZ #3440]
43103         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43104         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43105         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43106         (__LC_IDENTIFICATION): Make these macros useful in #if
43107         expressions, as required by C99.
43109 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43111         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43112         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43113         after this.
43115 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43117         * stdlib/longlong.h: Updated from GCC.
43119 2012-05-09  Andreas Jaeger  <aj@suse.de>
43121         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43122         default is first entry.
43123         (run_mode): Set type.
43124         (main): Remove informal message about syslog.
43125         (options): Fix typo.
43127         [BZ #14053]
43128         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43129         to asm.
43130         (lrint): Likewise.
43131         (llrintf): Likewise.
43132         (llrint): Likewise.
43133         (rint): Likewise.
43134         (rintf): Likewise.
43135         (nearbyint): Likewise.
43136         (nearbyintf): Likewise.
43138 2012-05-09  Andreas Jaeger  <aj@suse.de>
43139             Pedro Alves  <palves@redhat.com>
43141         * nscd/nscd.c (run_mode): Use enum.
43142         (main): Cleanup coding style issue.
43144 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43145             Andreas Jaeger  <aj@suse.de>
43147         * nscd/nscd.c (go_background): Replaced with...
43148         (run_mode): ... this.
43149         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43150         (options): Add -F --foreground.
43151         (main): Implement it.
43152         (parse_opt): Parse it.
43154 2012-05-09  Andreas Jaeger  <aj@suse.de>
43156         [BZ #14083]
43157         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43158         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43159         -Wconversion warning.
43160         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43161         Likewise.
43163 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43165         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43166         == 0.
43167         (LC_ALL): Use macro-int-constant.
43168         (LC_COLLATE): Likewise.
43169         (LC_CTYPE): Likewise.
43170         (LC_MESSAGES): Likewise.
43171         (LC_MONETARY): Likewise.
43172         (LC_NUMERIC): Likewise.
43173         (LC_TIME): Likewise.
43174         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43175         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43176         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43177         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43178         Specify type.
43179         [C99-based standards] (float_t): Expect type.
43180         [C99-based standards] (double_t): Expect type.
43181         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43182         type.
43183         [C99-based standards] (HUGE_VALL): Likewise.
43184         [C99-based standards] (INFINITY): Likewise.
43185         [C99-based standards] (NAN): Likewise.
43186         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43187         [C99-based standards] (FP_NAN): Likewise.
43188         [C99-based standards] (FP_NORMAL): Likewise.
43189         [C99-based standards] (FP_SUBNORMAL): Likewise.
43190         [C99-based standards] (FP_ZERO): Likewise.
43191         [C99-based standards] (FP_FAST_FMA): Use
43192         optional-macro-int-constant.  Specify type.  Require == 1.
43193         [C99-based standards] (FP_FAST_FMAF): Likewise.
43194         [C99-based standards] (FP_FAST_FMAL): Likewise.
43195         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43196         [C99-based standards] (FP_ILOGBNAN): Likewise.
43197         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43198         Specify type.
43199         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43200         [C99-based standards] (math_errhandling): Specify type.
43201         [ISO99 || ISO11] (signgam): Do not allow.
43202         [non-C99-based standards] (copysignf): Do not allow.
43203         [non-C99-based standards] (exp2f): Likewise.
43204         [non-C99-based standards] (log2f): Likewise.
43205         [non-C99-based standards] (modff): Allow.
43206         [non-C99-based standards] (erff): Do not allow.
43207         [non-C99-based standards] (erfcf): Likewise.
43208         [non-C99-based standards] (gammaf): Likewise.
43209         [non-C99-based standards] (hypotf): Likewise.
43210         [non-C99-based standards] (j0f): Likewise.
43211         [non-C99-based standards] (j1f): Likewise.
43212         [non-C99-based standards] (jnf): Likewise.
43213         [non-C99-based standards] (lgammaf): Likewise.
43214         [non-C99-based standards] (tgammaf): Likewise.
43215         [non-C99-based standards] (y0f): Likewise.
43216         [non-C99-based standards] (y1f): Likewise.
43217         [non-C99-based standards] (ynf): Likewise.
43218         [non-C99-based standards] (isnanf): Likewise.
43219         [non-C99-based standards] (acoshf): Likewise.
43220         [non-C99-based standards] (asinhf): Likewise.
43221         [non-C99-based standards] (atanhf): Likewise.
43222         [non-C99-based standards] (cbrtf): Likewise.
43223         [non-C99-based standards] (expm1f): Likewise.
43224         [non-C99-based standards] (ilogbf): Likewise.
43225         [non-C99-based standards] (log1pf): Likewise.
43226         [non-C99-based standards] (logbf): Likewise.
43227         [non-C99-based standards] (nextafterf): Likewise.
43228         [non-C99-based standards] (remainderf): Likewise.
43229         [non-C99-based standards] (rintf): Likewise.
43230         [non-C99-based standards] (scalbf): Likewise.
43231         [non-C99-based standards] (copysignl): Likewise.
43232         [non-C99-based standards] (exp2l): Likewise.
43233         [non-C99-based standards] (log2l): Likewise.
43234         [non-C99-based standards] (modfl): Allow.
43235         [non-C99-based standards] (erfl): Do not allow.
43236         [non-C99-based standards] (erfcl): Likewise.
43237         [non-C99-based standards] (gammal): Likewise.
43238         [non-C99-based standards] (hypotl): Likewise.
43239         [non-C99-based standards] (j0l): Likewise.
43240         [non-C99-based standards] (j1l): Likewise.
43241         [non-C99-based standards] (jnl): Likewise.
43242         [non-C99-based standards] (lgammal): Likewise.
43243         [non-C99-based standards] (tgammal): Likewise.
43244         [non-C99-based standards] (y0l): Likewise.
43245         [non-C99-based standards] (y1l): Likewise.
43246         [non-C99-based standards] (ynl): Likewise.
43247         [non-C99-based standards] (isnanl): Likewise.
43248         [non-C99-based standards] (acoshl): Likewise.
43249         [non-C99-based standards] (asinhl): Likewise.
43250         [non-C99-based standards] (atanhl): Likewise.
43251         [non-C99-based standards] (cbrtl): Likewise.
43252         [non-C99-based standards] (expm1l): Likewise.
43253         [non-C99-based standards] (ilogbl): Likewise.
43254         [non-C99-based standards] (log1pl): Likewise.
43255         [non-C99-based standards] (logbl): Likewise.
43256         [non-C99-based standards] (nextafterl): Likewise.
43257         [non-C99-based standards] (remainderl): Likewise.
43258         [non-C99-based standards] (rintl): Likewise.
43259         [non-C99-based standards] (scalbl): Likewise.
43260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43261         [non-C99-based standards] (FP_*): Do not allow.
43262         [C99-based standards] (FP_*): Change to
43263         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43264         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43265         allow.
43266         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43267         (SIG_ERR): Likewise.
43268         [X/Open-based standards] (SIG_HOLD): Likewise.
43269         (SIG_IGN): Likewise.
43270         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43271         positive value.
43272         (SIGFPE): Likewise.
43273         (SIGILL): Likewise.
43274         (SIGINT): Likewise.
43275         (SIGSEGV): Likewise.
43276         (SIGTER): Likewise.
43277         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43278         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43279         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43280         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43281         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43282         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43283         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43284         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43285         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43286         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43287         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43288         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43289         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43290         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43291         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43292         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43293         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43294         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43295         [X/Open-based standards] (SIGTRAP): Likewise.
43296         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43297         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43298         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43299         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43300         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43301         allow.
43303 2012-05-08  Ian Wienand  <ianw@vmware.com>
43305         [BZ #14080]
43306         * time/tzset.c (__tzset_parse_tz): Update default rules for
43307         daylight time changes in the Energy Policy Act of 2005.
43309 2012-05-09  Andreas Jaeger  <aj@suse.de>
43311         [BZ #13983]
43312         * elf/ldconfig.c (parse_conf): Change string to make clear that
43313         ldconfig only issued a warning if ld.so.conf does not exist.
43315 2012-05-08  David S. Miller  <davem@davemloft.net>
43317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43318         movxtod instead of popping the value on the stack.
43320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43322 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43324         * config.h.in: Add HAVE_ARM_PCS_VFP.
43326 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43328         [BZ #13979]
43329         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43330         checking but the checks are disabled for any reason.
43332 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43334         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43335         and ELF64_R_TYPE with ELFW(R_TYPE).
43337 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43339         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43340         (ulimit): Likewise.
43342         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43343         (settimeofday): Likewise.
43345 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43347         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43348         a struct th_u2 inside the union, and move tu_block/tu_code into
43349         a new th_u3 union of tu_block/tu_code inside of that.  Move
43350         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43351         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43352         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43353         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43354         (th_stuff): Change to th_u1.tu_stuff.
43355         (th_data): Define.
43356         (th_msg): Change to th_u1.th_u2.tu_data.
43358 2012-05-07  David S. Miller  <davem@davemloft.net>
43360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43362         [BZ #14074]
43363         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43364         (SETUP_PIC_REG): Use it.
43365         (SETUP_PIC_REG_LEAF): Use it.
43367 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43369         [BZ #13885]
43370         [BZ #13923]
43371         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43372         USE_AS_EXPM1L.
43373         (EXPL_FINITE): Likewise.
43374         (FLDLOG): Likewise.
43375         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43376         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43377         e_expl.S.
43378         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43379         USE_AS_EXPM1L.
43380         (EXPL_FINITE): Likewise.
43381         (FLDLOG): Likewise.
43382         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43383         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43384         e_expl.S.
43385         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43386         test of -max_value argument for long double.
43387         * sysdeps/i386/fpu/libm-test-ulps: Update.
43388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43390 2012-05-06  David S. Miller  <davem@davemloft.net>
43392         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43393         quad soft-float symbols whose references which are compiler
43394         generated.
43395         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43397 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43399         [BZ #13884]
43400         [BZ #13914]
43401         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43402         USE_AS_EXP10L.
43403         (EXPL_FINITE): Likewise.
43404         (FLDLOG): Likewise.
43405         (c0): Likewise.
43406         (c1): Likewise.
43407         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43408         Adjust comments for base varying.
43409         (__expl_finite): Change alias to EXPL_FINITE.
43410         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43411         e_expl.S.
43412         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43413         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43414         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43415         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43416         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43417         USE_AS_EXP10L.
43418         (EXPL_FINITE): Likewise.
43419         (FLDLOG): Likewise.
43420         (c0): Likewise.
43421         (c1): Likewise.
43422         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43423         Adjust comments for base varying.
43424         (__expl_finite): Change alias to EXPL_FINITE.
43425         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43426         tests for bugs.
43427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43429         [BZ #14064]
43430         * math/libm-test.inc (check_float_internal): Correct ulp
43431         calculation for subnormal expected results.
43433 2012-05-06  Andreas Jaeger  <aj@suse.de>
43435         * Makeconfig (+math-flags): New, set to -frounding-math.
43436         (+cflags): Add +math-flags so that all of glibc gets compiled with
43437         it.
43439         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43441 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43443         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43444         Disable one test.
43446         [BZ #13787]
43447         [BZ #13922]
43448         [BZ #14036]
43449         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43450         (__ieee754_expl): Allow for and saturate large arguments.
43451         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43452         (u_threshold): Likewise.
43453         (__exp): Call __ieee754_exp before checking for overflow and
43454         underflow.
43455         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43456         (u_threshold): Likewise.
43457         (__expf): Call __ieee754_expf before checking for overflow and
43458         underflow.
43459         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43460         (u_threshold): Likewise.
43461         (__expl): Call __ieee754_expl before checking for overflow and
43462         underflow.
43463         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43464         (__ieee754_expl): Allow for and saturate large arguments.
43465         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43466         missing overflow exception on overflow.
43467         (expm1_test): Do not allow missing overflow exception on overflow.
43469         * sysdeps/i386/fpu/e_expl.c: Move to ...
43470         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43471         rather than using inline asm.
43472         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43473         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43474         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43476         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43477         (nice): Likewise.
43478         (poll): Likewise.
43479         (signal): Likewise.
43480         (time): Likewise.
43481         (times): Likewise.
43483 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43485         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43486         sysdeps/unix/common/syscalls.list.
43487         (fchmod): Likewise.
43488         (fchown): Likewise.
43489         (ftruncate): Likewise.
43490         (getrusage): Likewise.
43491         (gettimeofday): Likewise.
43492         (setpgid): Likewise.
43493         (setregid): Likewise.
43494         (setreuid): Likewise.
43495         (sigaction): Likewise.
43496         (truncate): Likewise.
43497         (vhangup): Likewise.
43498         * sysdeps/unix/common/syscalls.list: Remove file.
43499         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43500         * sysdeps/unix/sysv/linux/Implies: Likewise.
43502 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43504         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43506         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43507         Moved to ...
43508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43509         Here.
43510         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43511         to ...
43512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43513         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43514         to ...
43515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43516         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43517         to ...
43518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43519         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43520         to ...
43521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43522         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43523         to ...
43524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43525         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43526         to ...
43527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43528         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43529         to ...
43530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43531         Here.
43532         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43533         to ...
43534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43535         Here.
43536         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43537         to ...
43538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43539         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43540         Moved to ...
43541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43542         Here.
43543         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43544         to ...
43545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43547 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43549         * sysdeps/unix/common/bits/dirent.h: Remove file.
43550         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43552         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43553         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43554         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43555         * sysdeps/unix/bsd/isatty.c: Likewise.
43556         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43557         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43558         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43560 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43562         [BZ #13563]
43563         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43564         long double comparison inaccuracies.
43565         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43568 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43570         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43571         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43573 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43575         [BZ #14049]
43576         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43577         nonzero digits before rounding a hex value.
43578         * stdlib/tst-strtod.c (tests): Add another test.
43580 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43582         * sysdeps/s390/fpu/libm-test-ulps: Update.
43584 2012-05-03  Andreas Jaeger  <aj@suse.de>
43586         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43587         does not get optimized out.
43588         (malloc_opt_barrier): New.
43590 2012-05-03  Andreas Jaeger  <aj@suse.de>
43591             Roland McGrath  <roland@hack.frob.com>
43593         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43594         intermediate file deletion.
43595         (generated): Add .symlist files.
43597 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43599         [BZ #13775]
43600         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43601         Redirect under this condition.
43602         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43603         [__USE_GNU] (__dprintf_chk): Not under this condition.
43604         [__USE_GNU] (__vdprintf_chk): Likewise.
43605         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43606         under this condition.
43607         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43608         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43609         [__USE_XOPEN2K8] (vdprintf): Likewise.
43610         [__USE_GNU] (__dprintf_chk): Not under this condition.
43611         [__USE_GNU] (__vdprintf_chk): Likewise.
43612         [__USE_GNU] (dprintf): Likewise.
43613         [__USE_GNU] (vdprintf): Likewise.
43615 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43617         * elf/Makefile (common-generated): Set this instead of generated for
43618         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43619         $(all-built-dso)-derived lists.
43621 2012-05-03  Andreas Jaeger  <aj@suse.de>
43623         * sysdeps/i386/fpu/libm-test-ulps: Update.
43625         * FAQ: Removed.
43626         * FAQ.in: Likewise.
43627         * scripts/gen-FAQ.pl: Likewise.
43628         * manual/install.texi (Installation): Point to online location of
43629         FAQ.
43630         * Makefile (files-for-dist): Remove FAQ.
43631         (FAQ): Remove.
43633 2012-05-02  Allan McRae  <allan@archlinux.org>
43635         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43636         (LDFLAGS-reldepmod5.so): Likewise.
43637         (LDFLAGS-reldep6mod1.so): Likewise.
43638         (LDFLAGS-reldep6mod4.so): Likewise.
43639         (LDFLAGS-reldep8mod3.so): Likewise.
43640         (LDFLAGS-unload4mod1.so): Likewise.
43641         (LDFLAGS-unload4mod2.so): Likewise.
43642         (LDFLAGS-tst-initorder): Likewise.
43643         (LDFLAGS-tst-initordera2.so): Likewise.
43644         (LDFLAGS-tst-initordera3.so): Likewise.
43645         (LDFLAGS-tst-initordera4.so): Likewise.
43646         (LDFLAGS-tst-initorderb2.so): Likewise.
43647         (LDFLAGS-noload): Likewise.
43648         (LDFLAGS-next): Likewise.
43649         (LDFLAGS-order2mod1.so): Likewise.
43650         (LDFLAGS-order2mod2.so): Likewise.
43651         (LDFLAGS-tst-initorder2): Likewise.
43652         (LDFLAGS-tst-initorder2a.so): Likewise.
43653         (LDFLAGS-tst-initorder2b.so): Likewise.
43654         (LDFLAGS-tst-initorder2c.so): Likewise.
43655         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43657 2012-05-02  David S. Miller  <davem@davemloft.net>
43659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43661 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43663         [BZ #14055]
43664         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43666 2012-05-02  Andreas Jaeger  <aj@suse.de>
43668         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43669         since we manipulate rounding mode.
43670         (CPPFLAGS-test-idouble.c): Likewise.
43671         (CPPFLAGS-test-ifloat.c): Likewise.
43672         (CFLAGS-test-ldouble.c): Likewise.
43673         (CFLAGS-test-double.c): Likewise.
43674         (CFLAGS-test-float.c): Likewise.
43675         (CFLAGS-test-misc.c): Likewise.
43676         (CFLAGS-test-test-fenv.c): Likewise.
43678 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43680         [BZ #2550]
43681         [BZ #2570]
43682         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43683         comparisons to determine direction to adjust input.
43685 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43687         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43688         output to the target.
43690         * scripts/localplt.awk: New file.
43691         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43692         (check-localplt-CFLAGS): Variable removed.
43693         ($(all-built-dso:=.jmprel)): New static pattern rule.
43694         (generated): Add those targets.
43695         (localplt-built-dso): New variable.
43696         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43698         * elf/check-localplt.c: File removed.
43700         * scripts/check-execstack.awk: New file.
43701         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43702         (check-execstack-CFLAGS): Variable removed.
43703         ($(objpfx)check-execstack.h): Target removed.
43704         ($(objpfx)execstack-default): New target.
43705         (generated): Add that instead of check-execstack.h.
43706         ($(all-built-dso:=.phdr)): New static pattern rule.
43707         (generated): Add those targets.
43708         * elf/check-execstack.c: File removed.
43710         * scripts/check-textrel.awk: New file.
43711         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43712         (check-textrel-CFLAGS): Variable removed.
43713         (all-built-dso): Use := to define.o
43714         ($(all-built-dso:=.dyn)): New static pattern rule.
43715         (generated): Add those targets.
43716         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43717         * config.make.in (READELF): New substituted variable.
43718         * elf/check-textrel.c: File removed.
43720 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43722         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43723         allow.
43724         * conform/data/ctype.h-data [C99-based standards] (isblank):
43725         Expect function.
43726         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43727         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43728         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43729         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43730         Specify type.  Require positive value.
43731         (EILSEQ): Likewise.
43732         (ERANGE): Likewise.
43733         [ISO || POSIX] (EILSEQ): Do not expect.
43734         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43735         Specify type.  Require positive value.
43736         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43737         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43738         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43739         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43740         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43741         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43742         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43743         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43744         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43745         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43746         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43747         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43748         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43749         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43750         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43751         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43752         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43753         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43754         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43755         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43756         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43757         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43758         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43759         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43760         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43761         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43762         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43763         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43764         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43765         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43766         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43767         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43768         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43769         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43770         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43771         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43772         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43773         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43774         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43775         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43776         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43777         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43778         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43779         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43780         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43781         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43782         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43783         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43784         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43785         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43786         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43787         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43788         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43789         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43790         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43791         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43792         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43793         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43794         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43795         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43796         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43797         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43798         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43799         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43800         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43801         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43802         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43803         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43804         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43805         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43806         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43807         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43808         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43809         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43810         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43811         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43812         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43813         Require >= 2.
43814         (FLT_ROUNDS): Expect as macro, not constant.
43815         (FLT_MANT_DIG): Use macro-int-constant.
43816         (DBL_MANT_DIG): Likewise.
43817         (LDBL_MANT_DIG): Likewise.
43818         (FLT_DIG): Likewise.
43819         (DBL_DIG): Likewise.
43820         (LDBL_DIG): Likewise.
43821         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43822         (DBL_MIN_EXP): Likewise.
43823         (LDBL_MIN_EXP): Likewise.
43824         (FLT_MAX_EXP): Use macro-int-constant.
43825         (DBL_MAX_EXP): Likewise.
43826         (LDBL_MAX_EXP): Likewise.
43827         (FLT_MAX_10_EXP): Likewise.
43828         (DBL_MAX_10_EXP): Likewise.
43829         (LDBL_MAX_10_EXP): Likewise.
43830         (FLT_MAX): Use macro-constant.
43831         (DBL_MAX): Likewise.
43832         (LDBL_MAX): Likewise.
43833         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43834         (DBL_EPSILON): Likewise.
43835         (LDBL_EPSILON): Likewise.
43836         (FLT_MIN): Likewise.
43837         (DBL_MIN): Likewise.
43838         (LDBL_MIN): Likewise.
43839         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43840         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43841         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43842         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43843         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43844         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43845         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43846         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43847         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43848         [ISO11] (FLT_TRUE_MIN): Likewise.
43849         [ISO11] (LDBL_TRUE_MIN): Likewise.
43850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43851         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43852         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43853         (SCHAR_MAX): Likewise.
43854         (UCHAR_MAX): Likewise.
43855         (CHAR_MIN): Likewise.
43856         (CHAR_MAX): Likewise.
43857         (MB_LEN_MAX): Use macro-int-constant.
43858         (SHRT_MIN): Use macro-int-constant.  Specify type.
43859         (SHRT_MAX): Likewise.
43860         (USHRT_MAX): Likewise.
43861         (INT_MAX): Likewise.
43862         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43863         bound negative.
43864         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43865         bound with "U".
43866         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43867         bound with "L".
43868         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43869         bound negative.  Suffix upper bound with "L".
43870         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43871         bound with "UL".
43872         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43873         Specify type.
43874         [C99-based standards] (LLONG_MAX): Likewise.
43875         [C99-based standards] (ULLONG_MAX): Likewise.
43876         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43877         == 0.
43878         [ISO11] (max_align_t): Require type.
43879         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43881         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43882         from $CFLAGS, without defining away __attribute__ calls.
43883         (checknamespace): Use $CFLAGS_namespace.
43885         * conform/conformtest.pl (@keywords): Only include C99 keywords
43886         for standards based on C99 or C11.
43888         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43889         Disable tests.
43890         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43891         UNIX98]: Likewise.
43893         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43894         usability of symbols in #if.
43896         * conform/conformtest.pl: If macro or constant types start
43897         "promoted:", expect the symbol to be of the following type
43898         promoted by the integer promotions.
43900         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43901         in one place.  Also handle "macro-constant".
43903         * conform/conformtest.pl: Only accept expected macro values with
43904         "==".  Parse all "macro" lines in one place.
43905         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43907         * conform/conformtest.pl: Handle braced types on "constant" lines
43908         instead of handling "typed-constant".
43909         * conform/data/signal.h-data: Use "constant" instead of
43910         "typed-constant".
43912         * conform/conformtest.pl: Handle "optional-" at start of lines in
43913         one place rather than duplicating several cases.  Handle each
43914         format of "macro" line with initial "optional-".
43916         * conform/conformtest.pl: Only accept expected constant or
43917         optional-constant values with "==".  Parse all "constant" lines in
43918         one place.  Parse all "optional-constant" lines in one place.
43919         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43920         * conform/data/fmtmsg.h-data: Likewise.
43921         * conform/data/netinet/in.h-data: Likewise.
43922         * conform/data/tar.h-data: Likewise.
43923         * conform/data/limits.h-data: Use "==" form on "constant" and
43924         "optional-constant" lines.
43926         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43927         Use -std=c99 for XOPEN2K.
43928         (@knownproblems): Remove.
43929         (newtoken): Don't check %isknown.
43931         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43932         Do not expect macro.
43933         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43934         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43935         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43936         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43937         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43938         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43939         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43940         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43941         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43942         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43943         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43944         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43945         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43946         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43947         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43948         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43949         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43950         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43951         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43952         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43953         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43954         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43955         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43956         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43957         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43958         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43959         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43960         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43961         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43962         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43963         [XPG3] (acosh): Likewise.
43964         [XPG3] (asinh): Likewise.
43965         [XPG3] (atanh): Likewise.
43966         [XPG3] (cbrt): Likewise.
43967         [XPG3] (expm1): Likewise.
43968         [XPG3] (ilogb): Likewise.
43969         [XPG3] (log1p): Likewise.
43970         [XPG3] (logb): Likewise.
43971         [XPG3] (nextafter): Likewise.
43972         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43973         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43974         [XPG3] (remainder): Likewise.
43975         [XPG3] (rint): Likewise.
43976         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43977         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43978         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43979         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43980         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43981         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43982         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43983         [UNIX98 || XOPEN2K] (scalb): Expect.
43984         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43985         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43986         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43987         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43988         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43989         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43990         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43991         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43992         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43993         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43994         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43995         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43996         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43997         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43998         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43999         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44000         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44001         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44002         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44003         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44004         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44005         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44006         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44007         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44008         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44009         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44010         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44011         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44012         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44013         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44014         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44015         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44016         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44017         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44018         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44019         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44020         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44021         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44022         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44023         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44024         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44025         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44026         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44027         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44028         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44029         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44030         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44031         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44032         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44033         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44034         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44035         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44036         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44037         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44038         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44039         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44040         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44041         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44042         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44043         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44044         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44045         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44046         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44047         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44048         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44049         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44050         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44051         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44052         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44053         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44054         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44055         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44056         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44057         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44058         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44059         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44060         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44061         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44062         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44063         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44064         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44065         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44066         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44067         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44068         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44069         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44070         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44071         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44072         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44073         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44074         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44075         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44076         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44077         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44078         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44079         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44080         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44081         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44082         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44083         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44084         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44085         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44086         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44087         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44088         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44089         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44090         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44091         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44092         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44093         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44094         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44095         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44096         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44097         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44098         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44099         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44100         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44101         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44102         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44103         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44104         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44105         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44106         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44107         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44108         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44109         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44110         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44111         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44112         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44113         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44114         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44115         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44116         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44117         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44118         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44119         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44120         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44122         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44123         _XOPEN_SOURCE_EXTENDED for XPG4.
44125         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44127         * Makeconfig (localtime): Remove variable.
44128         (inst_localtime-file): Likewise.
44130 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44133         Update.
44134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44135         Update.
44136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44137         Update.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44139         Update.
44140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44141         Update.
44142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44143         Update.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44145         Update.
44146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44147         Update.
44148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44149         Update.
44151 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44153         [BZ #2550]
44154         [BZ #2570]
44155         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44156         comparisons to determine direction to adjust input.
44157         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44158         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44159         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44160         Likewise.
44161         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44162         Likewise.
44163         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44164         Likewise.
44165         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44166         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44167         Likewise.
44168         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44169         Likewise.
44170         * math/libm-test.inc (nexttoward_test): Add more tests.
44172 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44174         [BZ #14040]
44175         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44176         in version GLIBC_2.1, not GLIBC_2.0.
44177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44178         Likewise.
44180 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44182         [BZ #13942]
44183         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44184         (1 - x) * (1 + x).
44185         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44186         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44187         * math/libm-test.inc (acos_test): Add more tests.
44188         (asin_test): Likewise.
44189         * sysdeps/i386/fpu/libm-test-ulps: Update.
44190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44192         [BZ #14034]
44193         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44194         of square root.
44195         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44196         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44197         * math/libm-test.inc (acos_test_tonearest): New function.
44198         (acos_test_towardzero): Likewise.
44199         (acos_test_downward): Likewise.
44200         (acos_test_upward): Likewise.
44201         (asin_test_tonearest): Likewise.
44202         (asin_test_towardzero): Likewise.
44203         (asin_test_downward): Likewise.
44204         (asin_test_upward): Likewise.
44205         (main): Call the new functions.
44206         * sysdeps/i386/fpu/libm-test-ulps: Update.
44207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44209         [BZ #13884]
44210         [BZ #13924]
44211         * math/e_exp10.c: Include <float.h>.
44212         (__ieee754_exp10): Handle underflow here rather than multiplying
44213         large negative argument by M_LN10.
44214         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44215         of __ieee754_expf.
44216         * math/e_exp10l.c: Include <float.h>.
44217         (__ieee754_exp10l): Handle underflow here rather than multiplying
44218         large negative argument by M_LN10l.
44219         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44220         spurious overflow exception on underflow.
44222 2012-04-29  Marek Polacek  <polacek@redhat.com>
44224         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44225         (__fortify_function): New macro.
44226         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44227         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44228         __extern_always_inline.
44229         * libio/bits/stdio2.h: Likewise.
44230         * libio/bits/stdio.h: Likewise.
44231         * string/string.h: Likewise.
44232         * string/bits/string3.h: Likewise.
44233         * include/stdio.h: Likewise.
44234         * stdlib/bits/stdlib.h: Likewise.
44235         * stdlib/stdlib.h: Likewise.
44236         * rt/bits/mqueue2.h: Likewise.
44237         * rt/mqueue.h: Likewise.
44238         * posix/bits/unistd.h: Likewise.
44239         * posix/unistd.h: Likewise.
44240         * io/bits/poll2.h: Likewise.
44241         * io/bits/fcntl2.h: Likewise.
44242         * io/fcntl.h: Likewise.
44243         * io/sys/poll.h: Likewise.
44244         * misc/bits/syslog.h: Likewise.
44245         * misc/bits/syslog-ldbl.h: Likewise.
44246         * misc/sys/syslog.h: Likewise.
44247         * socket/bits/socket2.h: Likewise.
44248         * socket/sys/socket.h: Likewise.
44249         * debug/tst-chk1.c: Likewise.
44250         * wcsmbs/bits/wchar2.h: Likewise.
44251         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44252         * wcsmbs/wchar.h: Likewise.
44254 2012-04-29  Andreas Jaeger  <aj@suse.de>
44256         * Makerules (tests): Remove enable-check-abi protection.
44257         (check-abi-warn): Remove.
44258         (check-abi-%): Remove check-abi-warn usage.
44260         * configure.in: Remove check-abi configure option.
44261         * configure: Regenerated.
44262         * config.make.in (enable-check-abi): Remove.
44264 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44266         [BZ #14033]
44267         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44268         double functions to double *_finite functions.
44270         [BZ #13941]
44271         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44272         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44273         LDBL_MIN_EXP.
44274         * stdio-common/Makefile (tests): Add tst-sprintf3.
44275         * stdio-common/tst-sprintf3.c: New file.
44277         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44278         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44280 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44282         * conform/conformtest.pl: Remove duplicate typed-constant
44283         handling.
44285 2012-04-28  David S. Miller  <davem@davemloft.net>
44287         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44288         (check-abi-%): Remove AWK script prerequisite and explicit
44289         abilist directory.
44290         (check-abi): Rewrite to just diff the symlist with the abilist.
44291         (config-tls, config-abi-config): Delete, no longer used.
44292         (update-abi-%): Remove AWK script and explicit abilist directory.
44293         (update-abi): Rewrite to simply compare and conditionally copy the
44294         symlist and the sysdep abilist file.  Remove update-abi-config
44295         checks.
44296         * abilist/ld.abilist: Remove.
44297         * abilist/libBrokenLocale.abilist: Remove.
44298         * abilist/libanl.abilist: Remove.
44299         * abilist/libcrypt.abilist: Remove.
44300         * abilist/libdl.abilist: Remove.
44301         * abilist/librt.abilist: Remove.
44302         * abilist/libthread_db.abilist: Remove.
44303         * abilist/libutil.abilist: Remove.
44304         * scripts/extract-abilist.awk: Remove.
44305         * scripts/merge-abilist.awk: Remove.
44306         * sysdeps/generic/libcidn.abilist: New file.
44307         * sysdeps/generic/libnss_compat.abilist: New file.
44308         * sysdeps/generic/libnss_db.abilist: New file.
44309         * sysdeps/generic/libnss_dns.abilist: New file.
44310         * sysdeps/generic/libnss_files.abilist: New file.
44311         * sysdeps/generic/libnss_hesiod.abilist: New file.
44312         * sysdeps/generic/libnss_nis.abilist: New file.
44313         * sysdeps/generic/libnss_nisplus.abilist: New file.
44314         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44315         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44316         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44317         file.
44318         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44319         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44320         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44321         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44322         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44323         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44324         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44325         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44326         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44327         file.
44328         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44329         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44330         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44331         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44332         file.
44333         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44334         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44335         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44336         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44337         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44338         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44339         file.
44340         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44341         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44342         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44343         file.
44344         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44346         New file.
44347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44348         New file.
44349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44350         New file.
44351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44352         New file.
44353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44354         New file.
44355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44356         New file.
44357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44358         New file.
44359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44360         New file.
44361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44362         New file.
44363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44364         New file.
44365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44366         New file.
44367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44368         New file.
44369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44370         New file.
44371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44372         file.
44373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44374         New file.
44375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44376         New file.
44377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44378         file.
44379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44380         New file.
44381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44382         New file.
44383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44384         file.
44385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44386         New file.
44387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44388         New file.
44389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44390         New file.
44391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44392         New file.
44393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44394         New file.
44395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44396         New file.
44397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44399         file.
44400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44401         New file.
44402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44403         file.
44404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44405         file.
44406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44407         file.
44408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44409         file.
44410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44411         file.
44412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44413         New file.
44414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44415         file.
44416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44417         file.
44418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44419         New file.
44420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44421         file.
44422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44424         file.
44425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44426         New file.
44427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44428         file.
44429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44430         file.
44431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44432         file.
44433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44434         file.
44435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44436         file.
44437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44438         New file.
44439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44440         file.
44441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44442         file.
44443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44444         New file.
44445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44446         file.
44447         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44448         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44449         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44450         file.
44451         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44452         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44453         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44454         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44455         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44456         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44457         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44458         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44459         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44460         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44463         file.
44464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44465         New file.
44466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44467         file.
44468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44469         file.
44470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44471         file.
44472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44473         file.
44474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44475         file.
44476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44477         New file.
44478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44479         New file.
44480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44481         file.
44482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44483         New file.
44484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44485         file.
44486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44488         file.
44489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44490         New file.
44491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44492         file.
44493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44494         file.
44495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44496         file.
44497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44498         file.
44499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44500         file.
44501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44502         New file.
44503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44504         New file.
44505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44506         file.
44507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44508         New file.
44509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44510         file.
44512 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44514         * conform/conformtest.pl: Fix typo in handling typed-constant from
44515         allow-header.
44517 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44519         * README: Cut down references to pre-2.6 Linux kernels and
44520         Linuxthreads.  Update lists of configurations in libc and ports
44521         and sort alphabetically.  Say "or newer" with Linux kernel version
44522         requirements.
44524         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44526 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44528         [BZ #887]
44529         * math/libm-test.inc (logb_test_downward): New test to expose
44530         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44531         rounding mode.
44533 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #14027]
44536         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44537         to be done.
44538         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44539         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44541 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44543         * sysdeps/unix/i386/brk.S: Remove file.
44544         * sysdeps/unix/i386/dl-brk.S: Likewise.
44545         * sysdeps/unix/i386/pipe.S: Likewise.
44546         * sysdeps/unix/i386/sigreturn.S: Likewise.
44547         * sysdeps/unix/i386/syscall.S: Likewise.
44548         * sysdeps/unix/i386/vfork.S: Likewise.
44549         * sysdeps/unix/i386/wait.S: Likewise.
44551         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44552         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44554         * configure.in (arm*-none*): Do not allow without
44555         --enable-hacker-mode.
44556         (netbsd*): Remove case setting base_os.
44557         (386bsd*): Likewise.
44558         (freebsd*): Likewise.
44559         (bsdi*): Likewise.
44560         (osf*): Likewise.
44561         (sunos*): Likewise.
44562         (ultrix*): Likewise.
44563         (newsos*): Likewise.
44564         (dynix*): Likewise.
44565         (*bsd*): Likewise.
44566         (sysv*): Likewise.
44567         (isc*): Likewise.
44568         (esix*): Likewise.
44569         (sco*): Likewise.
44570         (minix*): Likewise.
44571         (irix4*): Likewise.
44572         (irix6*): Likewise.
44573         (solaris[2-9]*): Likewise.
44574         (none): Likewise.
44575         * configure: Regenerated.
44577 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44579         [BZ #11521]
44580         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44581         overflow or cancellation in calculating denominator.
44582         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44583         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44584         down expression to avoid unexpected rounding in newer GCCs.
44585         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44587 2012-04-26  David S. Miller  <davem@davemloft.net>
44589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44590         long-double compat symbols.
44591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44605 2012-04-25  David S. Miller  <davem@davemloft.net>
44607         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44608         HWCAP_* values only after the memory barriers have been defined.
44609         (atomic_full_barrier): Define.
44610         (atomic_read_barrier): Define.
44611         (atomic_write_barrier): Define.
44613 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44615         * shlib-versions: Add libgcc_s version information.
44616         * sysdeps/generic/libgcc_s.h: Remove.
44617         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44618         libgcc_s.h.
44619         * sysdeps/gnu/unwind-resume.c: Likewise.
44620         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44622 2012-04-25  David S. Miller  <davem@davemloft.net>
44624         * sysdeps/unix/sparc/brk.S: Delete.
44625         * sysdeps/unix/sparc/dl-brk.S: Delete.
44626         * sysdeps/unix/sparc/pipe.S: Delete.
44627         * sysdeps/unix/sparc/sysdep.S: Delete.
44628         * sysdeps/unix/sparc/sysdep.h: Delete.
44629         * sysdeps/unix/sparc/vfork.S: Delete.
44630         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44631         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44632         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44633         (ret_ERRVAL, r0, r1, MOVE): Define.
44634         (JUMPTARGET): Remove.
44635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44636         sysdeps/unix/sparc/sysdep.h
44637         (ENTRY, END): Remove.
44638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44640 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44642         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44643         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44644         -DIS_IN_build.
44646         * timezone/README: Update upstream location and email address for
44647         tzcode and tzdata.
44648         * timezone/zdump.c: Update from tzcode 2012b.
44649         * timezone/zic.c: Likewise.
44651         * configure.in (libc_cv_as_needed): Remove test.
44652         * configure: Regenerated.
44653         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44654         conditional definition.
44655         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44656         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44657         * config.make.in (have-as-needed): Remove variable.
44659 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44660             Paul Pluzhnikov  <ppluzhnikov@google.com>
44662         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44663         strings correctly.
44665 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44667         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44668         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44669         * sysdeps/sh/strlen.S: Likewise.
44671 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44673         * sysdeps/unix/fork.S: Remove file.
44674         * sysdeps/unix/i386/fork.S: Likewise.
44675         * sysdeps/unix/sparc/fork.S: Likewise.
44677         * sysdeps/unix/system.c: Remove file.
44678         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44680         * sysdeps/unix/getegid.S: Remove file.
44681         * sysdeps/unix/geteuid.S: Likewise.
44683 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44685         * scripts/check-localplt.awk: New file.
44686         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44687         of diff.
44688         * scripts/data/localplt-generic.data: Add a comment.
44690         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44691         NODE when __dir_mkfile failed.
44692         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44693         Reported by Ludovic Courtès <ludo@gnu.org>.
44695 2012-04-24  Andreas Jaeger  <aj@suse.de>
44697         * Makerules (common-clean): Also remove gen-as-const-headers
44698         files.
44700 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44702         * Makerules (native-compile): Do not change working directory for
44703         build.  Use $(OUTPUT_OPTION) in command.
44704         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44706 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44708         [BZ #13886]
44709         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44710         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44711         * math/libm-test.inc (floor_test): Add more tests.
44712         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44714 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44716         * sysdeps/unix/getdents.c: Remove file.
44717         * sysdeps/unix/sysv/getdents.c: Likewise.
44718         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44720         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44721         sysdeps/unix/mman/syscalls.list.
44722         (mmap): Likewise.
44723         (mprotect): Likewise.
44724         (msync): Likewise.
44725         (munmap): Likewise.
44726         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44727         * sysdeps/unix/mman/syscalls.list: Remove.
44728         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44730         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44731         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44732         * configure: Regenerated.
44733         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44734         $(libgcc_s_suffix).
44735         * config.make.in (libgcc_s_suffix): Remove variable.
44737 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44739         * sysdeps/unix/sysv/gethostname.c: Move to ...
44740         * sysdeps/posix/gethostname.c: ... here.
44742         * sysdeps/unix/execve.S: Remove file.
44744         * sysdeps/unix/_exit.S: Remove file.
44746 2012-04-23  Andreas Jaeger  <aj@suse.de>
44748         [BZ #13739]
44749         * manual/Makefile: Remove make dist support, there's no
44750         need for a stand-alone documentation tar ball.
44751         (TEXI2DVI): Define always, it's not in Makeconfig.
44752         (dist): Removed.
44753         (tar-it): Removed.
44754         (edition): Removed.
44755         (glibc-doc-$(edition).tar): Removed
44756         (%.Z): Removed.
44757         (%.gz): Removed.
44758         (%.uu): Removed.
44759         (ETAGS): Remove, it's in Makeconfig.
44760         (move-if-change): Remove, it's in Makeconfig.
44762 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44764         [BZ #13970]
44765         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44766         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44767         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44768         (strtod_l, strtof_l, strtold_l): Remove __wur.
44769         It is not necessarily an error to ignore strtol's return value.
44770         One can reliably look at the stored endptr to decide whether
44771         the number had valid syntax.
44773 2012-04-21  Andreas Jaeger  <aj@suse.de>
44775         [BZ #13739]
44776         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44778 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44780         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44781         * sysdeps/unix/sysv/Versions: Remove file.
44783 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44785         [BZ #13927]
44786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44788 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44790         [BZ #7064]
44791         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44792         version from __vm86.
44794 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44796         * sysdeps/unix/common/lxstat.c: Remove file.
44797         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44799         * sysdeps/unix/sysv/Makefile: Remove file.
44801         * sysdeps/unix/sysv/direct.h: Remove file.
44803         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44804         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44805         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44806         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44807         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44808         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44809         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44811         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44813         * sysdeps/unix/xmknod.c: Remove file.
44814         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44816         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44818         * sysdeps/unix/sysv/i386/time.S: Remove file.
44820         * sysdeps/unix/fxstat.c: Remove file.
44821         * sysdeps/unix/xstat.c: Likewise.
44822         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44824         * sysdeps/unix/sysv/sigaction.c: Remove file.
44826         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44827         (sysdep_headers): Remove variable.
44828         [termio.h not in sysdep_headers] (generated): Likewise.
44829         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44830         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44831         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44832         * sysdeps/unix/sysv/tcflow.c: Likewise.
44833         * sysdeps/unix/sysv/tcflush.c: Likewise.
44834         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44835         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44836         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44837         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44838         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44840         * sysdeps/unix/siglist.c: Remove file.
44842         * sysdeps/unix/getppid.S: Remove file.
44844         * sysdeps/unix/mkdir.c: Remove file.
44845         * sysdeps/unix/rmdir.c: Likewise.
44847 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44849         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44850         ERR_MAX value.
44851         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44852         errlist-compat value.
44854 2012-04-18  David S. Miller  <davem@davemloft.net>
44856         * sysdeps/generic/memcopy.h (reg_char): Delete.
44857         * debug/strcat_chk.c: Use char, not reg_char.
44858         * debug/strcpy_chk.c: Likewise.
44859         * debug/strncat_chk.c: Likewise.
44860         * debug/strncpy_chk.c: Likewise.
44861         * string/memchr.c: Likewise.
44862         * string/memrchr.c: Likewise.
44863         * string/rawmemchr.c: Likewise.
44864         * string/strcat.c: Likewise.
44865         * string/strchr.c: Likewise.
44866         * string/strchrnul.c: Likewise.
44867         * string/strcmp.c: Likewise.
44868         * string/strcpy.c: Likewise.
44869         * string/strncat.c: Likewise.
44870         * string/strncmp.c: Likewise.
44871         * string/strncpy.c: Likewise.
44873 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44875         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44876         __builtin_memcopy is called when src and dest ranges are known to not
44877         overlap.
44879 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44881         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44882         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44883         fwd_align_merge macro call.
44884         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44885         bwd_align_merge macro call.
44886         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44888 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44890         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44891         bwd_align_merge macros.
44892         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44893         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44894         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44896 2012-04-18  David S. Miller  <davem@davemloft.net>
44898         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44900 2012-04-18  Andreas Jaeger  <aj@suse.de>
44902         [BZ# 6794]
44903         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44904         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44905         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44907         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44908         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44909         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44911         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44912         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44913         Adjust for changed ldbl-128 files.
44915         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44916         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44917         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44919 2012-04-17  David S. Miller  <davem@davemloft.net>
44921         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44923 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44925         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44926         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44927         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44928         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44929         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44930         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44932 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44934         [BZ #6794]
44935         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44936         * math/libm-test.inc: Add ilogb errno and exception tests.
44937         * math/w_ilogb.c: New file: ilogb wrapper.
44938         * math/w_ilogbf.c: New file: ilogbf wrapper.
44939         * math/w_ilogbl.c: New file: ilogbl wrapper.
44940         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44941         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44942         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44943         exception being thrown with 0.0 as argument.
44944         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44945         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44946         exception being thrown with 0.0 as argument.
44947         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44948         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44949         exception being thrown with 0.0 as argument.
44950         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44951         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44952         exception being thrown with 0.0 as argument.
44953         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44954         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44955         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44956         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44957         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44958         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44959         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44960         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44961         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44963 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44965         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44966         with altivec.
44968 2012-04-16  Marek Polacek  <polacek@redhat.com>
44970         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44972 2012-04-16  Marek Polacek  <polacek@redhat.com>
44974         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44975         operands of fdivp instruction.
44977 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44979         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44980         * elf/tst-auditmod3b.c: Likewise.
44981         * elf/tst-auditmod4b.c: Likewise.
44982         * elf/tst-auditmod5b.c: Likewise.
44983         * elf/tst-auditmod6b.c: Likewise.
44984         * elf/tst-auditmod6c.c: Likewise.
44985         * elf/tst-auditmod7b.c: Likewise.
44986         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44987         * sysdeps/x86_64/preconfigure.in: Likewise.
44988         * sysdeps/x86_64/preconfigure: Regenerated.
44990 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44992         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44993         __ILP32__.
44995 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44998         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45000 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45002         [BZ #13973]
45003         * locale/iso-639.def: Fix gl language name. Spotted by
45004         Yaron Shahrabani.
45006 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45008         [BZ #2074]
45009         * libio/libio.h (__io_write_fn): Update comment.
45011 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45013         [BZ #2074]
45014         * stdio.texi (Hook Functions): The user provided writer function
45015         is not allowed to return -1.
45017 2012-04-11  David S. Miller  <davem@davemloft.net>
45019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45021 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45023         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45024         Add a leading slash to rtkaio.
45026 2012-04-11  Jim Meyering  <meyering@redhat.com>
45028         [BZ #11959]
45029         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45030         It is not necessarily an error to ignore fwrite's return
45031         value.  One can reliably use ferror to test for errors after
45032         the fact.
45034 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45036         * bits/types.h (__snseconds_t): New type.
45037         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45039         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45041         (__SNSECONDS_T_TYPE): Likewise.
45042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45043         (__SNSECONDS_T_TYPE): Likewise.
45044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45045         (__SNSECONDS_T_TYPE): Likewise.
45047 2012-04-10  Andreas Jaeger  <aj@suse.de>
45049         [BZ #2636]
45050         * manual/time.texi (Processor Time): Return type of times is
45051         elapsed real time since an arbitrary point in the past.
45052         (CPU Time): Move CLK_TCK from here...
45053         (Processor Time): ...to here.  Correct description.
45054         * manual/conf.texi (Constants for Sysconf): Correct description of
45055         _SC_CLK_TCK.
45057 2012-04-10  David S. Miller  <davem@davemloft.net>
45059         [BZ #13967]
45060         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45061         where the is a gap between DT_REL(A) and DT_JMPREL.
45063 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45065         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45066         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45067         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45069 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45071         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45072         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45073         (dl_main): Handle --inhibit-cache.
45074         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45075         _dl_inhibit_cache.
45076         * elf/dl-load.c (_dl_map_object): Use it.
45077         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45079 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45081         [BZ #13872]
45082         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45083         (__ieee754_powl): Saturate large exponents rather than testing for
45084         overflow of y*log2(x).
45085         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45086         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45087         exceptions.
45089         [BZ #11521]
45090         * math/s_ctan.c: Include <float.h>.
45091         (__ctan): Avoid internal overflow or cancellation in calculating
45092         denominator.
45093         * math/s_ctanf.c: Likewise.
45094         * math/s_ctanl.c: Likewise.
45095         * math/s_ctanh.c: Likewise.
45096         * math/s_ctanhf.c: Likewise.
45097         * math/s_ctanhl.c: Likewise.
45098         * math/libm-test.inc (ctan_test): Add more tests.
45099         (ctanh_test): Likewise.
45100         * sysdeps/i386/fpu/libm-test-ulps: Update.
45101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45103 2012-04-09  Andreas Jaeger  <aj@suse.de>
45105         [BZ #6894]
45106         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45107         is an optional BSD extension.
45109         [BZ #10254]
45110         * manual/stdio.texi (Opening Streams): Document additional fopen
45111         parameters.
45113 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45115         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45116         %eax without telling the compiler.
45118 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45120         [BZ # 13963]
45121         * manual/install.texi: Use sourceware.org.
45123 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45125         [BZ #13873]
45126         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45127         (__ieee754_pow): Generate overflow and underflow using huge*huge
45128         and tiny*tiny rather than just returning constant infinity or zero
45129         for large exponents.
45130         * math/libm-test.inc (pow_test): Require overflow exceptions for
45131         applicable cases of large exponents.
45133         [BZ #706]
45134         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45135         (__ieee754_pow): Use iterative multiplication algorithm only for
45136         integer exponents with absolute value below 1024.  Check for odd
45137         integer exponents when using algorithm for real exponents.
45138         * math/libm-test.inc (pow_test): Add more tests.
45139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45141 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45143         [BZ #13705]
45144         * math/libm-test.inc (exp_test): Do not allow overflow exception
45145         on underflow test.
45147 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45149         [BZ #13705]
45150         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45151         instead of __kernel_standard_f.
45153 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45155         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45156         * sysdeps/x86_64/memset_chk.S: Likewise.
45158 2012-04-08  Andreas Jaeger  <aj@suse.de>
45160         [BZ #10153]
45161         * manual/startup.texi (Environment Access): Describe return value
45162         for putenv and setenv.
45164         [BZ #6895]
45165         * manual/filesys.texi (Directory Entries): Add description for
45166         DT_LNK.
45168         [BZ #6890]
45169         * manual/filesys.texi (Directory Entries): Clarify that it's file
45170         system not operating system in the description of DT_UNKNOWN.
45172         [BZ #6578]
45173         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45175 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45177         [BZ #6649]
45178         * manual/llio.texi (Opening and Closing Files): Add cross
45179         reference to explain mode argument.
45181 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45183         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45184         * sysdeps/x86_64/memset_chk.S: Likewise.
45186 2012-04-07  David S. Miller  <davem@davemloft.net>
45188         * elf/elf.h (R_SPARC_WDISP10): Define.
45189         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45190         R_SPARC_SIZE32.
45191         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45192         R_SPARC_SIZE64 and R_SPARC_H34.
45194 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45196         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45197         conditions and remove no longer applicable assertion.
45199 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45201         * bits/byteswap.h: Include <features.h>.
45202         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45203         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45205 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45207         * bits/byteswap.h (__bswap_16): Removed.
45208         Include <bits/byteswap-16.h> to get __bswap_16.
45209         * sysdeps/i386/bits/byteswap.h: Likewise.
45210         * sysdeps/s390/bits/byteswap.h: Likewise.
45211         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45212         * bits/byteswap-16.h: New file.
45213         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45214         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45215         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45216         * string/Makefile (headers): Add bits/byteswap-16.h.
45218 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45220         [BZ #13895]
45221         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45222         extra indirection.
45223         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45224         * nss/tst-nss-static.c: New.
45226 2012-04-06  Robert Millan  <rmh@gnu.org>
45228         [BZ #6486]
45229         * manual/llio.texi (File Position Primitive): lseek
45230         refers to WHENCE when it really means OFFSET.
45232 2012-04-06  Andreas Jaeger  <aj@suse.de>
45234         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45235         strncmp declarations.
45237         * abilist/libc.abilist: Add __poll and __ppoll.
45239 2012-04-05  David S. Miller  <davem@davemloft.net>
45241         * scripts/check-local-headers.sh: Accept a host triplet in the
45242         path matched by the exclude regexp.
45244         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45245         definition.
45246         * sysdeps/powerpc/powerpc32/dl-machine.h
45247         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45248         * sysdeps/s390/s390-32/dl-machine.h
45249         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45250         * sysdeps/sparc/sparc32/dl-machine.h
45251         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45252         * sysdeps/sparc/sparc64/dl-machine.h
45253         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45255         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45256         lazy binding.
45257         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45258         undefined symbol errors.
45260         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45261         DT_NEEDED entries.
45263 2012-04-05  Michael Matz  <matz@suse.de>
45265         [BZ #13592]
45266         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45268 2012-04-05  Andreas Jaeger  <aj@suse.de>
45270         [BZ #13908]
45271         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45272         comment.
45274 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45276         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45277         which ROUND is no valid rounding mode.
45279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45281         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45282         read again.
45283         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45285 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45287         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45288         an exception using FPU order intentionally.
45290 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45292         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45293         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45294         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45295         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45297 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45299         [BZ #12340]
45300         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45301         EINVAL when BUFLEN is too smal.
45303 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45305         [BZ #13553]
45306         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45307         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45309 2012-04-03  Andreas Jaeger  <aj@suse.de>
45311         [BZ #13938]
45312         * manual/setjmp.texi (System V contexts): Fix sentence.
45314         [BZ #13926]
45315         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45316         New macro for this case.
45317         [!__GNUC__] (__bswap_64): New inline function for this case.
45318         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45319         * bits/byteswap.h: Likewise.
45320         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45321         ull, guard with __GLIBC_HAVE_LONG_LONG.
45323         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45324         __GLIBC_HAVE_LONG_LONG.
45326         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45327         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45329 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45331         [BZ #13691]
45332         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45333         inptr and inend, rather than using last_ch.
45335 2012-04-02  David S. Miller  <davem@davemloft.net>
45337         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45338         * stdio-common/printf-parse.h (read_int): Change return type to
45339         'int', return -1 on INT_MAX overflow.
45340         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45341         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45342         overflows INT_MAX.  Check for overflow of in-format-string precision
45343         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45344         SIZE_MAX not INT_MAX for integer overflow test.
45345         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45346         skip the construct in the format string but do not record anything.
45347         * stdio-common/bug22.c: Adjust to test both width/prevision
45348         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45349         explicitly for proper errno values.
45351 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45353         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45354         CHAR_MAX.
45355         * string/test-strcmp.c [! WIDE]: Likewise.
45356         * time/tst-mktime2.c: Likewise for INT_MAX.
45357         * string/test-string.h: #include <sys/param.h> for MIN.
45359         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45360         * sysdeps/i386/init-first.c (init): Likewise.
45361         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45362         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45363         * sysdeps/sh/init-first.c (init): Likewise.
45365 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45367         * po/ru.po: Update from translation team.
45368         * po/vi.po: Likewise.
45370 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45372         * resolv/nss_dns/dns-host.c: Merge copyright years.
45374 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45376         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45377         Optimize memcpy with prefetch if
45378         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45379         src, dst pointers have unequal 16 byte alignments.
45381 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45383         [BZ #13928]
45384         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45385         from a CNAME entry and return the minimum ttl for the query.
45386         (gaih_getanswer_slice): Likewise.
45388 2012-03-30  Jeff Law  <law@redhat.com>
45390         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45391         due to long keys.
45392         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45393         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45395         * resolv/nss_dns/dns-host.c: Update copyright year.
45397 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45399         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45400         requests to save a system call.  Fix check that all bytes are sent.
45402         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45403         comments for sendmmsg.
45405 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45407         [BZ #13691]
45408         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45409         with only 1 character between 0x0041 and 0x01b0.
45410         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45411         * wcsmbs/tst-mbsnrtowcs.c: New file.
45413 2012-03-29  David S. Miller  <davem@davemloft.net>
45415         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45416         small copies by hand.
45418 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45420         [BZ #13761]
45421         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45422         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45423         group memberships.
45425 2012-03-28  David S. Miller  <davem@davemloft.net>
45427         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45428         that branches into memcpy.
45429         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45431         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45432         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45434         bits.
45435         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45436         implementation too.
45437         * sysdeps/sparc/mempcpy.S: New file.
45439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45440         the IFUNC routine in the libc case.
45441         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45443         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45444         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45445         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45446         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45447         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45448         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45449         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45450         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45452         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45453         loop to 256 bytes instead of 64 bytes and fix test signedness.
45455         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45456         * sysdeps/sparc/sparc32/Makefile: rather than here...
45457         * sysdeps/sparc/sparc64/Makefile: and here.
45459 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45461         * malloc/mallocbug.c: Avoid warnings about unused variables.
45463 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45465         [BZ #13760]
45466         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45467         in the right place. Discard and retry query if response is
45468         larger than input buffer size.
45470 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45472         [BZ #369]
45473         [BZ #2678]
45474         [BZ #3866]
45475         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45476         x for large integer exponent.
45477         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45478         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45479         sign of result as needed afterwards.
45480         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45481         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45482         result for underflowing pow the same as for overflow.
45483         (__kernel_standard_l): Handle powl overflow and underflow here
45484         rather than calling __kernel_standard.
45485         * math/libm-test.inc (pow_test): Add more tests.
45487         [BZ #3868]
45488         [BZ #13879]
45489         [BZ #13910]
45490         [BZ #13911]
45491         [BZ #13912]
45492         [BZ #13913]
45493         [BZ #13915]
45494         [BZ #13916]
45495         [BZ #13917]
45496         [BZ #13918]
45497         [BZ #13919]
45498         [BZ #13920]
45499         [BZ #13921]
45500         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45501         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45502         (__kernel_standard_l): New function.
45503         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45504         __kernel_standard.
45505         * math/w_acosl.c (__acosl): Likewise.
45506         * math/w_asinl.c (__asinl): Likewise.
45507         * math/w_atan2l.c (__atan2l): Likewise.
45508         * math/w_atanhl.c (__atanhl): Likewise.
45509         * math/w_coshl.c (__coshl): Likewise.
45510         * math/w_exp10l.c (__exp10l): Likewise.
45511         * math/w_exp2l.c (__exp2l): Likewise.
45512         * math/w_fmodl.c (__fmodl): Likewise.
45513         * math/w_hypotl.c (__hypotl): Likewise.
45514         * math/w_j0l.c (__j0l, __y0l): Likewise.
45515         * math/w_j1l.c (__j1l, __y1l): Likewise.
45516         * math/w_jnl.c (__jnl, __ynl): Likewise.
45517         * math/w_lgammal.c (__lgammal): Likewise.
45518         * math/w_log10l.c (__log10l): Likewise.
45519         * math/w_log2l.c (__log2l): Likewise.
45520         * math/w_logl.c (__logl): Likewise.
45521         * math/w_powl.c (__powl): Likewise.
45522         * math/w_remainderl.c (__remainderl): Likewise.
45523         * math/w_scalbl.c (sysv_scalbl): Likewise.
45524         * math/w_sinhl.c (__sinhl): Likewise.
45525         * math/w_sqrtl.c (__sqrtl): Likewise.
45526         * math/w_tgammal.c (__tgammal): Likewise.
45527         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45528         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45529         * math/libm-test.inc (acos_test): Add more tests.
45530         (acosh_test): Likewise.
45531         (asin_test): Likewise.
45532         (atanh_test): Likewise.
45533         (exp_test): Likewise.
45534         (exp10_test): Likewise.
45535         (exp2_test): Likewise.
45536         (expm1_test): Likewise.
45537         (lgamma_test): Likewise.
45538         (log_test): Likewise.
45539         (log10_test): Likewise.
45540         (log1p_test): Likewise.
45541         (log2_test): Likewise.
45542         (pow_test): Do not allow some spurious overflow exceptions.
45543         (sqrt_test): Add more tests.
45544         (tgamma_test): Likewise.
45545         (y0_test): Likewise.
45546         (y1_test): Likewise.
45547         (yn_test): Likewise.
45549 2012-03-27  Anton Blanchard  <anton@samba.org>
45551         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45552         MAP_HUGETLB.
45553         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45554         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45555         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45557 2012-03-27  David S. Miller  <davem@davemloft.net>
45559         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45561         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45562         have-as-vis3 check.
45564 2012-03-27  Andreas Jaeger  <aj@suse.de>
45566         * sysdeps/x86_64/elf/configure.in: Moved to ...
45567         * sysdeps/x86_64/configure.in: ... here.
45568         * sysdeps/x86_64/elf/start.S: Moved to ...
45569         * sysdeps/x86_64/start.S: ... here.
45570         * sysdeps/x86_64/elf/configure: Delete.
45572         * sysdeps/x86_64/configure.in: Merge contents from
45573         sysdeps/i386/configure.in (without i686 check).
45575         * sysdeps/i386/elf/Versions: Merge into ...
45576         * sysdeps/i386/Versions: ... this.
45577         * sysdeps/i386/elf/Versions: Delete file.
45578         * sysdeps/i386/elf/start.S: Moved to ...
45579         * sysdeps/i386/start.S: ...here.
45580         * sysdeps/i386/elf/configure.in: Merge into...
45581         * sysdeps/i386/configure.in: ...here.
45582         * sysdeps/i386/elf/configure.in: Delete file.
45583         * sysdeps/i386/elf/configure: Delete file.
45585         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45586         * debug/backtracesyms.c: ... here.
45587         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45588         * debug/backtracesymsfd.c: ... here.
45589         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45590         * sysdeps/generic/ifunc-sel.h: ... here.
45592         * sysdeps/unix/i386/start.c: Delete file.
45593         * sysdeps/unix/sparc/start.c: Delete file.
45594         * sysdeps/unix/start.c: Delete file.
45596         * sysdeps/sh/elf/configure.in: Moved to ...
45597         * sysdeps/sh/configure.in: ... here.
45598         * sysdeps/sh/elf/start.S: Moved to ...
45599         * sysdeps/sh/start.S: ... here.
45600         * sysdeps/sh/elf/configure: Delete file.
45602         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45603         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45604         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45605         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45606         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45607         * sysdeps/powerpc/powerpc64/start.S: here.
45608         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45609         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45610         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45611         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45612         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45614         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45615         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45616         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45617         * sysdeps/powerpc/powerpc32/start.S: ... here.
45618         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45619         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45620         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45622         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45623         * sysdeps/powerpc/ifunc-sel.h: ... here.
45624         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45625         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45627         * sysdeps/sparc/elf/configure.in: Moved to ...
45628         * sysdeps/sparc/configure.in: ... here.
45629         * sysdeps/sparc/elf/configure: Delete file.
45630         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45631         * sysdeps/sparc/sparc32/start.S: ... here.
45632         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45633         * sysdeps/sparc/sparc64/start.S: ... here.
45634         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45635         * sysdeps/sparc/sparc32/Makefile: ... this.
45636         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45637         * sysdeps/sparc/sparc64/Makefile: ... this.
45639         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45640         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45641         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45642         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45643         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45644         * sysdeps/s390/s390-32/setjmp.S: ... here.
45645         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45646         * sysdeps/s390/s390-32/configure.in: ... here.
45647         * sysdeps/s390/s390-32/elf/configure: Delete file.
45648         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45649         * sysdeps/s390/s390-32/start.S: ... here.
45651         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45652         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45653         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45654         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45655         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45656         * sysdeps/s390/s390-64/setjmp.S: ... here.
45657         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45658         * sysdeps/s390/s390-64/configure.in: ... here
45659         * sysdeps/s390/s390-64/elf/configure: Delete file.
45660         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45661         * sysdeps/s390/s390-64/start.S: ... here.
45662         * sysdeps/s390/s390-64/elf/configure: Delete.
45664         * configure.in: Remove support for elf directories in sysdeps.
45666         * configure: Regenerated.
45667         * sysdeps/i386/configure: Regenerated.
45668         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45669         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45670         * sysdeps/s390/s390-32/configure: Regenerated.
45671         * sysdeps/s390/s390-64/configure: Regenerated.
45672         * sysdeps/sh/configure: Regenerated.
45673         * sysdeps/sparc/configure: Regenerated.
45674         * sysdeps/x86_64/configure: Regenerated.
45676 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45680         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45681         denormal result into account.
45683 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45685         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45686         Reported by Allan McRae <allan@archlinux.org>.
45688 2012-03-23  Jeff Law  <law@redhat.com>
45690         * nss/getnssent.c (__nss_getent): Fix typo.
45692 2012-03-23  David S. Miller  <davem@davemloft.net>
45694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45696 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45698         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45699         to pad to uint64_t for each field.
45700         (dl_tls_index): Replace unsigned long with uint64_t.
45702 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45703         Paul Pluzhnikov  <ppluzhnikov@google.com>
45705         [BZ #6528]
45706         * grp/Makefile (otherlibs): Don't set it.
45707         * inet/Makefile (otherlibs): Likewise.
45708         * login/Makefile (otherlibs): Likewise.
45709         * nscd/Makefile (otherlibs): Likewise.
45710         * posix/Makefile (otherlibs): Likewise.
45711         * pwd/Makefile (otherlibs): Likewise.
45712         * rt/Makefile (otherlibs): Likewise.
45713         * sunrpc/Makefile (otherlibs): Likewise.
45714         * nss/Makefile (otherlibs): Likewise.
45715         Add libnss_files to routines and static-only-routines.
45716         ($(objpfx)getent): Remove rule.
45717         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45718         static-only-routines.
45720 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45722         [BZ #13892]
45723         * math/s_cexp.c: Include <float.h>.
45724         (__cexp): Handle exp result overflowing not necessarily
45725         overflowing both real and imaginary parts of result.
45726         * math/s_cexpf.c: Likewise.
45727         * math/s_cexpl.c: Likewise.
45728         * math/libm-test.inc (cexp_test): Add more tests.
45729         * sysdeps/i386/fpu/libm-test-ulps: Update.
45730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45732 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45734         * include/link.h (ELFW): New macro.
45735         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45736         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45738 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45740         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45741         with uint64_t.
45743 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45745         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45746         declaration.
45747         (struct La_x32_retval): Likewise.
45749 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45751         * sysdeps/x86_64/preconfigure.in: New file.
45752         * sysdeps/x86_64/preconfigure: New generated file.
45754 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45756         [BZ #13824]
45757         * math/e_exp2l.c: Include <float.h>.
45758         (__ieee754_exp2l): Handle overflow and underflow cases
45759         separately.  Only pass fractional part of argument to
45760         __ieee754_expl.
45761         * math/libm-test.inc (exp2_test): Add more tests.
45763         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45764         negating x to take absolute value.
45765         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45766         Likewise.
45767         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45768         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45769         Likewise.
45770         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45771         computing low part if x was negated.
45772         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45774 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45776         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45777         la_x32_gnu_pltexit.
45778         (pltexit): Cast int_retval to ptrdiff_t.
45779         * elf/tst-auditmod3b.c: Likewise.
45780         * elf/tst-auditmod4b.c: Likewise.
45781         * elf/tst-auditmod5b.c: Likewise.
45782         * elf/tst-auditmod6b.c: Likewise.
45783         * elf/tst-auditmod6c.c: Likewise.
45784         * elf/tst-auditmod7b.c: Likewise.
45786         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45787         and x32_gnu_pltexit.
45789         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45790         __ELF_NATIVE_CLASS.
45791         (La_x32_regs): New macro.
45792         (La_x32_retval): Likewise.
45793         (la_x32_gnu_pltenter): New function prototype.
45794         (la_x32_gnu_pltexit): Likewise.
45796 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45798         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45799         exponent.
45801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45803         * configure.in (libc_cv_cc_nofma): Check for option to disable
45804         generation of FMA instructions.
45805         * configure: Regenerate.
45806         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45807         * sysdeps/ieee754/dbl-64/Makefile: New file.
45808         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45809         Remove brandred-fma4.
45810         (CFLAGS-brandred-fma4.c): Remove.
45811         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45812         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45813         define.
45814         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45815         define.
45817 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45819         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45820         LLONG_MAX != LONG_MAX.
45821         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45822         (_fitoa_word): Likewise.
45823         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45824         LLONG_MAX != LONG_MAX.
45825         * stdio-common/_itowa.h: Include <_itoa.h>.
45826         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45827         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45828         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45829         only if not defined.
45830         (_ITOA_WORD_TYPE): Likewise.
45831         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45832         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45834 2012-03-21  David S. Miller  <davem@davemloft.net>
45836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45838 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45840         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45841         of x86_64 when setting libc_cv_slibdir, libdir and
45842         libc_cv_localedir.
45843         * sysdeps/unix/sysv/linux/configure: Regenerated.
45845 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45847         * manual/lang.texi (Old Varargs): Remove section.
45848         (How Variadic): Update menu.
45849         (va_start): Do not mention varargs.h.
45851 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45852             Joseph Myers  <joseph@codesourcery.com>
45854         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45855         link test.
45856         * configure: Regenerated.
45858 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45860         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45861         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45862         conformtest.pl
45864 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45866         * NOTES: Remove.
45867         * Makefile (files-for-dist): Remove NOTES.
45868         (NOTES): Remove rule.
45869         * README: Don't refer to NOTES.
45870         * manual/creature.texi: Don't include macros.texi.
45871         * manual/intro.texi (creature.texi): Remove comment referring to
45872         NOTES.
45874         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45875         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45876         * configure: Regenerated.
45877         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45878         LIBC_TRY_CC_OPTION.
45879         (libc_cv_as_i686): Likewise.
45880         (libc_cv_cc_avx): Likewise.
45881         (libc_cv_cc_sse2avx): Likewise.
45882         (libc_cv_cc_fma4): Likewise.
45883         (libc_cv_cc_novzeroupper): Likewise.
45884         * sysdeps/i386/configure: Regenerated.
45886         [BZ #13883]
45887         * sysdeps/i386/fpu/s_cexp.S: Remove.
45888         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45889         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45890         * math/libm-test.inc (cexp_test): Add more tests.
45891         * sysdeps/i386/fpu/libm-test-ulps: Update.
45892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45894 2012-03-21  Allan McRae  <allan@archlinux.org>
45896         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45898 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45900         [BZ #13871]
45901         * math/w_exp2.c: Do not include <float.h>.
45902         (o_threshold, u_threshold): Remove.
45903         (__exp2): Calculate result before checking finiteness and calling
45904         __kernel_standard.
45905         * math/w_exp2f.c: Likewise.
45906         * math/w_exp2l.c: Likewise.
45907         * math/libm-test.inc (exp2_test): Require overflow exception for
45908         1e6 input.
45910         [BZ #3866]
45911         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45912         range of signed 64-bit integers before using fistpll.  Remove
45913         checks for whether integers fit in mantissa bits.
45914         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45915         the range of signed 32-bit integers before using fistpl.  Remove
45916         checks for whether integers fit in mantissa bits.
45917         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45918         (__ieee754_powl): Test for y outside the range of signed 64-bit
45919         integers before using fistpll.  Reduce 64-bit values to 63-bit
45920         ones as needed.
45921         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45922         divide-by-zero is raised for zero to large negative powers.
45923         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45924         (__ieee754_powl): Test for y outside the range of signed 64-bit
45925         integers before using fistpll.  Reduce 64-bit values to 63-bit
45926         ones as needed.
45927         * math/libm-test.inc (pow_test): Add more tests.
45929 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45931         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45932         <stdio-common/_itoa.h>.
45933         * debug/segfault.c: Likewise.
45934         * elf/dl-cache.c: Likewise.
45935         * elf/dl-minimal.c: Likewise.
45936         * elf/dl-misc.c: Likewise.
45937         * elf/dl-sysdep.c: Likewise.
45938         * elf/dl-version.c: Likewise.
45939         * elf/rtld.c: Likewise.
45940         * hurd/hurdsock.c: Likewise.
45941         * hurd/lookup-retry.c: Likewise.
45942         * malloc/malloc.c: Likewise.
45943         * malloc/mtrace.c: Likewise.
45944         * nscd/nscd_getgr_r.c: Likewise.
45945         * nscd/nscd_getpw_r.c: Likewise.
45946         * nscd/nscd_getserv_r.c: Likewise.
45947         * posix/getopt_init.c: Likewise.
45948         * posix/wordexp.c: Likewise.
45949         * stdio-common/_itoa.c: Likewise.
45950         * stdio-common/printf_fphex.c: Likewise.
45951         * stdio-common/vfprintf.c: Likewise.
45952         * string/_strerror.c: Likewise.
45953         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45954         * sysdeps/i386/i686/hp-timing.h: Likewise.
45955         * sysdeps/mach/_strerror.c: Likewise.
45956         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45957         * sysdeps/mach/hurd/sethostid.c: Likewise.
45958         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45959         * sysdeps/mach/xpg-strerror.c: Likewise.
45960         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45961         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45962         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45963         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45964         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45965         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45966         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45967         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45968         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45969         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45970         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45971         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45972         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45973         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45974         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45975         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45976         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45977         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45978         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45979         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45980         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45982         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45984         * stdio-common/_itoa.h: Moved to ...
45985         * sysdeps/generic/_itoa.h: Here.
45987         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45989         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45990         instead of "_itoa.h" and "_itowa.h".
45991         * stdio-common/vfprintf.: Likewise.
45993 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45995         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45996         <bits/wordsize.h>.
45997         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45998         (__signbit): Likwise.
45999         (llrintf): Likwise.
46000         (llrint): Likwise.
46002 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46004         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46005         __WORDSIZE != 64.
46007 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46009         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46010         OVERFLOW_EXCEPTION_OK.
46011         * math/libm-test.inc ("Philosophy"): Update comment about
46012         exception testing.
46013         (OVERFLOW_EXCEPTION): Define.
46014         (OVERFLOW_EXCEPTION_OK): Likewise.
46015         (INVALID_EXCEPTION_OK): Renumber.
46016         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46017         (IGNORE_ZERO_INF_SIGN): Likewise.
46018         (test_exceptions): Handle FE_OVERFLOW.
46019         (exp10_test): Expect overflow exceptions.
46020         (exp2_test): Likewise.
46021         (expm1_test): Likewise.
46022         (nextafter_test): Likewise.
46023         (pow_test): Likewise.
46024         (scalbn_test): Likewise.
46025         (scalbln_test): Likewise.
46027 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46029         * sysdeps/x86_64/bits/atomic.h
46030         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46031         64bit integer.
46032         (atomic_exchange_acq): Likewise.
46033         (__arch_exchange_and_add_body): Likewise.
46034         (__arch_add_body): Likewise.
46035         (atomic_add_negative): Likewise.
46036         (atomic_add_zero): Likewise.
46038 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46040         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46041         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46043 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46045         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46046         Check __x86_64__ instead of __WORDSIZE.
46048 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46050         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46052 2012-03-19  David S. Miller  <davem@davemloft.net>
46054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46056         * sysdeps/sparc/fpu/fenv_private.h: New file.
46057         * sysdeps/sparc/fpu/math_private.h: Use it.
46058         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46059         Remove.
46060         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46061         (libc_feholdexcept_setroundl): Remove.
46062         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46063         Remove.
46064         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46065         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46069         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46070         int64_t instead of long int.
46071         (INSERT_WORDS64): Likwise.
46073 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46075         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46076         _Unwind_GetCFA return to _Unwind_Ptr first.
46078 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46080         [BZ #13629]
46081         * math/s_clog.c: Include <float.h>.
46082         (__clog): Scale large or subnormal inputs.
46083         * math/s_clogf.c: Likewise.
46084         * math/s_clogl.c: Likewise.
46085         * math/s_clog10.c: Include <float.h>.
46086         (M_LOG10_2): Define.
46087         (__clog10): Scale large or subnormal inputs.
46088         * math/s_clog10f.c: Likewise.
46089         * math/s_clog10l.c: Likewise.
46090         * math/libm-test.inc (clog_test): Add more tests.
46091         (clog10_test): Likewise.
46092         * sysdeps/i386/fpu/libm-test-ulps: Update.
46093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46095         [BZ #11451]
46096         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46097         x and y.
46098         * math/libm-test.inc (atan2_test): Add another test.
46100         * Makerules (common-objdir-compile): Remove.
46101         * sysdeps/unix/Makefile (config-generated): Do not add
46102         $(unix-generated) to variable.
46103         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46104         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46105         Remove rule.
46106         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46107         Likewise.
46108         [generic bits/local_lim.h] (before-compile): Do not append to
46109         variable.
46110         [generic bits/local_lim.h] (common-generated): Likewise.
46111         [generic sys/param.h] (before-compile): Do not append to variable.
46112         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46113         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46114         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46115         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46116         include.
46117         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46118         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46119         [generic sys/param.h] ($(addprefix
46120         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46121         [generic sys/param.h] (common-generated): Do not append to
46122         variable.
46123         [generic sys/param.h] (sysdep_headers): Likewise.
46124         [generic bits/errno.h] (before-compile): Do not append to
46125         variable.
46126         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46127         rule.
46128         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46129         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46130         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46131         [generic bits/errno.h] (common-generated): Do not append to
46132         variable.
46133         [generic bits/ioctls.h] (before-compile): Do not append to
46134         variable.
46135         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46136         rule.
46137         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46138         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46139         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46140         rule.
46141         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46142         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46143         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46144         [generic bits/ioctls.h] (common-generated): Do not append to
46145         variable.
46146         [generic sys/syscall.h] (syscall.h): Remove variable.
46147         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46148         rule.
46149         [generic sys/syscall.h] (before-compile): Do not append to
46150         variable.
46151         [generic sys/syscall.h] (common-generated): Likewise.
46152         * sysdeps/unix/errnos-tmpl.c: Remove file.
46153         * sysdeps/unix/errnos.awk: Likewise.
46154         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46155         * sysdeps/unix/ioctls.awk: Likewise.
46156         * sysdeps/unix/mk-local_lim.c: Likewise.
46157         * sysdeps/unix/snarf-ioctls: Likewise.
46159 2012-03-19  Richard Henderson  <rth@twiddle.net>
46161         * sysdeps/i386/fpu/fenv_private.h: New file.
46162         * sysdeps/i386/fpu/math_private.h: Use it.
46163         (math_opt_barrier, math_force_eval): Remove.
46164         (libc_feholdexcept_setround_53bit): Remove.
46165         (libc_feupdateenv_53bit): Remove.
46166         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46167         (math_opt_barrier, math_force_eval): Remove.
46168         (libc_feholdexcept): Remove.
46169         (libc_feholdexcept_setround): Remove.
46170         (libc_fetestexcept, libc_fesetenv): Remove.
46171         (libc_feupdateenv_test): Remove.
46172         (libc_feupdateenv, libc_feholdsetround): Remove.
46173         (libc_feresetround): Remove.
46175         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46176         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46178         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46179         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46180         (libc_feupdateenv_testl): New.
46181         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46182         (libc_feupdateenv_testf): New.
46183         (libc_feupdateenv): Use libc_feupdateenv_test.
46184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46185         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46187         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46188         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46189         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46190         (libc_feresetround_noex): New.
46191         (libc_feresetround_noexf): New.
46192         (libc_feresetround_noexl): New.
46193         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46194         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46195         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46196         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46197         SET_RESTORE_ROUND.
46198         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46200         (__cos): Likewise.
46201         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46202         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46203         SET_RESTORE_ROUND_NOEX.
46204         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46205         SET_RESTORE_ROUND_NOEXF.
46206         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46207         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46208         (libc_feholdsetroundf): New.
46209         (libc_feresetround, libc_feresetroundf): New.
46211         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46212         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46213         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46215         * sysdeps/generic/math_private.h: Include <fenv.h>.
46216         (default_libc_feholdexcept): New.
46217         (default_libc_feholdexcept_setround): New.
46218         (default_libc_fesetenv, default_libc_feupdateenv): New.
46219         (libc_feholdexcept): Only define if undefined.
46220         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46221         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46222         (libc_feholdexcept_setroundl): Likewise.
46223         (libc_feholdexcept_setround_53bit): Likewise.
46224         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46225         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46226         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46227         (libc_feupdateenv_53bit): Likewise.
46228         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46229         (libc_feholdexcept): Convert from macro to inline function.
46230         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46231         (libc_fesetenv, libc_feupdateenv): Likewise.
46233         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46234         not previously defined.
46235         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46236         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46237         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46238         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46239         * sysdeps/ieee754/flt-32/math_private.h: New file.
46240         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46241         math_private.h below SET_FLOAT_WORD.
46242         (__isnan, __isinf_ns, __finite): Remove.
46243         (__isnanf, __isinf_nsf, __finitef): Remove.
46245 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46249 2012-03-17  David S. Miller  <davem@davemloft.net>
46251         [BZ #6471]
46252         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46253         for 2.16.
46255 2012-03-16  David S. Miller  <davem@davemloft.net>
46257         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46258         warnings.
46260         [BZ #6471]
46261         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46262         properly.
46263         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46264         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46265         sysdep_routines when subdir is sysvipc.
46266         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46267         __getshmlba helper.
46269         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46271 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46273         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46274         [__LP64__].
46276 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46278         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46279         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46280         (__lround): Renamed to ...
46281         (__llround): This.  Replace long int with long long int.
46282         Define lround functions as aliases of llround functions.
46283         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46285 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46287         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46288         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46289         adresses to uintptr_t.  Replace "long int" and "unsigned long
46290         int" with "greg_t" on va_arg.
46292 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46294         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46295         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46297         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46298         Move e_machine check before EI_CLASS check.  Handle x32
46299         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46300         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46301         SKIP_EM_IA_64 and include
46302         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46304         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46305         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46306         (add_system_dir): New macro.
46308         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46309         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46311 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46313         [BZ #2551]
46314         [BZ #2552]
46315         [BZ #2553]
46316         [BZ #2554]
46317         [BZ #2562]
46318         [BZ #2563]
46319         [BZ #2565]
46320         [BZ #2566]
46321         [BZ #2576]
46322         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46323         (y0): Likewise.
46324         * math/w_j0f.c (j0f): Likewise.
46325         (y0f): Likewise.
46326         * math/w_j0l.c (__j0l): Likewise.
46327         (__y0l): Likewise.
46328         * math/w_j1.c (j1): Likewise.
46329         (y1): Likewise.
46330         * math/w_j1f.c (j1f): Likewise.
46331         (y1f): Likewise.
46332         * math/w_j1l.c (__j1l): Likewise.
46333         (__y1l): Likewise.
46334         * math/w_jn.c (jn): Likewise.
46335         (yn): Likewise.
46336         * math/w_jnf.c (jnf): Likewise.
46337         (ynf): Likewise.
46338         * math/w_jnl.c (__jnl): Likewise.
46339         (__ynl): Likewise.
46340         * math/libm-test.inc (j0_test): Add more tests.
46341         (j1_test): Likewise.
46342         (jn_test): Likewise.  Add trailing semicolon to existing test.
46343         (y0_test): Likewise.
46344         (y1_test): Likewise.
46345         * sysdeps/i386/fpu/libm-test-ulps: Update.
46346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46348         [BZ #13851]
46349         [BZ #13854]
46350         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46351         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46352         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46353         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46354         (__tanl): Set errno for infinite argument.
46355         * sysdeps/i386/fpu/mptan.c: Remove.
46356         * sysdeps/i386/fpu/s_tan.S: Likewise.
46357         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46358         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46359         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46360         * math/libm-test.inc (tan_test): Add more tests and enable more
46361         tests for double and long double.
46362         * sysdeps/i386/fpu/libm-test-ulps: Update.
46363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46365 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46367         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46368         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46370 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46372         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46373         * configure.in: Use it for both main tree and add-ons.
46374         * configure: Regenerated.
46376 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46378         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46380 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46382         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46383         in comment.
46385         [BZ #13851]
46386         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46387         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46388         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46389         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46390         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46391         infinite argument.
46392         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46393         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46394         != 0 for prec == 2.
46395         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46396         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46397         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46398         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46399         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46400         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46401         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46402         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46403         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46404         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46405         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46406         * math/libm-test.inc (cos_test): Add more tests and enable more
46407         tests for long double.
46408         (sin_test): Likewise.
46409         (sincos_test): Likewise.
46410         * sysdeps/i386/fpu/libm-test-ulps: Update.
46411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46413 2012-03-16  David S. Miller  <davem@davemloft.net>
46415         * sysdeps/sparc/fpu/math_private.h: New file.
46417 2012-03-15  David S. Miller  <davem@davemloft.net>
46419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46420         file.
46421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46423         file.
46424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46430         sysdep routines.
46431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46433         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46434         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46436         * sysdeps/sparc/sparc-ifunc.h: New file.
46437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46438         sparc-ifunc.h
46439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46441         Likewise.
46442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46443         Likewise.
46444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46448         Likewise.
46449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46454         Likewise.
46455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46456         Likewise.
46457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46479         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46480         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46482 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46484         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46485         scaling.
46486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46488 2012-03-15  Andreas Jaeger  <aj@suse.de>
46490         [BZ #13852]
46491         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46492         ieee754/flt-32 implementation for sin, cos and sincos.
46493         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46494         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46495         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46496         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46497         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46498         ieee754/flt-32 implementation for tan.
46500         * math/libm-test.inc (cos_test): Enable some large input tests for
46501         float as well
46502         (sin_test): Likewise.
46503         (sincos_test): Likewise.
46504         (tan_test): Add tests for large input.
46506         * sysdeps/i386/fpu/libm-test-ulps: Update.
46508 2012-03-15  Andreas Jaeger  <aj@suse.de>
46510         [BZ #13658]
46511         * math/libm-test.inc (cos_test): Add more test cases.
46512         (sin_test): Likewise.
46513         (sincos_test): Likewise.
46515 2012-03-15  Andreas Jaeger  <aj@suse.de>
46517         [BZ #13837]
46518         * math/libm-test.inc (cos_test): Add a test case for large input
46519         value.
46520         (sin_test): Likewise.
46521         (sincos_test): Likewise.
46523 2012-03-15  Andreas Jaeger  <aj@suse.de>
46524             Joseph Myers  <joseph@codesourcery.com>
46526         [BZ #13658]
46527         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46528         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46529         * sysdeps/i386/fpu/branred.c: Likewise.
46530         * sysdeps/i386/fpu/dosincos.c: Likewise.
46531         * sysdeps/i386/fpu/mpa.c: Likewise.
46532         * sysdeps/i386/fpu/s_cos.S: Likewise.
46533         * sysdeps/i386/fpu/s_sin.S: Likewise.
46534         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46535         * sysdeps/i386/fpu/sincos32.c: Likewise.
46537         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46538         Define.
46539         (libc_feupdateenv_53bit): Define.
46540         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46541         Define.
46542         (libc_feupdateenv_53bit): Define.
46544         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46545         53 bit (without extend i386 double precision).
46547         * math/libm-test.inc (sincos_test): Add tests for large input.
46548         (sin): Likewise.
46549         (cos): Likewise.
46551         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46553 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46557 2012-03-15  David S. Miller  <davem@davemloft.net>
46559         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46560         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46561         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46562         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46575         file.
46576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46578         file.
46579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46581         file.
46582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46584         file.
46585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46586         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46587         fmin/fmax sysdep routines.
46588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46590 2012-03-14  David S. Miller  <davem@davemloft.net>
46592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46596         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46597         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46612         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46613         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46615         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46616         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46617         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46621         routines.
46622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46623         file.
46624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46626         file.
46627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46629         file.
46630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46632         file.
46633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46635         file.
46636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46638         file.
46639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46640         file.
46641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46642         file.
46643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46644         file.
46645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46646         New file.
46647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46648         file.
46649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46650         file.
46651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46653         file.
46654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46656         file.
46657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46659         file.
46660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46662         VIS3 routines.
46664         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46665         New file.
46667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46669         * sysdeps/sparc/configure.in: New file.
46670         * sysdeps/sparc/configure: Generate.
46671         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46672         * configure: Regenerate.
46673         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46674         * config.make.in (have-as-vis3): New.
46675         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46676         available use -Av9d instead of -Av9a.
46677         * sysdeps/sparc/sparc64/Makefile: Likewise.
46678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46680         New file.
46681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46682         file.
46683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46684         New file.
46685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46686         file.
46687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46690         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46691         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46693         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46694         fzeros/fnegs to load 0x80000000 into a float register instead of
46695         using the stack.
46696         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46698 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46701         bits/syscall.h.
46702         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46703         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46704         ($(inst_includedir)/bits/syscall.h): Remove rule.
46705         ($(objpfx)bits/syscall.d): Include instead of
46706         $(objpfx)syscall-list.d.
46707         (generated): Change syscall-list.h and syscall-list.d to
46708         bits/syscall.h and bits/syscall.d.
46710 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46712         [BZ #13846]
46713         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46715 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46717         [BZ #13841]
46718         * math/s_csqrt.c: Include <float.h>.
46719         (__csqrt): Scale large or subnormal inputs.
46720         * math/s_csqrtf.c: Likewise.
46721         * math/s_csqrtl.c: Likewise.
46722         * math/libm-test.inc (csqrt_test): Add more tests.
46723         * sysdeps/i386/fpu/libm-test-ulps: Update.
46724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46726         [BZ #13840]
46727         * math/libm-test.inc (hypot_test): Add more tests.
46729 2012-03-13  David S. Miller  <davem@davemloft.net>
46731         [BZ #13840]
46732         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46733         double-precision for the calculation instead of scaling.
46735 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46737         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46738         manipulate bits before adding and subtracting TWO52[sx].
46739         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46740         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46741         Likewise.
46742         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46744 2012-03-13  David S. Miller  <davem@davemloft.net>
46746         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46747         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46748         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46749         rtld-global-offsets.h
46750         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46752         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46753         large parameters.
46755         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46757         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46758         'err' in the ifdef scope in which it is actually used.
46760         * nss/nss_db/db-init.c: Include string.h
46762 2012-03-12  David S. Miller  <davem@davemloft.net>
46764         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46765         masking out of the most significant byte of random value used.
46766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46767         Fix coding style in previous change.
46769         * sysdeps/unix/sysv/linux/kernel-features.h
46770         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46771         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46772         expression.
46773         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46774         later.
46776 2012-03-11  David S. Miller  <davem@davemloft.net>
46778         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46779         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46780         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46781         for 'resultvar' otherwise things get truncated on 64-bit.
46783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46784         Fix masking out of the most significant byte of random value used.
46786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46788 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46792 2012-03-09  David S. Miller  <davem@davemloft.net>
46794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46795         variables with appropriate CPP guards.
46796         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46797         from the frame pointer, not the stack pointer.  Correct layout
46798         comments.  Fix test on resulting framesize and the management of
46799         the outregs buffer for pltexit.  Preserve floating point return
46800         values across _dl_call_pltexit call.
46801         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46802         framesize and the management of the outregs buffer for pltexit.
46803         Preserve floating point return values across _dl_call_pltexit
46804         call.
46805         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46806         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46807         (la_sparc64_gnu_pltexit): New functions.
46808         (print_exit): Fix format string for return register value.
46810 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46812         * sunrpc/Makefile (others): Add rpcgen.
46813         ($(objpfx)rpcgen): Remove special build rule and dependency on
46814         libc.
46815         * sunrpc/rpcgen.c: New file.
46817 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46819         [BZ #13673]
46820         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46821         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46822         * sysdeps/i386/crti.S: Likewise.
46823         * sysdeps/i386/crtn.S: Likewise.
46824         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46825         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46826         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46827         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46828         * sysdeps/sh/crti.S: Likewise.
46829         * sysdeps/sh/crtn.S: Likewise.
46830         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46832         [BZ #13673]
46833         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46834         with URL.
46835         * locale/programs/locfile-kw.gperf: Likewise.
46836         * locale/programs/charmap-kw.h: Regenerated.
46837         * locale/programs/locfile-kw.h: Likewise.
46839         [BZ #13673]
46840         * intl/plural.y: Replace FSF snail mail address with URL.
46841         * intl/plural.c: Regenerated.
46843 2012-03-09  Richard Henderson  <rth@twiddle.net>
46845         * include/math_private.h: Remove file.
46846         * math/math_private.h: Move file ...
46847         * sysdeps/generic/math_private.h: ... here.
46849         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46850         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46851         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46853         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46854         and <math_private.h>.
46855         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46856         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46857         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46858         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46859         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46860         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46861         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46863         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46864         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46866         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46867         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46868         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46869         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46870         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46871         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46872         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46873         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46874         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46876         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46877         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46880         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46881         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46882         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46883         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46885         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46886         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46887         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46888         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46889         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46890         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46891         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46892         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46893         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46894         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46895         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46896         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46897         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46898         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46899         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46900         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46901         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46902         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46903         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46904         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46905         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46906         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46907         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46908         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46909         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46910         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46911         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46912         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46913         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46914         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46916         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46918         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46919         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46920         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46921         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46922         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46923         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46924         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46925         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46926         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46927         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46928         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46929         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46930         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46934         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46935         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46936         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46937         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46938         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46939         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46940         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46942         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46943         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46944         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46945         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46946         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46947         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46948         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46949         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46950         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46951         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46952         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46953         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46954         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46955         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46956         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46957         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46958         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46959         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46960         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46961         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46962         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46963         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46964         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46965         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46966         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46967         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46968         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46969         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46970         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46971         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46972         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46973         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46974         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46975         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46976         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46977         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46978         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46979         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46980         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46981         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46982         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46983         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46984         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46985         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46986         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46987         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46988         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46989         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46990         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46991         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46992         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46993         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46994         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46995         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46996         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46997         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46998         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46999         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47000         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47001         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47002         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47003         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47004         * sysdeps/ieee754/k_standard.c: Likewise.
47005         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47007         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47009         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47010         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47011         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47012         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47014         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47015         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47017         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47018         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47019         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47020         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47021         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47022         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47024         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47027         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47032         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47033         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47034         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47036         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47038         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47039         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47040         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47041         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47047         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47048         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47049         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47050         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47051         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47052         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47053         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47054         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47055         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47056         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47057         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47058         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47059         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47060         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47061         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47062         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47063         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47064         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47065         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47066         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47067         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47068         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47069         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47070         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47071         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47072         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47073         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47074         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47075         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47077         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47078         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47079         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47080         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47081         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47082         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47083         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47084         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47085         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47086         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47087         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47088         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47089         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47090         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47091         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47092         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47093         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47094         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47095         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47096         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47097         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47098         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47099         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47100         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47101         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47102         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47103         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47104         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47106         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47107         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47108         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47109         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47110         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47111         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47112         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47113         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47114         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47115         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47116         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47117         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47118         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47119         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47120         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47121         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47122         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47123         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47124         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47125         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47126         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47127         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47128         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47129         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47130         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47131         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47132         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47133         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47136         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47137         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47140         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47153         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47154         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47155         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47158         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47159         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47164         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47165         * sysdeps/ieee754/s_lib_version.c: Likewise.
47166         * sysdeps/ieee754/s_matherr.c: Likewise.
47167         * sysdeps/ieee754/s_signgam.c: Likewise.
47168         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47169         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47170         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47171         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47172         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47173         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47174         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47175         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47176         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47177         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47178         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47179         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47180         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47181         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47182         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47183         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47184         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47185         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47186         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47187         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47188         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47190 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47192         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47193         * sunrpc/rpc_main.c: Likewise.
47194         * sunrpc/rpc_svcout.c: Likewise.
47196 2012-03-09  David S. Miller  <davem@davemloft.net>
47198         * include/math_private.h: New file.
47200 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47202         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47203         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47204         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47205         from <bits/socket_type.h>.
47206         (enum __socket_type): Don't define here.
47207         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47209         bits/socket_type.h.
47211         [BZ #13566]
47212         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47213         checking __USE_GNU.
47215         * Makerules ($(inst_includedir)/%.h): New rule.
47216         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47217         (install-others): Remove variable setting.
47218         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47220 2012-03-08  Richard Henderson  <rth@twiddle.net>
47222         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47223         from macro to inline function; merge with the
47224         !__LIBC_INTERNAL_MATH_INLINES version.
47225         (__ieee754_sqrtf): Likewise.
47227         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47228         to inline function.
47229         (__rintf, __floor, __floorf): Likewise.
47231         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47232         macro to inline function.
47233         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47235         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47236         not <math/math_private.h>.
47238 2012-03-08  David S. Miller  <davem@davemloft.net>
47240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47241         copyright year.
47242         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47244 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47246         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47247         normalization.
47248         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47249         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47251 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47253         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47254         be defined individually, they must be defined as a block.  Define
47255         S for printing a string instead of hidint the different by using a
47256         macro for adding the 'l'.
47257         * stdio-common/tst-fphex-wide.c: Adjust.
47259 2012-03-07  Marek Polacek  <polacek@redhat.com>
47261         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47263 2012-03-08  Marek Polacek  <polacek@redhat.com>
47265         [BZ #13806]
47266         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47267         * stdio-common/tst-fphex.c: Define a few macros to make the
47268         test reusable.  Use them.
47269         * stdio-common/tst-fphex-wide.c: New file.
47271 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47273         [BZ #6911]
47274         * manual/macros.texi (gnusystems): New macro.
47275         (nongnusystems): Likewise.
47276         (gnulinuxhurdsystems): Likewise.
47277         (gnuhurdsystems): Likewise..
47278         (gnulinuxsystems): Likewise.
47279         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47280         variants of the GNU system, not "GNU system".
47281         * manual/conf.texi: Likewise.
47282         * manual/errno.texi: Likewise.  Update example of errno macro
47283         expansion.
47284         * manual/filesys.texi: Likewise.
47285         (getumask): Document as specific to GNU/Hurd.
47286         * manual/install.texi: Likewise.  Reword some references to
47287         GNU/Linux.
47288         * manual/intro.texi: Likewise.
47289         * manual/io.texi: Likewise.
47290         (File Name Portability): Detail which constraints are inapplicable
47291         to all GNU systems and which are only inapplicable to GNU/Hurd.
47292         * manual/job.texi: Likewise.
47293         * manual/llio.texi: Likewise.
47294         (O_NOCTTY): Document as present on GNU/Linux.
47295         * manual/maint.texi: Likewise.
47296         * manual/memory.texi: Likewise.
47297         * manual/pattern.texi: Likewise.
47298         * manual/pipe.texi: Likewise.
47299         * manual/process.texi: Likewise.
47300         * manual/resource.texi: Likewise.
47301         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47302         child on GNU/Hurd.
47303         * manual/setjmp.texi: Likewise.
47304         * manual/signal.texi: Likewise.
47305         * manual/startup.texi: Likewise.
47306         * manual/stdio.texi: Likewise.
47307         * manual/terminal.texi: Likewise.
47308         (ONLCR): Document as POSIX.
47309         (OXTABS): Document availability on GNU/Linux as XTABS.
47310         (ONOEOT): Document availability separately from other bits.
47311         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47312         * manual/time.texi: Likewise.
47313         * manual/users.texi: Likewise.
47314         * INSTALL: Regenerated.
47315         * sysdeps/gnu/errlist.c: Regenerated.
47317         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47318         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47319         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47320         puts.
47321         * configure: Regenerated.
47323 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47325         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47326         default includes instead of AC_HEADER_CHECK.
47327         * sysdeps/i386/configure: Regenerated.
47329         [BZ #10716]
47330         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47331         * math/s_cacoshf.c (__cacoshf): Likewise.
47332         * math/s_cacoshl.c (__cacoshl): Likewise.
47333         * math/s_casinh.c (__casinh): Set signs of result from argument.
47334         * math/s_casinhf.c (__casinhf): Likewise.
47335         * math/s_casinhl.c (__casinhl): Likewise.
47336         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47337         (casinh_test): Add more tests.
47338         * sysdeps/i386/fpu/libm-test-ulps: Update.
47339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47341 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47343         * po/zh_TW.po: Update from translation team.
47345         * login/Makefile (distribute): Remove variable.
47346         * catgets/Makefile: Likewise.
47347         * mach/Makefile: Likewise.
47348         * malloc/Makefile: Likewise.
47349         * misc/Makefile: Likewise.
47350         * iconv/Makefile: Likewise.
47351         * nscd/Makefile: Likewise.
47352         * hurd/Makefile: Likewise.
47353         * manual/Makefile: Likewise.
47354         * locale/Makefile: Likewise.
47355         * intl/Makefile: Likewise.
47356         * conform/Makefile: Likewise.
47357         * nss/Makefile: Likewise.
47358         * time/Makefile: Likewise.
47359         * soft-fp/Makefile: Likewise.
47360         * dirent/Makefile: Likewise.
47361         * gmon/Makefile: Likewise.
47362         * po/Makefile: Likewise.
47363         * rt/Makefile: Likewise.
47364         * socket/Makefile: Likewise.
47365         * math/Makefile: Likewise.
47366         * signal/Makefile: Likewise.
47367         * debug/Makefile: Likewise.
47368         * elf/Makefile: Likewise.
47369         * timezone/Makefile: Likewise.
47370         * stdlib/Makefile: Likewise.
47371         * iconvdata/Makefile: Likewise.
47372         * sunrpc/Makefile: Likewise.
47373         * io/Makefile: Likewise.
47374         * argp/Makefile: Likewise.
47375         * inet/Makefile: Likewise.
47376         * hesiod/Makefile: Likewise.
47377         * grp/Makefile: Likewise.
47378         * csu/Makefile: Likewise.
47379         * wctype/Makefile: Likewise.
47380         * crypt/Makefile: Likewise.
47381         * libio/Makefile: Likewise.
47382         * string/Makefile: Likewise.
47383         * nis/Makefile: Likewise.
47384         * resolv/Makefile: Likewise.
47385         * stdio-common/Makefile: Likewise.
47386         * wcsmbs/Makefile: Likewise.
47387         * dlfcn/Makefile: Likewise.
47388         * posix/Makefile: Likewise.
47390         [BZ #6959]
47391         * timezone/Makefile: Don't install timezone files, just the programs
47392         and scripts.
47394 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47396         * nss/databases.def: Add missing gshadow entry.
47398         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47400 2012-03-06  Marek Polacek  <polacek@redhat.com>
47402         [BZ #13726]
47403         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47404         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47405         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47406         * stdio-common/tst-long-dbl-fphex.c: New file.
47408 2012-03-06  David S. Miller  <davem@davemloft.net>
47410         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47411         (set_obp_int): New function.
47412         (get_obp_int): New function.
47413         (__get_clockfreq_via_dev_openprom): Likewise.
47414         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47415         Avoid unused variable warnings on 'val' and use builtin_expect.
47416         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47417         __builtin_expect.
47418         (INLINE_CLONE_SYSCALL): Likewise.
47420 2012-03-05  David S. Miller  <davem@davemloft.net>
47422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47424 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47429         only for |x| >= 40.
47430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47432 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47435         Replace gettimeofday with __vdso_gettimeofday.
47437         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47438         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47439         __vdso_clock_gettime and __vdso_getcpu.
47441         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47442         time with __vdso_time.
47444 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47446         * manual/lang.texi (size_t): Note types to which size_t may be
47447         equivalent with the GNU C Library, but do not describe when
47448         differences between them are significant.
47450 2012-03-05  Andreas Jaeger  <aj@suse.de>
47452         * sysdeps/i386/fpu/libm-test-ulps: Update.
47454 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47456         [BZ #3976]
47457         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47458         (__ieee754_pow): Save and restore rounding mode and use
47459         round-to-nearest for main computations.
47460         * math/libm-test.inc (pow_test_tonearest): New function.
47461         (pow_test_towardzero): Likewise.
47462         (pow_test_downward): Likewise.
47463         (pow_test_upward): Likewise.
47464         (main): Call the new functions.
47465         * sysdeps/i386/fpu/libm-test-ulps: Update.
47466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47468         [BZ #3976]
47469         * math/libm-test.inc (cosh_test_tonearest): New function.
47470         (cosh_test_towardzero): Likewise.
47471         (cosh_test_downward): Likewise.
47472         (cosh_test_upward): Likewise.
47473         (sinh_test_tonearest): Likewise.
47474         (sinh_test_towardzero): Likewise.
47475         (sinh_test_downward): Likewise.
47476         (sinh_test_upward): Likewise.
47477         (main): Call the new functions.
47478         * sysdeps/i386/fpu/libm-test-ulps: Update.
47479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47481 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47483         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47484         default stack guard is set in last bytes.
47485         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47487 2012-03-05  Kees Cook  <keescook@chromium.org>
47489         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47491         [BZ #13656]
47492         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47493         possibly allocate from heap instead of stack.
47494         * stdio-common/bug-vfprintf-nargs.c: New file.
47495         * stdio-common/Makefile (tests): Add nargs overflow test.
47497 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47501 2012-03-03  Marek Polacek  <polacek@redhat.com>
47503         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47504         * math/math_private.h: Likewise.
47505         * stdlib/tst-strtod.c: Likewise.
47506         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47507         * sysdeps/x86_64/bits/atomic.h: Likewise.
47509 2012-03-02  David S. Miller  <davem@davemloft.net>
47511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47515         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47516         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47517         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47518         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47520 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47522         [BZ #13792]
47523         * manual/examples/README: New file, says the example source files
47524         can be used under GPL>=2.
47525         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47526         line containing just "*/".
47527         * manual/examples/add.c: Add copyright header (GPL>=2).
47528         * manual/examples/argp-ex1.c: Likewise.
47529         * manual/examples/argp-ex2.c: Likewise.
47530         * manual/examples/argp-ex3.c: Likewise.
47531         * manual/examples/argp-ex4.c: Likewise.
47532         * manual/examples/atexit.c: Likewise.
47533         * manual/examples/db.c: Likewise.
47534         * manual/examples/dir.c: Likewise.
47535         * manual/examples/dir2.c: Likewise.
47536         * manual/examples/execinfo.c: Likewise.
47537         * manual/examples/filecli.c: Likewise.
47538         * manual/examples/filesrv.c: Likewise.
47539         * manual/examples/fmtmsgexpl.c: Likewise.
47540         * manual/examples/genpass.c: Likewise.
47541         * manual/examples/inetcli.c: Likewise.
47542         * manual/examples/inetsrv.c: Likewise.
47543         * manual/examples/isockad.c: Likewise.
47544         * manual/examples/longopt.c: Likewise.
47545         * manual/examples/memopen.c: Likewise.
47546         * manual/examples/memstrm.c: Likewise.
47547         * manual/examples/mkfsock.c: Likewise.
47548         * manual/examples/mkisock.c: Likewise.
47549         * manual/examples/mygetpass.c: Likewise.
47550         * manual/examples/pipe.c: Likewise.
47551         * manual/examples/popen.c: Likewise.
47552         * manual/examples/rprintf.c: Likewise.
47553         * manual/examples/search.c: Likewise.
47554         * manual/examples/select.c: Likewise.
47555         * manual/examples/setjmp.c: Likewise.
47556         * manual/examples/sigh1.c: Likewise.
47557         * manual/examples/sigusr.c: Likewise.
47558         * manual/examples/stpcpy.c: Likewise.
47559         * manual/examples/strdupa.c: Likewise.
47560         * manual/examples/strftim.c: Likewise.
47561         * manual/examples/strncat.c: Likewise.
47562         * manual/examples/subopt.c: Likewise.
47563         * manual/examples/swapcontext.c: Likewise.
47564         * manual/examples/termios.c: Likewise.
47565         * manual/examples/testopt.c: Likewise.
47566         * manual/examples/testpass.c: Likewise.
47567         * manual/examples/timeval_subtract.c: Likewise.
47569         [BZ #13792]
47570         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47571         function to ...
47572         * manual/timeval_subtract.c.texi: ... here, new file.
47574 2012-03-02  David S. Miller  <davem@davemloft.net>
47576         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47578 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47580         [BZ #3976]
47581         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47582         (__sin): Save and restore rounding mode and use round-to-nearest
47583         for all computations.
47584         (__cos): Save and restore rounding mode and use round-to-nearest
47585         for all computations.
47586         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47587         <fenv.h>.
47588         (tan): Save and restore rounding mode and use round-to-nearest for
47589         all computations.
47590         * math/libm-test.inc (cos_test_tonearest): New function.
47591         (cos_test_towardzero): Likewise.
47592         (cos_test_downward): Likewise.
47593         (cos_test_upward): Likewise.
47594         (sin_test_tonearest): Likewise.
47595         (sin_test_towardzero): Likewise.
47596         (sin_test_downward): Likewise.
47597         (sin_test_upward): Likewise.
47598         (tan_test_tonearest): Likewise.
47599         (tan_test_towardzero): Likewise.
47600         (tan_test_downward): Likewise.
47601         (tan_test_upward): Likewise.
47602         (main): Call the new functions.
47603         * sysdeps/i386/fpu/libm-test-ulps: Update.
47604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47606         [BZ #10135]
47607         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47608         small n, then large n, before computing and testing k+n.
47609         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47610         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47611         Likewise.
47612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47613         Likewise.
47614         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47615         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47616         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47617         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47618         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47619         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47620         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47621         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47622         * math/libm-test.inc (scalbn_test): Add more tests.
47623         (scalbln_test): Likewise.
47625         * manual/filesys.texi (mode_t): Describe constraints on size and
47626         signedness, not exact equivalence to a particular type.
47627         (ino_t): Likewise.
47628         (ino64_t): Likewise.
47629         (dev_t): Likewise.
47630         (nlink_t): Likewise.
47631         (blkcnt_t): Likewise.
47632         (blkcnt64_t): Likewise.
47633         * manual/llio.texi (off_t): Likewise.
47635         [BZ #3976]
47636         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47637         (__ieee754_exp): Save and restore rounding mode and use
47638         round-to-nearest for all computations.
47639         * math/libm-test.inc (exp_test_tonearest): New function.
47640         (exp_test_towardzero): Likewise.
47641         (exp_test_downward): Likewise.
47642         (exp_test_upward): Likewise.
47643         (main): Call the new functions.
47644         * sysdeps/i386/fpu/libm-test-ulps: Update.
47645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47647 2012-03-01  Chris Demetriou  <cgd@google.com>
47649         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47650         have predictable order.
47652 2012-03-01  David S. Miller  <davem@davemloft.net>
47654         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47656         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47657         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47658         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47659         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47661         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47662         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47663         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47665         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47666         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47667         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47668         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47669         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47673         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47674         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47675         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47677         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47678         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47679         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47680         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47681         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47682         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47683         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47684         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47685         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47686         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47687         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47688         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47690         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47691         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47692         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47693         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47694         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47695         * sysdeps/sparc/elf/configure: Regenerated.
47697 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47699         * configure.in (AS, LD): Require binutils 2.20 or later.
47700         * configure: Regenerated.
47701         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47702         as required minimum version.
47703         * INSTALL: Regenerated.
47705         [BZ #2541]
47706         [BZ #4108]
47707         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47708         before squaring exponent.
47709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47710         bottom long double and 27 bits of top long double before squaring
47711         exponent.
47712         * math/libm-test.inc (erfc_test): Add more tests.
47713         * sysdeps/i386/fpu/libm-test-ulps: Update.
47714         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47717 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47719         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47720         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47721         containing bit-fields.
47722         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47723         * soft-fp/single.h (_FP_UNION_S): Likewise.
47724         * soft-fp/double.h (_FP_UNION_D): Likewise.
47726 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47728         [BZ #13786]
47729         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47730         not include ../strcmp.S.
47731         [USE_AS_STRNCASECMP_L]: Likewise.
47732         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47733         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47734         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47735         (__strncasecmp_l_ia32): Define as alias to
47736         __strncasecmp_l_nonascii.
47738         [BZ #5794]
47739         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47740         * sysdeps/i386/fpu/libm-test-ulps: Update.
47741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47743         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47746 2012-02-29  Jeff Law  <law@redhat.com>
47748         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47749         out of bounds read.
47751 2012-02-29  Marek Polacek  <polacek@redhat.com>
47753         [BZ #13706]
47754         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47755         * elf/Makefile: Add rules to run tst-unused-dep.out.
47757 2012-02-28  David S. Miller  <davem@davemloft.net>
47759         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47760         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47761         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47762         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47763         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47764         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47766 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47768         * math/libm-test.inc (llround_test): Move one test from
47769         lround_test.  Use TEST_f_L in moved test.
47770         (lround_test): Move misplaced test to llround_test.  Add testcase
47771         from bug 2561.
47773 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47775         * sysdeps/x86_64/fpu/e_expf.S: New file.
47776         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47778 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47780         [BZ #13637]
47781         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47782         of remain_len that may cause incomplete multi-byte character and
47783         false match.
47784         * posix/bug-regex33.c: New file.
47785         * posix/Makefile (tests): Add bug-regex33.
47787 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47789         * manual/macros.texi: New file.
47790         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47791         * manual/libc.texinfo: Include macros.texi.
47792         * manual/creatute.texi: Likewise.
47793         * manual/install.texi: Likewise.
47794         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47795         @glibcadj{} in references to the GNU C Library.
47796         * manual/charset.texi: Likewise.
47797         * manual/conf.texi: Likewise.
47798         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47799         when not using those macros.
47800         * manual/creature.texi: Likewise.
47801         * manual/crypt.texi: Likewise.
47802         * manual/errno.texi: Likewise.
47803         * manual/filesys.texi: Likewise.
47804         * manual/header.texi: Likewise.
47805         * manual/install.texi: Likewise.
47806         * manual/intro.texi: Likewise.
47807         * manual/io.texi: Likewise.
47808         * manual/job.texi: Likewise.
47809         * manual/lang.texi: Likewise.
47810         * manual/libc.texiinfo: Likewise.
47811         * manual/llio.texi: Likewise.
47812         * manual/locale.texi: Likewise.
47813         * manual/maint.texi: Likewise.
47814         * manual/math.texi: Likewise.
47815         * manual/memory.texi: Likewise.
47816         * manual/message.texi: Likewise.
47817         * manual/nss.texi: Likewise.
47818         * manual/pattern.texi: Likewise.
47819         * manual/process.texi: Likewise.
47820         * manual/resource.texi: Likewise.
47821         * manual/search.texi: Likewise.
47822         * manual/setjmp.texi: Likewise.
47823         * manual/signal.texi: Likewise.
47824         * manual/socket.texi: Likewise.
47825         * manual/startup.texi: Likewise.
47826         * manual/stdio.texi: Likewise.
47827         * manual/string.texi: Likewise.
47828         * manual/sysinfo.texi: Likewise.
47829         * manual/syslog.texi: Likewise.
47830         * manual/terminal.texi: Likewise.
47831         * manual/time.texi: Likewise.
47832         * manual/users.texi: Likewise.
47833         * INSTALL: Regenerated.
47834         * NOTES: Regenerated.
47835         * sysdeps/gnu/errlist.c: Regenerated.
47837 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47839         * include/dirent.h: Include <dirstream.h> before
47840         <dirent/dirent.h>.
47842 2012-02-28  David S. Miller  <davem@davemloft.net>
47844         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47845         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47846         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47847         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47849 2012-02-27  David S. Miller  <davem@davemloft.net>
47851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47853         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47854         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47857         frame pointer instead of stack pointer relative arg slot.
47858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47859         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47860         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47862 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47864         [BZ #3992]
47865         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47867 2012-02-27  David S. Miller  <davem@davemloft.net>
47869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47873         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47874         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47875         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47876         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47878 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47880         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47881         later.  Allow versions 5-9.
47882         * configure: Regenerated.
47883         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47884         required minimum version and 4.6 as recommended version.  Do not
47885         mention bugs in GCC 2.7 and 2.8.
47886         * INSTALL: Regenerated.
47888 2012-02-27  David S. Miller  <davem@davemloft.net>
47890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47894         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47895         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47896         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47897         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47899         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47900         manipulate bits before adding and subtracting TWO112[sx].
47901         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47903 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47905         [BZ #13775]
47906         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47907         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47908         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47909         being in POSIX, because they are in 1003.1-2008.
47911         * rt/tst-aio.c: Include <fcntl.h>.
47912         * rt/tst-aio7.c: Likewise.
47913         * rt/tst-aio64.c: Likewise.
47915         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47917 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47919         * manual/install.texi (--with-headers): Describe headers as
47920         interface headers, not private headers.
47921         (Specific advice for GNU/Linux systems): Describe use of headers
47922         from "make headers_install", not private headers from older
47923         kernels.
47924         * INSTALL: Regenerated.
47925         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47926         Change to 2.6.19.
47927         * sysdeps/unix/sysv/linux/configure: Regenerated.
47929         * manual/llio.texi (fclean): Remove documentation.
47931         * manual/Makefile (libc-texi-generated): New variable.  Include
47932         version.texi.
47933         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47934         $(libc-texi-generated), not duplicated list of files.
47935         (version.texi, stamp-version): New rules.
47936         (realclean): Remove $(libc-texi-generated), not individual files
47937         from that list.  Do not remove dir-add.texinfo.
47938         * manual/libc.texinfo: Comment out uses of edition numbers and
47939         references to printed manual.  Remove last-updated dates.
47940         (EDITION): Comment out.
47941         (ISBN): Likewise.
47942         (VERSION, UPDATED): Remove.
47943         (version.texi): Include.
47945 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47947         * sysdeps/posix/spawni.c: Include <signal.h>.
47948         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47949         * sysdeps/pthread/aio_fsync.c: Likewise.
47951 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47953         * conform/Makefile (tests): Run only when not cross-compiling and
47954         when fast-check is not defined.
47956         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47957         * conform/data/limits.h-data: Fixes for POSIX2008.
47958         * conform/run-conformtest.sh: Run all tests.
47959         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47960         headers.
47961         * include/bits/dlfcn.h: Likewise.
47962         * include/langinfo.h: Likewise.
47963         * include/monetary.h: Likewise.
47964         * include/sys/poll.h: Likewise.
47966         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47967         for __USE_GNU.
47968         * posix/spawn.h: Define __need_sigset_t.
47969         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47970         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47971         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47972         to get sigevent_t only.
47973         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47974         only for __USE_GNU.
47975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47976         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47977         process_vm_writev only for __USE_GNU.
47978         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47980         * conform/Makefile: For now ignore errors from run-conformtest.
47981         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47982         POSIX to avoid namespace pollution.  Don't prepend headers.
47983         * conform/data/aio.h-data: Fixes for POSIX testing.
47984         * conform/data/fcntl.h-data: Likewise.
47985         * conform/data/glob.h-data: Likewise.
47986         * conform/data/grp.h-data: Likewise.
47987         * conform/data/pthread.h-data: Likewise.
47988         * conform/data/pwd.h-data: Likewise.
47989         * conform/data/signal.h-data: Likewise.
47990         * conform/data/spawn.h-data: Likewise.
47991         * conform/data/stdio.h-data: Likewise.
47992         * conform/data/stdlib.h-data: Likewise.
47993         * conform/data/stropts.h-data: Likewise.
47994         * conform/data/sys/mman.h-data: Likewise.
47995         * conform/data/sys/stat.h-data: Likewise.
47996         * conform/data/sys/types.h-data: Likewise.
47997         * conform/data/sys/wait.h-data: Likewise.
47998         * conform/data/time.h-data: Likewise.
47999         * conform/data/unistd.h-data: Likewise.
48000         * conform/data/utime.h-data: Likewise.
48002         * io/sys/stat.h: fchmod was always in POSIX.
48003         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48004         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48005         * rt/aio.h: Define __need_timespec before including <time.h>.
48006         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48007         struct.  Add forward declaration of pthread_attr_t and use it in
48008         sigevent.
48009         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48010         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48011         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48012         always remove CLK_TCK definition.
48014 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48016         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48018 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48020         * conform/run-conformtest.sh: New file.
48021         * conform/Makefile: Run run-conformtest for tests.
48022         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48023         support.
48025         * conform/data/uchar.h-data: New file.
48026         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48027         * conform/data/arpa/inet.h-data: Likewise.
48028         * conform/data/assert.h-data: Likewise.
48029         * conform/data/complex.h-data: Likewise.
48030         * conform/data/cpio.h-data: Likewise.
48031         * conform/data/ctype.h-data: Likewise.
48032         * conform/data/dirent.h-data: Likewise.
48033         * conform/data/dlfcn.h-data: Likewise.
48034         * conform/data/errno.h-data: Likewise.
48035         * conform/data/fcntl.h-data: Likewise.
48036         * conform/data/float.h-data: Likewise.
48037         * conform/data/fmtmsg.h-data: Likewise.
48038         * conform/data/fnmatch.h-data: Likewise.
48039         * conform/data/ftw.h-data: Likewise.
48040         * conform/data/glob.h-data: Likewise.
48041         * conform/data/grp.h-data: Likewise.
48042         * conform/data/iconv.h-data: Likewise.
48043         * conform/data/inttypes.h-data: Likewise.
48044         * conform/data/langinfo.h-data: Likewise.
48045         * conform/data/libgen.h-data: Likewise.
48046         * conform/data/limits.h-data: Likewise.
48047         * conform/data/locale.h-data: Likewise.
48048         * conform/data/math.h-data: Likewise.
48049         * conform/data/monetary.h-data: Likewise.
48050         * conform/data/mqueue.h-data: Likewise.
48051         * conform/data/ndbm.h-data: Likewise.
48052         * conform/data/net/if.h-data: Likewise.
48053         * conform/data/netdb.h-data: Likewise.
48054         * conform/data/netinet/in.h-data: Likewise.
48055         * conform/data/nl_types.h-data: Likewise.
48056         * conform/data/poll.h-data: Likewise.
48057         * conform/data/pthread.h-data: Likewise.
48058         * conform/data/pwd.h-data: Likewise.
48059         * conform/data/regex.h-data: Likewise.
48060         * conform/data/sched.h-data: Likewise.
48061         * conform/data/search.h-data: Likewise.
48062         * conform/data/semaphore.h-data: Likewise.
48063         * conform/data/setjmp.h-data: Likewise.
48064         * conform/data/signal.h-data: Likewise.
48065         * conform/data/spawn.h-data: Likewise.
48066         * conform/data/stdarg.h-data: Likewise.
48067         * conform/data/stdio.h-data: Likewise.
48068         * conform/data/stdlib.h-data: Likewise.
48069         * conform/data/string.h-data: Likewise.
48070         * conform/data/strings.h-data: Likewise.
48071         * conform/data/stropts.h-data: Likewise.
48072         * conform/data/sys/ipc.h-data: Likewise.
48073         * conform/data/sys/mman.h-data: Likewise.
48074         * conform/data/sys/msg.h-data: Likewise.
48075         * conform/data/sys/resource.h-data: Likewise.
48076         * conform/data/sys/select.h-data: Likewise.
48077         * conform/data/sys/sem.h-data: Likewise.
48078         * conform/data/sys/shm.h-data: Likewise.
48079         * conform/data/sys/socket.h-data: Likewise.
48080         * conform/data/sys/stat.h-data: Likewise.
48081         * conform/data/sys/statvfs.h-data: Likewise.
48082         * conform/data/sys/time.h-data: Likewise.
48083         * conform/data/sys/timeb.h-data: Likewise.
48084         * conform/data/sys/times.h-data: Likewise.
48085         * conform/data/sys/types.h-data: Likewise.
48086         * conform/data/sys/uio.h-data: Likewise.
48087         * conform/data/sys/un.h-data: Likewise.
48088         * conform/data/sys/utsname.h-data: Likewise.
48089         * conform/data/sys/wait.h-data: Likewise.
48090         * conform/data/syslog.h-data: Likewise.
48091         * conform/data/tar.h-data: Likewise.
48092         * conform/data/termios.h-data: Likewise.
48093         * conform/data/utime.h-data: Likewise.
48094         * conform/data/utmpx.h-data: Likewise.
48095         * conform/data/varargs.h-data: Likewise.
48096         * conform/data/wchar.h-data: Likewise.
48097         * conform/data/wctype.h-data: Likewise.
48098         * conform/data/wordexp.h-data: Likewise.
48100         * include/stropts.h: New file.
48101         * include/uchar.h: New file.
48102         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48103         * include/assert.h: Likewise.
48104         * include/ctype.h: Likewise.
48105         * include/dirent.h: Likewise.
48106         * include/dlfcn.h: Likewise.
48107         * include/fcntl.h: Likewise.
48108         * include/fnmatch.h: Likewise.
48109         * include/glob.h: Likewise.
48110         * include/grp.h: Likewise.
48111         * include/libio.h: Likewise.
48112         * include/locale.h: Likewise.
48113         * include/math.h: Likewise.
48114         * include/net/if.h: Likewise.
48115         * include/netdb.h: Likewise.
48116         * include/netinet/in.h: Likewise.
48117         * include/pthread.h: Likewise.
48118         * include/pwd.h: Likewise.
48119         * include/regex.h: Likewise.
48120         * include/sched.h: Likewise.
48121         * include/search.h: Likewise.
48122         * include/setjmp.h: Likewise.
48123         * include/signal.h: Likewise.
48124         * include/stdio.h: Likewise.
48125         * include/stdlib.h: Likewise.
48126         * include/string.h: Likewise.
48127         * include/sys/cdefs.h: Likewise.
48128         * include/sys/mman.h: Likewise.
48129         * include/sys/msg.h: Likewise.
48130         * include/sys/resource.h: Likewise.
48131         * include/sys/select.h: Likewise.
48132         * include/sys/socket.h: Likewise.
48133         * include/sys/stat.h: Likewise.
48134         * include/sys/statvfs.h: Likewise.
48135         * include/sys/time.h: Likewise.
48136         * include/sys/times.h: Likewise.
48137         * include/sys/uio.h: Likewise.
48138         * include/sys/utsname.h: Likewise.
48139         * include/sys/wait.h: Likewise.
48140         * include/termios.h: Likewise.
48141         * include/time.h: Likewise.
48142         * include/ulimit.h: Likewise.
48143         * include/unistd.h: Likewise.
48144         * include/utime.h: Likewise.
48145         * include/wchar.h: Likewise.
48146         * include/wctype.h: Likewise.
48147         * include/wordexp.h: Likewise.
48149         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48151         * time/time.h: TIME_UTC must be a macro.
48152         Make timespec_get available for ISO C11 only as well.
48154 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48156         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48157         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48159 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48161         * configure.in: Use -o not -a in test for unsupported multi-arch.
48163 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48165         * manual/texinfo.tex: Update to version 2012-01-19.16.
48167 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48169         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48171 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48173         [BZ #13738]
48174         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48175         * manual/fdl-1.3.texi: New file.
48176         * manual/fdl-1.1.texi: File removed.
48178         [BZ #13738]
48179         * manual/libc.texinfo (FDL_VERSION): New @set.
48180         Use it for mention of FDL in cover text.
48181         (Documentation License): Use it in @include file name.
48183 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48184             Roland McGrath  <roland@hack.frob.com>
48186         [BZ #5461]
48187         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48188         (not LONG_LONG_MAX and LONG_LONG_MIN.
48189         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48190         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48191         name.
48192         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48196         [BZ #2547]
48197         [BZ #11365]
48198         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48199         manipulate bits before adding and subtracting TWO23[sx].
48200         * math/libm-test.inc (nearbyint_test): Add more tests.
48202 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48204         [BZ #2548]
48205         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48206         bits before adding and subtracting TWO23[sx].
48207         * math/libm-test.inc (rint_test): Add more tests.
48208         (rint_test_tonearest): Likewise.
48209         (rint_test_towardzero): Likewise.
48210         (rint_test_downward): Likewise.
48211         (rint_test_upward: Likewise.
48213 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48215         [BZ #10110]
48216         * include/stdc-predef.h: New file.  Extracted from features.h.
48217         * include/features.h: Include stdc-predef.h.
48218         * Makefile (headers): Add stdc-predef.h.
48219         * CONFORMANCE (Compiler limitations): Update.
48221 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48223         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48225 2012-02-21  David S. Miller  <davem@davemloft.net>
48227         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48228         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48230 2012-02-20  David S. Miller  <davem@davemloft.net>
48232         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48233         using a normal save/restore sequence, rather than allocating a
48234         dummy stack frame just to store a frame pointer and restore.
48235         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48237 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48239         * manual/install.texi: Fix stray word in line-wrapped comment.
48241 2012-02-20  David S. Miller  <davem@davemloft.net>
48243         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48244         both binutils and gcc support GOTDATA.
48246         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48247         "rd %pc" in the PIC register setup sequences.
48249         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48250         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48251         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48252         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48253         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48254         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48255         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48256         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48257         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48258         (SYSCALL_ERROR_HANDLER): Likewise.
48259         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48260         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48262         (SYSCALL_ERROR_HANDLER): Likewise.
48264         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48265         (HAVE_GCC_GOTDATA): New.
48266         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48267         relocation support in both binutils and gcc.
48268         * sysdeps/sparc/elf/configure: Regenerate.
48270         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48271         * sysdeps/sparc/sparc32/elf/configure: Delete.
48272         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48273         * sysdeps/sparc/sparc64/elf/configure: Delete.
48274         * sysdeps/sparc/elf/configure.in: New file.
48275         * sysdeps/sparc/elf/configure: Generate.
48277         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48278         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48279         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48280         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48281         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48283 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48285         * manual/install.texi: Do not mention specific glibc version
48286         numbers.
48287         * manual/libc.texinfo (VERSION, UPDATED): Update.
48288         (@copying): Use @copyright{} and range of years.
48290 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48292         [BZ #13695]
48293         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48294         [crti.S not in sysdirs] (generated): Do not append.
48295         [crti.S not in sysdirs] (omit-deps): Likewise.
48296         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48297         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48298         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48299         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48300         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48301         Likewise.
48302         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48303         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48304         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48305         * csu/defs.awk: Remove file.
48306         * sysdeps/generic/initfini.c: Likewise.
48307         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48308         variable.
48309         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48310         Likewise.
48312 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48314         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48315         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48316         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48317         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48318         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48319         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48320         <bits/epoll.h>.
48321         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48322         (__EPOLL_PACKED): Define to empty if not defined by
48323         <bits/epoll.h>.
48324         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48326         bits/epoll.h.
48328 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48330         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48331         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48332         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48333         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48334         <bits/timerfd.h>.
48335         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48337         bits/timerfd.h.
48339 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48341         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48342         in C locale.
48343         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48344         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48345         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48348 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48350         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48351         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48353 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48355         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48356         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48357         defined.
48358         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48359         Likewise.
48360         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48361         entry for 2.16.
48363 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48365         * math/w_acos.c: Use non-signaling floating-point comparisons.
48366         * math/w_acosf.c: Likewise.
48367         * math/w_acosh.c: Likewise.
48368         * math/w_acoshf.c: Likewise.
48369         * math/w_acoshl.c: Likewise.
48370         * math/w_acosl.c: Likewise.
48371         * math/w_asin.c: Likewise.
48372         * math/w_asinf.c: Likewise.
48373         * math/w_asinl.c: Likewise.
48374         * math/w_atanh.c: Likewise.
48375         * math/w_atanhf.c: Likewise.
48376         * math/w_atanhl.c: Likewise.
48377         * math/w_exp2.c: Likewise.
48378         * math/w_exp2f.c: Likewise.
48379         * math/w_exp2l.c: Likewise.
48380         * math/w_j0.c: Likewise.
48381         * math/w_j0f.c: Likewise.
48382         * math/w_j0l.c: Likewise.
48383         * math/w_j1.c: Likewise.
48384         * math/w_j1f.c: Likewise.
48385         * math/w_j1l.c: Likewise.
48386         * math/w_jn.c: Likewise.
48387         * math/w_jnf.c: Likewise.
48388         * math/w_log.c: Likewise.
48389         * math/w_log10.c: Likewise.
48390         * math/w_log10f.c: Likewise.
48391         * math/w_log10l.c: Likewise.
48392         * math/w_log2.c: Likewise.
48393         * math/w_log2f.c: Likewise.
48394         * math/w_log2l.c: Likewise.
48395         * math/w_logf.c: Likewise.
48396         * math/w_logl.c: Likewise.
48397         * math/w_sqrt.c: Likewise.
48398         * math/w_sqrtf.c: Likewise.
48399         * math/w_sqrtl.c: Likewise.
48400         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48401         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48402         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48403         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48404         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48406 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48408         [BZ #9739]
48409         * manual/string.texi (strnlen): Use correct parameter name in
48410         equivalent expression.
48412 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48414         [BZ #11174]
48415         * manual/users.texi (seteuid): Consistently use neweuid for
48416         argument name.
48418 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48420         [BZ #13704]
48421         * manual/nss.texi (Services in the NSS configuration): Correct
48422         list of services in example configuration file.
48424 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48426         [BZ #11322]
48427         * manual/arith.texi: Remove statements about negative zero
48428         behaving identically to zero.
48430 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48432         [BZ #5993]
48433         * manual/install.texi: Do not document upgrading from libc5.
48435 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48437         [BZ #4596]
48438         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48440 2012-02-18  David S. Miller  <davem@davemloft.net>
48442         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48443         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48444         %o7 across the call.
48445         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48446         instead.
48447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48448         SETUP_PIC_REG_LEAF.
48449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48450         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48451         * sysdeps/sparc/crtn.S: Likewise.
48453 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48455         * aout/Makefile: Remove.
48457 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48459         [BZ #13058]
48460         * manual/examples/argp-ex1.c (main): Format definition in GNU
48461         style.
48462         * manual/examples/argp-ex2.c (main): Likewise.
48463         * manual/examples/argp-ex3.c (main): Likewise.
48464         * manual/examples/argp-ex4.c (main): Likewise.
48465         * manual/examples/longopt.c (main): Use new-style prototype
48466         definition.
48467         * manual/examples/strncat.c (main): Specify return type and use
48468         (void) for arguments.
48469         * manual/examples/subopt.c (main): Use char **argv argument.
48471 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48473         [BZ #5077]
48474         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48475         rounding modes.
48477 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48479         [BZ #6907]
48480         * manual/string.texi (strchr): Change when strchrnul is
48481         recommended.
48483 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48485         [BZ #174]
48486         * manual/locale.texi (setlocale): Document LOCPATH.
48488 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48490         [BZ #10210]
48491         * manual/process.texi (execle): Move @dots{} before last argument.
48493 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48495         [BZ #12047]
48496         * manual/charset.texi (Generic Charset Conversion): Fix typo
48497         (LC_TYPE -> LC_CTYPE).
48499 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48501         [BZ #5805]
48502         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48503         (scalbnf): Likewise.
48504         (scalbnl): Likewise.
48505         (scalbln): Likewise.
48506         (scalblnf): Likewise.
48507         (scalblnl): Likewise.
48508         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48509         (vwarnx): Likewise.
48510         (verr): Likewise.
48511         (verrx): Likewise.
48512         * manual/filesys.texi (telldir): Use braces around return type.
48513         * manual/llio.texi (mmap): Add space after comma.
48514         (mmap64): Likewise.
48515         * manual/math.texi (jn): Use @var{} on parameter names.
48516         (jnf): Likewise.
48517         (jnl): Likewise.
48518         (yn): Likewise.
48519         (ynf): Likewise.
48520         (ynl): Likewise.
48521         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48522         line.
48523         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48524         "...".
48525         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48526         (sched_get_priority_max): Likewise.
48527         * manual/signal.texi (sigvec): Add space after comma.
48528         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48529         names.
48530         (if_indextoname): Likewise.
48531         (if_freenameindex): Likewise.
48532         (sendto): Use ',' instead of '.' in prototype.
48533         * manual/startup.texi (syscall): Use @dots{} instead of literal
48534         "...".
48535         * manual/stdio.texi (__fpending): Separate initial words of
48536         paragraph from @deftypefun line.
48537         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48538         "...".
48539         (vsyslog): Use @var{} on parameter names.
48540         * manual/terminal.texi (stty): Use @var{} on parameter names.
48541         * manual/users.texi (getutmp): Use @var{} on parameter names.
48542         (getutmpx): Likewise.
48544 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48546         [BZ #6884]
48547         * manual/stdio.texi (fopen): Fix typos in description of
48548         ",ccs=STRING".
48550 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48552         [BZ #4026]
48553         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48554         get clock_id definition.
48556 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48558         [BZ #4822]
48559         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48560         (madvise): Cast every argument to void on its own.
48562 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48564         [BZ #9902]
48565         * manual/startup.texi (Exit Status): Fix typo.
48567 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48569         [BZ #10140]
48570         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48571         * manual/examples/argp-ex2.c: Likewise.
48572         * manual/examples/argp-ex3.c: Likewise.
48574 2012-02-16  Richard Henderson  <rth@redhat.com>
48576         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48577         * sysdeps/s390/s390-32/initfini.c: Remove.
48578         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48579         * sysdeps/s390/s390-64/initfini.c: Remove.
48581 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48583         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48584         compiler output for sysdeps/generic/initfini.c.
48585         * sysdeps/sh/elf/initfini.c: Remove file.
48587 2012-02-16  David S. Miller  <davem@davemloft.net>
48589         [BZ #11494]
48590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48592         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48593         * sysdeps/sparc/crti.S: New file.
48594         * sysdeps/sparc/crtn.S: New file.
48595         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48596         * sysdeps/sparc/sparc64/Makefile: Likewise.
48598 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48600         [BZ #3335]
48601         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48603 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48605         [BZ #4822]
48606         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48608         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48609         (write, read, close): Likewise.
48610         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48612 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48614         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48615         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48616         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48617         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48618         <bits/signalfd.h>.
48619         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48621         bits/signalfd.h.
48623 2012-02-14  Marek Polacek  <polacek@redhat.com>
48625         * sysdeps/x86_64/crti.S: New file.
48626         * sysdeps/x86_64/crtn.S: New file.
48627         * sysdeps/x86_64/elf/initfini.c: Remove file.
48629 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48631         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48632         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48633         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48634         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48635         <bits/inotify.h>.
48636         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48638         bits/inotify.h.
48640 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48642         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48643         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48644         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48645         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48646         <bits/eventfd.h>.
48647         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48649         bits/eventfd.h.
48651 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48653         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48654         __feraiseexcept instead of feraiseexcept.
48656         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48657         nanosleep invocations.
48658         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48659         strings, and add error checking for a nanosleep invocations.
48661 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48663         Replace FSF snail mail address with URLs, as per GNU coding standards.
48664         Most of the snail mail addresses were wrong anyway, and omitting
48665         them makes the source code easier to maintain.  Almost all of the
48666         changes are to license notices and to locale LC_IDENTIFICATION
48667         addresses, except for this one:
48668         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48669         not its snail mail address.
48671 2012-02-09  Richard Henderson  <rth@twiddle.net>
48673         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48674         of kernel-features.h.
48676         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48678 2012-02-08  Marek Polacek  <polacek@redhat.com>
48680         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48681         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48682         * sysdeps/gnu/_G_config.h: Likewise.
48683         * sysdeps/generic/_G_config.h: Likewise.
48685 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48687         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48688         tests.
48689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48691         * sysdeps/powerpc/powerpc32/crti.S: New file.
48692         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48693         * sysdeps/powerpc/powerpc64/crti.S: New file.
48694         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48696         * Makeconfig (have-initfini): Don't set.
48697         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48698         * configure.in (nopic_initfini): Don't substitute.
48699         * config.h.in (HAVE_INITFINI): Don't #undef.
48700         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48701         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48703 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48705         Support crti.S and crtn.S provided directly by architectures.
48706         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48707         [crti.S in sysdirs] (omit-deps): Likewise.
48708         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48709         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48710         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48711         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48712         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48713         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48714         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48715         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48716         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48717         compiler output for sysdeps/generic/initfini.c.
48718         * sysdeps/i386/elf/Makefile: Remove file.
48719         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48721 2012-02-07  Marek Polacek  <polacek@redhat.com>
48723         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48724         * sysdeps/gnu/_G_config.h: Likewise.
48725         * sysdeps/mach/hurd/_G_config.h: Likewise.
48727 2012-02-07  Marek Polacek  <polacek@redhat.com>
48729         * math/Makefile (tests): Add tst-CMPLX2.
48730         * math/tst-CMPLX2.c: New file.
48732 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48734         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48736         * math/libm-test.inc (jn_test): Add missing L suffix.
48738 2012-02-06  Marek Polacek  <polacek@redhat.com>
48740         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48741         * sysdeps/i386/fpu/e_powf.S: Likewise.
48742         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48743         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48744         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48745         * sysdeps/i386/fpu/e_pow.S: Likewise.
48746         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48747         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48748         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48749         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48750         * sysdeps/i386/fpu/e_log2.S: Likewise.
48751         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48752         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48753         * sysdeps/i386/fpu/e_powl.S: Likewise.
48754         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48755         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48756         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48757         * sysdeps/i386/fpu/e_logl.S: Likewise.
48758         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48759         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48760         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48761         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48762         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48763         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48764         * sysdeps/i386/fpu/e_log.S: Likewise.
48765         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48766         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48767         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48768         * sysdeps/i386/fpu/e_logf.S: Likewise.
48769         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48770         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48771         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48772         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48773         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48774         * sysdeps/i386/fpu/e_log10.S: Likewise.
48775         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48776         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48777         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48778         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48779         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48780         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48781         * sysdeps/i386/asm-syntax.h: Likewise.
48782         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48783         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48784         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48785         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48786         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48787         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48788         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48789         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48790         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48791         * sysdeps/powerpc/sysdep.h: Likewise.
48792         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48793         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48795 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48797         [BZ #411]
48798         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48800 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48802         * sysdeps/i386/sysdep.h: Include <features.h>.
48803         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48804         version.
48806 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48808         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48809         Define.
48810         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48811         LOAD_PIC_REG_STR.
48813 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48815         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48816         (SETUP_PIC_REG): Use GET_PC_THUNK.
48817         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48818         macro.
48820 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48822         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48823         for non-PIC compilation.
48824         (SETUP_PIC_REG): Add .p2align directive.
48825         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48826         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48827         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48828         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48829         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48830         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48831         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48832         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48833         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48834         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48835         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48836         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48837         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48838         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48839         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48840         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48841         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48842         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48843         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48844         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48845         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48846         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48847         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48848         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48849         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48851         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48852         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48853         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48854         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48855         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48856         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48857         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48858         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48859         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48860         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48861         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48862         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48863         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48864         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48865         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48867 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48869         * math/tst-CMPLX.c: Include <stdio.h>.
48871 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48873         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48874         float.
48875         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48876         * sysdeps/sparc/bits/mathdef.h: Likewise.
48878 2012-01-31  Marek Polacek  <polacek@redhat.com>
48880         * libio/libio.h: Don't define _PARAMS.
48881         * locale/programs/config.h: Don't define PARAMS.
48882         * stdlib/strtol_l.c: Likewise.
48883         (__strtol_l): Remove PARAMS from the prototype.
48885 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48887         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48888         names.  Just use the correct names.  Remove unnecessary wrapper
48889         functions.
48890         * malloc/arena.c: Likewise.
48891         * malloc/hooks.c: Likewise.
48893         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48894         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48895         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48897 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48899         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48900         into tail calls.
48901         (update_get_addr): New function.
48902         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48903         GET_ADDR_MODULE parameter.
48905 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48907         * crypt/cert.c: Remove __STDC__ conditionals.
48908         * crypt/crypt-entry.c: Likewise.
48909         * crypt/crypt_util.c: Likewise.
48910         * libio/filedoalloc.c: Likewise.
48911         * libio/fileops.c: Likewise.
48912         * libio/genops.c: Likewise.
48913         * libio/iofclose.c: Likewise.
48914         * libio/iofdopen.c: Likewise.
48915         * libio/iofopen.c: Likewise.
48916         * libio/iofopen64.c: Likewise.
48917         * libio/iogetdelim.c: Likewise.
48918         * libio/iopopen.c: Likewise.
48919         * libio/obprintf.c: Likewise.
48920         * libio/oldfileops.c: Likewise.
48921         * libio/oldiofclose.c: Likewise.
48922         * libio/oldiofdopen.c: Likewise.
48923         * libio/oldiofopen.c: Likewise.
48924         * libio/oldiopopen.c: Likewise.
48925         * libio/wfiledoalloc.c: Likewise.
48926         * libio/wgenops.c: Likewise.
48927         * locale/programs/xmalloc.c: Likewise.
48928         * misc/syslog.c: Likewise.
48929         * stdio-common/xbug.c: Likewise.
48930         * string/memchr.c: Likewise.
48931         * string/memcmp.c: Likewise.
48932         * string/memrchr.c: Likewise.
48933         * string/rawmemchr.c: Likewise.
48934         * sysdeps/posix/getcwd.c: Likewise.
48935         * time/strftime_l.c: Likewise.
48937 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48939         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48940         * config.make.in (config-cflags-sse2avx): Define.
48941         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48942         Fix typo.
48944 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48946         * scripts/config.guess: Update from upstream config git repository.
48947         * scripts/config.sub: Likewise.
48949 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48951         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48952         (EM_NUM): Update.
48953         (R_TILEPRO_*, R_TILEGX_*): New macros.
48955         * scripts/firstversions.awk: Fix bug in version range handling.
48957         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48959         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48961         * include/sys/epoll.h: New file.
48962         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48963         libc_hidden_def.
48965 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48967         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48968         Avoid unnecessary __WORDSIZE == 64 test.
48969         (fmaxf): Use VEX format if possible.
48970         (fmax): Likewise.
48971         (fminf): Likewise.
48972         (fmin): Likewise.
48974         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48975         * math/math_private.h: Remove libc_fegetround* and
48976         libc_fesetround*.
48977         * sysdeps/i386/configure.in: Check for -msse2avx.
48978         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48979         also if SSE2AVX is defined.
48980         Remove libc_fegetround* and libc_fesetround*.
48981         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48982         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48984         of HAS_YMM_USABLE.
48985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48986         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48987         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48988         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48989         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48991         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48993 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48995         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48996         size is not set.
48997         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48999 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49001         [BZ #13618]
49002         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49003         relocation.
49004         * Makeconfig (libm): Define.
49005         * elf/Makefile: Add rules to build and run tst-relsort1.
49006         * elf/tst-relsort1.c: New file.
49007         * elf/tst-relsort1mod1.c: New file.
49008         * elf/tst-relsort1mod2.c: New file.
49010 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49012         * math/s_ldexp.c: Remove __STDC__ conditionals.
49013         * math/s_ldexpf.c: Likewise.
49014         * math/s_ldexpl.c: Likewise.
49015         * math/s_nextafter.c: Likewise.
49016         * math/s_nexttowardf.c: Likewise.
49017         * math/s_significand.c: Likewise.
49018         * math/s_significandf.c: Likewise.
49019         * math/s_significandl.c: Likewise.
49020         * math/w_jnl.c: Likewise.
49021         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49022         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49023         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49024         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49025         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49026         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49028         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49029         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49030         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49034         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49035         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49036         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49037         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49038         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49040         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49041         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49042         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49043         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49044         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49045         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49046         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49047         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49048         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49049         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49050         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49051         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49052         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49053         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49054         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49055         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49056         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49057         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49058         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49059         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49060         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49061         * sysdeps/ieee754/k_standard.c: Likewise.
49062         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49063         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49064         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49065         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49066         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49067         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49068         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49069         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49070         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49071         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49072         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49073         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49074         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49075         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49076         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49077         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49078         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49079         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49080         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49081         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49082         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49083         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49084         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49085         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49086         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49087         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49090         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49091         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49092         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49093         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49094         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49095         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49097         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49098         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49099         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49100         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49101         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49102         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49103         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49104         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49105         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49106         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49107         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49108         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49109         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49110         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49111         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49112         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49114         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49115         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49116         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49117         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49118         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49119         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49120         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49121         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49122         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49123         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49124         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49125         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49126         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49127         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49128         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49129         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49130         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49131         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49132         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49133         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49134         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49135         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49136         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49137         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49138         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49139         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49140         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49141         * sysdeps/ieee754/s_matherr.c: Likewise.
49142         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49143         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49145         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49147 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49149         * crypt/md5.h: Remove __STDC__ conditionals.
49150         * libio/libioP.h: Likewise.
49151         * locale/programs/config.h: Likewise.
49152         * sysdeps/generic/sysdep.h: Likewise.
49153         * sysdeps/i386/asm-syntax.h: Likewise.
49154         * sysdeps/s390/asm-syntax.h: Likewise.
49155         * sysdeps/unix/sysdep.h: Likewise.
49156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49159 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49161         * libio/libio.h: Remove __STDC__ conditionals.
49162         * malloc/obstack.h: Likewise.
49163         * math/complex.h: Likewise.
49164         * math/math.h: Likewise.
49165         * sysdeps/generic/_G_config.h: Likewise.
49166         * sysdeps/gnu/_G_config.h: Likewise.
49167         * sysdeps/mach/hurd/_G_config.h: Likewise.
49168         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49169         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49170         * sysdeps/sparc/bits/mathdef.h: Likewise.
49172 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49174         [BZ #13583]
49175         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49176         Clean up HAS_* macros.
49177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49178         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49179         possible.
49180         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49181         HAS_AVX.
49182         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49183         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49184         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49185         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49186         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49188 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49190         * elf/tst-unique3.cc (gets): Remove declaration.
49191         * elf/tst-unique3lib.cc (gets): Likewise.
49192         * elf/tst-unique3lib2.cc (gets): Likewise.
49193         * elf/tst-unique4.cc (gets): Likewise.
49195 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49197         * include/stdio.h: Add C++ protection.  Add gets declarations and
49198         definitions.
49199         * debug/tst-chk1.c: Don't declare gets here.
49200         * stdio-common/tst-gets.c: Likewise.
49202 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49204         * posix/glob: Remove directory.
49206 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49208         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49210 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49212         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49213         of the non-standard EPFNOSUPPORT.
49215 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49217         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49218         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49219         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49221 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49223         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49225 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49227         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49228         transient errors.
49229         * nscd/grpcache.c (cache_addgr): Likewise.
49230         * nscd/hstcache.c (cache_addhst): Likewise.
49231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49232         * nscd/pwdcache.c (cache_addpw): Likewise.
49233         * nscd/servicescache.c (cache_addserv): Likewise.
49235 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49237         * malloc/malloc.c: Various cleanups.
49238         * malloc/hooks.c: Likewise.
49240         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49241         * stdlib/bug-fmtmsg1.c: New file.
49243         * stdlib/fmtmsg.c (init): Add missing unlock.
49244         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49246 2012-01-12  Marek Polacek  <polacek@redhat.com>
49248         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49249         and _GNU_SOURCE.
49251 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49253         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49254         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49255         macro to ensure uniqueness of label name.
49256         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49257         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49259 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49261         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49263         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49264         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49266         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49268 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49270         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49272         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49273         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49274         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49276         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49278         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49279         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49280         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49281         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49283         * math/bits/math-finite.h: Add ldexp support.
49285 2012-01-10  Marek Polacek  <polacek@redhat.com>
49287         * locale/programs/localedef.h (show_archive_content): Add noreturn
49288         attribute.
49290 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49292         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49294 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49296         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49298         * io/Makefile (headers): Add bits/poll2.h.
49300 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49303         typo #include statement.
49305 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49307         * include/sys/cdefs.h: Define __attribute_alloc_size.
49308         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49309         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49310         * elf/pldd.c: Likewise.
49311         * iconv/iconv_charmap.c: Likewise.
49312         * iconv/iconvconfig.c: Likewise.
49313         * iconv/strtab.c: Likewise.
49314         * locale/programs/locale.c: Likewise.
49315         * locale/programs/localedef.h: Likewise.
49316         * locale/programs/simple-hash.c: Likewise.
49317         * nscd/nscd.h: Likewise.
49318         * nss/makedb.c: Likewise.
49319         * sysdeps/generic/ldconfig.h: Likewise.
49320         * locale/programs/localedef.c: Remove xmalloc prototype.
49321         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49323 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49325         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49326         appropriate.
49328 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49330         * math/Makefile (tests): Add tst-CMPLX.
49331         * math/tst-CMPLX.c: New file.
49333         * math/complex.h (CMPLXL): Fix typo.
49335         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49336         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49337         GLIBC_2.16.
49338         * debug/tst-chk1.c: Add poll and ppoll tests.
49339         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49340         * include/sys/poll.h: Add hidden proto for ppoll.
49341         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49342         * sysdeps/mach/hurd/ppoll.c: Likewise.
49343         * io/ppoll.c: Likewise.
49344         * debug/poll_chk.c: New file.
49345         * debug/ppoll_chk.c: New file.
49346         * include/bits/poll2.h: New file.
49347         * io/bits/poll2.h: New file.
49349         [BZ #1350]
49350         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49352         * configure.in: static is always set to yes.  Remove.
49353         * config.make.in: Don't set build-static.
49354         * Makeconfig: Remove use of build-static.
49355         * dlfcn/Makefile: Likewise.
49356         * elf/Makefile: Likewise.
49357         * math/Makefile: Likewise.
49358         * misc/Makefile: Likewise.
49359         * nptl/Makefile: Likewise.
49360         * sysdeps/mach/hurd/Makefile: Likewise.
49362         * configure.in: PWD_P is not used anymore.
49363         * config.make.in: Remove PWD_P entry.
49365         * configure.in: Remove last remnants of RANLIB.
49366         No need to check for signed size_t anymore.
49367         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49368         and IA-64.
49369         Remove __builtin_expect test because we require at least gcc 3.4.
49370         * aclocal.m4: Likewise.
49372         * wcsmbs/mbrtoc16.c: Implement using towc function.
49373         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49374         * wcsmbs/wcsmbsload.c: Likewise.
49375         * iconv/gconv_simple.c: Likewise.
49376         * iconv/gconv_int.h: Likewise.
49377         * iconv/gconv_builtin.h: Likewise.
49378         * iconv/iconv_prog.c: Remove CHAR16 handling.
49380         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49382         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49384         * configure.in: Remove --with-elf and --enable-bounded options.
49385         Dont set base_machine for ia64.  More non-ELF conditions removed.
49386         Remove testing and setting of leading underscore information.
49387         * config.make.in (build-bounded): Set to no.
49388         * config.h.in: Remove NO_UNDERSCORES entry.
49389         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49390         them.
49391         * csu/start.c: Remove !NO_UNDERSCORE code.
49392         * locale/localeinfo.h: Likewise.
49393         * sysdeps/generic/machine-gmon.h: Likewise.
49394         * sysdeps/generic/sysdep.h: Likewise.
49395         * sysdeps/i386/sysdep.h: Likewise.
49396         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49397         * sysdeps/mach/sysdep.h: Likewise.
49398         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49399         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49400         * sysdeps/sh/sysdep.h: Likewise.
49401         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49402         * sysdeps/unix/i386/sysdep.S: Likewise.
49403         * sysdeps/unix/sparc/start.c: Likewise.
49404         * sysdeps/unix/sparc/sysdep.S: Likewise.
49405         * sysdeps/unix/sparc/sysdep.h: Likewise.
49406         * sysdeps/unix/start.c: Likewise.
49407         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49408         * sysdeps/x86_64/sysdep.h: Likewise.
49410 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49412         [BZ #13553]
49413         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49414         for non-gcc.
49415         * argp/argp-fmtstream.h: Use const instead __const.
49416         * argp/argp.h: Likewise.
49417         * assert/assert.h: Likewise.
49418         * bits/fenv.h: Likewise.
49419         * bits/sched.h: Likewise.
49420         * bits/sigset.h: Likewise.
49421         * bits/sigthread.h: Likewise.
49422         * catgets/nl_types.h: Likewise.
49423         * conform/data/pthread.h-data: Likewise.
49424         * crypt/crypt-private.h: Likewise.
49425         * crypt/crypt.h: Likewise.
49426         * crypt/crypt_util.c: Likewise.
49427         * ctype/ctype.h: Likewise.
49428         * debug/execinfo.h: Likewise.
49429         * debug/mbsnrtowcs_chk.c: Likewise.
49430         * debug/mbsrtowcs_chk.c: Likewise.
49431         * debug/wcsnrtombs_chk.c: Likewise.
49432         * debug/wcsrtombs_chk.c: Likewise.
49433         * debug/wcstombs_chk.c: Likewise.
49434         * dirent/dirent.h: Likewise.
49435         * dlfcn/dlfcn.h: Likewise.
49436         * elf/neededtest4.c: Likewise.
49437         * grp/grp.h: Likewise.
49438         * gshadow/gshadow.h: Likewise.
49439         * iconv/gconv.h: Likewise.
49440         * iconv/gconv_int.h: Likewise.
49441         * iconv/gconv_simple.c: Likewise.
49442         * iconv/iconv.h: Likewise.
49443         * iconv/loop.c: Likewise.
49444         * iconv/skeleton.c: Likewise.
49445         * include/aio.h: Likewise.
49446         * include/aliases.h: Likewise.
49447         * include/argz.h: Likewise.
49448         * include/arpa/inet.h: Likewise.
49449         * include/assert.h: Likewise.
49450         * include/dirent.h: Likewise.
49451         * include/dlfcn.h: Likewise.
49452         * include/execinfo.h: Likewise.
49453         * include/fcntl.h: Likewise.
49454         * include/fenv.h: Likewise.
49455         * include/glob.h: Likewise.
49456         * include/grp.h: Likewise.
49457         * include/libintl.h: Likewise.
49458         * include/mntent.h: Likewise.
49459         * include/netdb.h: Likewise.
49460         * include/pwd.h: Likewise.
49461         * include/rpc/netdb.h: Likewise.
49462         * include/sched.h: Likewise.
49463         * include/search.h: Likewise.
49464         * include/shadow.h: Likewise.
49465         * include/signal.h: Likewise.
49466         * include/stdio.h: Likewise.
49467         * include/stdlib.h: Likewise.
49468         * include/string.h: Likewise.
49469         * include/sys/socket.h: Likewise.
49470         * include/sys/stat.h: Likewise.
49471         * include/sys/statfs.h: Likewise.
49472         * include/sys/statvfs.h: Likewise.
49473         * include/sys/syslog.h: Likewise.
49474         * include/sys/time.h: Likewise.
49475         * include/sys/uio.h: Likewise.
49476         * include/time.h: Likewise.
49477         * include/unistd.h: Likewise.
49478         * include/utmp.h: Likewise.
49479         * include/wchar.h: Likewise.
49480         * include/wctype.h: Likewise.
49481         * inet/aliases.h: Likewise.
49482         * inet/arpa/inet.h: Likewise.
49483         * inet/netinet/ether.h: Likewise.
49484         * inet/netinet/in.h: Likewise.
49485         * intl/libintl.h: Likewise.
49486         * io/bits/fcntl2.h: Likewise.
49487         * io/fcntl.h: Likewise.
49488         * io/ftw.h: Likewise.
49489         * io/sys/poll.h: Likewise.
49490         * io/sys/stat.h: Likewise.
49491         * io/sys/statfs.h: Likewise.
49492         * io/sys/statvfs.h: Likewise.
49493         * io/utime.h: Likewise.
49494         * libio/bits/stdio.h: Likewise.
49495         * libio/bits/stdio2.h: Likewise.
49496         * libio/libio.h: Likewise.
49497         * libio/libioP.h: Likewise.
49498         * libio/stdio.h: Likewise.
49499         * locale/lc-ctype.c: Likewise.
49500         * locale/locale.h: Likewise.
49501         * login/utmp.h: Likewise.
49502         * malloc/arena.c: Likewise.
49503         * malloc/malloc.c: Likewise.
49504         * malloc/malloc.h: Likewise.
49505         * malloc/mcheck.c: Likewise.
49506         * malloc/mtrace.c: Likewise.
49507         * math/bits/mathcalls.h: Likewise.
49508         * math/fenv.h: Likewise.
49509         * math/math_private.h: Likewise.
49510         * misc/bits/error.h: Likewise.
49511         * misc/bits/syslog.h: Likewise.
49512         * misc/err.h: Likewise.
49513         * misc/error.h: Likewise.
49514         * misc/fstab.h: Likewise.
49515         * misc/mntent.h: Likewise.
49516         * misc/regexp.h: Likewise.
49517         * misc/search.h: Likewise.
49518         * misc/sgtty.h: Likewise.
49519         * misc/sys/mman.h: Likewise.
49520         * misc/sys/syslog.h: Likewise.
49521         * misc/sys/uio.h: Likewise.
49522         * misc/sys/xattr.h: Likewise.
49523         * misc/ttyent.h: Likewise.
49524         * nis/rpcsvc/ypclnt.h: Likewise.
49525         * nss/nss.h: Likewise.
49526         * posix/bits/unistd.h: Likewise.
49527         * posix/fnmatch.h: Likewise.
49528         * posix/glob.h: Likewise.
49529         * posix/sched.h: Likewise.
49530         * posix/spawn.h: Likewise.
49531         * posix/sys/wait.h: Likewise.
49532         * posix/unistd.h: Likewise.
49533         * posix/wordexp.h: Likewise.
49534         * pwd/pwd.h: Likewise.
49535         * resolv/netdb.h: Likewise.
49536         * resource/sys/resource.h: Likewise.
49537         * rt/aio.h: Likewise.
49538         * rt/bits/mqueue2.h: Likewise.
49539         * rt/mqueue.h: Likewise.
49540         * shadow/shadow.h: Likewise.
49541         * signal/signal.h: Likewise.
49542         * socket/send.c: Likewise.
49543         * socket/sendto.c: Likewise.
49544         * socket/sys/socket.h: Likewise.
49545         * stdio-common/printf.h: Likewise.
49546         * stdlib/bits/stdlib.h: Likewise.
49547         * stdlib/fmtmsg.h: Likewise.
49548         * stdlib/monetary.h: Likewise.
49549         * stdlib/stdlib.h: Likewise.
49550         * stdlib/ucontext.h: Likewise.
49551         * streams/stropts.h: Likewise.
49552         * string/argz.h: Likewise.
49553         * string/bits/string2.h: Likewise.
49554         * string/string.h: Likewise.
49555         * string/strings.h: Likewise.
49556         * sunrpc/rpc/auth.h: Likewise.
49557         * sunrpc/rpc/auth_des.h: Likewise.
49558         * sunrpc/rpc/clnt.h: Likewise.
49559         * sunrpc/rpc/netdb.h: Likewise.
49560         * sunrpc/rpc/pmap_clnt.h: Likewise.
49561         * sunrpc/rpc/xdr.h: Likewise.
49562         * sysdeps/generic/inttypes.h: Likewise.
49563         * sysdeps/generic/net/if.h: Likewise.
49564         * sysdeps/generic/sys/swap.h: Likewise.
49565         * sysdeps/gnu/net/if.h: Likewise.
49566         * sysdeps/gnu/utmpx.h: Likewise.
49567         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49568         * sysdeps/i386/i486/bits/string.h: Likewise.
49569         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49570         * sysdeps/s390/bits/string.h: Likewise.
49571         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49572         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49573         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49574         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49575         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49576         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49577         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49578         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49579         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49580         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49581         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49582         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49583         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49584         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49585         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49586         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49587         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49589         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49590         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49591         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49592         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49593         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49594         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49595         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49596         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49597         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49599         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49600         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49601         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49602         * sysvipc/sys/ipc.h: Likewise.
49603         * sysvipc/sys/msg.h: Likewise.
49604         * sysvipc/sys/sem.h: Likewise.
49605         * sysvipc/sys/shm.h: Likewise.
49606         * termios/termios.h: Likewise.
49607         * time/sys/time.h: Likewise.
49608         * time/time.h: Likewise.
49609         * wcsmbs/bits/wchar2.h: Likewise.
49610         * wcsmbs/uchar.h: Likewise.
49611         * wcsmbs/wchar.h: Likewise.
49612         * wctype/wctype.h: Likewise.
49614         [BZ #13551]
49615         * Makeconfig: Remove all but ELF support including AIX support.
49616         * Makerules: Likewise.
49617         * config.h.in: Likewise.
49618         * config.make.in: Likewise.
49619         * configure: Likewise.
49620         * configure.in: Likewise.
49621         * csu/Makefile: Likewise.
49622         * csu/version.c: Likewise.
49623         * debug/Makefile: Likewise.
49624         * dlfcn/Makefile: Likewise.
49625         * elf/Makefile: Likewise.
49626         * extra-lib.mk: Likewise.
49627         * iconv/Makefile: Likewise.
49628         * include/libc-symbols.h: Likewise.
49629         * include/shlib-compat.h: Likewise.
49630         * resolv/Makefile: Likewise.
49631         * resolv/res_libc.c: Likewise.
49632         * rt/Makefile: Likewise.
49633         * sysdeps/i386/asm-syntax.h: Likewise.
49634         * sysdeps/i386/sysdep.h: Likewise.
49635         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49636         * sysdeps/mach/sysdep.h: Likewise.
49637         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49638         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49639         * sysdeps/s390/asm-syntax.h: Likewise.
49640         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49641         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49642         * sysdeps/sh/sysdep.h: Likewise.
49643         * sysdeps/unix/sparc/sysdep.h: Likewise.
49644         * sysdeps/wordsize-32/divdi3.c: Likewise.
49645         * sysdeps/x86_64/sysdep.h: Likewise.
49647         * argp/Versions: Remove _argp_unlock_xxx.
49649         [BZ #13559]
49650         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49651         * abilist/libBrokenLocale.abilist: Likewise.
49652         * abilist/libanl.abilist: Likewise.
49653         * abilist/libc.abilist: Likewise.
49654         * abilist/libcrypt.abilist: Likewise.
49655         * abilist/libdl.abilist: Likewise.
49656         * abilist/libm.abilist: Likewise.
49657         * abilist/libnsl.abilist: Likewise.
49658         * abilist/libpthread.abilist: Likewise.
49659         * abilist/libresolv.abilist: Likewise.
49660         * abilist/librt.abilist: Likewise.
49661         * abilist/libthread_db.abilist: Likewise.
49662         * abilist/libutil.abilist: Likewise.
49663         * abilist/libnss_db.abilist: New file.
49665         * scripts/abilist.awk: Add support for indirect functions.
49667         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49669         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49671         * shlib-versions: Remove entries for ports architectures.
49673         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49674         files in ports.
49675         * elf/stackguard-macros.h: Remove support for IA-64.
49676         * elf/tst-auditmod1.c: Likewise.
49677         * sysdeps/generic/ldsodefs.h: Likewise.
49679         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49680         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49681         configure files.
49683         [BZ #13552]
49684         * configure.in: Remove --enable-omitfp support.
49685         * FAQ.in: Adjust.
49686         * config.make.in: Likewise.
49687         * Makeconfig: Likewise.
49688         * manual/install.texi: Likewise.
49690         In case anyone cares, the IA-64 architecture could move to ports.
49691         * sysdeps/ia64/*: Removed.
49692         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49693         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49695         [BZ #13555]
49696         * configure.in: Remove entries for unsupported architectures.
49698         [BZ #13533]
49699         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49700         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49701         routines.
49702         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49703         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49704         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49705         fall back to using wcrtomb.
49706         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49707         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49708         renaming.
49709         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49710         * wcsmbs/tst-c16c32-1.c: New file.
49712         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49713         local variable.
49715         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49717         * elf/tst-unique3.cc: Add explicit declaration of gets.
49718         * elf/tst-unique3lib.cc: Likewise.
49719         * elf/tst-unique3lib2.cc: Likewise.
49720         * elf/tst-unique4.cc: Likewise.
49722         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49724 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49726         [BZ #13566]
49727         * assert/assert.h (static_assert): Don't define for C++.
49728         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49729         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49731 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49733         * iconv/loop.c (single loop): Fix assertion in storing of
49734         remaining bytes.
49736         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49738 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49740         * posix/getconf.c: Update copyright year.
49741         * nss/getent.c: Likewise.
49742         * nss/makedb.c: Likewise.
49743         * iconv/iconvconfig.c: Likewise.
49744         * iconv/iconv_prog.c: Likewise.
49745         * elf/ldconfig.c: Likewise.
49746         * elf/pldd.c: Likewise.
49747         * elf/sotruss.ksh: Likewise.
49748         * catgets/gencat.c: Likewise.
49749         * csu/version.c: Likewise.
49750         * elf/ldd.bash.in: Likewise.
49751         * elf/sprof.c (print_version): Likewise.
49752         * locale/programs/locale.c: Likewise.
49753         * locale/programs/localedef.c: Likewise.
49754         * login/programs/pt_chown.c: Likewise.
49755         * nscd/nscd.c (print_version): Likewise.
49756         * debug/xtrace.sh: Likewise.
49757         * malloc/memusage.sh: Likewise.
49758         * malloc/mtrace.pl: Likewise.
49759         * debug/catchsegv.sh: Likewise.
49761 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49763         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49764         pure attribute.
49766 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49768         [BZ #13533]
49769         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49770         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49771         transformations.
49772         * iconv/gconv_int.h: Likewise.
49773         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49774         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49775         from libc for GLIBC_2.16.
49776         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49777         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49778         * wcsmbs/uchar.h: Really define mbstate_t.
49779         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49780         * wcsmbs/c16rtomb.c: New file.
49781         * wcsmbs/mbrtoc16.c: New file.
49782         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49783         for C/POSIX locale.
49784         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49785         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49787         * wcsmbs/wchar.h: Add missing __restrict.
49789 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49791         [BZ #13532]
49792         * time/Makefile (routines): Add timespec_get.
49793         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49794         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49795         timespec for ISO C11.
49796         * time/timespec_get.c: New file.
49797         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49798         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49800         [BZ #13531]
49801         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49802         * stdlib/stdlib.h: Declare aligned_alloc.
49803         * Versions.def: Add GLIBC_2.16 for libc.
49804         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49806         [BZ 13527]
49807         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49808         ISO C11.
49810         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49811         code.
49813         [BZ #13528]
49814         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49816         [BZ #13529]
49817         * assert/assert.h (static_assert): Define.
49819         * version.h: Update for 2.16 development version.
49821         [BZ #13526]
49822         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49823         _ISOC11_SOURCE.
49825         * version.h (RELEASE): Bump for 2.15 release.
49826         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49828         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49829         Patch by Marek Polacek <mpolacek@redhat.com>.
49831         * bits/byteswap.h: Protect long long constants with __extension__.
49832         * sysdeps/i386/bits/byteswap.h: Likewise.
49833         * sysdeps/ia64/bits/byteswap.h: Likewise.
49834         * sysdeps/s390/bits/byteswap.h: Likewise.
49835         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49837 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49839         [BZ #13540]
49840         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49841         destination buffer.
49842         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49844 2011-12-23  Marek Polacek  <polacek@redhat.com>
49846         * elf/dl-addr.c (determine_info): Add inline keyword.
49847         * elf/tst-auditmod4b.c (check_avx): Likewise.
49848         * elf/tst-auditmod6b.c (check_avx): Likewise.
49849         * elf/tst-auditmod6c.c (check_avx): Likewise.
49850         * elf/tst-auditmod7b.c (check_avx): Likewise.
49852 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49854         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49855         !__SSE_MATH__.
49857 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49859         [BZ #13540]
49860         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49861         processing for last bytes.
49863 2011-08-06  Bruno Haible  <bruno@clisp.org>
49865         [BZ #13061]
49866         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49867         U+0385, not to U+1FEE.
49869         [BZ #13062]
49870         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49871         entry for U+00A5 U+0301.
49873 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49875         [BZ #13166]
49876         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49877         buffer for the output is too small.
49879         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49880         optimization.
49882         [BZ #13185]
49883         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49884         SSE flags if possible.
49886 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49888         [BZ #13540]
49889         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49890         processing for last bytes.
49892 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49894         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49895         (syscall-list-default-options, syscall-list-default-condition)
49896         (syscall-list-includes): Define.
49897         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49898         list of ABIs and options and #if conditions for each ABI.  Do not
49899         handle common syscalls between ABIs specially.
49900         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49901         Remove.
49902         (syscall-list-variants, syscall-list-32bit-options)
49903         (syscall-list-32bit-condition, syscall-list-64bit-options)
49904         (syscall-list-64bit-condition): Define.
49905         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49906         (syscall-list-variants, syscall-list-32bit-options)
49907         (syscall-list-32bit-condition, syscall-list-64bit-options)
49908         (syscall-list-64bit-condition): Define.
49909         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49910         Remove.
49911         (syscall-list-variants, syscall-list-32bit-options)
49912         (syscall-list-32bit-condition, syscall-list-64bit-options)
49913         (syscall-list-64bit-condition): Define.
49914         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49915         Remove.
49916         (syscall-list-variants, syscall-list-32bit-options)
49917         (syscall-list-32bit-condition, syscall-list-64bit-options)
49918         (syscall-list-64bit-condition): Define.
49920 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49922         * locale/iso-639.def: Add brx entry.
49924         [BZ #13328]
49925         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49926         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49928         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49929         __feraiseexcept_renamed.
49931 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49933         [BZ #13538]
49934         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49935         EPOLLET with unsigned values.
49936         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49937         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49939         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49940         to large cancellation.
49941         * math/s_cacoshf.c: Likewise.
49942         * math/s_cacoshl.c: Likewise.
49944 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49946         [BZ #13305]
49947         [BZ #12786]
49948         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49949         * math/s_cacoshf.c: Likewise.
49950         * math/s_cacoshl.c: Likewise.
49952 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49954         [BZ #13439]
49955         * iconv/gconv.h: Define __GCONV_SWAP.
49956         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49957         * iconvdata/utf-16.c: Likewise.
49958         * iconvdata/utf-32.c: Likewise.
49960 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49962         [BZ #13524]
49963         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49964         numerator after shifting it by one limb.
49966 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49968         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49969         under [__USE_EXTERN_INLINES].
49971 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49973         [BZ #13446]
49974         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49976 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49978         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49979         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49980         optimized code.
49981         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49982         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49983         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49984         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49985         for strncasecmp/strncasecmp_l compilation.
49986         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49987         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49989 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49991         [BZ #13484]
49992         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49993         of __asm__.
49995 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49997         [BZ #13506]
49998         * time/tzfile.c (__tzfile_read): Check values from file header.
50000 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50002         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50003         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50004         * powerpc/powerpc32/dl-start.S: Likewise.
50005         * powerpc/powerpc32/elf/start.S: Likewise.
50006         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50007         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50008         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50009         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50010         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50011         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50012         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50013         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50014         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50015         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50016         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50017         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50018         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50019         * powerpc/powerpc32/memset.S: Likewise.
50020         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50021         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50022         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50023         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50024         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50025         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50026         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50027         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50028         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50029         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50030         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50031         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50032         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50034 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50036         * math/libm-test.inc: Added more nearbyint tests.
50037         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50038         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50039         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50040         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50042 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50044         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50045         FD_CLOEXEC.
50047 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50049         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50050         Add wcscpy-ssse3 wcscpy-c.
50051         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50052         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50053         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50054         * sysdeps/x86_64/wcschr.S: New file.
50055         * sysdeps/x86_64/wcsrchr.S: New file.
50056         * string/test-strcmp.c: Remove checking of wcscmp function for
50057         wrong alignments.
50058         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50059         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50060         wcsrchr-sse2 wcsrchr-c.
50061         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50062         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50063         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50064         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50065         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50066         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50067         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50068         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50069         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50070         * wcsmbc/wcschr.c (WCSCHR): New macro.
50072 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50074         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50075         * wcsmbs/test-wcsrchr.c: New file.
50076         * string/test-strrchr.c: Add wcsrchr support.
50077         (WIDE): New macro.
50078         * wcsmbs/test-wcscpy.c: New file.
50079         * string/test-strcpy.c: Add wcscpy support.
50080         (WIDE): New macro.
50082 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50084         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50085         the inner loop.
50087 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50089         [BZ #13472]
50090         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50092 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50094         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50095         Minor optimizations.
50097         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50098         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50099         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50101 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50103         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50104         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50105         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50106         for gcc to avoid warnings.
50107         * inet/Makefile (tests): Add tst-checks.
50108         * inet/tst-checks.c: New file.
50110         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50111         warning.
50113         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50114         __wmemcmp_sse2.
50116         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50117         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50119         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50121 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50123         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50124         problem.
50126         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50128 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50130         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50131         conditional on GCC version.
50132         (__arch_compare_and_exchange_val_8_acq)
50133         (__arch_compare_and_exchange_val_16_acq)
50134         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50135         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50136         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50138 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50140         * sysdeps/sh/backtrace.c: New file.
50142 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50144         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50145         parenthesis.
50147 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50149         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50150         falling back to utime.
50152 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50154         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50155         expectations for float.
50157 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50159         * locale/weight.h (findidx): Add parameter len.
50160         * locale/weightwc.h (findidx): Likewise.
50161         * posix/fnmatch_loop.c (FCT): Adjust caller.
50162         * posix/regcomp.c (build_equiv_class): Likewise.
50163         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50164         * posix/regexec.c (check_node_accept_bytes): Likewise.
50165         * string/strcoll_l.c (STRCOLL): Likewise.
50166         * string/strxfrm_l.c (STRXFRM): Likewise.
50168 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50170         * Makefile.in: Remove CVSOPT handling.
50171         * configure.in: Remove use of AC_REVISION.
50172         * iconvdata/Makefile (distribute): No need to filter out CVS.
50173         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50174         handling.
50176 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50178         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50179         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50180         [USE_AS_STRNCASECMP_L]: Likewise.
50181         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50182         NO_TLS_DIRECT_SEG_REFS.
50183         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50184         Fix argument offsets for non-PIC.
50185         [USE_AS_STRNCASECMP_L]: Likewise.
50186         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50187         NO_TLS_DIRECT_SEG_REFS.
50189 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50191         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50192         O_CLOEXEC.
50193         * locale/loadlocale.c (_nl_load_locale): Likewise.
50195 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50197         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50198         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50199         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50200         (SYSCALL_GETTIME): Set errno on error.
50202         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50203         count references to noai6ai_cached.
50205 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50207         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50209         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50210         FD_CLOEXEC for /proc/self/maps.
50212         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50213         FD_CLOEXEC for /proc/meminfo.
50215         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50216         gai.conf.
50218         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50219         FD_CLOEXEC for given file.
50221         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50223         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50224         FD_CLOEXEC for /etc/hosts.
50225         (_gethtent): Likewise.
50227         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50229         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50230         cancellation and set FD_CLOEXEC for /etc/netgroup.
50232         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50233         reading /etc/publickey.
50235         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50236         allow cancellation when reading /etc/group.
50238         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50239         cancellation.
50240         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50242         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50243         when using data file.
50245         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50247         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50248         (write_nis_obj): Use "c" and "e" in fopen.
50250         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50252         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50254         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50256         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50258         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50259         locale.alias.
50261         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50263         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50265         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50267         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50268         file parsing and set FD_CLOEXEC.
50270 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50272         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50274 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50276         * malloc/arena.c (arena_get2): Don't call reused_arena when
50277         _int_new_arena failed.
50279 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50281         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50282         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50283         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50284         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50285         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50286         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50287         to compile strcasecmp and strncasecmp.
50288         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50289         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50293 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50295         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50296         locale-defines.sym to gen-as-const-headers.
50297         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50298         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50299         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50300         to compile strcasecmp and strncasecmp.
50301         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50302         strcasecmp_l and strncasecmp_l.
50303         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50304         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50305         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50306         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50307         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50308         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50309         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50310         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50311         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50312         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50313         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50315 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50317         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50318         result of SYSDEP_GETTIME_CPU to retval.
50319         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50320         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50322         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50323         variable.
50325         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50326         mantissa words.
50327         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50329         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50330         from unused variable.
50332         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50333         DWARF definitions.
50334         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50335         for assembling.
50337         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50338         over namespaces.
50340         * sunrpc/rpc_prot.c (rejected): Fix case value.
50342         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50343         unsigned long long int to avoid warnings in shift.
50345         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50346         of use of trans.
50347         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50348         variable tmp.
50350         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50351         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50352         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50354         * nis/nis_table.c (nis_list): Use variable of correct type for
50355         result of __follow_path call.
50357 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50359         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50360         of math functions ceil, trunc, floor, round, and sqrt, when
50361         avaliable on the platform.
50362         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50363         name clash.
50364         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50365         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50366         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50368 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50370         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50371         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50373 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50375         * include/unistd.h: Fix __readlink return type.
50376         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50378 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50380         * stdlib/ucontext.h: Undo last change for makecontext.
50382 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50384         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50386         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50387         * setjmp/setjmp.h: Mark functions as non-leaf.
50388         * setjmp/bits/setjmp2.h: Likewise.
50389         * stdlib/ucontext.h: Likewise.
50391 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50393         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50394         (reused_arena): Don't check arena limit.
50395         (arena_get2): Atomically check arena limit.
50397 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50399         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50400         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50402         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50403         instructions.
50405 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50407         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50408         handler when locking.
50410         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50411         Fix size of allocated buffer.
50413 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50415         [BZ #10103]
50416         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50417         declarations for long double functions.
50418         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50420         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50422 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50424         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50425         installed.
50427         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50428         is disabled.
50430 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50432         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50434 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50436         * include/alloca.h (stackinfo_alloca_round): Define.
50437         (extend_alloca): Use it.
50438         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50439         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50440         here.
50442         * scripts/check-local-headers.sh: Ignore libaudit.h.
50444         * nscd/Makefile (extra-objs): Make recursively expanded.
50446 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50448         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50449         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50451         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50452         * posix/tst-rfc3484-2.c: Likewise.
50453         * posix/tst-rfc3484-3.c: Likewise.
50455         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50456         process_vm_writev.
50457         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50458         process_vm_writev.
50459         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50460         process_vm_writev from libc using GLIBC_2.15 version.
50462         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50464 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50466         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50467         stack usage.
50469 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50471         [BZ #13367]
50472         * nss/getent.c (initgroups_keys): Show error message in case no group
50473         names are given.
50475         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50476         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50477         __bump_nl_timestamp.
50478         * nscd/connections (nscd_init): When host database is served open
50479         netlink socket and request notification about configuration changes.
50480         (main_loop_poll): Track netlink file descriptor and bump timestamp
50481         in case data becomes available.
50482         (main_loop_epoll): Likewise.
50483         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50484         (database_pers_head): Add extra_data fileds.
50485         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50486         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50487         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50488         Adjust caller.
50489         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50490         in6ai data, call __free_in6ai.
50491         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50492         Add -DHAVE_NETLINK.
50493         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50494         interface information.  Reuse previous data if netlink timestamp
50495         is not changed.
50496         (__bump_nl_timestamp): New function.
50497         (__free_in6ai): New function.
50499 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50501         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50502         close_not_cancel_no_status here.
50503         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50505 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50507         [BZ #13276]
50508         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50509         return value.
50511         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50512         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50513         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50515 2011-07-03  Andreas Jaeger  <aj@suse.de>
50517         [BZ #10709]
50518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50519         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50520         * math/libm-test.inc (sin_test): Add test case.
50522 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50524         [BZ #13337]
50525         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50526         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50528         * elf/chroot_canon.c (chroot_canon): Cleanups.
50530         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50532         [BZ #13335]
50533         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50534         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50536         * string/test-strchr.c: Make usable for strchrnul testing.
50537         * string/test-strchrnul.c: New file.
50538         * string/Makefile (strop-tests): Add strchrnul.
50540         * po/it.po: Update from translation team.
50541         * po/es.po: Likewise.
50543 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50545         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50546         the three constants needed as parameters.  Drop the others.
50547         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50548         __m128i_strloadu_tolower.
50549         Create and initialize variable zero and use it in all the places
50550         where _mm_setzero_si128 was used.
50552         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50553         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50554         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50555         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50556         anymore.
50557         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50558         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50559         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50560         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50561         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50562         __mpranred, __mptan.
50563         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50564         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50565         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50566         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50567         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50568         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50569         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50570         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50571         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50573 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50575         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50576         redefine if SHARED.
50577         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50580         wide char related routines to wcsmbs subdir.
50582 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50584         [BZ #13344]
50585         * misc/sys/cdefs.h (__THROWNL): Define.
50586         * posix/unistd.h: Use __THREADNL instead of __THREAD
50587         for memory synchronization functions.
50589 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50591         [BZ #13349]
50592         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50593         doesn't exist.
50594         * manual/stdio.texi (Obstack Streams): Node removed.
50596 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50598         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50599         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50600         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50602         * math/math_private.h (math_force_eval): Allow non-addressable
50603         arguments.
50604         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50606 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50608         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50609         file is not needed.
50611         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50612         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50613         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50614         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50615         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50616         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50617         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50618         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50619         Add AVX variants.
50620         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50621         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50622         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50623         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50624         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50625         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50626         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50627         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50628         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50629         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50630         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50631         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50632         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50633         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50634         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50635         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50636         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50637         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50638         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50640         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50641         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50643         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50644         place.  Use VEX encoding when compiling for AVX.
50646 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50648         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50649         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50651         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50653 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50655         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50656         useless if() expression.
50657         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50658         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50660         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50661         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50662         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50663         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50664         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50665         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50666         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50667         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50668         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50669         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50670         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50671         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50672         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50673         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50674         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50675         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50677         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50679 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50681         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50682         condition.
50683         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50685 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50687         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50688         .text section.  Avoid duplicate constants.
50689         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50690         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50691         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50692         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50697         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50698         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50699         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50700         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50701         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50702         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50703         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50704         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50705         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50706         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50707         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50708         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50709         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50710         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50711         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50712         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50713         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50714         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50715         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50716         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50717         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50718         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50719         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50720         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50721         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50722         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50723         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50724         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50725         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50726         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50727         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50728         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50729         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50730         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50731         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50732         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50733         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50735 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50737         * sysdeps/x86_64/dla.h: Move to ...
50738         * sysdeps/x86_64/fpu/dla.h: ...here.
50739         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50740         situations.  Use __builtin_fma only for gcc 4.6 and up.
50742         * config.make.in: Add have-mfma4 entry.
50743         * configure.in: Substitute libc_cv_cc_fma4.
50744         * math/Makefile (dbl-only-routines): Add sincostab.
50745         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50746         Use __sincostab not sincos.
50747         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50748         name is a macro.
50749         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50753         using __copysign.
50754         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50755         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50756         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50757         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50758         and __inv.
50759         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50760         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50761         __copysign.
50762         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50763         define aliases when function name is a macro.
50764         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50765         sysdeps/ieee754/dbl-64/sincos.tbl.
50766         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50767         fma4-enabled routines.
50768         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50769         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50770         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50771         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50772         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50773         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50774         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50775         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50776         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50777         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50778         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50779         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50780         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50781         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50782         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50783         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50784         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50785         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50786         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50787         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50788         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50789         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50790         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50791         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50792         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50793         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50794         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50795         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50796         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50797         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50799         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50800         rename.
50801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50806         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50807         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50810 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50812         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50814 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50816         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50818         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50819         prediction.
50820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50822         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50823         Remove unused variable magic_bits.
50824         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50826         * string/strnlen.c: Define and use STRNLEN macro.
50827         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50828         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50829         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50830         * wcsmbs/wcslen.c: Define and use WCSLEN.
50831         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50832         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50833         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50834         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50835         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50836         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50837         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50839 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50841         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50842         strnlen-sse2-no-bsf.
50843         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50844         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50845         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50846         Add strnlen support.
50847         (USE_AS_STRNLEN): New macro.
50848         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50849         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50850         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50851         * sysdeps/x86_64/wcslen.S: New file.
50853 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50856         XMM-moves are used for copying on small sizes.
50858 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50860         * wcsmbs/Makefile (strop-tests): Add wcschr.
50861         * wcsmbs/test-wcschr.c: New file.
50862         * string/test-strchr.c: Update.
50863         Add wcschr support.
50864         (WIDE): New macro.
50866 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50868         * wcsmbs/Makefile (strop-tests): Add wcslen.
50869         * wcsmbs/test-wcslen.c: New file.
50870         * string/test-strlen.c: Update.
50871         Add wcslen support.
50872         (WIDE): New macro.
50874 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50876         * po/it.po: Update from translation team.
50878 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50880         * sysdeps/x86_64/wcscmp.S: Update.
50881         Fix wrong comparison semantics.
50882         wcscmp shall use signed comparison not unsigned.
50883         Don't use substraction to avoid overflow bug.
50884         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50885         * wcsmbc/wcscmp.c: Likewise.
50886         * string/test-strcmp.c: Likewise.
50887         Add new tests to check cases with negative values.
50889 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50891         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50892         * sysdeps/x86_64/dla.h: ...here.  New file.
50893         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50895         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50896         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50897         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50898         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50899         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50900         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50901         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50903 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50906         __ynl_finite aliases.
50908 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50912         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50913         define DLA_FMA.
50914         [DLA_FMA] (EMULV): Use DLA_FMA.
50915         [DLA_FMA] (MUL12): Use EMULV.
50916         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50917         that are not needed.
50918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50923         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50924         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50926 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50928         * math/s_nan.c: Undef __nan.
50929         * math/s_nanf.c: Undef __nanf.
50930         * math/s_nanl.c: Undef __nanl.
50931         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50932         "math_private.h".
50934 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50936         * math/s_catan.c: Add branch predictions.
50937         * math/s_catanf.c: Likewise.
50938         * math/s_catanh.c: Likewise.
50939         * math/s_catanhf.c: Likewise.
50940         * math/s_catanhl.c: Likewise.
50941         * math/s_catanl.c: Likewise.
50942         * math/s_cexp.c: Likewise.
50943         * math/s_cexpf.c: Likewise.
50944         * math/s_cexpl.c: Likewise.
50945         * math/s_clog.c: Likewise.
50946         * math/s_clog10.c: Likewise.
50947         * math/s_clog10f.c: Likewise.
50948         * math/s_clog10l.c: Likewise.
50949         * math/s_clogf.c: Likewise.
50950         * math/s_clogl.c: Likewise.
50951         * math/s_csqrt.c: Likewise.
50952         * math/s_csqrtf.c: Likewise.
50953         * math/s_csqrtl.c: Likewise.
50954         * math/s_ctanf.c: Likewise.
50955         * math/s_ctanh.c: Likewise.
50956         * math/s_ctanhf.c: Likewise.
50957         * math/s_ctanhl.c: Likewise.
50958         * math/s_ctanl.c: Likewise.
50960         * math/math_private.h: Define __nan, __nanf, __nanl.
50961         * math/s_cacosh.c: Include <math_private.h>.
50962         * math/s_cacoshl.c: Likewise.
50963         * math/s_casinh.c: Likewise.
50964         * math/s_casinhf.c: Likewise.
50965         * math/s_casinhl.c: Likewise.
50966         * math/s_ccos.c: Rely entire on ccosh.
50967         * math/s_ccosf.c: Rely entire on ccoshf.
50968         * math/s_ccosl.c: Rely entirely on ccoshl.
50969         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50970         Remove tests for FE_INVALID.
50971         * math/s_ccoshf.c: Likewise.
50972         * math/s_ccoshl.c: Likewise.
50973         * math/s_csin.c: Likewise.
50974         * math/s_csinf.c: Likewise.
50975         * math/s_csinh.c Likewise.
50976         * math/s_csinhf.c: Likewise.
50977         * math/s_csinhl.c: Likewise.
50978         * math/s_csinl.c: Likewise.
50979         * math/s_ctan.c: Likewise.
50980         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50981         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50982         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50984 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50987         compilation problems.
50989         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50990         __builtin_expect.
50992 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50994         * sysdeps/i386/configure.in: Test for -mfma4 option.
50995         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50996         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50997         COMMON_CPUID_INDEX_80000001.
50998         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50999         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51000         use it if FMA3 is not supported.
51001         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51003         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51004         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51006 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51008         [BZ #12892]
51009         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51010         it would create a cycle with a link time dependency.
51012 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51014         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51015         instruction.
51016         * string/Makefile (strop-tests): Add rawmemchr.
51017         * string/test-rawmemchr.c: New file.
51019         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51020         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51021         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51022         when compiling str{,n}casecmp and when AVX is available.  Hook up
51023         new optimized code in initializers.
51025 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51027         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51028         __feraiseexcept instead of feraiseexcept.
51030 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51032         * math/math_private.h: Define defaults for libc_fetestexcept and
51033         libc_feupdateenv.
51034         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51035         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51036         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51037         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51038         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51039         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51040         libc_fetestexcept and libc_feupdateenv.
51042         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51043         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51044         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51045         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51046         libc_feholdexcept_setround.
51048         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51049         Add s_nearbyint-c and s_nearbyintf-c.
51050         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51051         nearbyintf inlines.
51052         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51053         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51054         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51055         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51057         * math/math_private.h: Define defaults for libc_fegetround,
51058         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51059         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51060         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51061         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51062         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51063         standard functions.
51064         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51065         Remove comments and hacks for old compiler versions.
51066         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51067         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51068         libc_feholdexceptl.
51070 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51072         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51073         (__feraiseexcept_renamed): Add __NTH.
51074         (feraiseexcept): Add __NTH.  Rename local variables to fix
51075         namespace violations.
51077 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51079         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51081         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51083         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51084         recently added interfaces.
51085         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51087         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51088         about macro parameter expansion.
51090         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51091         __NO_MATH_INLINES is defined.  Cleanups.
51093         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51094         and __floorf is target has SSE4.1.
51095         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51096         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51097         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51098         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51100         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51101         name.
51102         (floorf): Likewise.
51104         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51106 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51108         * misc/sys/cdefs.h: Fix last change.
51110         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51111         database lookup.
51113 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51115         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51117         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51118         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51119         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51120         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51121         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51122         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51123         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51124         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51125         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51126         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51127         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51128         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51129         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51130         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51131         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51132         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51133         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51134         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51135         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51136         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51137         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51138         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51140         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51141         ceil, ceilf, floor, floorf.
51143         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51144         Perform IRELATIVE relocations last.
51146         * elf/do-rel.h: Add another parameter nrelative, replacing the
51147         local variable with the same name.  Change name of the function
51148         to end in Rel or Rela (uppercase).
51149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51150         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51151         elf_dynamic_do_##reloc function.
51153 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51155         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51156         is sufficient, at least on modern CPUs.
51158         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51160         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51161         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51163         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51164         __expl_finite.
51165         * math/bits/math-finite.h: Add entries for exp.
51166         * math/e_expl.c: Add __*_finite alias.
51167         * sysdeps/i386/fpu/e_exp.S: Likewise.
51168         * sysdeps/i386/fpu/e_expf.S: Likewise.
51169         * sysdeps/i386/fpu/e_expl.c: Likewise.
51170         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51171         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51172         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51175         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51176         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51178         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51179         is sufficient, at least on modern CPUs.
51181         * ctype/ctype-info.c (__ctype_init): Define.
51182         * include/ctype.h (__ctype_init): Declare.
51183         (__ctype_b_loc): The variable is always initialized.
51184         (__ctype_toupper_loc): Likewise.
51185         (__ctype_tolower_loc): Likewise.
51186         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51187         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51189 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51191         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51193         * configure.in: Also look in $cxxmachine/include for C++ system
51194         headers.
51196 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51198         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51199         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51200         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51201         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51202         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51203         (USE_AS_WMEMCMP): New macro.
51204         Fixing indents.
51205         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51206         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51207         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51208         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51210         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51211         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51212         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51213         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51214         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51215         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51216         (USE_AS_WMEMCMP): New macro.
51217         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51218         * sysdeps/string/test-memcmp.c: Update.
51219         Fix simple_wmemcmp.
51220         Add new tests.
51221         * wcsmbs/wmemcmp.c: Update.
51222         (WMEMCMP): New macro.
51223         Fix overflow bug.
51225 2011-10-12  Andreas Jaeger  <aj@suse.de>
51227         [BZ #13268]
51228         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51230 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51232         * libio/iofwide.c (do_length): Avoid warning.
51234         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51236 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51238         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51240         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51241         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51242         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51243         * sysdeps/i386/i686/fpu/e_log.S: New file.
51244         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51245         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51247         * ctype/ctype.h: Add support for inlined isXXX functions when
51248         compiling C++ code.
51250 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51252         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51254         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51256 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51258         [BZ #13291]
51259         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51261 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51263         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51264         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51265         feraiseexcept.
51267         * sysdeps/x86_64/memrchr.S: Check for zero size.
51269         * string/stratcliff.c: Add memrchr tests.
51271 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51274         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51275         rawmemchr-sse2 rawmemchr-sse2-bsf.
51276         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51277         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51278         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51279         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51280         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51281         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51282         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51283         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51284         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51285         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51286         * string/memrchr.c (MEMRCHR): New macro.
51288 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51290         Add integration with gcc's -ffinite-math-only and optimize wrapper
51291         functions in libm.
51292         * Versions.def: Define GLIBC_2.15 version for libm.
51293         * math/Makefile (headers): Add bits/math-finite.h.
51294         * math/bits/math-finite.h: New file.
51295         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51296         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51297         * math/e_acoshl.c: Add __*_finite alias.
51298         * math/e_acosl.c: Likewise.
51299         * math/e_asinl.c: Likewise.
51300         * math/e_atan2l.c: Likewise.
51301         * math/e_atanhl.c: Likewise.
51302         * math/e_coshl.c: Likewise.
51303         * math/e_exp10.c: Likewise.
51304         * math/e_exp10f.c: Likewise.
51305         * math/e_exp10l.c: Likewise.
51306         * math/e_exp2l.c: Likewise.
51307         * math/e_fmodl.c: Likewise.
51308         * math/e_gammal_r.c: Likewise.
51309         * math/e_hypotl.c: Likewise.
51310         * math/e_j0l.c: Likewise.
51311         * math/e_j1l.c: Likewise.
51312         * math/e_jnl.c: Likewise.
51313         * math/e_lgammal_r.c: Likewise.
51314         * math/e_log10l.c: Likewise.
51315         * math/e_log2l.c: Likewise.
51316         * math/e_logl.c: Likewise.
51317         * math/e_powl.c: Likewise.
51318         * math/e_sinhl.c: Likewise.
51319         * math/e_sqrtl.c: Likewise.
51320         * math/e_scalb.c: Completely rewritten and optimized.
51321         * math/e_scalbf.c: Likewise.
51322         * math/e_scalbl.c: Likewise.
51323         * math/w_acos.c: Likewise.
51324         * math/w_acosf.c: Likewise.
51325         * math/w_acosl.c: Likewise.
51326         * math/w_acosh.c: Likewise.
51327         * math/w_acoshf.c: Likewise.
51328         * math/w_acoshl.c: Likewise.
51329         * math/w_asin.c: Likewise.
51330         * math/w_asinf.c: Likewise.
51331         * math/w_asinl.c: Likewise.
51332         * math/w_atan2.c: Likewise.
51333         * math/w_atan2f.c: Likewise.
51334         * math/w_atan2l.c: Likewise.
51335         * math/w_atanh.c: Likewise.
51336         * math/w_atanhf.c: Likewise.
51337         * math/w_atanhl.c: Likewise.
51338         * math/w_exp10.c: Likewise.
51339         * math/w_exp10f.c: Likewise.
51340         * math/w_exp10l.c: Likewise.
51341         * math/w_fmod.c: Likewise.
51342         * math/w_fmodf.c: Likewise.
51343         * math/w_fmodl.c: Likewise.
51344         * math/w_j0.c: Likewise.
51345         * math/w_j0f.c: Likewise.
51346         * math/w_j0l.c: Likewise.
51347         * math/w_j1.c: Likewise.
51348         * math/w_j1f.c: Likewise.
51349         * math/w_j1l.c: Likewise.
51350         * math/w_jn.c: Likewise.
51351         * math/w_jnf.c: Likewise.
51352         * math/w_log.c: Likewise.
51353         * math/w_logf.c: Likewise.
51354         * math/w_logl.c: Likewise.
51355         * math/w_log10.c: Likewise.
51356         * math/w_log10f.c: Likewise.
51357         * math/w_log10l.c: Likewise.
51358         * math/w_log2.c: Likewise.
51359         * math/w_log2f.c: Likewise.
51360         * math/w_log2l.c: Likewise.
51361         * math/w_pow.c: Likewise.
51362         * math/w_powf.c: Likewise.
51363         * math/w_powl.c: Likewise.
51364         * math/w_remainder.c: Likewise.
51365         * math/w_remainderf.c: Likewise.
51366         * math/w_remainderl.c: Likewise.
51367         * math/w_scalb.c: Likewise.
51368         * math/w_scalbf.c: Likewise.
51369         * math/w_scalbl.c: Likewise.
51370         * math/w_sqrt.c: Likewise.
51371         * math/w_sqrtf.c: Likewise.
51372         * math/w_sqrtl.c: Likewise.
51373         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51374         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51375         used.
51376         * math/math_private.h: Declare __kernel_standard_f.
51377         * math/w_cosh.c: Remove cruft and optimize a bit.
51378         * math/w_coshf.c: Likewise.
51379         * math/w_coshl.c: Likewise.
51380         * math/w_exp2.c: Likewise.
51381         * math/w_exp2f.c: Likewise.
51382         * math/w_exp2l.c: Likewise.
51383         * math/w_hypot.c: Likewise.
51384         * math/w_hypotf.c: Likewise.
51385         * math/w_hypotl.c: Likewise.
51386         * math/w_lgamma.c: Likewise.
51387         * math/w_lgamma_r.c: Likewise.
51388         * math/w_lgammaf.c: Likewise.
51389         * math/w_lgammaf_r.c: Likewise.
51390         * math/w_lgammal.c: Likewise.
51391         * math/w_lgammal_r.c: Likewise.
51392         * math/w_sinh.c: Likewise.
51393         * math/w_sinhf.c: Likewise.
51394         * math/w_sinhl.c: Likewise.
51395         * math/w_tgamma.c: Likewise.
51396         * math/w_tgammaf.c: Likewise.
51397         * math/w_tgammal.c: Likewise.
51398         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51399         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51400         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51401         Minor optimizations.  Pretty printing.  Remove cruft.
51402         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51403         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51404         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51405         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51406         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51407         * sysdeps/i386/fpu/e_asin.S: Likewise.
51408         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51409         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51410         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51411         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51412         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51413         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51414         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51415         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51416         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51417         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51418         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51419         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51420         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51421         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51422         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51423         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51424         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51425         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51426         * sysdeps/i386/fpu/e_log.S: Likewise.
51427         * sysdeps/i386/fpu/e_log10.S: Likewise.
51428         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51429         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51430         * sysdeps/i386/fpu/e_log2.S: Likewise.
51431         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51432         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51433         * sysdeps/i386/fpu/e_logf.S: Likewise.
51434         * sysdeps/i386/fpu/e_logl.S: Likewise.
51435         * sysdeps/i386/fpu/e_pow.S: Likewise.
51436         * sysdeps/i386/fpu/e_powf.S: Likewise.
51437         * sysdeps/i386/fpu/e_powl.S: Likewise.
51438         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51439         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51440         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51441         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51442         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51443         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51444         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51445         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51446         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51447         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51448         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51450         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51451         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51452         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51453         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51454         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51455         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51456         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51457         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51458         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51460         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51461         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51463         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51464         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51465         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51467         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51468         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51469         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51470         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51471         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51472         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51473         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51474         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51475         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51476         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51477         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51478         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51479         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51480         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51481         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51482         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51483         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51484         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51485         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51486         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51487         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51488         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51489         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51490         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51491         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51492         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51493         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51494         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51495         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51496         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51497         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51503         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51504         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51505         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51506         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51507         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51508         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51509         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51510         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51511         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51512         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51513         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51514         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51515         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51517         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51518         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51519         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51520         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51521         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51522         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51523         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51524         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51525         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51526         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51527         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51528         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51529         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51530         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51531         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51532         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51533         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51534         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51535         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51536         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51537         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51538         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51539         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51540         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51541         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51542         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51543         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51544         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51545         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51546         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51547         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51548         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51549         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51550         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51551         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51552         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51553         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51554         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51555         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51556         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51557         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51558         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51559         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51560         (__isnanf): Likewise.
51561         (__isinf_ns): Likewise.
51562         (__isinf_nsf): Likewise.
51563         (__finite): Likewise.
51564         (__finitef): Likewise.
51565         (__ieee754_sqrt): Define as macro.
51566         (__ieee754_sqrtf): Define as macro.
51567         (__ieee754_sqrtl): Define as macro.
51568         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51569         inlined copy.
51570         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51571         __FINITE_MATH_ONLY__ consistent.
51572         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51574 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51576         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51577         of rawmemchr.
51579         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51581 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51583         * po/ja.po: Update from translation team.
51585 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51587         * locale/programs/locarchive.c (prepare_address_space): New function.
51588         (create_archive, enlarge_archive, open_archive): Use it.
51590         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51591         inside [SHARED], where it is used.
51593         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51595         * nss/getent.c (netgroup_keys): Remove unused variable.
51596         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51598 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51600         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51601         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51602         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51603         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51604         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51605         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51606         * math/Makefile (libm-calls): Add s_isinf_ns.
51607         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51608         * math/multc3.c: Likewise.
51609         * math/s_casin.c: Likewise.
51610         * math/s_casinf.c: Likewise.
51611         * math/s_casinl.c: Likewise.
51612         * math/s_ccos.c: Likewise.
51613         * math/s_ccosf.c: Likewise.
51614         * math/s_ccosl.c: Likewise.
51615         * math/s_ctan.c: Likewise.
51616         * math/s_ctanf.c: Likewise.
51617         * math/s_ctanh.c: Likewise.
51618         * math/s_ctanhf.c: Likewise.
51619         * math/s_ctanhl.c: Likewise.
51620         * math/s_ctanl.c: Likewise.
51621         * math/w_fmod.c: Likewise.
51622         * math/w_fmodf.c: Likewise.
51623         * math/w_fmodl.c: Likewise.
51624         * math/w_remainder.c: Likewise.
51625         * math/w_remainderf.c: Likewise.
51626         * math/w_remainderl.c: Likewise.
51627         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51628         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51629         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51631         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51632         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51633         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51634         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51636         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51637         of the number.
51638         * stdio-common/printf_fphex.c: Likewise.
51639         * stdio-common/printf_size.c: Likewise.
51641         * math/e_exp10.c: Include math_private.h using <...> not "...".
51642         * math/e_exp10f.c: Likewise.
51643         * math/e_exp10l.c: Likewise.
51644         * math/e_exp2l.c: Likewise.
51645         * math/e_j0l.c: Likewise.
51646         * math/e_j1l.c: Likewise.
51647         * math/e_jnl.c: Likewise.
51648         * math/e_lgammal_r.c: Likewise.
51649         * math/e_rem_pio2l.c: Likewise.
51650         * math/e_scalb.c: Likewise.
51651         * math/e_scalbf.c: Likewise.
51652         * math/e_scalbl.c: Likewise.
51653         * math/k_cosl.c: Likewise.
51654         * math/k_sinl.c: Likewise.
51655         * math/k_tanl.c: Likewise.
51656         * math/s_cacoshf.c: Likewise.
51657         * math/s_catan.c: Likewise.
51658         * math/s_catanf.c: Likewise.
51659         * math/s_catanh.c: Likewise.
51660         * math/s_catanhf.c: Likewise.
51661         * math/s_catanhl.c: Likewise.
51662         * math/s_catanl.c: Likewise.
51663         * math/s_ccosh.c: Likewise.
51664         * math/s_ccoshf.c: Likewise.
51665         * math/s_ccoshl.c: Likewise.
51666         * math/s_cexp.c: Likewise.
51667         * math/s_cexpf.c: Likewise.
51668         * math/s_cexpl.c: Likewise.
51669         * math/s_clog.c: Likewise.
51670         * math/s_clog10.c: Likewise.
51671         * math/s_clog10f.c: Likewise.
51672         * math/s_clog10l.c: Likewise.
51673         * math/s_clogf.c: Likewise.
51674         * math/s_clogl.c: Likewise.
51675         * math/s_csin.c: Likewise.
51676         * math/s_csinf.c: Likewise.
51677         * math/s_csinh.c: Likewise.
51678         * math/s_csinhf.c: Likewise.
51679         * math/s_csinhl.c: Likewise.
51680         * math/s_csinl.c: Likewise.
51681         * math/s_csqrt.c: Likewise.
51682         * math/s_csqrtf.c: Likewise.
51683         * math/s_csqrtl.c: Likewise.
51684         * math/s_ctan.c: Likewise.
51685         * math/s_ctanf.c: Likewise.
51686         * math/s_ctanh.c: Likewise.
51687         * math/s_ctanhf.c: Likewise.
51688         * math/s_ctanhl.c: Likewise.
51689         * math/s_ctanl.c: Likewise.
51690         * math/s_ldexp.c: Likewise.
51691         * math/s_ldexpf.c: Likewise.
51692         * math/s_ldexpl.c: Likewise.
51693         * math/s_significand.c: Likewise.
51694         * math/s_significandf.c: Likewise.
51695         * math/s_significandl.c: Likewise.
51696         * math/w_acos.c: Likewise.
51697         * math/w_acosf.c: Likewise.
51698         * math/w_acosh.c: Likewise.
51699         * math/w_acoshf.c: Likewise.
51700         * math/w_acoshl.c: Likewise.
51701         * math/w_acosl.c: Likewise.
51702         * math/w_asin.c: Likewise.
51703         * math/w_asinf.c: Likewise.
51704         * math/w_asinl.c: Likewise.
51705         * math/w_atan2.c: Likewise.
51706         * math/w_atan2f.c: Likewise.
51707         * math/w_atan2l.c: Likewise.
51708         * math/w_atanh.c: Likewise.
51709         * math/w_atanhf.c: Likewise.
51710         * math/w_atanhl.c: Likewise.
51711         * math/w_cosh.c: Likewise.
51712         * math/w_coshf.c: Likewise.
51713         * math/w_coshl.c: Likewise.
51714         * math/w_dremf.c: Likewise.
51715         * math/w_exp10.c: Likewise.
51716         * math/w_exp10f.c: Likewise.
51717         * math/w_exp10l.c: Likewise.
51718         * math/w_exp2.c: Likewise.
51719         * math/w_exp2f.c: Likewise.
51720         * math/w_fmod.c: Likewise.
51721         * math/w_fmodf.c: Likewise.
51722         * math/w_fmodl.c: Likewise.
51723         * math/w_hypot.c: Likewise.
51724         * math/w_hypotf.c: Likewise.
51725         * math/w_hypotl.c: Likewise.
51726         * math/w_j0.c: Likewise.
51727         * math/w_j0f.c: Likewise.
51728         * math/w_j0l.c: Likewise.
51729         * math/w_j1.c: Likewise.
51730         * math/w_j1f.c: Likewise.
51731         * math/w_j1l.c: Likewise.
51732         * math/w_jn.c: Likewise.
51733         * math/w_jnf.c: Likewise.
51734         * math/w_jnl.c: Likewise.
51735         * math/w_lgamma.c: Likewise.
51736         * math/w_lgamma_r.c: Likewise.
51737         * math/w_lgammaf.c: Likewise.
51738         * math/w_lgammaf_r.c: Likewise.
51739         * math/w_lgammal.c: Likewise.
51740         * math/w_lgammal_r.c: Likewise.
51741         * math/w_log.c: Likewise.
51742         * math/w_log10.c: Likewise.
51743         * math/w_log10f.c: Likewise.
51744         * math/w_log10l.c: Likewise.
51745         * math/w_log2.c: Likewise.
51746         * math/w_log2f.c: Likewise.
51747         * math/w_log2l.c: Likewise.
51748         * math/w_logf.c: Likewise.
51749         * math/w_logl.c: Likewise.
51750         * math/w_pow.c: Likewise.
51751         * math/w_powf.c: Likewise.
51752         * math/w_powl.c: Likewise.
51753         * math/w_remainder.c: Likewise.
51754         * math/w_remainderf.c: Likewise.
51755         * math/w_remainderl.c: Likewise.
51756         * math/w_scalb.c: Likewise.
51757         * math/w_scalbf.c: Likewise.
51758         * math/w_scalbl.c: Likewise.
51759         * math/w_sinh.c: Likewise.
51760         * math/w_sinhf.c: Likewise.
51761         * math/w_sinhl.c: Likewise.
51762         * math/w_sqrt.c: Likewise.
51763         * math/w_sqrtf.c: Likewise.
51764         * math/w_sqrtl.c: Likewise.
51765         * math/w_tgamma.c: Likewise.
51766         * math/w_tgammaf.c: Likewise.
51767         * math/w_tgammal.c: Likewise.
51769         * po/ja.po: Update from translation team.
51771 2011-09-29  Andreas Jaeger  <aj@suse.de>
51773         [BZ #13179]
51774         * sunrpc/netname.c (netname2host): Fix logic.
51776         [BZ #6779]
51777         [BZ #6783]
51778         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51779         correctly.
51780         * math/w_remainder.c (__remainder): Likewise.
51781         * math/w_remainderf.c (__remainderf): Likewise.
51782         * math/libm-test.inc (remainder_test): Add test cases.
51784 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51786         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51787         sdiv_qrnnd.
51789 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51791         * string/test-memcmp.c: Avoid unncessary #defines.
51792         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51794 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51796         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51797         Use new sse2 version for core i3 - i7 as it's faster
51798         than sse42 version.
51799         (bit_Prefer_PMINUB_for_stringop): New.
51800         * sysdeps/x86_64/rawmemchr.S: Update.
51801         Replace with faster SSE2 version.
51802         * sysdeps/x86_64/memrchr.S: New file.
51803         * sysdeps/x86_64/memchr.S: Update.
51804         Replace with faster SSE2 version.
51806 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51808         * elf/dl-load.c (lose): Add cast to avoid warning.
51810 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51812         * po/ca.po: Update from translation team.
51814         * inet/getnetgrent_r.c: Hook up nscd.
51815         * nscd/Makefile (routines): Add nscd_netgroup.
51816         (nscd-modules): Add netgroupcache.
51817         (CFLAGS-netgroupcache.c): Define.
51818         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51819         (cache_search): Add const to second parameter.
51820         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51821         INNETGR.
51822         (dbs): Add netgrdb entry.
51823         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51824         (verify_persistent_db): Handle netgrdb.
51825         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51826         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51827         GETFDNETGR.
51828         (netgroup_response_header): Define.
51829         (innetgroup_response_header): Define.
51830         (datahead): Add netgroup_response_header and innetgroup_response_header
51831         elements.
51832         * nscd/nscd.conf: Add entries for netgroup cache.
51833         * nscd/nscd.h (dbtype): Add netgrdb.
51834         (_PATH_NSCD_NETGROUP_DB): Define.
51835         (netgroup_iov_disabled): Declare.
51836         (xmalloc, xcalloc, xrealloc): Move declarations here.
51837         (cache_search): Adjust prototype.
51838         Add netgroup-related prototypes.
51839         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51840         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51841         (__nscd_innetgr): Declare.
51842         * nscd/selinux.c (perms): Use access_vector_t as element type and
51843         add netgroup-related initializers.
51844         * nscd/netgroupcache.c: New file.
51845         * nscd/nscd_netgroup.c: New file.
51846         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51847         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51848         For four parameters use innetgr.
51849         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51850         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51851         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51852         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51854         * nscd/connections.c (register_traced_file): Don't register file
51855         for disabled databases.
51857 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51859         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51861         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51862         from tree and freeing node.
51864 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51866         * nss/nsswitch.c (__nss_database_lookup): Handle
51867         nss_parse_service_list out of memory case.
51869 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51871         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51872         out of memory case.
51874 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51876         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51877         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51878         pass it down.
51879         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51880         elf_machine_rela, elf_machine_lazy_rel.
51881         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51882         (ELF_DYNAMIC_DO_REL): Likewise.
51883         (ELF_DYNAMIC_DO_RELA): Likewise.
51884         (ELF_DYNAMIC_RELOCATE): Likewise.
51885         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51886         to ELF_DYNAMIC_DO_REL.
51887         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51888         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51889         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51890         elf_machine_rela.
51891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51892         skip_ifunc, don't call ifunc function if non-zero.
51893         (elf_machine_rela): Likewise.
51894         (elf_machine_lazy_rel): Likewise.
51895         (elf_machine_lazy_rela): Likewise.
51896         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51897         (elf_machine_lazy_rel): Likewise.
51898         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51899         Likewise.
51900         (elf_machine_lazy_rel): Likewise.
51901         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51902         Likewise.
51903         (elf_machine_lazy_rel): Likewise.
51904         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51905         (elf_machine_lazy_rel): Likewise.
51906         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51907         (elf_machine_lazy_rel): Likewise.
51908         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51909         (elf_machine_lazy_rel): Likewise.
51910         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51911         (elf_machine_lazy_rel): Likewise.
51912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51913         (elf_machine_lazy_rel): Likewise.
51914         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51915         (elf_machine_lazy_rel): Likewise.
51917 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51919         * nss/nss_files/files-init.c (_nss_files_init): Use static
51920         initialization for all the *_traced_file variables.
51922 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51924         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51926 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51928         [BZ #13226]
51929         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51931 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51933         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51934         Reread the line before reparsing it.
51936 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51938         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51940 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51941             Maxim Kuvyrkov  <maxim@codesourcery.com>
51942             Joseph Myers  <joseph@codesourcery.com>
51944         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51945         if needed for __stack_chk_guard.
51947 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51949         * sysdeps/posix/spawni.c (script_execute): Always define it.
51950         It will be optimized away if unused.
51951         (maybe_script_execute): New function.
51952         (__spawni): Call it.
51954         * Makerules: Don't include tls.make.
51955         (config-tls): Always set to thread.
51956         * tls.make.c: File removed.
51958 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51960         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51961         * config.make.in (CPPFLAGS-config): New substituted variable.
51963 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51965         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51967         [BZ #13192]
51968         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51969         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51971 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51973         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51974         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51975         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51976         (CALL_FAIL): Likewise.
51977         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51978         (CALL_FAIL): Macro removed.
51979         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51981 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51983         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51984         for __FINITE_MATH_ONLY__ == 1.
51986 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51988         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51989         __ieee754_sqrt instead of sqrt.
51990         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51991         __ieee754_sqrtf instead of sqrtf.
51992         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51993         __floorf instead of floorf.
51994         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51995         __floorf, __truncf instead of floorf, truncf.
51997 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51999         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52001         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52002         __extern_always_inline.
52003         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52004         32-bit.
52006 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52008         * elf/rtld.c (dl_main): Also relocate in dependency order when
52009         doing symbol dependency testing.
52011 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52014         Always define `refsym'.
52016 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52018         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52019         (__FD_ELT): Renamed from __FDELT.
52020         * misc/bits/select2.h (__FD_ELT): Likewise.
52021         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52022         __FD_MASK instead of __FDELT, __FDMASK.
52023         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52024         Likewise.
52025         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52026         Likewise.
52028         * elf/Makefile (gen-ldd): Fix pattern.
52030         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52031         (init_tls): Likewise.
52033 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52035         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52037 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52039         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52040         `struct cmsghdr *' instead of `void *'.
52041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52042         Likewise.
52044 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52046         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52047         if non-absolute.
52048         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52049         ldd_rewrite_script.
52051 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52053         * configure.in: Remove --with-tls option.
52054         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52055         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52056         out in case it is missing.
52057         * sysdeps/ia64/elf/configure.in: Likewise.
52058         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52059         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52060         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52061         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52062         * sysdeps/sh/elf/configure.in: Likewise.
52063         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52064         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52065         * sysdeps/x86_64/elf/configure.in: Likewise.
52066         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52067         * sysdeps/mach/hurd/tls.h: Likewise.
52069         [BZ #13067]
52070         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52072         [BZ #13090]
52073         * configure.in: Fix use of AC_INIT.
52075         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52077 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52079         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52080         __set_errno.
52081         * malloc/hooks.c: Likewise.
52083         [BZ #11929]
52084         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52085         variables statically.
52086         (narenas): Initialize.
52087         (list_lock): Initialize.
52088         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52089         initializtion of main_arena and list_lock.  Small cleanups.
52090         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52091         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52092         Add initializers to main_arena and mp_.
52093         (malloc_state): Remove pagesize member.  Change all users to use
52094         GLRO(dl_pagesize).
52096         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52097         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52098         is always initialized.
52100         * malloc/malloc.c: Removed unused configurations and dead code.
52101         * malloc/arena.c: Likewise.
52102         * malloc/hooks.c: Likewise.
52103         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52105         * include/tls.h: Removed.  USE___THREAD must always be defined.
52106         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52107         * elf/dl-libc.c: Likewise.
52108         * elf/dl-tsd.c: Likewise.
52109         * include/errno.h: Likewise.
52110         * include/netdb.h: Likewise.
52111         * include/resolv.h: Likewise.
52112         * inet/herrno-loc.c: Likewise.
52113         * inet/herrno.c: Likewise.
52114         * malloc/arena.c: Likewise.
52115         * malloc/hooks.c: Likewise.
52116         * malloc/malloc.c: Likewise.
52117         * resolv/res-state.c: Likewise.
52118         * resolv/res_libc.c: Likewise.
52119         * sysdeps/i386/dl-machine.h: Likewise.
52120         * sysdeps/ia64/dl-machine.h: Likewise.
52121         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52122         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52123         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52124         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52125         * sysdeps/sh/dl-machine.h: Likewise.
52126         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52127         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52128         * sysdeps/unix/i386/sysdep.S: Likewise.
52129         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52130         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52135         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52139         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52140         * sysdeps/x86_64/dl-machine.h: Likewise.
52141         * tls.make.c: Likewise.
52143         * configure.in: Remove --with-__thread option.  Make tests for
52144         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52145         tls_model attribute fail if no support is available.  Remove
52146         USE_IN_LIBIO.
52147         * Makeconfig: Adjust for dropped configure option.  All features are
52148         now mandatory.
52149         * Makerules: Likewise.
52150         * Versions.def: Likewise.
52151         * argp/argp-fmtstream.c: Likewise.
52152         * argp/argp-fmtstream.h: Likewise.
52153         * argp/argp-help.c: Likewise.
52154         * assert/assert.c: Likewise.
52155         * config.h.in: Likewise.
52156         * config.make.in: Likewise.
52157         * configure: Likewise.
52158         * configure.in: Likewise.
52159         * csu/Versions: Likewise.
52160         * csu/init.c: Likewise.
52161         * elf/tst-audit2.c: Likewise.
52162         * elf/tst-tls10.c: Likewise.
52163         * elf/tst-tls10.h: Likewise.
52164         * elf/tst-tls11.c: Likewise.
52165         * elf/tst-tls12.c: Likewise.
52166         * elf/tst-tls14.c: Likewise.
52167         * elf/tst-tlsmod11.c: Likewise.
52168         * elf/tst-tlsmod12.c: Likewise.
52169         * elf/tst-tlsmod13.c: Likewise.
52170         * elf/tst-tlsmod13a.c: Likewise.
52171         * elf/tst-tlsmod14a.c: Likewise.
52172         * elf/tst-tlsmod15b.c: Likewise.
52173         * elf/tst-tlsmod16a.c: Likewise.
52174         * elf/tst-tlsmod16b.c: Likewise.
52175         * elf/tst-tlsmod7.c: Likewise.
52176         * elf/tst-tlsmod8.c: Likewise.
52177         * elf/tst-tlsmod9.c: Likewise.
52178         * gmon/gmon.c: Likewise.
52179         * grp/fgetgrent_r.c: Likewise.
52180         * grp/putgrent.c: Likewise.
52181         * hurd/fopenport.c: Likewise.
52182         * include/libc-symbols.h: Likewise.
52183         * include/tls.h: Likewise.
52184         * intl/gettextP.h: Likewise.
52185         * intl/loadinfo.h: Likewise.
52186         * locale/global-locale.c: Likewise.
52187         * locale/localeinfo.h: Likewise.
52188         * mach/devstream.c: Likewise.
52189         * malloc/arena.c: Likewise.
52190         * malloc/set-freeres.c: Likewise.
52191         * misc/err.c: Likewise.
52192         * misc/getttyent.c: Likewise.
52193         * misc/mntent_r.c: Likewise.
52194         * posix/getopt.c: Likewise.
52195         * posix/wordexp.c: Likewise.
52196         * pwd/fgetpwent_r.c: Likewise.
52197         * resolv/Versions: Likewise.
52198         * resolv/res_hconf.c: Likewise.
52199         * shadow/fgetspent_r.c: Likewise.
52200         * shadow/putspent.c: Likewise.
52201         * stdio-common/printf_fphex.c: Likewise.
52202         * stdio-common/tmpfile.c: Likewise.
52203         * stdlib/abort.c: Likewise.
52204         * stdlib/fmtmsg.c: Likewise.
52205         * sunrpc/auth_unix.c: Likewise.
52206         * sunrpc/clnt_perr.c: Likewise.
52207         * sunrpc/clnt_tcp.c: Likewise.
52208         * sunrpc/clnt_udp.c: Likewise.
52209         * sunrpc/clnt_unix.c: Likewise.
52210         * sunrpc/openchild.c: Likewise.
52211         * sunrpc/svc_simple.c: Likewise.
52212         * sunrpc/svc_tcp.c: Likewise.
52213         * sunrpc/svc_udp.c: Likewise.
52214         * sunrpc/svc_unix.c: Likewise.
52215         * sunrpc/xdr.c: Likewise.
52216         * sunrpc/xdr_array.c: Likewise.
52217         * sunrpc/xdr_rec.c: Likewise.
52218         * sunrpc/xdr_ref.c: Likewise.
52219         * sunrpc/xdr_stdio.c: Likewise.
52221 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52223         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52225 2011-07-03  Andreas Jaeger  <aj@suse.de>
52227         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52228         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52229         regenerate with gen-libm-tests.pl.
52231 2010-05-12  Petr Baudis  <pasky@suse.cz>
52233         [BZ #11589]
52234         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52235         around j0() zero points by switching to j1().
52236         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52241 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52243         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52244         instead of 0.
52245         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52246         instead of 0.
52247         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52248         Patch in part by Pavel Roskin <proski@gnu.org>.
52250         [BZ #13138]
52251         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52252         realloc.
52253         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52254         Free memory block if necessary.
52256         [BZ #12847]
52257         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52258         be NULL.  Don't lock in this case.
52260 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52262         * elf/elf.h (ELFOSABI_GNU): New macro.
52263         (ELFOSABI_LINUX): Define to that.
52265 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52267         * string/strncat.c (strncat): Undef the symbol in case it has been
52268         defined in bits/string.h.
52270 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52272         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52274         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52275         link map.
52277 2011-08-17  Andreas Jaeger  <aj@suse.de>
52279         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52281 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52282             Ian Lance Taylor  <iant@google.com>
52284         * math/libm-test.inc (lround_test): New testcase.
52285         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52287 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52289         * Makefile: Remove support for automatic cvs check-ins.
52290         * Makerules: Likewise.
52291         * config.make.in: Likewise.
52292         * configure.in: Likewise.
52293         * intl/Makefile: Likewise.
52294         * locale/Makefile: Likewise.
52295         * po/Makefile: Likewise.
52296         * posix/Makefile: Likewise.
52297         * sysdeps/gnu/Makefile: Likewise.
52298         * sysdeps/mach/hurd/Makefile: Likewise.
52299         * sysdeps/sparc/sparc32/Makefile: Likewise.
52301         [BZ #13118]
52302         * posix/Makefile (bug-regex32-ENV): Define.
52303         Patch by John Stanley <jpsinthemix@verizon.net>.
52305         * misc/Makefile (headers): Add bits/select2.h.
52306         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52307         * misc/bits/select2.h: New file.
52308         * include/bits/select2.h: New file.
52309         * debug/Makefile (routines): Add fdelt_chk.
52310         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52311         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52312         FD_ISSET.
52313         * debug/fdelt_chk.c: New file.
52315         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52316         * wcsmbs/test-wmemcmp.c: Likewise.
52317         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52318         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52320 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52322         * string/Makefile (strop-tests): Add memcmp.
52323         * string/test-wmemcmp.c: New file.
52324         * string/test-memcmp.c: Add wmemcmp support.
52326 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52328         [BZ #13153]
52329         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52330         2011-07-19 change.
52332         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52333         garbage value in a __mach_port_mod_refs call in the cases of the
52334         task-self and thread-self ports.
52336 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52338         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52340 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52342         * elf/dl-load.c (lose): Check for non-null L.
52344 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52346         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52348         * elf/dl-libc.c (dlerror_run): Pass back error code from
52349         dl_catch_error.
52351         [BZ #13123]
52352         * elf/dl-load.c (lose): Free l_origin if it is valid.
52354         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52355         names.
52356         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52357         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52358         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52359         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52360         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52361         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52363 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52365         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52366         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52367         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52368         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52369         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52370         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52371         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52372         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52373         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52374         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52376 2011-08-15  Alan Modra  <amodra@gmail.com>
52378         [BZ #13092]
52379         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52380         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52381         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52382         ppc_mcount to static-only-routines.
52383         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52384         __mcount_internal.
52385         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52386         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52388 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52390         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52391         for finite and infinity parameters.
52393 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52395         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52396         and add nop instructions for throughput optimization.
52397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52399 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52401         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52402         aligned copy for power7 with vector-scalar instructions.
52403         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52405 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52407         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52408         AVX check.
52410 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52412         [BZ #13144]
52413         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52414         last change.
52416 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52418         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52419         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52420         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52421         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52422         clock_gettime.
52424 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52426         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52427         Forgot to demangle the pointer.
52429         * sysdeps/i386/sysdep.h: Define atom_text_section.
52430         * sysdeps/x86_64/sysdep.h: Likewise.
52431         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52432         section with atom_text_section.
52433         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52434         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52435         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52436         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52437         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52439         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52440         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52441         already be defined.  Change to take two parameters and don't assign
52442         result to variable.  Adjust all users.
52443         Define INTERNAL_GETTIME if not already defined.
52444         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52445         call.
52446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52447         HAVE_CLOCK_GETTIME_VSYSCALL.
52448         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52450         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52451         gettimeofday vsyscall, just use time.
52453 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52455         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52456         <errno.h>.
52458 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52460         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52461         syscall on x86-64.
52462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52463         syscall.
52464         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52465         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52466         syscall if possible.
52468 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52470         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52471         e_ident.  Don't pass to find_mapsXX.
52472         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52474 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52477         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52478         * sysdeps/x86_64/multiarch/strchr.S: Update.
52479         Check bit_slow_BSF bit.
52480         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52481         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52482         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52484 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52486         [BZ #13134]
52487         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52488         before glibc 2.15.
52489         (tryshell): Define.
52490         (__spawni): Change last parameter to be flag.  Test
52491         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52492         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52493         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52494         * posix/spawni.c: Likewise.
52495         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52496         * posix/spawnp.c: Likewise.  Change normal version to use
52497         SPAWN_XFLAGS_USE_PATH.
52498         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52499         SPAWN_XFLAGS_TRY_SHELL.
52501         [BZ #13150]
52502         * posix/glob.h: Remove gcc 1.x support.
52504         [BZ #13068]
52505         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52507 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52510         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52511         strrchr-sse2-bsf
52512         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52513         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52514         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52515         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52516         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52517         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52519 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52521         * sysdeps/x86_64/wcscmp.S: New file.
52523         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52524         wcscmp-c wcscmp-sse2
52525         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52526         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52527         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52528         * wcsmbs/wcscmp.c: Allow renaming.
52530 2011-09-05  David S. Miller  <davem@davemloft.net>
52532         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52533         stack slot, rather than the struct return pointer slot.
52534         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52535         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52537         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52539 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52541         * po/ja.po: Update from translation team.
52543         [BZ #13144]
52544         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52545         kernel in 64-bit binaries.
52547 2011-09-01  David S. Miller  <davem@davemloft.net>
52549         * elf/elf.h (HWCAP_SPARC_*): Move to..
52550         * sysdeps/sparc/sysdep.h: this new file and add new values.
52551         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52552         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52553         _DL_HWCAP_COUNT to 24.
52554         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52555         entries.
52556         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52557         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52558         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52559         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52560         instead of magic constants.
52561         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52563 2011-08-31  David S. Miller  <davem@davemloft.net>
52565         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52566         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52567         Reimplement to do errno handling inline.
52568         (SYSCALL_ERROR_HANDLER): New macro.
52569         (__SYSCALL_STRING): Do not do errno handling in asm.
52570         (__CLONE_SYSCALL_STRING): Delete.
52571         (__INTERNAL_SYSCALL_STRING): Delete.
52572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52573         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52574         (PSEUDO): Reimplement to do errno handling inline.
52575         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52576         (SYSCALL_ERROR_HANDLER): New macro.
52577         (__SYSCALL_STRING): Do not do errno handling in asm.
52578         (__CLONE_SYSCALL_STRING): Delete.
52579         (__INTERNAL_SYSCALL_STRING): Delete.
52580         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52581         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52582         i386.
52583         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52584         (inline_syscall*): Add 'err' argument.
52585         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52586         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52587         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52588         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52590         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52591         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52593 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52595         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52597 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52599         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52600         directive.
52602 2011-08-24  David S. Miller  <davem@davemloft.net>
52604         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52606 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52608         * elf/Makefile: Add rules to build and run unload8 test.
52609         * elf/unload8.c: New file.
52610         * elf/unload8mod1.c: New file.
52611         * elf/unload8mod1x.c: New file.
52612         * elf/unload8mod2.c: New file.
52613         * elf/unload8mod3.c: New file.
52615         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52616         it wasn't used.
52618 2011-08-23  David S. Miller  <davem@davemloft.net>
52620         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52621         subtract stack bias.
52622         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52623         %sp not %fp in calculations.
52624         (_JMPBUF_UNWINDS_ADJ): Likewise.
52626         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52627         (aio_suspend): Call it to force an exception region around the
52628         AIO_MISC_WAIT() invocation.
52630 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52632         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52633         backslash.
52635 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52637         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52638         protection macro.
52639         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52640         and <dl-machine.h>.
52641         (Elf64_FuncDesc): Remove.
52643 2011-08-22  David S. Miller  <davem@davemloft.net>
52645         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52646         sigaltstack check, add missing cfi directives.
52647         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52648         missing cfi directives, and sigaltstack handling.
52650 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52652         [BZ #11724]
52653         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52654         object is seen twice.
52655         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52657         * elf/Makefile (distribute): Add tst-initorder2.c.
52658         (tests): Add tst-initorder2.
52659         (modules-names): Add tst-initorder2a tst-initorder2b
52660         tst-initorder2c tst-initorder2d.  Add rules to build them.
52661         ($(objpfx)tst-initorder2.out): New rule.
52662         * elf/tst-initorder2.c: New file.
52663         * elf/tst-initorder2.exp: New file.
52665 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52667         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52669         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52670         dependencies back to end of function.
52672         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52673         $(elfobjdir)/ld.so.
52675 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52677         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52678         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52679         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52680         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52681         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52682         of __vdso_gettimeofday.
52683         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52684         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52685         attribute_hidden.
52686         (_libc_vdso_platform_setup): Remove initialization of
52687         __vdso_gettimeofday and __vdso_time.
52689 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52691         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52692         and fgetc_unlocked.
52693         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52694         getc_unlocked.
52696         * elf/dl-open.c (add_to_global): Report additions to the global scope
52697         for LD_DEBUG=scopes.
52698         (dl_open_worker): Also print scope of newly loaded dependencies.
52699         (_dl_show_scope): Indicate if there is no scope.
52701         [BZ #13114]
52702         * stdio-common/Makefile (tests): Add bug24.
52703         * stdio-common/bug24.c: New file.
52705 2011-08-19  Andreas Jaeger  <aj@suse.de>
52707         [BZ #13114]
52708         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52709         non-existant file when using close-on-exec mode.
52711 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52714         the very first instruction.
52716         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52717         the CFI state in the end.
52718         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52719         inclusion of dl-trampoline.h.
52720         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52722 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52724         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52725         expectations for long double.
52727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52728         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52730 2011-08-14  David S. Miller  <davem@davemloft.net>
52732         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52733         artificual limit depends upon the system page size.
52735 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52737         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52738         * resolv/Makefile: Define CFLAGS-libresolv.
52740 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52742         * nss/makedb.c (compute_tables): Make variables used in nested
52743         function static.
52745 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52747         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52748         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52749         if buffer was too small.
52751         * elf/pldd.c (main): Attach to all threads in the process.
52752         Rewrite /proc handling to use *at functions.
52754 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52756         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52757         specifies first scope to show.
52758         (dl_open_worker): Update callers.  Move printing scope of new
52759         object to before the relocation.
52760         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52761         * sysdeps/generic/ldsodefs.h: Update declaration.
52763         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52764         string for the scope number.
52766 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52768         * nscd/servicescache.c (cache_addserv): Make sure written is always
52769         initialized.
52771 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52773         * sysdeps/i386/i486/bits/atomic.h
52774         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52775         statement expression, so as to suppress "set but not used" warning.
52776         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52778         * string/strncat.c (STRNCAT): Use prototype definition.
52780         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52781         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52782         -Iprograms here.
52783         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52784         (localedef-modules): Add localedef.
52785         (locale-modules): Add locale.
52787         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52788         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52789         to avoid a warning.
52791 2011-08-14  David S. Miller  <davem@davemloft.net>
52793         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52794         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52796 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52798         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52799         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52800         * elf/rtld.c (dl_main): Set l_name of vDSO.
52801         Call _dl_show_scope when DL_DEBUG_SCOPES.
52802         (process_dl_debug): Recognize scopes flag and also set it for all.
52803         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52804         Declare _dl_show_scope.
52806         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52807         (do_dlopen): Pass caller_dlopen to dl_open.
52808         (__libc_dlopen_mode): Initialize caller_dlopen.
52810         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52811         of libc.  Make tolower call locale-independent.  Optimize a bit by
52812         using isdigit instead of isalnum.
52813         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52815 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52817         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52818         was a dependency or dynamically loaded.
52820 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52822         * intl/l10nflist.c: Allow architecture-specific pop function.
52823         * sysdeps/x86_64/l10nflist.c: New file.
52825         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52826         classification.
52828 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52830         * include/dirent.h: Add libc_hidden_proto for scandirat and
52831         scandirat64.  Don't declare __scandirat64.
52832         * dirent/scandirat.c: Add libc_hidden_def.
52833         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52834         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52836 2011-08-10  David S. Miller  <davem@davemloft.net>
52838         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52839         enum.
52840         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52841         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52842         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52844 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52846         * Versions.def [libc]: Add GLIBC_2.15.
52847         * dirent/Makefile (routines): Add scandirat and scandirat64.
52848         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52849         GLIBC_2.15.
52850         * dirent/dirent.h: Declare scandirat and scandirat64.
52851         * dirent/scandirat.c: New file.
52852         * dirent/scandirat64.c: New file.
52853         * sysdeps/wordsize-64/scandirat.c: New file.
52854         * sysdeps/wordsize-64/scandirat64.c: New file.
52855         * dirent/opendir.c: Define opendirat.
52856         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52857         using scandirat.
52858         * dirent/scandir64.c: Adjust for scandir.c change.
52859         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52860         __scandirat64, and __scandir_cancel_handler.
52861         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52862         additional parameter and use openat instead of open (outside of ld.so).
52863         Add new __opendir as wrapper around __opendirat.
52864         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52865         here without requiring old scandirat implementation.
52867 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52869         * dirent/scandir.c (cancel_handler): Renamed to
52870         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52871         defined.  Adjust users.
52872         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52873         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52875 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52877         * string/test-string.h (IMPL): Use __STRING to expand name and then
52878         stringify it.
52880         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52881         of cleanups.
52883 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52885         * string/Makefile: Update.
52886         (strop-tests): Append strncat.
52887         * string/test-wcscmp.c: New file.
52888         New comprehensive test for wcscmp.
52889         * string/test-strcmp.c: Update.
52890         (WIDE): New define.
52892 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52894         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52895         line.
52897 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52900         encoding to ACE if AI_IDN.
52902 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52904         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52905         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52907 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52909         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52910         Fix overflow bug in strncat.
52911         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52913         * string/test-strncat.c: Update.
52914         Add new tests for checking overflow bugs.
52916 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52919         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52920         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52921         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52922         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52923         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52924         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52925         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52926         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52928         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52929         (USE_AS_STRCAT): Define.
52930         Add strcat and strncat support.
52931         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52933 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52935         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52936         __n bigger than INT_MAX+1.
52937         (__strncmp_g): Likewise.
52939 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52941         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52942         * libio/stido.h: Likewise.
52944         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52945         (AF_NFC): Define.
52946         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52947         (AF_NFC): Define.
52949         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52950         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52951         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52952         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52955         [BZ #13021]
52956         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52957         installed.
52959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52960         typo.
52961         (_dl_x86_64_save_sse): Likewise.
52963 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52965         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52966         OSXSAVE.
52967         (_dl_x86_64_save_sse): Likewise.
52969         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52971         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52973 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52975         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52976         change.
52977         (_dl_x86_64_save_sse): Use correct AVX check.
52979 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52981         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52982         bug in strncpy/strncat.
52983         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52985 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52987         * string/tester.c (test_strcat): Add tests for different alignments
52988         of source and destination.
52989         (test_strncat): Likewise.
52991 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52993         [BZ #12852]
52994         * posix/glob.c (glob): Check passed in values before using them in
52995         expressions to avoid some overflows.
52996         (glob_in_dir): Likewise.
52998         [BZ #13007]
52999         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53000         check for AVX enablement so that we don't crash with old kernels and
53001         new hardware.
53002         * elf/tst-audit4.c: Add same checks here.
53003         * elf/tst-audit6.c: Likewise.
53005         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53007 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53009         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53011 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53013         * po/cs.po: Update from translation team.
53014         * po/bg.po: Likewise.
53016 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53018         * misc/sys/cdefs.h: Add support for const attribute.
53019         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53020         to gnu_dev_{major,minor,makedev} functions.
53022 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53024         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53026 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53028         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53029         strlen results.
53031 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53034         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53035         register in order to avoid conflicts with the soft frame pointer
53036         being held in r11 when necessary.
53037         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53038         (INTERNAL_VSYSCALL_NCS): Likewise.
53040 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53042         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53043         * elf/dl-fini.c (_dl_fini): Adjust caller.
53044         * elf/dl-close.c (_dl_close_worker): Likewise.
53045         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53047 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53049         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53050         "aux_cache->nlibs < 0".
53052         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53053         in the reload-count case.
53055 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53058         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53059         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53060         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53061         * sysdeps/x86_64/multiarch/strcat.S: New file.
53062         * sysdeps/x86_64/multiarch/strncat.S: New file.
53063         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53064         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53065         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53066         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53067         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53068         (USE_AS_STRCAT): Define.
53069         Add strcat and strncat support.
53070         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53071         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53072         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53073         * string/strncat.c: Update.
53074         (USE_AS_STRNCAT): Define.
53075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53076         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53077         and i7.
53078         * sysdeps/x86_64/multiarch/init-arch.h
53079         (bit_Prefer_PMINUB_for_stringop): New.
53080         (index_Prefer_PMINUB_for_stringop): Likewise.
53081         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53082         bit_Prefer_PMINUB_for_stringop.
53084 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53086         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53087         buffer64.
53088         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53089         of casting of buffer.
53090         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53091         buffer32 and buffer64.
53092         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53093         writes instead of casting of buffer.
53094         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53095         buffer32.
53096         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53097         casting of buffer.
53099 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53101         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53103 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53105         * nscd/nscd.c (termination_handler): Don't do anything for a database
53106         if it has not yet been initialized.
53108 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53110         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53112 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53114         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53116 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53118         * po/nl.po: Update from translation team.
53119         * po/sv.po: Likewise.
53121 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53123         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53124         now disallowed by GCC.
53126         * configure.in (use-default-link): Default to yes if a test -shared
53127         link meets our qualifications.
53128         * configure: Regenerated.
53130         * config.make.in (output-format): New variable.
53131         * configure.in: Check for ld --print-output-format support.
53132         * configure: Regenerated.
53133         * Makerules ($(common-objpfx)format.lds)
53134         [$(output-format) != unknown]: Just use $(output-format),
53135         instead of the linker-script munging.
53137 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53139         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53140         of $(common-objpfx)shlib.lds.
53141         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53143         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53144         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53146         * configure.in (-z relro check): Adjust test code to add a large
53147         writable data section after it.
53148         * configure: Regenerated.
53150 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53152         * configure.in (-z relro check): Fix test code to make the variable
53153         truly const.
53154         * configure: Regenerated.
53156 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53158         * nscd/nscd.h (struct traced_file): Define.
53159         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53160         elements.  Add traced_files.
53161         (inotify_fd): Declare.
53162         (register_traced_file): Declare.
53163         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53164         (inotify_fd): Export.
53165         (resolv_conf_descr): Remove.
53166         (nscd_init): Move inotify descriptor creation to main.
53167         Don't register files for notification here.
53168         (register_traced_file): New function.
53169         (invalidate_cache): Don't use reset_res to determine whether to call
53170         res_init, go through the list of registered files.
53171         (main_loop_poll): The inotify descriptors are now stored in the
53172         structures for the traced files.
53173         (main_loop_epoll): Likewise
53174         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53175         to __nss_disable_nscd.
53176         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53177         for a database anymore.  Check the records for all the registered
53178         files instead.
53179         * nss/Makefile (libnss_files-routines): Add files-init.
53180         (libnss_db-routines): Add db-init.
53181         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53182         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53183         * nss/nss_db/db-init.c: New file.
53184         * nss/nss_files/files-init.c: New file.
53185         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53186         __nss_lookup_function.
53187         (__nss_lookup_function): Call nss_load_library.
53188         (nss_load_all_libraries): New function.
53189         (__nss_disable_nscd): Take parameter with callback function for files
53190         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53191         used for the cached services.
53192         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53193         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53194         options for features to all the files in nscd.
53196         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53198 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53200         * csu/elf-init.c (__libc_csu_init): Comment typo.
53202 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53204         * po/pl.po: Update from translation team.
53205         * po/ja.po: Likewise.
53206         * po/ru.po: Likewise.
53207         * po/ko.po: Likewise.
53208         * po/fr.po: Likewise.
53210 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53212         * configure.in (.ctors/.dtors header and trailer check):
53213         Use an empirical test on a built program.
53214         * configure: Regenerated.
53216         * configure.in (-z relro check): Use an empirical test on a built DSO.
53217         Detect, but do not require, on ia64.
53218         * configure: Regenerated.
53220         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53221         Update tests that use readelf to use $READELF instead.
53222         * configure: Regenerated.
53224 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53226         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53227         if the result is not used.
53229 2011-07-05  Andreas Jaeger  <aj@suse.de>
53231         [BZ#9696]
53232         * stdlib/tst-strtod.c: Add testcase.
53234 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53236         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53237         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53238         The latter has a higher limit.  Take additional parameter to pass to
53239         the new function.
53240         (__pathconf): Pass file to __statfs_link_max.
53241         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53242         __statfs_link_max.
53243         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53244         __statfs_link_max.
53246         [BZ #12868]
53247         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53248         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53249         Handle Lustre.
53250         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53251         (__statfs_filesize_max): Likewise.
53252         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53254 2011-07-05  Andreas Jaeger  <aj@suse.de>
53256         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53258 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53260         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53261         `status' variable.
53262         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53263         Likewise.
53265 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53267         * Makefile (strop-tests): Add strncat.
53268         * string/test-strncat.c: New file.
53270 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53272         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53274 2011-06-21  Andreas Jaeger  <aj@suse.de>
53276         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53277         Copy rule from iconvdata/Makefile.
53279 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53281         [BZ #12922]
53282         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53283         but no long options are defined, just return 'W'.
53285 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53287         [BZ #9696]
53288         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53290 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53292         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53293         netgroups to read.
53294         (innetgr): Likewise.
53296 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53298         * config.make.in (install_root): Default to $(DESTDIR).
53300 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53302         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53304 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53306         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53308         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53309         containing directory rather than embedding absolute directory names.
53311         * scripts/check-local-headers.sh: Rewritten using awk.
53312         Match by word, not by line.  Print error messages for matches.
53313         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53315         * Makerules [shlib-lds-flags empty]:
53316         ($(common-objpfx)libc_pic.opts): New target.
53317         ($(common-objpfx)libc_pic.os.clean): New target.
53318         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53320         * config.make.in (OBJCOPY): New variable.
53321         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53322         * configure: Regenerated.
53324         * config.make.in (use-default-link): New variable.
53325         * configure.in (use_default_link): Grok --with-default-link to set it.
53326         * configure: Regenerated.
53327         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53328         (shlib-lds, shlib-lds-flags): Define to empty.
53330         * Makerules (shlib-lds): New variable.
53331         (shlib-lds-flags): New variable.
53332         (build-shlib, build-moduile, build-module-asneeded): Use it.
53333         ($(common-objpfx)libc.so): Use $(shlib-lds).
53334         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53335         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53337         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53338         DT_FLAGS/DT_FLAGS_1 with zero flags.
53340         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53341         linker script munging.
53343 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53345         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53346         as 128-bit value.
53347         * crypt/sha512.c (sha512_process_block): Perform total addition using
53348         128-bit if possible.
53349         (__sha512_finish_ctx): Likewise.
53350         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53351         as 64-bit value.
53352         * crypt/sha256.c (SWAP64): Define.
53353         (sha256_process_block): Perform total addition using 64-bit if
53354         possible.
53355         (__sha256_finish_ctx): Likewise.
53357 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53359         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53360         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53361         * nscd/hstcache.c (cache_addhst): Likewise.
53362         * nscd/grpcache.c (cache_addgr): Likewise.
53363         * nscd/aicache.c (addhstaiX): Likewise
53364         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53366 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53368         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53369         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53370         * nscd/hstcache.c (cache_addhst): Likewise.
53371         * nscd/grpcache.c (cache_addgr): Likewise.
53372         * nscd/aicache.c (addhstaiX): Likewise
53374 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53376         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53377         domain only when needed.
53379 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53382         is always restored.
53384 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53386         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53387         are re-adding the entry.
53388         * nscd/servicescache.c (cache_addserv): Likewise.
53390 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53392         * sysdeps/generic/dl-irel.h: fix protection against multiple
53393         inclusions.
53394         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53396 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53398         [BZ #12935]
53399         * malloc/memusage.sh: Fix quoting in message.
53400         * debug/xtrace.sh: Likewise.
53402         * configure.in: Remove support for --experimental-malloc option, make
53403         it the default.
53404         * config.make.in: Likewise.
53405         * malloc/Makefile: Likewise.
53407 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53409         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53410         two-byte characters.
53412 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53414         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53415         AC_CACHE_CHECK invocation.
53416         * configure: Regenerated.
53418         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53420 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53422         [BZ #12350]
53423         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53424         bit from old_res_options.
53426         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53428         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53429         value type for setfct.
53431 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53433         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53434         __gettimeofday instead of gettimeofday.
53436 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53438         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53440 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53442         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53444         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53445         info.
53447 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53450         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53451         strcpy-sse2-unaligned strncpy-sse2-unaligned
53452         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53453         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53454         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53455         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53456         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53457         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53458         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53459         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53460         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53461         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53462         (STRCPY): Support SSE2 and SSSE3 versions.
53464 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53466         [BZ #12874]
53467         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53468         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53469         kernels which artificially limit size of requests.
53471 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53473         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53474         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53475         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53476         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53477         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53478         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53479         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53480         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53481         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53482         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53483         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53484         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53485         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53486         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53487         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53489         Enable unaligned load optimization for Intel Core i3, i5 and i7
53490         processors.
53491         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53492         Define.
53493         (index_Fast_Unaligned_Load): Define.
53494         (HAS_FAST_UNALIGNED_LOAD): Define.
53496 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53498         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53500 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53502         [BZ #12907]
53503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53504         until it is clear that the information is realy needed.
53505         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53507 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53511 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53514         /sys/devices/system/cpu/online if it is usable.
53516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53517         reading the information from the /proc filesystem to once a second.
53519 2011-06-21  Andreas Jaeger  <aj@suse.de>
53521         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53522         NULL after inclusion of kernel headers.
53524 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53526         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53527         calls to internal_setent.
53529         [BZ #12885]
53530         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53531         addresses using gethostbyname4_r ignore IPv4 addresses.
53533         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53534         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53536         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53538 2011-06-20  David S. Miller  <davem@davemloft.net>
53540         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53541         inclusions.
53542         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53544         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53545         (elf_irel): Use it.
53546         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53547         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53548         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53549         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53550         * sysdeps/x86_64/dl-irel.h: Likewise.
53552         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53553         * elf/dl-sym.c: Likewise.
53555 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53557         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53558         need to dereference resplen2.
53560 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53562         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53564 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53566         * Makeconfig: Define vardbdir and inst_vardbdir.
53567         * nss/Makefile: Add rules to install db-Makefile.
53569         * nss/nss_db/db-XXX.c: Cleanup.
53571         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53572         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53573         GLIBC_PRIVATE.
53574         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53575         * nss/makedb.c: Implement -g option to specify that value strings
53576         are generated and should not be added to table iterated over for
53577         get*ent calls.
53578         * nss/nss_db/db-initgroups.c: New file.
53580         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53581         interface.
53583         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53584         (internal_getgrouplist): Adjust to name change.
53585         Update use_initgroups_entry if this is not the first call.
53586         * nss/databases.def: Add initgroups entry.
53588         * nss/makedb.c (compute_tables): Check result of multiple hash table
53589         sizes to minimize maximum chain length.
53591 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53593         * Versions.def: Add entry for libnss_db.
53594         * shlib-versions: Likewise.
53595         * nss/Makefile: Add rules to build libnss_db.
53596         * nss/Versions: Add libnss_db information.  Organize libnss_files
53597         entries better.
53598         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53599         makedb progra.  Some minor improvements to generate smaller files.
53600         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53601         here from...
53602         * nss/makedb.c: ...here.
53603         Improve database format to be smaller and require less memory at
53604         runtime.
53605         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53606         db anymore.
53607         * nss/nss_db/db-netgrp.c: Likewise.
53608         * nss/nss_db/db-open.c: Likewise.
53609         * nss/nss_files/flies-XXX.x: Adjust comments.
53610         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53611         * nss/nss_files/files-grp.c: Likewise.
53612         * nss/nss_files/files-hosts.c: Likewise.
53613         * nss/nss_files/files-network.c: Likewise.
53614         * nss/nss_files/files-proto.c: Likewise.
53615         * nss/nss_files/files-pwd.c: Likewise.
53616         * nss/nss_files/files-rpc.c: Likewise.
53617         * nss/nss_files/files-service.c: Likewise.
53618         * nss/nss_files/files-sgrp.c: Likewise.
53619         * nss/nss_files/files-spwd.c: Likewise.
53620         * nss/nss_db/db-alias.c: Removed.
53621         * nss/nss_db/dummy-db.h: Removed.
53623 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53625         * nss/makedb.c: Rewritten to not use database library.
53626         * nss/Makefile: Update to build new makedb program.
53628 2011-06-14  Andreas Jaeger  <aj@suse.de>
53630         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53631         memset declaration.
53633 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53636         tmpbuf.
53638 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53640         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53641         * elf/Makefile ($(objpfx)ld.so): Likewise.
53643         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53644         Don't list ld.so twice in dependencies.
53646         * posix/bug-regex31.c: Include <stdlib.h>.
53648         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53650         * nis/nss_compat/compat-spwd.c
53651         (getspent_next_nss_netgr): Remove unused variable.
53652         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53654         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53655         nonmembers" output to use the right array.
53657         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53659         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53661         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53662         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53663         * catgets/gencat.c (read_input_file): Likewise.
53664         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53666         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53667         variable definition inside #if's controlling its use.
53669         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53671         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53673         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53675         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53676         unreachable code.
53678         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53680         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53681         * configure: Regenerated.
53683         * Makerules: Revert last change.
53684         * elf/Makefile: Likewise.
53686 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53688         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53689         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53690         (reloc-link): Likewise.
53692 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53694         * elf/Makefile: Add rules to build pldd.
53695         * elf/pldd.c: New file.
53696         * elf/pldd-xx.c: New file.
53698 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53700         * version.h: Update for 2.15 development version.
53702 2011-06-07  David S. Miller  <davem@davemloft.net>
53704         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53705         ifuncs.
53706         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53707         elf_machine_lazy_rel): Likewise.
53708         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53709         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53710         elf_machine_lazy_rel): Likewise.
53711         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53712         dl_hwcap via passed in argument.
53713         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53714         Likewise.
53716 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53718         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53720 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53722         [BZ #12849]
53723         * manual/fdl-1.1.texi: New file, verbatim from:
53724         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53725         * manual/lgpl-2.1.texi: New file, verbatim from:
53726         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53727         * manual/Makefile (licenses): New variable, list those new file names.
53728         (texis): Use it.
53729         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53731         * manual/fdl.texi: File removed.
53732         * manual/lesser.texi: File removed.
53733         * manual/libc.texinfo (Copying, Documentation License):
53734         Use new @include file names, put @appendix directive before @include.
53736 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53738         [BZ #12841]
53739         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53740         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53741         (mq_open): Add __NTH.
53743 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53746         Assume Intel Core i3/i5/i7 processor if AVX is available.
53748 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53751         typo.
53753 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53755         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53756         memory.  Use alloca_account.  Fix memory leak when retrying.
53758 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53760         * version.h (RELEASE): Bump for 2.14 release.
53761         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53763         * config.make.in (RANLIB): Remove entry.
53765 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53767         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53768         (libc.pot): Work around missing support for .ksh extension in xgettext.
53770         [BZ #12684]
53771         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53772         if both request failed.
53773         (send_dg): In case of server errors clear resplen or *resplen2.
53775         [BZ #12454]
53776         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53777         when there are multiple maps.
53778         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53779         (_dl_fini): Remove test here.
53781         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53783 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53785         [BZ #12350]
53786         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53787         bit from old_res_options.
53788         (gaih_inet): Likewise.
53790         [BZ #11099]
53791         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53792         as signed.
53794         * resolv/res_init.c (res_setoptions): Make the code more compact.
53796         [BZ #11558]
53797         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53798         set RES_USEVC.
53800         [BZ #11634]
53801         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53803         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53805         [BZ #11781]
53806         * malloc/malloc.h: Declare malloc hook variables as volatile.
53808         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53809         in last patch.
53811         [BZ #11799]
53812         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53813         raise in the comment.
53814         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53815         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53816         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53818 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53820         [BZ #12811]
53821         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53822         grow the buffers more if it already has to be sufficient.
53823         (build_wcs_upper_buffer): Likewise.
53824         * posix/regexec.c (check_matching): Likewise.
53825         (clean_state_log_if_needed): Likewise.
53826         (extend_buffers): Don't enlarge buffers beyond size of the input
53827         buffer.
53828         Patches mostly by Emil Wojak <emil@wojak.eu>.
53829         * posix/bug-regex32.c: New file.
53830         * posix/Makefile (tests): Add bug-regex32.
53832         * locale/findlocale.c (_nl_find_locale): Return right away if
53833         _nl_explode_name failed.
53834         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53836         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53838         * debug/xtrace.sh: Unify messages.
53839         * malloc/memusage.sh: Likewise.
53841         [BZ #12813]
53842         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53843         time symbol from vDSO.  Substitute with vsyscall if not available.
53844         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53845         __vdso_time.
53847         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53848         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53849         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53850         Add sendmmsg and internal_sendmmsg.
53851         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53852         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53853         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53855         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53856         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53857         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53859 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53861         [BZ #12813]
53862         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53863         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53864         available.
53865         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53866         __vdso_getcpu.
53868         [BZ #12814]
53869         * iconvdata/Makefile (tests): Add bug-iconv9.
53870         * iconvdata/bug-iconv9.c: New file.
53872 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53874         [BZ #12814]
53875         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53877 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53879         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53880         (struct user_regs_struct): Change intcs field back to cs.
53882 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53884         * po/ja.po: Update from translation team.
53886 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53888         [BZ #12795]
53889         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53890         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53892 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53894         * stdlib/longlong.h: Update from GCC.
53896 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53898         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53899         parameter name.
53900         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53901         Add parameter name.
53902         (__sysconf): Pass it down.
53904 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53906         [BZ #12671]
53907         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53908         some situations.
53909         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53910         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53911         add in in __libc_use_alloca calls.  Adjust callers.
53912         (glob): Use malloc in some situations.
53914         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53915         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53916         pltexit.
53918 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53920         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53921         and CLOCK_BOOTTIME_ALARM.
53923         [BZ #12782]
53924         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53925         is returned.
53927         * string/_strerror.c (__strerror_r): Print negative errors as signed
53928         numbers.
53930         [BZ #12777]
53931         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53932         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53933         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53935         * configure.in: Fix typo in redirection and correct removal of test
53936         files in two cases.
53938         [BZ #12788]
53939         * locale/setlocale.c (new_composite_name): Fix test to check for
53940         identical name of all categories.
53942         [BZ #12792]
53943         * libio/filedoalloc.c (local_isatty): New function.
53944         (_IO_file_doallocate): Use local_isatty.
53945         * stdio-common/perror.c (perror): In case a new stream is used
53946         forward the stream error.
53947         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53948         error flag.
53950 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53952         [BZ #11869]
53953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53954         alloca.
53955         * include/alloca.h (extend_alloca_account): Define.
53957         [BZ #11857]
53958         * posix/regex.h: Fix comments with documentation of user-accessible
53959         fields after compilation and describe correct free'ing of pattern
53960         after re_compile_pattern.
53961         Patch by Reuben Thomas <rrt@sc3d.org>.
53963 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53965         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53966         and -mno-altivec to prevent the compiler from using Altivec and/or
53967         VSX instructions when the corresponding registers are not available.
53969 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53971         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53973 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53975         * libio/freopen.c (freopen): Use __dup2, not dup2.
53976         * libio/freopen64.c (freopen64): Likewise.
53978 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53980         [BZ #12775]
53981         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53982         * math/Makefile (tests): Add test-powl.
53983         (CFLAGS-test-powl.c): Define.
53984         * math/test-powl.c: New file.
53986 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53988         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53990 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53992         [BZ #11837]
53993         * iconvdata/gb18030.c: Update to GB18020-2005.
53995 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53997         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53998         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53999         Patch by Aharon Robbins <arnold@skeeve.com>.
54001         [BZ #11892]
54002         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54003         on the stack.
54005         [BZ #11895]
54006         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54007         through underflows.
54009         [BZ #12766]
54010         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54011         point to strings before performing equality test for error_one_per_line
54012         mode.
54014         [BZ #11697]
54015         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54017         [BZ #11820]
54018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54019         (struct user_fpregs_struct): Avoid __uint*_t types.
54021         [BZ #6420]
54022         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54023         symbol info.  Use it instead of calling _dl_addr locally.
54024         (lock_and_info): New function.
54025         (tr_freehook): Call lock_and_info and pass symbol info as additional
54026         parameter to tr_where.
54027         (tr_mallochook): Likewise.
54028         (tr_reallochook): Likewise.
54029         (tr_memalignhook): Likewise.
54031         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54032         used and couldn't be at all thread-safe.
54034 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54036         * libio/freopen.c (freopen): Don't close old file descriptor
54037         before the new one is opened.  Instead dup the new file descriptor
54038         to the old one after the new stream is created.
54039         * libio/freopen64.c (freopen64): Likewise.
54040         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54041         * libio/fileops.c (_IO_new_file_close_it): Handle new
54042         _IO_FLAGS2_NOCLOSE flag.
54043         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54044         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54045         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54046         _IO_FLAGS2_NOCLOSE flag.
54047         * include/unistd.h: Add hidden_proto for dup3.
54048         Define __have_dup3.
54049         * io/dup3.c: Define hidden symbol.
54050         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54052         [BZ #7101]
54053         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54054         when an incomplete long option is used.
54055         * posix/tst-getopt_long1.c: New file.
54056         * posix/Makefile (tests): Add tst-getopt_long1.
54058         [BZ #10138]
54059         * scripts/config.guess: Update from autoconf-2.68.
54060         * scripts/config.sub: Likewise.
54062         [BZ #10157]
54063         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54064         tests into ...
54065         (has_cpuclock): ...this.  New function.
54066         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54067         macro here based on has_cpuclock code.
54069         [BZ #10149]
54070         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54071         First byte (not low byte) is now always NUL.
54072         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54074         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54075         Use non-cancelable interfaces.
54077         [BZ #9809]
54078         * locale/iso-639.def: Add entry for Sorani.
54080         [BZ #11901]
54081         * include/stdlib.h: Move include protection to the right place.
54082         Define abort_msg_s.  Declare __abort_msg with it.
54083         * stdlib/abort.c (__abort_msg): Adjust type.
54084         * assert/assert.c (__assert_fail_base): New function.  Majority
54085         of code from __assert_fail.  Allocate memory for __abort_msg with
54086         mmap.
54087         (__assert_fail): Now call __assert_fail_base.
54088         * assert/assert-perr.c: Remove bulk of implementation.  Use
54089         __assert_fail_base.
54090         * include/assert.hL Declare __assert_fail_base.
54091         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54092         mmap.
54093         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54095 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54097         [BZ #11952]
54098         [BZ #12453]
54099         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54100         until all modules are registered in the DTV.
54101         * elf/Makefile: Add rules to build and run tst-tls19.
54102         * elf/tst-tls19.c: New file.
54103         * elf/tst-tls19mod1.c: New file.
54104         * elf/tst-tls19mod2.c: New file.
54105         * elf/tst-tls19mod3.c: New file.
54106         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54108         [BZ #12083]
54109         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54110         correctly.
54112         [BZ #12601]
54113         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54114         two-byte sequence errors.
54115         * iconvdata/Makefile (tests): Add bug-iconv8.
54116         * iconvdata/bug-iconv8.c: New file.
54118         [BZ #12626]
54119         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54120         buf2 definition.
54122         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54124         [BZ #12432]
54125         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54126         (dummy_getcfa): New function.
54127         (init): Get _Unwind_GetCFA address, use dummy if not found.
54128         (backtrace_helper): In recursion check, also check whether CFA changes.
54129         (__backtrace): Completely initialize arg.
54131         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54132         storing incomplete byte sequence in state object.  Avoid testing for
54133         guaranteed too small input if we know there is enough data available.
54135 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54137         * Makeconfig (+link-pie): Indent.
54138         * Rules (binaries-pie): Define if $(have-fpie) and
54139         $(build-shared).
54140         (binaries-shared): Also filter out $(binaries-pie).
54141         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54142         * nscd/Makefile (others-pie): Add nscd.
54143         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54144         ($(objpfx)nscd): Remove command override.
54145         * login/Makefile (others-pie): Add pt_chown.
54146         ($(objpfx)pt_chown): Remove command override.
54147         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54148         remove command overrides.
54150 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54152         * libio/tst_putwc.c: Fix error messages.
54154         [BZ #12724]
54155         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54156         currently writing and seek to current position when not.
54157         * libio/Makefile (tests): Add bug-fclose1.
54158         * libio/bug-fclose1.c: New file.
54160 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54162         [BZ #12511]
54163         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54164         don't set DF_1_NODELETE here.
54165         (do_lookup_x): When entering new entry test for copy relocation
54166         and if necessary set DF_1_NODELETE flag.
54167         * elf/tst-unique4.cc: New file.
54168         * elf/tst-unique4.h: New file.
54169         * elf/tst-unique4lib.cc: New file.
54170         * elf/Makefile: Add rules to build and run tst-unique4.
54171         Patch by Piotr Bury <pbury@goahead.com>.
54173 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54175         [BZ #12052]
54176         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54178         [BZ #12625]
54179         * misc/mntent_r.c (addmntent): Flush the stream after the output
54181         [BZ #12393]
54182         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54183         (is_trusted_path_normalize): Skip initial colon.  Append slash
54184         to empty buffer.  Duplicate is_trusted_path code but allow
54185         constructed patch to be prefix.
54186         (is_dst): Allow $ORIGIN followed by /.
54187         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54188         Correct testing of result of is_trusted_path_normalize
54189         (decompose_rpath): Fix warning.
54191 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54193         [BZ #11257]
54194         * grp/initgroups.c (internal_getgrouplist): When we found the service
54195         list through the initgroups entry in nsswitch.conf do not always
54196         continue on a successful lookup.  Don't always use the
54197         __nss_group_database value if it is set.
54198         * nss/nsswitch.conf (initgroups): Change action for successful db
54199         lookup to continue for compatibility.
54201 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54203         [BZ #11532]
54204         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54205         and CP774 modules.
54206         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54207         and CP774 modules.
54208         * iconvdata/tst-tables.sh: Likewise.
54209         * iconvdata/cp770.c: New file.
54210         * iconvdata/cp771.c: New file.
54211         * iconvdata/cp772.c: New file.
54212         * iconvdata/cp773.c: New file.
54213         * iconvdata/cp774.c: New file.
54214         * iconvdata/testdata/CP770: New file.
54215         * iconvdata/testdata/CP770..UTF8: New file.
54216         * iconvdata/testdata/CP771: New file.
54217         * iconvdata/testdata/CP771..UTF8: New file.
54218         * iconvdata/testdata/CP772: New file.
54219         * iconvdata/testdata/CP772..UTF8: New file.
54220         * iconvdata/testdata/CP773: New file.
54221         * iconvdata/testdata/CP773..UTF8: New file.
54222         * iconvdata/testdata/CP774: New file.
54223         * iconvdata/testdata/CP774..UTF8: New file.
54225         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54226         END CHARMAP line.
54227         * iconvdata/gen-8bit-gap.sh: Likewise.
54228         * iconvdata/gen-8bit.sh: Likewise.
54230         * locale/iso-639.def: Add ary entry.
54232         [BZ #11258]
54233         * locale/C-translit.h.in: Add U20A1 transliteration.
54235         [BZ #12178]
54236         * locale/iso-639.def: Add wae entry.
54237         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54239         [BZ #12545]
54240         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54241         for n.
54243         [BZ #12711]
54244         * locale/C-translit.h.in: Add entry for U20B9.
54245         Patch by pravin.d.s@gmail.com.
54247 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54249         [BZ #12713]
54250         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54251         ENAMETOOLONG use generic getcwd.
54252         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54253         in rtld.  Use *stat64.
54254         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54255         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54256         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54257         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54258         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54259         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54260         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54261         __fstatat64 macros.
54262         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54263         * dirent/rewinddir.c: Add libc_hidden_def.
54264         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54265         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54267         * include/dirent.h (__alloc_dir): Add flags parameter.
54268         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54269         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54270         __alloc_dir.
54271         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54272         from fdopendir if O_CLOEXEC is already set.
54274 2011-03-15  Alan Modra  <amodra@gmail.com>
54276         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54277         l_tls_firstbyte_offset non-zero.  Save padding offset in
54278         l_tls_firstbyte_offset for later use.
54279         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54280         freeing static tls block.
54282 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54284         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54285         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54286         being defined by the kernel headers.
54288 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54290         [BZ #12734]
54291         * resolv/resolv.h: Define RES_NOTLDQUERY.
54292         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54293         no-tld-query and set RES_NOTLDQUERY.
54294         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54295         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54296         modern BIND to search name as TLD unless forbidden.
54298 2011-05-07  Petr Baudis  <pasky@suse.cz>
54299             Ulrich Drepper  <drepper@gmail.com>
54301         [BZ #12393]
54302         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54303         (is_trusted_path): ...to here.
54304         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54305         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54306         using is_trusted_path_normalize() in setuid scripts.
54308 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54310         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54311         __BEGIN/__END_DECLS.
54313 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54316         NSS_STATUS_NOTFOUND if no record was found.
54318 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54320         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54321         (headers-not-in-tirpc): Remove rpc/netdb.h
54322         * resolv/netdb.h: Revert last change.
54324 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54326         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54327         circular dependency between libgcc.a and libc.a.
54329 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54331         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54332         * nis/Makefile: Don't install rpcsvc/*.
54333         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54334         instead of <rpc/types.h>.
54335         (MAXHOSTNAMELEN): Define.
54337 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54339         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54341 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54343         [BZ #12714]
54344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54345         gethostbyname4_r when IPv6 results are possible.
54347 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54349         [BZ #12723]
54350         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54351         _PC_PIPE_BUF handling.
54353 2011-04-30  Bruno Haible  <bruno@clisp.org>
54355         [BZ #12717]
54356         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54357         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54358         to 'int'.
54359         * inet/getnameinfo.c (getnameinfo): Likewise.
54361 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54363         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54364         to groups setting in database lookup.
54365         * nss/nsswitch.conf: Add initgroups entry.
54367 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54369         [BZ #12685]
54370         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54371         mode string.
54372         Patch by Eric Blake <eblake@redhat.com>.
54374 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54376         * sunrpc/Makefile (need-export-routines): Add svc_run.
54377         (routines): Remove svc_run.
54378         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54379         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54380         * sunrpc/svc_run.c (svc_run): Likewise.
54381         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54383 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54385         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54386         problem in reallocation in last patch.
54388 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54390         * sunrpc/Makefile: Move inclusion of Rules.
54392 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54394         * nss/nss_files/files-initgroups.c: New file.
54395         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54396         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54397         _nss_files_initgroups_dyn.
54399 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54401         * elf/elf.h (R_ARM_IRELATIVE): Define.
54403 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54405         * po/ru.po: Update from translation team.
54407 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54409         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54410         dependencies.
54412 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54414         [BZ #12653]
54415         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54416         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54417         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54418         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54419         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54421 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54423         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54424         differing bytes.
54425         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54426         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54427         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54429 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54431         [BZ #12420]
54432         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54433         storing it.
54434         * stdlib/bug-getcontext.c: New file.
54435         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54437 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54439         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54440         instructions into .machine "z9-109".
54441         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54442         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54444 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54446         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54447         between environment variables and auxiliary vector.
54449 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54451         * Makefile: Add rules to build linkobj/libc.so.
54452         * include/libc-symbols.h: Define libc_hidden_nolink.
54453         * include/rpc/auth.h: Mark functions which are to be hidden.
54454         * include/rpc/auth_des.h: Likewise.
54455         * include/rpc/auth_unix.h: Likewise.
54456         * include/rpc/clnt.h: Likewise.
54457         * include/rpc/des_crypt.h: Likewise.
54458         * include/rpc/key_prot.h: Likewise.
54459         * include/rpc/pmap_clnt.h: Likewise.
54460         * include/rpc/pmap_prot.h: Likewise.
54461         * include/rpc/pmap_rmt.h: Likewise.
54462         * include/rpc/rpc_msg.h: Likewise.
54463         * include/rpc/svc.h: Likewise.
54464         * include/rpc/svc_auth.h: Likewise.
54465         * include/rpc/xdr.h: Likewise.
54466         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54467         * nss/Makefile: Likewise.
54468         * sunrpc/Makefile: Don't install headers.  Build library with normal
54469         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54470         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54471         for the compat linking library.  Remove use of INTDEF/INTUSE.
54472         * sunrpc/auth_none.c: Likewise.
54473         * sunrpc/auth_unix.c: Likewise.
54474         * sunrpc/authdes_prot.c: Likewise.
54475         * sunrpc/authuxprot.c: Likewise.
54476         * sunrpc/clnt_gen.c: Likewise.
54477         * sunrpc/clnt_perr.c: Likewise.
54478         * sunrpc/clnt_raw.c: Likewise.
54479         * sunrpc/clnt_simp.c: Likewise.
54480         * sunrpc/clnt_tcp.c: Likewise.
54481         * sunrpc/clnt_udp.c: Likewise.
54482         * sunrpc/clnt_unix.c: Likewise.
54483         * sunrpc/des_crypt.c: Likewise.
54484         * sunrpc/des_soft.c: Likewise.
54485         * sunrpc/get_myaddr.c: Likewise.
54486         * sunrpc/key_call.c: Likewise.
54487         * sunrpc/key_prot.c: Likewise.
54488         * sunrpc/netname.c: Likewise.
54489         * sunrpc/pm_getmaps.c: Likewise.
54490         * sunrpc/pm_getport.c: Likewise.
54491         * sunrpc/pmap_clnt.c: Likewise.
54492         * sunrpc/pmap_prot.c: Likewise.
54493         * sunrpc/pmap_prot2.c: Likewise.
54494         * sunrpc/pmap_rmt.c: Likewise.
54495         * sunrpc/publickey.c: Likewise.
54496         * sunrpc/rpc_cmsg.c: Likewise.
54497         * sunrpc/rpc_common.c: Likewise.
54498         * sunrpc/rpc_dtable.c: Likewise.
54499         * sunrpc/rpc_prot.c: Likewise.
54500         * sunrpc/rpc_thread.c: Likewise.
54501         * sunrpc/rtime.c: Likewise.
54502         * sunrpc/svc.c: Likewise.
54503         * sunrpc/svc_auth.c: Likewise.
54504         * sunrpc/svc_authux.c: Likewise.
54505         * sunrpc/svc_raw.c: Likewise.
54506         * sunrpc/svc_run.c: Likewise.
54507         * sunrpc/svc_simple.c: Likewise.
54508         * sunrpc/svc_tcp.c: Likewise.
54509         * sunrpc/svc_udp.c: Likewise.
54510         * sunrpc/svc_unix.c: Likewise.
54511         * sunrpc/svcauth_des.c: Likewise.
54512         * sunrpc/xcrypt.c: Likewise.
54513         * sunrpc/xdr.c: Likewise.
54514         * sunrpc/xdr_array.c: Likewise.
54515         * sunrpc/xdr_float.c: Likewise.
54516         * sunrpc/xdr_intXX_t.c: Likewise.
54517         * sunrpc/xdr_mem.c: Likewise.
54518         * sunrpc/xdr_rec.c: Likewise.
54519         * sunrpc/xdr_ref.c: Likewise.
54520         * sunrpc/xdr_sizeof.c: Likewise.
54521         * sunrpc/xdr_stdio.c: Likewise.
54523 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54525         [BZ #12650]
54526         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54527         * sysdeps/ia64/dl-tls.h: Likewise.
54528         * sysdeps/powerpc/dl-tls.h: Likewise.
54529         * sysdeps/s390/dl-tls.h: Likewise.
54530         * sysdeps/sh/dl-tls.h: Likewise.
54531         * sysdeps/sparc/dl-tls.h: Likewise.
54532         * sysdeps/x86_64/dl-tls.h: Likewise.
54533         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54535 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54537         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54538         rpath element also skip the following colon.
54539         (expand_dynamic_string_token): Add is_path parameter and pass
54540         down to DL_DST_REQUIRED and _dl_dst_substitute.
54541         (decompose_rpath): Call expand_dynamic_string_token with
54542         non-zero is_path.  Ignore empty rpaths.
54543         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54544         with zero is_path.
54546 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54549         Make cancelable.
54551 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54553         [BZ #12655]
54554         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54555         Patch by Filipe David Manana <fdmanana@apache.org>.
54557 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54559         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54560         Maintain aligned stack.
54561         (CHECK_RSP): Remove unused macro.
54563 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54565         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54566         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54568 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54570         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54572         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54574 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54576         [BZ #12518]
54577         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54578         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54579         * sysdeps/x86_64/memmove.c: New file.
54580         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54581         (memcpy): Renamed to ...
54582         (__new_memcpy): This.
54583         (memcpy): Provide GLIBC_2_14 memcpy.
54584         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54585         (memcpy): Provide GLIBC_2_2_5 memcpy.
54587 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54589         [BZ #12631]
54590         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54592 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54594         * misc/syncfs.c: New file.
54595         * misc/Makefile (routines): Add syncfs.
54596         * posix/unistd.h: Declare syncfs.
54597         * sysdeps/unix/syscalls.list: Add syncfs.
54599 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54601         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54602         open_by_handle_at.
54603         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54604         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54608         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54609         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54611 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54613         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54614         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54615         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54616         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54617         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54619         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54621         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54622         sync_file_range.c with -fexceptions.
54623         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54624         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54625         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54626         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54627         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54628         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54630         sync_file_range as cancellation point
54631         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54632         now a wrapper around __call_sync_file_range with cancellation handling.
54633         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54634         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54635         function name to __call_sync_file_range.
54636         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54637         Add call_sync_file_range.
54639 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54642         bits/timex.h.
54644 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54646         * iconv/iconv.h: Fix typo in comment.
54647         * io/fcntl.h: Likewise.
54648         * libio/stdio.h: Likewise.
54649         * posix/spawn.h: Likewise.
54650         * posix/unistd.h: Likewise.
54651         * stdlib/stdlib.h: Likewise.
54652         * time/time.h: Likewise.
54653         * wcsmbs/wchar.h: Likewise.
54655         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54656         open_by_handle): Add.
54657         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54658         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54659         Augment a few comments.
54660         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54661         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54662         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54663         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54664         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54665         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54666         open_by_handle.
54668         * io/fcntl.h (AT_EMPTY_PATH): Define.
54670 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54672         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54673         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54674         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54675         to...
54676         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54677         * Versions.def: Add GLIBC_2.14.
54678         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54679         Export.
54681 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54683         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54684         round counter.
54685         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54687 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54689         [BZ #12597]
54690         * string/test-strncmp.c (do_page_test): New function.
54691         (check2): Likewise.
54692         (test_main): Call check2.
54693         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54695 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54697         [BZ #12587]
54698         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54699         Handle cache information in CPU leaf 4.
54700         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54702 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54704         [BZ #12583]
54705         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54706         character representation.
54707         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54709 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54711         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54712         END(__isnan) to END(__isnanf) to match function entry point/label
54713         EALIGN(__isnanf,...).
54715 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54717         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54719 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54721         [BZ #12510]
54722         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54723         copy from the symbol referenced in the relocation to initialize the
54724         used variable.
54725         Patch by Piotr Bury <pbury@goahead.com>.
54726         * elf/Makefile: Add rules to build and tst-unique3.
54727         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54728         * elf/tst-unique3.cc: New file.
54729         * elf/tst-unique3.h: New file.
54730         * elf/tst-unique3lib.cc: New file.
54731         * elf/tst-unique3lib2.cc: New file.
54733         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54735 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54737         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54738         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54739         to _start.
54741 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54743         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54744         to-be-loaded object along a path to loader is ld.so.
54746 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54747             Ulrich Drepper  <drepper@gmail.com>
54749         * sysdeps/x86_64/memset.S: After aligning destination, code
54750         branches to different locations depending on the value of
54751         misalignment, when multiarch is enabled. Fix this.
54753 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54755         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54756         Set _x86_64_preferred_memory_instruction for AMD processsors.
54757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54758         Set bit_Prefer_SSE_for_memop for AMD processors.
54760 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54762         * libio/fmemopen.c (fmemopen): Optimize a bit.
54764 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54766         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54768 2011-03-03  Roland McGrath  <roland@redhat.com>
54770         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54772 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54774         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54775         __bzero_ultra1 instead of __memset_ultra1.
54777 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54778             Ulrich Drepper  <drepper@gmail.com>
54780         [BZ #12509]
54781         * include/link.h (struct link_map): Add l_orig_initfini.
54782         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54783         returning unsuccessfully.
54784         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54785         close of a file loaded at startup, restore the original l_initfini
54786         list.
54787         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54788         list, store the pointer.
54789         * elf/Makefile ($(objpfx)noload-mem): New rule.
54790         (noload-ENV): Define.
54791         (tests): Add $(objpfx)noload-mem.
54792         * elf/noload.c: Include <memcheck.h>.
54793         (main): Call mtrace.  Close all opened handles.
54795 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54797         [BZ #12454]
54798         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54799         dependencies are missing.
54801 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54803         Fix __if_freereq crash: Unlike the generic version which uses free,
54804         Hurd needs munmap.
54805         * sysdeps/mach/hurd/ifreq.h: New file.
54807 2011-01-27  Petr Baudis  <pasky@suse.cz>
54808             Ulrich Drepper  <drepper@gmail.com>
54810         [BZ 12445]#
54811         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54812         to extend_alloca().
54813         * stdio-common/bug23.c: New file.
54814         * stdio-common/Makefile (tests): Add bug23.
54816 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54817             Ulrich Drepper  <drepper@gmail.com>
54819         [BZ #12489]
54820         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54821         before performing relro protection.  At old place add assertion
54822         to make sure nothing changed.
54824 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54825             Glauber de Oliveira Costa  <glommer@gmail.com>
54827         * elf/elf.h: Add new ARM TLS relocs.
54829 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54832         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54833         cast from r3.
54834         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54835         'tests' variable.
54836         * sysdeps/wordsize-64/tst-writev.c: New file.
54838 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54840         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54841         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54842         insns in _dl_start to prevent a TOC reference before relocs are
54843         resolved.
54845 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54847         [BZ #12469]
54848         * Makeconfig: Remove RANLIB definition.
54849         * Makerules: Don't use RANLIB.
54850         * aclocal.m4: Remove ranlib test.
54851         * configure.in: No need to check for ranlib.
54852         * elf/rtld-Rules: Don't use RANLIB.
54854 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54856         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54857         protection macro.
54858         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54859         inclusion protection macro.
54861         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54862         SIGRTMIN and SIGRTMAX and print information in that case only when
54863         SIGRTMIN is defined.
54865 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54867         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54868         arginfo fn returning -1.
54870         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54871         and thousands string is zero terminated.
54873 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54875         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54876         sysdeps/unix/sysv/linux/bits/socket.h.
54878 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54880         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54881         (__CPU_COUNT): Remove old macros.
54882         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54883         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54884         (__CPU_ALLOC, __CPU_FREE): Add macros.
54885         (__sched_cpualloc, __sched_cpufree): Add declarations.
54887 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54889         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54890         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54891         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54892         (readdhstai): Return value of addhstaiX call.
54893         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54894         (addgrbyX): Return value returned by cache_addgr.
54895         (readdgrbyname): Return value returned by addgrbyX.
54896         (readdgrbygid): Likewise.
54897         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54898         (addpwbyX): Return value returned by cache_addpw.
54899         (readdpwbyname): Return value returned by addhstbyX.
54900         (readdpwbyuid): Likewise.
54901         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54902         (addservbyX): Return value returned by cache_addserv.
54903         (readdservbyname): Return value returned by addservbyX:
54904         (readdservbyport): Likewise.
54905         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54906         (addhstbyX): Return value returned by cache_addhst.
54907         (readdhstbyname): Return value returned by addhstbyX.
54908         (readdhstbyaddr): Likewise.
54909         (readdhstbynamev6): Likewise.
54910         (readdhstbyaddrv6): Likewise.
54911         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54912         (readdinitgroups): Return value returned by addinitgroupsX.
54913         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54914         (prune_cache): Keep track of timeout value of re-added entries.
54915         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54916         * nscd/nscd.h: Adjust prototypes of readd* functions.
54918 2011-02-04  Roland McGrath  <roland@redhat.com>
54920         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54921         (nis_stats): Likewise.
54922         * nis/nis_modify.c (nis_modify): Likewise.
54923         * nis/nis_remove.c (nis_remove): Likewise.
54924         * nis/nis_add.c (nis_add): Likewise.
54926         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54928         * posix/fnmatch_loop.c: Add some consts.
54930         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54932 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54934         [BZ #12460]
54935         * config.make.in (config-cflags-novzeroupper): Define.
54936         * configure.in: Substitute libc_cv_cc_novzeroupper.
54937         * elf/Makefile (AVX-CFLAGS): Define.
54938         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54939         (CFLAGS-tst-auditmod4a.c): Likewise.
54940         (CFLAGS-tst-auditmod4b.c): Likewise.
54941         (CFLAGS-tst-auditmod6b.c): Likewise.
54942         (CFLAGS-tst-auditmod6c.c): Likewise.
54943         (CFLAGS-tst-auditmod7b.c): Likewise.
54944         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54946 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54948         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54949         function to the callback.
54950         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54952 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54954         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54955         of errno.
54957 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54959         [BZ #11724]
54960         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54961         of constructors.
54962         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54963         of destructors.
54964         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54966         [BZ #11724]
54967         * elf/Makefile: Add rules to build and run new test.
54968         * elf/tst-initorder.c: New file.
54969         * elf/tst-initorder.exp: New file.
54970         * elf/tst-initordera1.c: New file.
54971         * elf/tst-initordera2.c: New file.
54972         * elf/tst-initordera3.c: New file.
54973         * elf/tst-initordera4.c: New file.
54974         * elf/tst-initorderb1.c: New file.
54975         * elf/tst-initorderb2.c: New file.
54976         * elf/tst-order-a1.c: New file.
54977         * elf/tst-order-a2.c: New file.
54978         * elf/tst-order-a3.c: New file.
54979         * elf/tst-order-a4.c: New file.
54980         * elf/tst-order-b1.c: New file.
54981         * elf/tst-order-b2.c: New file.
54982         * elf/tst-order-main.c: New file.
54983         New test case by George Gensure <werkt0@gmail.com>.
54985 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54988         decoding ACE if AI_CANONIDN.
54990 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54992         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54994 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54996         * version.h (RELEASE): Bump for 2.13 release.
54997         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54999         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55001         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55002         MADV_NOHUGEPAGE.
55003         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55004         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55005         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55006         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55007         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55008         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55010         * posix/getconf.c: Update copyright year.
55011         * catgets/gencat.c: Likewise.
55012         * csu/version.c: Likewise.
55013         * debug/catchsegv.sh: Likewise.
55014         * debug/xtrace.sh: Likewise.
55015         * elf/ldconfig.c: Likewise.
55016         * elf/ldd.bash.in: Likewise.
55017         * elf/sprof.c (print_version): Likewise.
55018         * iconv/iconv_prog.c: Likewise.
55019         * iconv/iconvconfig.c: Likewise.
55020         * locale/programs/locale.c: Likewise.
55021         * locale/programs/localedef.c: Likewise.
55022         * malloc/memusage.sh: Likewise.
55023         * malloc/mtrace.pl: Likewise.
55024         * nscd/nscd.c (print_version): Likewise.
55025         * nss/getent.c: Likewise.
55027         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55028         PF_CAIF, and PF_ALG.
55029         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55031 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55033         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55034         (modules-names): Use them.
55035         (ifunc-test-modules, ifunc-pie-tests): Define.
55036         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55037         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55038         (test-extras): Likewise.
55039         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55040         $(compile-command.c).
55041         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55042         (all-built-dso): Define.
55043         (check-textrel.out, check-execstack.out): Depend on it.
55045         * configure.in: Don't override --enable-multi-arch.
55047 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55049         [BZ #6812]
55050         * nscd/hstcache.c (tryagain): Define.
55051         (cache_addhst): Return tryagain not notfound for temporary errors.
55052         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55053         failed.
55055 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55057         [BZ #10563]
55058         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55059         to make the syscall.
55060         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55062         [BZ #12378]
55063         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55064         and fall back to matching as normal character if the string ends before
55065         the matching ']' is found.  This is what POSIX requires.
55066         * posix/testfnm.c: Adjust test result.
55067         * posix/globtest.sh: Adjust test result.  Add new test.
55068         * posix/tst-fnmatch.input: Likewise.
55069         * posix/tst-fnmatch2.c: Add new test.
55071 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55073         * elf/Makefile (check-execstack): Revert last change.  Depend on
55074         check-execstack.h.
55075         (check-execstack.h): New target.
55076         (generated): Add check-execstack.h.
55077         * elf/check-execstack.c: Include "check-execstack.h".
55078         (main): Revert last change.
55079         (handle_file): Return zero if GNU_STACK is absent and
55080         DEFAULT_STACK_PERMS doesn't include PF_X.
55082 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55084         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55085         in child fails because the descriptor is already closed.
55086         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55087         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55088         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55090         [BZ #12397]
55091         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55092         syscall.
55094         [BZ #10484]
55095         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55096         temporary buffer used to handle multi lookups locally.
55097         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55099 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55101         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55102         loader is ld.so.
55104 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55106         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55107         alignment for SSE2.
55109 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55111         [BZ #12394]
55112         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55113         characters.  When rounding increased number of integer digits recompute
55114         number of groups.
55115         * stdio-common/tst-grouping.c: New file.
55116         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55118 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55120         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55121         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55123         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55124         void.
55125         * bits/select.h: Likewise.
55127 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55129         * po/ja.po: Update from translation team.
55131 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55133         [BZ #11155]
55134         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55135         implementation just like for lxstat, fxstatat, et al.
55137 2010-12-27  Jim Meyering  <meyering@redhat.com>
55139         [BZ #12348]
55140         * posix/regexec.c (build_trtable): Return failure indication upon
55141         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55143 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55145         [BZ #12201]
55146         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55147         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55148         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55149         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55151         [BZ #12207]
55152         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55154         [BZ #12204]
55155         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55156         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55158 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55160         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55161         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55162         script has SORT_BY_INIT_PRIORITY.
55163         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55164         NO_CTORS_DTORS_SECTIONS is defined.
55165         * elf/soinit.c: Likewise.
55166         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55167         NO_CTORS_DTORS_SECTIONS is defined.
55168         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55169         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55170         * sysdeps/sh/init-first.c: Likewise.
55171         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55173 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55175         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55176         always use the slow path.
55178 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55180         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55181         similar rule which adds the sysdep directories to the header search in
55182         order to pick up the correct platform stackinfo.h.
55183         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55184         perform test if it is, otherwise return successfully without testing.
55185         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55186         DEFAULT_STACK_PERMS define in stackinfo.h.
55187         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55188         defined in stackinfo.h.
55189         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55190         DEFAULT_STACK_PERMS defined in stackinfo.h.
55191         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55192         * sysdeps/ia64/stackinfo.h: Likewise.
55193         * sysdeps/s390/stackinfo.h: Likewise.
55194         * sysdeps/sh/stackinfo.h: Likewise.
55195         * sysdeps/sparc/stackinfo.h: Likewise.
55196         * sysdeps/x86_64/stackinfo.h: Likewise.
55197         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55198         PF_X for powerpc64.  Retain PF_X for powerpc32.
55200 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55202         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55203         accurately.
55204         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55205         GETDENTS_64BIT_ALIGNED.
55207 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55209         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55211 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55213         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55214         _GNU_SOURCE.
55216         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55217         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55218         Remove __restrict.
55219         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55220         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55222 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55224         [BZ #11655]
55225         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55226         are initialized.
55228 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55230         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55232 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55234         * po/it.po: Update from translation team.
55236 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55238         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55239         unused codes.
55241 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55243         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55245 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55247         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55248         specially.
55249         (gaih_getanswer_slice): Likewise.
55251 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55255 2010-05-31  Petr Baudis  <pasky@suse.cz>
55257         [BZ #11149]
55258         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55259         silently even in the chroot mode.
55261 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55263         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55264         last patch a bit.  Pretty printing
55266 2010-05-31  Petr Baudis <pasky@suse.cz>
55268         [BZ #10085]
55269         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55270         initialization of skip_initgroups_dyn.
55272 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55274         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55275         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55277 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55279         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55281 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55283         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55284         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55285         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55286         ($(objpfx)tst-fnmatch-mem): New rule.
55287         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55288         * posix/tst-fnmatch.c (main): Call mtrace.
55290 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55293         Support Intel processor model 6 and model 0x2c.
55295 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55297         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55298           signed comparison.
55300 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55302         [BZ #12205]
55303         * string/test-strncasecmp.c (check_result): New function.
55304         (do_one_test): Use it.
55305         (check1): New function.
55306         (test_main): Use it.
55307         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55308         Support strcasecmp and strncasecmp.
55310 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55312         [BZ #12194]
55313         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55314         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55316 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55318         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55319         IFUNC support.
55320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55321         memset-x86-64.
55322         * sysdeps/x86_64/multiarch/bzero.S: New file.
55323         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55324         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55325         * sysdeps/x86_64/multiarch/memset.S: New file.
55326         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55328         Set bit_Prefer_SSE_for_memop for Intel processors.
55329         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55330         Define.
55331         (index_Prefer_SSE_for_memop): Define.
55332         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55334 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55336         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55337         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55339 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55341         [BZ #12191]
55342         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55343         (__x86_64_raw_data_cache_size_half): Likewise.
55344         (__x86_64_raw_shared_cache_size): Likewise.
55345         (__x86_64_raw_shared_cache_size_half): Likewise.
55347         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55348         (__x86_64_raw_data_cache_size_half): Likewise.
55349         (__x86_64_raw_shared_cache_size): Likewise.
55350         (__x86_64_raw_shared_cache_size_half): Likewise.
55351         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55352         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55353         and __x86_64_raw_shared_cache_size_half.  Round
55354         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55355         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55356         to multiple of 256 bytes.
55358 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55360         [BZ #12167]
55361         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55362         of inacessible symlinks.  Verify result of symlink before returning it.
55363         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55364         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55366 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55368         * math/math.h (isinf): Fix typo in comment.
55370 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55372         * po/da.po: Update from translation team.
55374 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55376         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55377         is added to the list.
55379 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55380             Ulrich Drepper  <drepper@gmail.com>
55382         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55383         the global list here.  Move code to...
55384         (_dl_add_to_namespace_list): ...here.  New function.
55385         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55386         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55387         * elf/dl-load.c (lose): Don't remove the element from the list.
55388         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55389         (_dl_map_object): Likewise.
55391 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55393         [BZ #12159]
55394         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55395         into all bytes of SSE register.
55396         Patch by Richard Li <richardpku@gmail.com>.
55398 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55400         [BZ #12140]
55401         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55402         perturbing.
55404 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55406         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55407         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55408         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55409         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55411         submachine.
55412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55414 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55416         * include/dlfcn.h (__RTLD_SECURE): Define.
55417         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55418         mode & __RTLD_SECURE instead.
55419         (open_path): Rename preloaded parameter to secure.
55420         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55421         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55422         * elf/dl-deps.c (openaux): Likewise.
55423         * elf/rtld.c (struct map_args): Remove is_preloaded.
55424         (map_doit): Don't use it.
55425         (dl_main): Likewise.
55426         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55427         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55429 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55431         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55432         (sysd-rules-targets): Remove duplicates.
55433         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55434         rtld-%.$o dependency.
55436 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55438         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55439         _dl_map_object do it.
55441 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55443         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55444         fast fma builtins, define the macros in the C99 standard.
55445         (FP_FAST_FMAF): Likewise.
55446         (FP_FAST_FMAL): Likewise.
55447         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55449         * bits/mathdef.h: Update copyright year.
55450         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55452 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55454         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55455         builtins, define the macros in the C99 standard.
55456         (FP_FAST_FMAF): Likewise.
55457         (FP_FAST_FMAL): Likewise.
55458         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55459         multiply/add.
55460         (FP_FAST_FMAF): Likewise.
55462 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55464         [BZ #3268]
55465         * math/libm-test.inc (fma_test): Some new testcases.
55466         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55467         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55468         y and infinite z.  Do multiplication by C already in long double.
55469         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55471         y and infinite z.  Do bitwise or of inexact bit into u.d.
55472         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55473         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55474         * sysdeps/i386/fpu/s_fma.S: Removed.
55475         * sysdeps/i386/fpu/s_fmal.S: Removed.
55477 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55479         [BZ #3268]
55480         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55482         computation is not scheduled after fetestexcept.  Fix value
55483         of minimum denormal long double.
55485 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55487         [BZ #3268]
55488         * math/libm-test.inc (fma_test): Add some more tests.
55489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55490         correctly.
55492 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55494         * scripts/data/localplt-s390-linux-gnu.data: New file.
55495         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55497 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55499         [BZ #3268]
55500         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55501         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55502         instead of dbl-64.
55503         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55504         inlines.
55505         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55507         if one of x and y is very large and the other is subnormal.
55508         * sysdeps/s390/fpu/s_fmaf.c: New file.
55509         * sysdeps/s390/fpu/s_fma.c: New file.
55510         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55511         * sysdeps/powerpc/fpu/s_fma.S: New file.
55512         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55513         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55514         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55516 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55518         [BZ #3268]
55519         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55520         fma tests.
55521         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55522         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55523         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55524         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55525         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55526         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55527         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55529 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55531         [BZ #12078]
55532         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55533         * posix/bug-regex31.input: Add test case.
55535 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55537         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55538         * posix/bug-regex31.input: New file.
55540         [BZ #12078]
55541         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55542         (parse_sub_exp): Fix last change, use postorder.
55544         * posix/bug-regex31.c: New file.
55545         * posix/Makefile: Add rules to build and run bug-regex31.
55547         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55549         [BZ #12078]
55550         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55552         [BZ #12108]
55553         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55554         to have entries in sys_siglist.
55556         [BZ #12093]
55557         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55558         be NULL.
55560 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55562         [BZ #3268]
55563         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55564         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55565         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55566         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55567         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55568         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55569         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55570         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55571         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55572         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55573         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55574         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55575         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55576         * math/ftestexcept.c (fetestexcept): Likewise.
55577         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55578         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55579         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55580         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55581         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55582         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55583         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55585 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55587         [BZ #12107]
55588         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55589         newline.
55591 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55593         * string/bug-strstr1.c: New file.
55594         * string/Makefile: Add rules to build and run bug-strstr1.
55596 2010-10-05  Eric Blake  <eblake@redhat.com>
55598         [BZ #12092]
55599         * string/str-two-way.h (two_way_long_needle): Always clear memory
55600         when skipping input due to the shift table.
55602 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55604         [BZ #12005]
55605         * malloc/mcheck.c: Handle large requests.
55607         [BZ #12077]
55608         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55609         for strncmp and strncasecmp.
55610         * string/stratcliff.c: Add tests for strcmp and strncmp.
55611         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55613 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55615         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55616         __set_fpscr.
55618 2010-09-30  Andreas Jaeger  <aj@suse.de>
55620         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55621         (CGROUP_SUPER_MAGIC): Define.
55622         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55623         Handle btrfs and cgroup file systems.
55624         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55625         Likewise.
55627 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55629         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55630         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55632 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55634         [BZ #12067]
55635         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55636         trying to locate the ELF header.
55638 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55640         [BZ #11611]
55641         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55642         Mask out sign-bit copies when constructing f_fsid.
55644 2010-09-24  Petr Baudis <pasky@suse.cz>
55646         * debug/stack_chk_fail_local.c: Add missing licence exception.
55647         * debug/warning-nop.c: Likewise.
55649 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55651         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55652         implementing getdents64 using getdents syscall, set d_type if
55653         __ASSUME_GETDENTS32_D_TYPE.
55655 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55657         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55658         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55660 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55662         [BZ #12037]
55663         * posix/unistd.h: Undo change of feature selection for ftruncate from
55664         2010-01-11.
55666 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55668         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55669         detection.
55671 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55673         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55674         fanotify_mark.
55675         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55677 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55679         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55680         variables after CHECK_SP call.
55681         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55683 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55684             Ulrich Drepper  <drepper@redhat.com>
55686         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55687         re-relocationg ld.so.
55688         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55689         _dl_init_paths call.
55690         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55691         here anymore.
55693 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55695         * resolv/res_init.c (__res_vinit): Count the default server we added.
55697 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55698             Ulrich Drepper  <drepper@redhat.com>
55700         [BZ #11968]
55701         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55702         (____longjmp_chk): Use %ebx for saving value across system call.
55703         Add unwind info.
55705 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55707         * manual/Makefile: Don't mix pattern rules with normal rules.
55709 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55711         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55712         operation.
55713         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55714         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55715         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55716         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55717         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55718         Likewise.
55720 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55722         [BZ #11979]
55723         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55724         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55726 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55728         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55729         * sysdeps/x86_64/addmul_1.S: Likewise.
55730         * sysdeps/x86_64/lshift.S: Likewise.
55731         * sysdeps/x86_64/mul_1.S: Likewise.
55732         * sysdeps/x86_64/rshift.S: Likewise.
55733         * sysdeps/x86_64/sub_n.S: Likewise.
55734         * sysdeps/x86_64/submul_1.S: Likewise.
55736 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55738         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55739         Define __sched_param instead of SCHED_* and sched_param when
55740         <bits/sched.h> is included with __need_schedparam defined.
55741         * bits/sched.h [__need_schedparam]
55742         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55743         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55744         (__defined_schedparam): Define to 1.
55745         (__sched_param): New structure, identical to sched_param.
55746         (__need_schedparam): Undefine.
55748 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55750         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55751         (epoll_create1): Declare.
55753         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55755 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55757         [BZ #7066]
55758         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55759         shifting retval into place.
55761 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55763         * nis/rpcsvc/nis.h: Update copyright notice.
55764         * nis/rpcsvc/nis.x: Likewise.
55765         * nis/rpcsvc/nis_callback.h: Likewise.
55766         * nis/rpcsvc/nis_callback.x: Likewise.
55767         * nis/rpcsvc/nis_object.x: Likewise.
55768         * nis/rpcsvc/nis_tags.h: Likewise.
55769         * nis/rpcsvc/yp.h: Likewise.
55770         * nis/rpcsvc/yp.x: Likewise.
55771         * nis/rpcsvc/ypupd.h: Likewise.
55772         * nis/yp_xdr.c: Likewise.
55773         * nis/ypupdate_xdr.c: Likewise.
55775         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55776         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55777         (pmap_getport): Use __libc_rpc_getport.
55778         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55779         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55780         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55782 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55785         fanotify_mark.
55787 2010-08-27  Roland McGrath  <roland@redhat.com>
55789         * sysdeps/i386/i686/multiarch/Makefile
55790         (CFLAGS-varshift.c): New variable.
55792 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55794         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55795         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55797         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55799         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55801 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55803         * sysdeps/x86_64/strlen.S: Unroll the loop.
55804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55805         strlen-sse2 strlen-sse2-bsf.
55806         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55807         __strlen_no_bsf if bit_Slow_BSF is set.
55808         (__strlen_sse42): Removed.
55809         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55810         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55812 2010-08-25  Roland McGrath  <roland@redhat.com>
55814         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55815         * sysdeps/x86_64/multiarch/varshift.c: New file.
55816         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55817         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55818         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55819         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55821 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55824         strlen-sse2 strlen-sse2-bsf.
55825         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55826         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55827         (__strlen_sse2): Removed.
55828         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55829         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55831         bit_Slow_BSF for Atom.
55832         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55833         (index_Slow_BSF): Define.
55834         (HAS_SLOW_BSF): Define.
55836 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55838         [BZ #10851]
55839         * resolv/res_init.c (__res_vinit): When no server address at all
55840         is given default to loopback.
55842 2010-08-24  Roland McGrath  <roland@redhat.com>
55844         * configure.in: Remove config-name.h generation.
55845         * configure: Regenerated.
55846         * config-name.in: File removed.
55847         * scripts/config-uname.sh: New file.
55848         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55849         ($(objdir)config-name.h): New target.
55851         * sunrpc/rpc_parse.h: Avoid nested comment.
55853 2010-08-24  Richard Henderson  <rth@redhat.com>
55854             Ulrich Drepper  <drepper@redhat.com>
55855             H.J. Lu  <hongjiu.lu@intel.com>
55857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55859         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55860         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55861         _mm_alignr_epi8 with _mm_loadu_si128.
55862         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55863         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55864         (__m128i_shift_right): Removed.
55865         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55866         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55867         * sysdeps/x86_64/multiarch/varshift.h: New file.
55868         * sysdeps/x86_64/multiarch/varshift.S: New file.
55870 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55872         * configure.in: Move assembler checks to before sysdep dir checking.
55874 2010-08-20  Petr Baudis  <pasky@suse.cz>
55876         * LICENSES: Sync the sunrpc license.
55878 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55880         * sunrpc/auth_des.c: Update copyright notice once again.
55881         * sunrpc/auth_none.c: Likewise.
55882         * sunrpc/auth_unix.c: Likewise.
55883         * sunrpc/authdes_prot.c: Likewise.
55884         * sunrpc/authuxprot.c: Likewise.
55885         * sunrpc/bindrsvprt.c: Likewise.
55886         * sunrpc/clnt_gen.c: Likewise.
55887         * sunrpc/clnt_perr.c: Likewise.
55888         * sunrpc/clnt_raw.c: Likewise.
55889         * sunrpc/clnt_simp.c: Likewise.
55890         * sunrpc/clnt_tcp.c: Likewise.
55891         * sunrpc/clnt_udp.c: Likewise.
55892         * sunrpc/clnt_unix.c: Likewise.
55893         * sunrpc/des_crypt.c: Likewise.
55894         * sunrpc/des_soft.c: Likewise.
55895         * sunrpc/get_myaddr.c: Likewise.
55896         * sunrpc/getrpcport.c: Likewise.
55897         * sunrpc/key_call.c: Likewise.
55898         * sunrpc/key_prot.c: Likewise.
55899         * sunrpc/openchild.c: Likewise.
55900         * sunrpc/pm_getmaps.c: Likewise.
55901         * sunrpc/pm_getport.c: Likewise.
55902         * sunrpc/pmap_clnt.c: Likewise.
55903         * sunrpc/pmap_prot.c: Likewise.
55904         * sunrpc/pmap_prot2.c: Likewise.
55905         * sunrpc/pmap_rmt.c: Likewise.
55906         * sunrpc/rpc/auth.h: Likewise.
55907         * sunrpc/rpc/auth_unix.h: Likewise.
55908         * sunrpc/rpc/clnt.h: Likewise.
55909         * sunrpc/rpc/des_crypt.h: Likewise.
55910         * sunrpc/rpc/key_prot.h: Likewise.
55911         * sunrpc/rpc/netdb.h: Likewise.
55912         * sunrpc/rpc/pmap_clnt.h: Likewise.
55913         * sunrpc/rpc/pmap_prot.h: Likewise.
55914         * sunrpc/rpc/pmap_rmt.h: Likewise.
55915         * sunrpc/rpc/rpc.h: Likewise.
55916         * sunrpc/rpc/rpc_des.h: Likewise.
55917         * sunrpc/rpc/rpc_msg.h: Likewise.
55918         * sunrpc/rpc/svc.h: Likewise.
55919         * sunrpc/rpc/svc_auth.h: Likewise.
55920         * sunrpc/rpc/types.h: Likewise.
55921         * sunrpc/rpc/xdr.h: Likewise.
55922         * sunrpc/rpc_clntout.c: Likewise.
55923         * sunrpc/rpc_cmsg.c: Likewise.
55924         * sunrpc/rpc_common.c: Likewise.
55925         * sunrpc/rpc_cout.c: Likewise.
55926         * sunrpc/rpc_dtable.c: Likewise.
55927         * sunrpc/rpc_hout.c: Likewise.
55928         * sunrpc/rpc_main.c: Likewise.
55929         * sunrpc/rpc_parse.c: Likewise.
55930         * sunrpc/rpc_parse.h: Likewise.
55931         * sunrpc/rpc_prot.c: Likewise.
55932         * sunrpc/rpc_sample.c: Likewise.
55933         * sunrpc/rpc_scan.c: Likewise.
55934         * sunrpc/rpc_scan.h: Likewise.
55935         * sunrpc/rpc_svcout.c: Likewise.
55936         * sunrpc/rpc_tblout.c: Likewise.
55937         * sunrpc/rpc_util.c: Likewise.
55938         * sunrpc/rpc_util.h: Likewise.
55939         * sunrpc/rpcinfo.c: Likewise.
55940         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55941         * sunrpc/rpcsvc/key_prot.x: Likewise.
55942         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55943         * sunrpc/rpcsvc/mount.x: Likewise.
55944         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55945         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55946         * sunrpc/rpcsvc/rex.x: Likewise.
55947         * sunrpc/rpcsvc/rstat.x: Likewise.
55948         * sunrpc/rpcsvc/rusers.x: Likewise.
55949         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55950         * sunrpc/rpcsvc/spray.x: Likewise.
55951         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55952         * sunrpc/rtime.c: Likewise.
55953         * sunrpc/svc.c: Likewise.
55954         * sunrpc/svc_auth.c: Likewise.
55955         * sunrpc/svc_authux.c: Likewise.
55956         * sunrpc/svc_raw.c: Likewise.
55957         * sunrpc/svc_run.c: Likewise.
55958         * sunrpc/svc_simple.c: Likewise.
55959         * sunrpc/svc_tcp.c: Likewise.
55960         * sunrpc/svc_udp.c: Likewise.
55961         * sunrpc/svc_unix.c: Likewise.
55962         * sunrpc/svcauth_des.c: Likewise.
55963         * sunrpc/xcrypt.c: Likewise.
55964         * sunrpc/xdr.c: Likewise.
55965         * sunrpc/xdr_array.c: Likewise.
55966         * sunrpc/xdr_float.c: Likewise.
55967         * sunrpc/xdr_mem.c: Likewise.
55968         * sunrpc/xdr_rec.c: Likewise.
55969         * sunrpc/xdr_ref.c: Likewise.
55970         * sunrpc/xdr_sizeof.c: Likewise.
55971         * sunrpc/xdr_stdio.c: Likewise.
55973         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55974         handling.
55976 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55978         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55980 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55982         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55983         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55984         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55985         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55986         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55987         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55988         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55989         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55990         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55991         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55992         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55993         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55994         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55995         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55997 2010-07-26  Anton Blanchard  <anton@samba.org>
55999         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56000         * malloc/arena.c (heap_trim): Likewise.
56002 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56004         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56005         here.  Not...
56006         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56007         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56009 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56011         * sysdeps/i386/elf/Makefile: New file.
56013 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56015         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56016         from fanotify_init.
56017         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56018         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56020 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56022         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56023         of strncasecmp_l.
56024         * sysdeps/multiarch/strcmp.S: Likewise.
56026 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56028         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56029         strncase_l-nonascii.
56030         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56031         Add strncase_l-ssse3.
56032         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56033         * sysdeps/x86_64/strcmp.S: Likewise.
56034         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56035         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56036         * sysdeps/x86_64/strncase.S: New file.
56037         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56038         * sysdeps/x86_64/strncase_l.S: New file.
56039         * string/Makefile (strop-tests): Add strncasecmp.
56040         * string/test-strncasecmp.c: New file.
56042         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56043         warning.
56045         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56046         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56048 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56050         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56052 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56054         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56055         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56056         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56058 2010-05-01  Alan Modra  <amodra@gmail.com>
56060         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56061         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56062         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56063         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56064         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56065         tidying.  Don't tail-call __sigjmp_save for static lib.
56066         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56067         save location.
56068         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56069         (CALL_MCOUNT): Add eh info, and nop after bl.
56070         (TAIL_CALL_SYSCALL_ERROR): New macro.
56071         (PSEUDO_RET): Use it.
56072         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56073         Correct save location of integer regs and cr.
56074         (_dl_profile_resolve): Correct cr save location.  Delete nops
56075         after bl when SHARED.  Reduce cfi size a little by better
56076         placement of cfi directives.
56077         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56078         make a stack frame.  Instead use parm save area as a temp.
56079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56080         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56082         Don't make a stack frame for parent, use parm save area.
56083         Increase child stack frame to 112 bytes.  Don't save unused reg,
56084         and adjust reg usage.  Set up cfi on error recovery and
56085         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56087         (__makecontext): Add dummy nop after jump to exit.
56088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56089         Use correct parm save area and cr save, reduce stack frame.
56090         Correct cfi for possible PSEUDO_RET frame setup.
56091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56092         Branch to local label emitted by PSEUDO_RET rather than
56093         __syscall_error.
56095 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56097         [BZ #11904]
56098         * locale/programs/locale.c (print_assignment): New function.
56099         (show_locale_vars): Use it.
56101 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56103         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56104         field.
56105         (struct statfs64): Likewise.
56106         (_STATFS_F_FLAGS): Define.
56107         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56108         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56109         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56110         (ST_VALID): Define locally.
56111         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56112         __statvfs_getflags, use the provided value.
56113         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56114         __ASSUME_STATFS_F_FLAGS.
56116         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56118         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56119         Add sys/fanotify.h.
56120         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56121         fanotify_mask for GLIBC_2.13.
56122         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56123         fanotify_init and fanotify_mark.
56124         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56125         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56127         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56128         Add prlimit.
56129         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56130         prlimit64 for GLIBC_2.13.
56131         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56132         prlimit64.
56133         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56134         syscall.
56135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56136         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56137         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56138         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56139         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56140         add prlimit alias.
56141         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56143         [BZ #11903]
56144         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56145         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56147         * nss/Makefile: Add rules to build and run tst-nss-test1.
56148         * shlib-versions: Add entry for libnss_test1.
56149         * nss/nss_test1.c: New file.
56150         * nss/tst-nss-test1.c: New file.
56152         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56153         (__nss_configure_lookup): Set appropriate entry in
56154         __nss_configure_lookup to true.
56155         * nss/nsswitch.h: Define enum with indeces of databases in
56156         databases and __nss_database_custom arrays.  Declare
56157         __nss_database_custom.
56158         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56159         to avoid using nscd when custom rules are installed.
56160         * nss/getXXbyYY_r.c: Likewise.
56161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56163         * nss/nss_files/files-parse.c: Whitespace fixes.
56165 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56167         [BZ #11883]
56168         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56169         * posix/fnmatch_loop.c: Likewise.
56171 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56173         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56174         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56175         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56176         * Versions.def [GLIBC_2.13]: Add.
56178 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56180         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56181         Also fail if tpwd after pwuid call is NULL.
56183 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56185         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56186         when converting to ms.
56188 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56190         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56191         EOPNOTSUPP errors with ENOTTY.
56192         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56193         EOPNOTSUPP errors with ENOTTY.
56195 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56197         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56198         Add strcasecmp_l-ssse3.
56199         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56200         strcasecmp.
56201         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56202         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56203         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56205 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56207         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56209         * string/Makefile (strop-tests): Add strcasecmp.
56210         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56211         strcasecmp_l-nonascii.
56212         (gen-as-const-headers): Add locale-defines.sym.
56213         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56214         * sysdeps/x86_64/strcasecmp.S: New file.
56215         * sysdeps/x86_64/strcasecmp_l.S: New file.
56216         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56217         * sysdeps/x86_64/locale-defines.sym: New file.
56218         * string/test-strcasecmp.c: New file.
56220         * string/test-strcasestr.c: Test both ends of the range of characters.
56221         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56223 2010-07-29  Roland McGrath  <roland@redhat.com>
56225         [BZ #11856]
56226         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56228 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56230         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56231         for ld.so.
56233 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56235         * manual/memory.texi (Malloc Tunable Parameters): Document
56236         M_PERTURB.
56238 2010-07-26  Roland McGrath  <roland@redhat.com>
56240         [BZ #11840]
56241         * configure.in (-fgnu89-inline check): Set and substitute
56242         gnu89_inline, not libc_cv_gnu89_inline.
56243         * configure: Regenerated.
56244         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56246 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56248         * string/test-strnlen.c: New file.
56249         * string/Makefile (strop-tests): Add strnlen.
56250         * string/tester.c (test_strnlen): Add a few more test cases.
56251         * string/tst-strlen.c: Better error reporting.
56253         * sysdeps/x86_64/strnlen.S: New file.
56255 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56257         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56258         lower-latency instructions.
56260 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56262         * string/test-strcasestr.c: New file.
56263         * string/test-strstr.c: New file.
56264         * string/Makefile (strop-tests): Add strstr and strcasestr.
56265         * string/str-two-way.h: Don't undefine MAX.
56266         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56268 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56270         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56271         strcasestr-nonascii.
56272         (CFLAGS-strcasestr-nonascii.c): Define.
56273         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56274         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56275         Remove unused attribute.
56277 2010-07-20  Roland McGrath  <roland@redhat.com>
56279         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56280         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56281         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56282         like LD_HWCAP_MASK can disable hwcaps.
56284 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56286         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56288 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56290         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56291         call in strcasestr.
56292         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56293         __strcasestr_sse42_nonascii.
56294         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56295         strcasestr-nonascii.c.
56296         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56298 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56300         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56301         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56302         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56303         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56305 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56307         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56308         fcntl.
56310 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56312         [BZ #11577]
56313         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56314         dl_signal_cerror.
56316 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56318         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56319         _PC_PIPE_BUF using F_GETPIPE_SZ.
56321 2010-07-05  Roland McGrath  <roland@redhat.com>
56323         * manual/arith.texi (Rounding Functions): Fix rint description
56324         implicit in round description.
56326 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56328         * elf/Makefile: Fix linking for a few tests to make recent linker
56329         happy.
56331 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56333         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56334         $(common-objpfx)libc_nonshared.a.
56336 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56338         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56339         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56340         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56341         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56342         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56343         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56344         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56345         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56360         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56361         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56362         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56363         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56364         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56365         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56366         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56367         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56368         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56369         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56370         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56371         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56387 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56389         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56390         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56391         * string/memmove.c (memmove): Renamed to ...
56392         (MEMMOVE): ...this.  Default to memmove.
56393         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56394         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56395         (END_CHK): Define.
56396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56397         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56398         mempcpy-ssse3-back memmove-ssse3-back.
56399         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56400         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56401         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56402         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56403         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56404         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56405         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56406         * sysdeps/x86_64/multiarch/memmove.c: New file.
56407         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56408         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56409         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56410         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56411         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56412         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56413         Define.
56414         (index_Fast_Copy_Backward): Define.
56415         (HAS_ARCH_FEATURE): Define.
56416         (HAS_FAST_REP_STRING): Define.
56417         (HAS_FAST_COPY_BACKWARD): Define.
56419 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56421         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56422         Restore proper fallback handling.
56424 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56426         [BZ #11701]
56427         * posix/group_member.c (__group_member): Correct checking loop.
56429         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56430         OOM in getpwuid_r correctly.  Return error number when the caller
56431         should return, otherwise -1.
56432         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56433         call returning > 0 value.
56434         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56436 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56438         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56439         libc_nonshared.a from targets in modules-names.
56441 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56443         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56444         requires it.
56446 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56448         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56449         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56450         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56453 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56455         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56457 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56459         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56460         and F_GETPIPE_SZ.
56461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56462         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56464         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56466         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56468 2010-06-14  Roland McGrath  <roland@redhat.com>
56470         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56472 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56474         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56475         __REDIRECT followed by __THROW.
56476         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56477         * posix/getopt.h (getopt): Likewise.
56479 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56481         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56482         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56483         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56484         in AT_FLAGS.
56485         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56486         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56488 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56490         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56492 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56494         [BZ #11640]
56495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56496         Properly check family and model.
56498 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56500         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56502 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56504         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56506 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56508         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56509         symbol reference.
56511 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56513         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56514         symbol reference.
56516 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56518         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56519         and internal_recvmmsg.
56520         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56521         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56522         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56523         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56525         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56526         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56527         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56529 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56531         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56533 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56535         POWER7 optimizations.
56536         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56537         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56539 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56541         * version.h: Update for 2.13 development version.
56543 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56545         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56546         exceptions.  Return 0.
56548 2010-05-07  Roland McGrath  <roland@redhat.com>
56550         * elf/ldconfig.c (main): Add a const.
56552 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56554         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56555         (args_options): Add no-idn option.
56556         (ahosts_keys_int): Add idn_flags to ai_flags.
56557         (parse_option): Handle 'i' option to clear idn_flags.
56559         * malloc/malloc.c (_int_free): Possible race in the most recently
56560         added check.  Only act on the data if no current modification
56561         happened.
56563 See ChangeLog.17 for earlier changes.