powerpc: POWER7 strncpy optimization for unaligned string
[glibc.git] / ChangeLog
blobd431c29f04afd3797ffe332839f26b996d7a2a4f
1 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4         unaligned path.
6 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9         little endian.
11 2015-02-12  Andreas Schwab  <schwab@suse.de>
13         [BZ #15790]
14         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15         Filter out elision flags from value returned in kind.
16         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17         * nptl/tst-pthread-mutexattr.c: New file.
19 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23         into gnu-gnu, and update comment to refer to abi-tags.
25 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #15467]
28         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29         (__sincos): Set errno to EDOM for infinite argument.
30         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33         (__sincosl): Set errno to EDOM for infinite argument.
34         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35         (__sincosl): Set errno to EDOM for infinite argument.
36         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37         (__sincosl): Set errno to EDOM for infinite argument.
38         * math/libm-test.inc (sincos_test_data): Test errno setting.
40 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
42         * string/strxfrm_l.c: Remove #define STRCMP.
43         * string/strcoll_l.c: Remove #define STRLEN.
44         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
45         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
47 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
49         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
50         * sysdeps/mips/mips32/sfp-machine.h: ... here.
51         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
52         * sysdeps/mips/mips64/Makefile: ... here.
53         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
54         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
55         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
56         * sysdeps/mips/mips64/sfp-machine.h: ... here.
57         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
58         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
59         * sysdeps/mips/mips64/n64/Implies: Likewise.
61 2015-02-10  Roland McGrath  <roland@hack.frob.com>
63         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
64         <sys/time.h>, <string.h>, and <errno.h>.
65         (dest_offset, dest_address, value, zero): Remove unused variables.
66         (ldouble): Remove typedef.
67         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
68         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
69         1).  Fix code style.
70         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
71         (check): Function removed.
72         (CHECK): New macro.
73         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
74         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
75         Don't call set_sigaction_FP and remove_sigaction_FP here.
76         (ldouble_test): Just use 'long double' as macro argument, no need for
77         the 'ldouble' typedef.
78         (do_test): Set up SIGFPE handler at start, using plain signal rather
79         than sigaction.  Fix code style.
81 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
83         [BZ #17949]
84         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
85         jump label.
87 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
89         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
90         * sysdeps/powerpc/powerpc32/configure: Regenerated.
92         * sysdeps/powerpc/configure.ac: Remove file.
93         * sysdeps/powerpc/configure: Likewise.
95         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
96         [sysdep_routines]: Remove wordcopy-power6 object.
97         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
98         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
99         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
100         (__memmove_ppc32): Likewise.
101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
102         file.
103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
104         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
105         Remove preprocessor.
107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
108         [sysdep_routines]: Remove wide chars objects.
109         [wcsmbs]: New rule for wide char objects.
111         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
112         Remove wordcopy-power6 obejct.
113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
114         Use local call for wordcopy and memcpy symbols.
115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
117         implementation for loader.
118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
121         Remove wordcopy-power7 object.
122         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
124         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
125         (_wordcopy_fwd_dest_aligned): Likewise.
126         (_wordcopy_bwd_aligned): Likewise.
127         (_wordcopy_bwd_dest_aligned): Likewise.
129         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
130         Rewrite to call __memmove_ppc instead of include default
131         implementation.
133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
134         Remove wide chars objects.
135         [wcsmbs]: New rule for wide char objects.
137 2015-02-09  Andreas Schwab  <schwab@suse.de>
139         [BZ #17912]
140         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
141         in terms of __O_DIRECTORY.
143 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
145         * time/getdate.c: Include <stdbool.h>.
146         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
147         call PTR_MANGLE.
148         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
149         PTR_DEMANGLE.
151 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
153         Add ersatz _Static_assert on older C hosts
154         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
155         pre-C11 C platform that is not known to support _Static_assert.
157 2015-02-07  Richard Braun  <rbraun@sceen.net>
159         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
160         sigstate.
161         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
163 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
165         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
166         priority against unexistent AIO_PRIO_DELTA_MAX.
167         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
168         instead of int.
169         * misc/fchflags.c (fchflags): Likewise.
170         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
171         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
172         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
173         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
174         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
175         Declare macros.
176         [__USE_MISC] (chflags, fchflags): Declare functions.
177         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
178         EINVAL when nfds is greater than FD_SETSIZE.
179         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
180         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
181         45.
182         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
183         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
184         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
185         MACH_RCV_TIMED_OUT.
186         * hurd/hurd/signal.h (_hurd_self_sigstate,
187         _hurd_critical_section_lock, _hurd_critical_section_unlock):
188         Explicit casts from void *.
189         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
190         * abi-tags: Rename gnu-gnu os into gnu.
192         [BZ #4719]
193         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
194         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
195         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
196         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
197         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
198         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
200         [BZ #17944]
201         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
202         duplicates ADDR->sun_path with sockaddr LEN limitation.
203         * sysdeps/mach/hurd/connect.c: Include <string.h>
204         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
205         * sysdeps/mach/hurd/sendmsg.c: Likewise.
206         * sysdeps/mach/hurd/sendto.c: Likewise.
207         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
208         implementing it by hand.
210 2015-02-06  Roland McGrath  <roland@hack.frob.com>
212         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
213         Use sfi_breg on ldr.
214         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
215         Likewise.
217         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
218         it's defined.
219         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
220         Test SIGSETXID only if it's defined.
222         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
224         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
225         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
227         * nptl/tst-align2.c: Moved ...
228         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
229         * nptl/Makefile (tests): Remove tst-align2.
230         * sysdeps/unix/sysv/linux/Makefile
231         [$(subdir) = nptl] (tests): Add tst-align-clone.
232         * nptl/tst-getpid1.c: Moved ...
233         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
234         * nptl/tst-getpid2.c: Moved ...
235         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
236         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
237         * sysdeps/unix/sysv/linux/Makefile
238         [$(subdir) = nptl] (tests): ... here.
239         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
240         * sysdeps/unix/sysv/linux/Makefile
241         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
243         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
244         Drop trailing \n from perror argument.  Use return rather than exit.
246         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
247         on [SA_SIGINFO].
248         * nptl/tst-cancel21.c (do_test): Likewise.
249         * debug/tst-backtrace6.c: Include <signal.h> first thing.
250         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
251         [!SA_SIGINFO]: Make it a stub test.
253         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
254         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
256         * posix/tst-getlogin.c: Move to ...
257         * login/tst-getlogin.c: ... here.
258         * posix/Makefile (tests): Move tst-getlogin to ...
259         * login/Makefile (tests): ... here.
261         * libio/tst-atime.c (do_test): Move local variables SV and E
262         inside [ST_NOATIME] conditional.
264         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
266         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
268         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
269         (wait_code): New function replaces macro.
270         Call nanosleep rather than syscall.
272         * nptl/pt-system.c: Rewritten.  Put everything under
273         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
274         Use IFUNC to redirect when possible.
276         * nptl/pt-longjmp.c: Rewritten.  Put everything under
277         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
278         Use IFUNC to redirect when possible.
280         * nptl/pt-fork.c: Rewritten.  Put everything under
281         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
282         Use IFUNC to redirect when possible.
283         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
285         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
286         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
287         unconditionally nowadays.  This included the only reference to
288         __vdso_clock_gettime that appears outside libc proper.
289         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
290         Remove version set (containing only __vdso_clock_gettime).
291         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
292         Add attribute_hidden.
293         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
294         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
295         libc_hidden_data_def.
296         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
297         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
299         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
300         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
301         setrpcent, and getrpcport to ...
302         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
303         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
304         getrpcbynumber_r, and getrpcent_r to ...
305         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
306         * inet/getrpcbyname.c: Moved ...
307         * sunrpc/getrpcbyname.c: ... here.
308         * inet/getrpcbyname_r.c: Moved ...
309         * sunrpc/getrpcbyname_r.c: ... here.
310         * inet/getrpcbynumber.c: Moved ...
311         * sunrpc/getrpcbynumber.c: ... here.
312         * inet/getrpcbynumber_r.c: Moved ...
313         * sunrpc/getrpcbynumber_r.c: ... here.
314         * inet/getrpcent.c: Moved ...
315         * sunrpc/getrpcent.c: ... here.
316         * inet/getrpcent_r.c: Moved ...
317         * sunrpc/getrpcent_r.c: ... here.
318         * inet/Makefile (routines): Move those to ...
319         * sunrpc/Makefile (routines): ... here.
320         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
321         the $(subdirs) list.
322         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
323         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
324         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
325         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
327         * elf/Makefile (routines): Include $(all-dl-routines), not just
328         $(dl-routines).
329         (rtld-routines): Likewise.  Use = rather than :=.
330         * sysdeps/aarch64/Makefile [$(subdir) = elf]
331         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
332         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
333         * sysdeps/arm/Makefile: Likewise.
334         * sysdeps/i386/Makefile: Likewise.
335         * sysdeps/x86_64/Makefile: Likewise.
336         * sysdeps/hppa/Makefile [$(subdir) = elf]
337         (sysdep_routines, sysdep-rtld-routines): Don't add
338         $(sysdep-dl-routines) to these.
339         * sysdeps/ia64/Makefile: Likewise.
340         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
341         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
342         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
343         Don't add dl-static to these; sysdep-dl-routines alone is enough.
344         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
345         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
346         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
347         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
348         * sysdeps/powerpc/Makefile [$(subdir) = elf]
349         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
350         these; sysdep-dl-routines alone is enough.
352 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
354         [BZ #17932]
355         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
356         where multiplication results in zero and third argument is finite
357         and nonzero.
358         * math/auto-libm-test-in: Add more tests of fma.
359         * math/auto-libm-test-out: Regenerated.
361         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
362         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
363         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
364         (_FP_CMP_EQ): Likewise.
365         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
367         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
368         extra argument CHECK_NAN.  Redefine as wrapper around
369         _FP_EXTEND_CNAN.
371 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
373         * version.h (RELEASE): Set to "stable".
374         (VERSION): Set to "2.21"
375         * include/features.h (__GLIBC_MINOR__): Set to 21.
377         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
379 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
380             Paul Eggert  <eggert@cs.ucla.edu>
382         [BZ #16618]
383         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
384         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
385         size in bytes. Store needed elements in wpmax. Use needed size
386         in bytes for extend_alloca.
388 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
390         * manual/install.texi: Latest tested versions are GCC 4.9.2,
391         binutls 2.25, and texinfo 5.2.
392         * INSTALL: Regenerate.
393         * sysdeps/nios2/configure: Regenerate.
394         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
395         * manual/contrib.texi: Update.
396         * po/be.po: Update.
397         * po/bg.po: Update.
398         * po/ca.po: Update.
399         * po/cs.po: Update.
400         * po/da.po: Update.
401         * po/de.po: Update.
402         * po/el.po: Update.
403         * po/eo.po: Update.
404         * po/es.po: Update.
405         * po/fi.po: Update.
406         * po/fr.po: Update.
407         * po/gl.po: Update.
408         * po/hr.po: Update.
409         * po/hu.po: Update.
410         * po/ia.po: Update.
411         * po/id.po: Update.
412         * po/it.po: Update.
413         * po/ja.po: Update.
414         * po/ko.po: Update.
415         * po/lt.po: Update.
416         * po/nb.po: Update.
417         * po/nl.po: Update.
418         * po/pl.po: Update.
419         * po/pt_BR.po: Update.
420         * po/ru.po: Update.
421         * po/rw.po: Update.
422         * po/sk.po: Update.
423         * po/sl.po: Update.
424         * po/sv.po: Update.
425         * po/tr.po: Update.
426         * po/uk.po: Update.
427         * po/vi.po: Update.
428         * po/zh_CN.po: Update.
429         * po/zh_TW.po: Update.
431         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
432         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
433         * sysdeps/hppa/dl-irel.h: Remove #warning.
434         * sysdeps/hppa/entry.h: Provide prototype for
435         __canonicalize_funcptr_for_compare and cast argument.
436         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
437         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
438         * sysdeps/hppa/sotruss-lib.c: New file.
439         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
440         (atomic_compare_and_exchange_val_acq): Use __typeof__.
441         (atomic_compare_and_exchange_bool_acq): Likewise.
442         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
443         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
445         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
446         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
447         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
449 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
451         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
452         called function in non-PIC case.
454 2015-01-31  David S. Miller  <davem@davemloft.net>
456         * sysdeps/sparc/sparc32/bits/atomic.h
457         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
458         unlock not after it.
459         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
460         volatile register usage warnings from the compiler.
462         * sysdeps/sparc/nptl/sem_init.c: Delete.
463         * sysdeps/sparc/nptl/sem_post.c: Delete.
464         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
465         * sysdeps/sparc/nptl/sem_wait.c: Delete.
466         * sysdeps/sparc/sparc32/sem_init.c: New file.
467         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
468         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
469         padding explicitly initialized.
470         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
471         padding for in-semaphore spinlock.
472         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
473         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
474         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
475         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
476         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
477         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
478         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
479         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
480         version.
481         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
482         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
484 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
486         [BZ #17801]
487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
488         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
489         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
490         New.
491         (index_AVX_Fast_Unaligned_Load): Likewise.
492         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
493         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
494         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
495         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
496         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
497         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
498         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
499         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
500         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
502 2015-01-29  Andreas Schwab  <schwab@suse.de>
504         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
506 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
508         [BZ #17892]
509         * nscd/nscd_stat.c (send_stats): Initialize DATA.
511 2015-01-28  Martin Sebor  <msebor@redhat.com>
513         * math/README.libm-test: Clarify. Add "How to read the test output."
515 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
517         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
518         Define to 0.
520 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
522         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
523         (__HAVE_64B_ATOMICS): Define to 0.
525 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
527         [BZ #17885]
528         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
529         value to set as new flag.
531         [BZ #16576]
532         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
533         and use _ARCH_PPCSQ instead.
534         (__ieee754_sqrt): Likewise.
535         (__ieee754_sqrtf): Likewise.
536         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
537         _ARCH_PPCSQ is defined.
538         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
539         fsqrt instruction.
540         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
541         _ARCH_PPCSQ is defined.
542         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
543         fsqrts instruction.
544         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
546 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
548         * iconv/loop.c: Suppress array out of bound warning caused by GCC
549         bug (GCC BZ #64739).
551 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
553         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
554         Mark _retval as used.
555         (lll_futex_wake_unlock): Likewise.
556         (lll_futex_timed_wait_requeue_pi): Likewise.
558         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
559         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
560         register variables.
562         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
563         libm_hidden_def.
565         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
566         (__bswap_64): Mark as __always_inline.
568 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
570         [BZ #15378]
571         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
572         when none of the search directories exist.
574 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
576         [BZ #17869]
577         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
578         power8 in .machine directive.
580         [BZ #17868]
581         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
582         set dependency from opd value.
584 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
587         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
588         architecture.
590 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
592         [BZ #17870]
593         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
594         with uint64_t.
595         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
596         (uint64_t) 1.
597         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
598         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
599         Replace 1UL with (uint64_t) 1.
600         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
601         int with uint64_t.
603 2015-01-23  Roland McGrath  <roland@hack.frob.com>
605         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
606         (if_freenameindex): Likewise.
608         * resource/getrlimit64.c: Add missing libc_hidden_def.
610 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
612         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
613         __label__.
614         (_FP_FMA): Likewise.
615         (_FP_TO_INT_ROUND): Likewise.
616         (_FP_FROM_INT): Likewise.
618 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
620         [BZ #16418]
621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
622         Make code racy and cancel safe.
624 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
626         * sysdeps/arm/unwind-resume.h: Fix copyright year.
627         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
628         attribution.
630         * pwd/tst-getpw.c: Rewrite.
632         [BZ #17702]
633         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
634         (modules-names): Add moddummy1 and moddummy2.
635         ($(objpfx)tst-rec-dlopen): Define.
636         * dlfcn/moddummy1.c: New file.
637         * dlfcn/moddummy2.c: New file.
638         * dlfcn/tst-rec-dlopen.c: New file.
639         * elf/dl-cache.c (_dl_load_cache_lookup):
640         Return char*. Copy result with alloca/strcpy/strdup.
641         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
642         returns char*. Free cached. If not saving realname
643         free cached.
644         * elf/dl-open.c (dl_open_worker): Do not assert that
645         _r_debug->r_state is RT_CONSISTENT.
646         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
647         returns char*.
649 2015-01-21  Torvald Riegel  <triegel@redhat.com>
650             Carlos O'Donell  <carlos@redhat.com>
652         [BZ #12674]
653         * nptl/sem_waitcommon.c: New file.
654         * nptl/sem_wait.c: Include sem_waitcommon.c.
655         (__sem_wait_cleanup, do_futex_wait): Remove.
656         (__new_sem_wait): Adapt.
657         (__new_sem_trywait): New function.
658         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
659         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
660         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
661         (sem_timedwait): Adapt.
662         * nptl/sem_post.c (__new_sem_post): Adapt.
663         (futex_wake): New function.
664         (__old_sem_post): Add release MO fence.
665         * nptl/sem_open.c (sem_open): Adapt.
666         * nptl/sem_init.c (__new_sem_init): Adapt.
667         (futex_private_if_supported): New function.
668         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
669         (__old_sem_getvalue): Add using previous code.
670         * sysdeps/nptl/internaltypes.h: Adapt.
671         * nptl/tst-sem13.c (do_test): Adapt.
672         * nptl/tst-sem11.c (main): Adapt.
673         * nptl/sem_trywait.c: Remove.
674         * nptl/DESIGN-sem.txt: Remove.
675         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
676         (gen-as-const-headers): Remove structsem.sym.
677         * nptl/structsem.sym: Remove.
678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
679         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
680         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
681         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
682         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
683         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
684         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
685         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
686         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
687         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
688         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
689         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
690         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
691         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
692         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
693         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
694         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
695         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
696         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
697         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
698         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
699         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
701 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
703         * INSTALL: Regenerated.
705         * po/libc.pot: Regenerated.
707 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
708             Sandra Loosemore  <sandra@codesourcery.com>
709             Andrew Jenner  <andrew@codesourcery.com>
710             Joseph Myers  <joseph@codesourcery.com>
711             Nathan Sidwell  <nathan@codesourcery.com>
713         * NEWS: Mention new Nios II port.
714         * sysdeps/nios2/Implies: New file.
715         * sysdeps/nios2/Makefile: New file.
716         * sysdeps/nios2/Subdirs: New file.
717         * sysdeps/nios2/Versions: New file.
718         * sysdeps/nios2/__longjmp.S: New file.
719         * sysdeps/nios2/abort-instr.h: New file.
720         * sysdeps/nios2/backtrace.c: New file.
721         * sysdeps/nios2/bits/endian.h: New file.
722         * sysdeps/nios2/bits/fenv.h: New file.
723         * sysdeps/nios2/bits/link.h: New file.
724         * sysdeps/nios2/bits/setjmp.h: New file.
725         * sysdeps/nios2/bsd-_setjmp.S: New file.
726         * sysdeps/nios2/bsd-setjmp.S: New file.
727         * sysdeps/nios2/configure: New generated file.
728         * sysdeps/nios2/configure.ac: New file.
729         * sysdeps/nios2/crti.S: New file.
730         * sysdeps/nios2/crtn.S: New file.
731         * sysdeps/nios2/dl-init.c: New file.
732         * sysdeps/nios2/dl-machine.h: New file.
733         * sysdeps/nios2/dl-sysdep.h: New file.
734         * sysdeps/nios2/dl-tls.h: New file.
735         * sysdeps/nios2/dl-trampoline.S: New file.
736         * sysdeps/nios2/gccframe.h: New file.
737         * sysdeps/nios2/gmp-mparam.h: New file.
738         * sysdeps/nios2/jmpbuf-offsets.h: New file.
739         * sysdeps/nios2/jmpbuf-unwind.h: New file.
740         * sysdeps/nios2/ldsodefs.h: New file.
741         * sysdeps/nios2/libc-tls.c: New file.
742         * sysdeps/nios2/libm-test-ulps: New file.
743         * sysdeps/nios2/machine-gmon.h: New file.
744         * sysdeps/nios2/math-tests.h: New file.
745         * sysdeps/nios2/math_private.h: New file.
746         * sysdeps/nios2/memusage.h: New file.
747         * sysdeps/nios2/nptl/Makefile: New file.
748         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
749         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
750         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
751         * sysdeps/nios2/nptl/pthreaddef.h: New file.
752         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
753         * sysdeps/nios2/nptl/tls.h: New file.
754         * sysdeps/nios2/preconfigure: New file.
755         * sysdeps/nios2/s_fma.c: New file.
756         * sysdeps/nios2/s_fmaf.c: New file.
757         * sysdeps/nios2/setjmp.S: New file.
758         * sysdeps/nios2/sfp-machine.h: New file.
759         * sysdeps/nios2/sotruss-lib.c: New file.
760         * sysdeps/nios2/stackguard-macros.h: New file.
761         * sysdeps/nios2/stackinfo.h: New file.
762         * sysdeps/nios2/start.S: New file.
763         * sysdeps/nios2/sysdep.h: New file.
764         * sysdeps/nios2/tls-macros.h: New file.
765         * sysdeps/nios2/tst-audit.h: New file.
766         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
767         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
768         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
769         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
770         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
771         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
772         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
773         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
774         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
775         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
776         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
777         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
778         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
779         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
780         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
781         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
782         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
783         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
784         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
785         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
786         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
787         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
788         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
789         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
790         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
791         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
792         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
793         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
794         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
795         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
796         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
797         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
798         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
799         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
800         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
801         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
802         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
803         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
804         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
805         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
806         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
807         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
808         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
809         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
811 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
813         [BZ #17844]
814         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
815         (getutent): Use weak_alias in non SHARED case
816         and default_symbol_version in SHARED case.
817         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
818         (getutent_r, pututline): Likewise.
819         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
820         (getutid): Likewise.
821         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
822         (getutid_r): Likewise.
823         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
824         (getutline): Likewise.
825         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
826         (getutline_r): Likewise.
827         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
828         (updwtmp): Likewise.
830 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
832         [BZ #17848]
833         * sysdeps/s390/s390-32/memcmp.S
834         (memcmp_g5): Rename to __memcmp_g5.
835         * sysdeps/s390/s390-32/memcpy.S
836         (memcpy_g5): Rename to __memcpy_g5.
837         Jump to __memcpy_mvcle instead of memcpy_mvcle.
838         (memcpy_mvcle) Rename to __memcpy_mvcle.
839         * sysdeps/s390/s390-32/memset.S
840         (memset_g5): Rename to __memset_g5.
841         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
842         (IFUNC_RESOLVE): Prefix ifunc-resolve function
843         and use prefixed functions.
844         * sysdeps/s390/s390-32/multiarch/memcmp.S
845         (memcmp_z196): Rename to __memcmp_z196.
846         (memcmp_z10): Rename to __memcmp_z10.
847         (memcmp): Set alias to __memcmp_g5.
848         (bcmp): Set alias to __memcmp_g5.
849         * sysdeps/s390/s390-32/multiarch/memcpy.S
850         (memcpy_z196): Rename to __memcpy_z196.
851         Jump to __memcpy_mvcle instead of memcpy_mvcle.
852         (memcpy_z10): Rename to __memcpy_z10.
853         Jump to __memcpy_mvcle instead of memcpy_mvcle.
854         (memcpy): Set alias to __memcpy_g5.
855         * sysdeps/s390/s390-32/multiarch/memset.S
856         (memset_z196): Rename to __memset_z196.
857         Jump to __memset_mvcle instead of memset_mvcle.
858         (memset_z10): Rename to __memset_z10.
859         Jump to __memset_mvcle instead of memset_mvcle.
860         (memset_mvcle) Rename to __memset_mvcle.
861         (memset): Set alias to __memset_g5.
862         * sysdeps/s390/s390-64/memcmp.S
863         (memcmp_z900): Rename to __memcmp_z900.
864         * sysdeps/s390/s390-64/memcpy.S
865         (memcpy_z900): Rename to __memcpy_z900.
866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
867         (memcpy_mvcle) Rename to __memcpy_mvcle.
868         * sysdeps/s390/s390-64/memset.S
869         (memset_z900): Rename to __memset_z900.
870         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
871         (IFUNC_RESOLVE): Prefix ifunc-resolve function
872         and use prefixed functions.
873         * sysdeps/s390/s390-64/multiarch/memcmp.S
874         (memcmp_z196): Rename to __memcmp_z196.
875         (memcmp_z10): Rename to __memcmp_z10.
876         (memcmp): Set alias to __memcmp_z900.
877         (bcmp): Set alias to __memcmp_z900.
878         * sysdeps/s390/s390-64/multiarch/memcpy.S
879         (memcpy_z196): Rename to __memcpy_z196.
880         Jump to __memcpy_mvcle instead of memcpy_mvcle.
881         (memcpy_z10): Rename to __memcpy_z10.
882         Jump to __memcpy_mvcle instead of memcpy_mvcle.
883         (memcpy): Set alias to __memcpy_z900.
884         * sysdeps/s390/s390-64/multiarch/memset.S
885         (memset_z196): Rename to __memset_z196.
886         Jump to __memset_mvcle instead of memset_mvcle.
887         (memset_z10): Rename to __memset_z10.
888         Jump to __memset_mvcle instead of memset_mvcle.
889         (memset_mvcle) Rename to __memset_mvcle.
890         (memset): Set alias to __memset_z900.
892 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #17748]
895         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
896         __fesetenv instead of fesetenv.
898 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
900         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
901         macro.
903 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
905         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
906         regression on LE.
908         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
909         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
910         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
911         strncmp-power8 object.
912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
913         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
914         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
915         * NEWS: Update.
917 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
918             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
920         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
921         trailing byte check.
923 2015-01-13  David S. Miller  <davem@davemloft.net>
925         * include/signal.h (__sigreturn): Guard with __USE_MISC.
927 2015-01-13  Roland McGrath  <roland@hack.frob.com>
929         * login/logout.c (logout): Use memset rather than bzero.
930         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
931         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
932         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
933         (_gethtbyaddr): Likewise.
934         * locale/programs/simple-hash.c (bcopy): Macro removed.
936 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
939         Add strcmp-power8 object.
940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
941         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
942         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
943         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
944         __strcmp_power8 implementation.
945         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
946         * NEWS: Update.
948         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
949         Add strncpy-power8 and stpncpy-power8 objects.
950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
951         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
952         implementations.
953         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
954         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
955         __stpncpy_power8 implementation.
956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
957         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
958         __strncpy_power8 implementation.
959         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
960         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
961         * NEWS: Update.
963         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
964         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
965         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
968         strncat-power8 object.
969         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
970         __strcat_power8 implementation.
971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
972         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
973         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
974         optimized strcat for power8.
976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
977         strcpy-power8 and stpcpy-power8 objects.
978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
979         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
980         implementations.
981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
982         multiarch stpcpy implementation for POWER8.
983         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
984         multiarch strcpy implementation for POWER8.
985         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
986         __strcpy_power8 function.
987         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
988         stpcpy for POWER8.
989         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
990         strcpy for POWER8.
991         * NEWS: Update.
993 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
995         [BZ #16009]
996         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
997         weights and rules. Use do_xfrm_cached if data fits in cache,
998         do_xfrm otherwise.  Moved former main loop to...
999         * (do_xfrm_cached): New function.
1000         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1001         find_idx, find_position and stack_push.
1002         * (find_idx): New function.
1003         * (find_position): Likewise.
1004         * localedata/sort-test.sh: Added test run for do_xfrm.
1005         * localedata/xfrm-test.c (main): Added command line option
1006         -nocache to run the test with strings that are too large for
1007         the STRXFRM cache.
1009 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1011         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1012         variable to lll_futex_wake call, not the value itself.
1014 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #17803]
1017         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1018         twom64.  Adjust value to 0x1p-64L.
1019         (__scalblnl): Only return standard underflowing result for K <=
1020         -64 not K <= -63; adjust exponent for underflowing result by 64
1021         not 63.
1022         * math/libm-test.inc (scalbn_test_data): Add more tests.
1023         (scalbln_test_data): Likewise.
1025         [BZ #17834]
1026         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1027         0x1p63L.
1028         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1029         not HX.
1030         * math/libm-test.inc (scalbn_test_data): Add more tests.
1031         (scalbln_test_data): Likewise.
1033 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1034             Stefani Seibold  <stefani@seibold.net>
1036         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1037         (sysdep_routines): Add dl-vdso here, ...
1038         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1039         (sysdep_routines): ... not here.
1040         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1041         fallback when vDSO is not presented.
1042         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1043         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1044         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1045         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1046         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1047         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1048         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1049         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1050         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1051         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1052         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1053         fallback configurable symbol when vDSO is not available.
1054         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1055         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1056         be able to redefine fallback symbol when vDSO is not available.
1057         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1058         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1060 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1062         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1063         (TLS_INIT_TP): Add tm_capable initialization.
1064         (TLS_DEFINE_INIT_TP): Likewise.
1065         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1066         TCB.
1067         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1068         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1069         calculation.
1070         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1071         transactoion is lock elision is built and TCB tm_capable is set.
1072         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1074         (INTERNAL_SYSCALL_NCS): Likewise.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1076         (INTERNAL_SYSCALL_NCS): Likewise.
1077         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1079         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1080         for powerpc.
1081         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1082         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1083         and remove it for 32 bits case.
1084         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1086         initialization.
1087         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1088         Disable lock elision with rdlocks if elision is not available.
1090         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1091         (sysdep_routines): Add lock elision objects.
1092         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1093         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1094         [pthread_mutex_t] (__elision): Add field.
1095         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1096         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1097         elision definitions for powerpc.
1098         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1099         implementation of lock elision for powerpc.
1100         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1101         implementation of timed lock elision for powerpc.
1102         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1103         implementation of trylock with lock elision for powerpc.
1104         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1105         implementaion of unlock for lock elision for powerpc.
1106         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1107         automatic enable lock elision for mutexes.
1108         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1109         transaction execution definitions for powerpc.
1110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1111         definitions.
1112         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1113         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1114         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1115         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1116         * NEWS: Update.
1118 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1120         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1121         for #include of <shm-directory.h>.
1123 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1125         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1126         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1128 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1130         [BZ #17791]
1131         * NEWS: Mention bug fix.
1132         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1133         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1134         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1136 2015-01-09  Torvald Riegel <triegel@redhat.com>
1138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1140 2015-01-09  Torvald Riegel <triegel@redhat.com>
1142         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1144 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1146         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1147         pointer and cast to uintptr_t.
1149 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1151         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1152         removed.
1153         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1155 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1157         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1158         of 0.
1160 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1162         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1163         <nptl/pthreadP.h> instead.
1164         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1166         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1167         already defined.
1168         [__SIGRTMIN] (init): Function removed.
1169         [__SIGRTMIN] (initialized): Variable removed.
1170         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1171         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1172         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1173         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1174         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1175         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1176         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1177         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1178         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1179         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1180         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1181         * sysdeps/nptl/allocrtsig.c: New file.
1182         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1183         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1184         * sysdeps/generic/testrtsig.h: File removed.
1186         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1187         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1189         * nptl/nptl-init.c (pthread_functions): Conditionalize
1190         .ptr__nptl_setxid initialization on [SIGSETXID].
1192         * sysdeps/nptl/sys/procfs.h: New file.
1193         * nptl_db/Makefile (headers): Add it.
1194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1196         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1197         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1198         * nptl/pthread_attr_setaffinity.c: Include it.
1199         * nptl/pthread_setattr_default_np.c: Likewise.
1200         * nptl/check-cpuset.h: New file.
1202 2015-01-08  Richard Henderson  <rth@redhat.com>
1204         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1205         (CFLAGS-tst-execstack-prog.c): Likewise.
1206         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1208 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1209             Sandra Loosemore  <sandra@codesourcery.com>
1210             Andrew Jenner  <andrew@codesourcery.com>
1211             Joseph Myers  <joseph@codesourcery.com>
1212             Nathan Sidwell  <nathan@codesourcery.com>
1214         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1215         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1216         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1217         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1218         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1219         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1220         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1221         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1222         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1223         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1224         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1225         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1226         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1227         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1228         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1229         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1230         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1232 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1234         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1235         timespec struct member in syscall macro.
1236         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1237         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1238         first timeval struct member in syscall macro.
1239         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1241 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #17748]
1244         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1245         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1246         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1247         __feupdateenv and define as weak alias of __feupdateenv.  Use
1248         libm_hidden_weak.
1249         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1250         libm_hidden_def.
1251         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1252         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1253         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1254         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1255         libm_hidden_def.
1256         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1257         __feupdateenv and define as weak alias of __feupdateenv.  Use
1258         libm_hidden_weak.
1259         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1260         libm_hidden_def.
1261         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1262         __feupdateenv and define as weak alias of __feupdateenv.  Use
1263         libm_hidden_weak.
1264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1265         libm_hidden_def.
1266         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1267         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1268         (__feupdateenv): Likewise.
1269         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1270         __feupdateenv and define as weak alias of __feupdateenv.  Use
1271         libm_hidden_weak.
1272         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1273         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1274         libm_hidden_def.
1275         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1276         function.
1277         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1278         libm_hidden_def.
1279         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1280         __feupdateenv instead of feupdateenv.
1281         (default_libc_feupdateenv_test): Likewise.
1282         (libc_feresetround_ctx): Likewise.
1284 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1286         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1287         prototype.
1289 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1291         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1292         COLL_SYM in a couple of places to avoid uninitialized variable
1293         wanings on tilegx gcc 4.8.2.
1295 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1297         * sysdeps/aarch64/strcpy.S: New file.
1298         * sysdeps/aarch64/stpcpy.S: New file.
1299         * NEWS: Updated.
1301 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1303         * sysdeps/aarch64/strrchr.S: New file.
1304         * NEWS: Updated.
1306 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1308         [BZ #17658]
1309         * stdlib/setenv.c: Fix memory leak when setting large,
1310         duplicate string.
1312 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1314         [BZ #17273]
1315         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1316         and tabs from buffer before parsing fstab entry.
1317         * misc/tst-mntent.c (main): Add test for mount entry with
1318         trailing spaces and tabs.
1320 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1322         [BZ #17748]
1323         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1324         * math/fesetround.c (fesetround): Rename to __fesetround and
1325         define as weak alias of __fesetround.  Use libm_hidden_weak.
1326         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1327         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1328         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1329         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1330         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1331         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1332         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1333         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1334         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1335         __fesetround_inline.
1336         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1337         __fesetround_inline instead of __fesetround.
1338         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1339         __fesetround and define as weak alias of __fesetround.  Use
1340         libm_hidden_weak.  Call __fesetround_inline instead of
1341         __fesetround.
1342         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1343         __fesetround and define as weak alias of __fesetround.  Use
1344         libm_hidden_weak.
1345         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1346         Likewise.
1347         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1348         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1349         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1350         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1351         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1352         __fesetround and define as weak alias of __fesetround.  Use
1353         libm_hidden_weak.
1354         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1355         __fesetround instead of fesetround.
1356         (default_libc_feholdexcept_setround): Likewise.
1357         (libc_feholdsetround_ctx): Likewise.
1358         (libc_feholdsetround_noex_ctx): Likewise.
1360         [BZ #17748]
1361         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1362         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1364         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1365         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1366         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1367         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1368         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1369         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1370         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1371         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1372         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1373         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1374         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1375         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1376         libm_hidden_def.
1377         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1378         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1379         Likewise.
1380         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1381         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1382         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1383         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1384         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1385         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1386         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1387         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1388         __fesetenv instead of fesetenv.
1389         (libc_feresetround_noex_ctx): Likewise.
1390         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1391         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1392         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1393         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1394         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1395         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1396         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1397         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1398         (__feupdateenv): Likewise.
1399         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1400         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1401         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1402         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1404 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1406         [BZ #17806]
1407         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1408         addresses have been freed.
1410 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1412         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1413         and nservall.
1415 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1417         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1418         Clean up check_pf allocation pattern. addresses
1420 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1422         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1423         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1424         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1425         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1426         * nptl/pthread_join.c (pthread_join): Likewise.
1427         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1428         * sysdeps/posix/waitid.c (__waitid): Likewise.
1429         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1430         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1431         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1432         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1434         Likewise.
1435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1436         (__libc_pread64): Likewise.
1437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1438         (__libc_pwrite): Likewise.
1439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1440         (__libc_pwrite64): Likewsie.
1441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1442         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1443         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1444         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1445         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1446         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1447         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1451         (__libc_pread64): Likewise.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1453         Likewise.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1455         (__libc_pwrite64): Likewise.
1456         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1457         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1458         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1459         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1460         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1461         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1462         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1463         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1464         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1465         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1466         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1467         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1468         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1469         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1470         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1472         Likewise.
1474 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1476         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1477         (CFLAGS-test-double.c): Likewise.
1478         (CFLAGS-test-ldouble.c): Likewise.
1479         (CPPFLAGS-test-ifloat.c): Likewise.
1480         (CPPFLAGS-test-idouble.c): Likewise.
1481         (CPPFLAGS-test-ildoubl.c): Likewise.
1482         (CFLAGS-test-test-fenv.c): Remove variable.
1483         (CFLAGS-test-misc.c): Likewise.
1485 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1487         [BZ #17797]
1488         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1489         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1490         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1491         CLOCKS_PER_SEC == 1000000.
1492         * time/clocktest.c (main): Replace %ld with %jd and cast to
1493         intmax_t.
1495 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1497         * sysdeps/generic/unwind-resume.h: New file.
1498         * sysdeps/gnu/unwind-resume.c: Include it.
1499         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1500         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1501         argument list.
1502         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1503         global rather than static.
1504         (_Unwind_Resume): Update user.
1505         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1506         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1507         rather than static.  Add __attribute__ ((cold)).
1508         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1509         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1510         * sysdeps/arm/arm-unwind-resume.S: New file.
1511         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1512         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1513         * sysdeps/arm/Makefile [$(subdir) = csu]
1514         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1515         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1516         Add rt-arm-unwind-resume.
1517         [$(subdir) = nptl]
1518         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1519         Add pt-arm-unwind-resume.
1520         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1521         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1523 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1525         [BZ #17748]
1526         * include/fenv.h (__feholdexcept): Declare.  Use
1527         libm_hidden_proto.
1528         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1529         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1530         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1531         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1532         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1533         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1534         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1535         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1536         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1537         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1538         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1539         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1540         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1541         (feholdexcept): Likewise.
1542         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1543         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1544         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1545         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1546         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1547         __feholdexcept instead of feholdexcept.
1548         (default_libc_feholdexcept_setround): Likewise.
1550 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1552         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1553         to avoid using stl/str to align destination.
1555 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1557         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1559 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1561         [BZ #17796]
1562         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1563         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1564         Define as weak alias not strong alias.
1566 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1568         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1569         bltzal with addiupc.
1570         (RTLD_START): Ditto.
1572 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1574         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1575         for __vdso_* functions in declarations.
1576         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1577         definitions.
1578         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1579         INTERNAL_VSYSCALL): Use struct return types to check for error.
1581         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1582         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1583         function with cast from llround().
1584         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1585         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1586         Define.
1588 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1590         [BZ #17793]
1591         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1592         Define as weak alias not strong alias.
1594         [BZ #17635]
1595         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1596         ...
1597         * ctype/ctype-extn.c: ... here.
1598         (__isblank_l): Move to ...
1599         * ctype/ctype-c99_l.c: ... here.  New file.
1600         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1601         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1602         Remove variable.
1603         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1604         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1605         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1606         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1607         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1609         [BZ #17777]
1610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1611         (posix_fadvise64): Define as weak alias not strong alias.
1612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1613         (posix_fallocate64): Likewise.
1614         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1615         Remove variable.
1616         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1617         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1618         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1619         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1620         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1622 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1624         [BZ #16191]
1625         * NEWS: Mention bug fix.
1626         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1627         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1628         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1629         (HOST_STACK_END_ADDR): Likewise.
1631 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1633         [BZ #17748]
1634         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1635         * math/fegetround.c (fegetround): Rename to __fegetround and
1636         define as weak alias of __fegetround.  Use libm_hidden_weak.
1637         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1638         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1639         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1640         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1641         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1642         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1643         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1644         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1645         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1646         Undefine after rather than before function definition; use
1647         parentheses around function name in definition.
1648         (__fegetround): Also undefine macro after function definition.
1649         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1650         __fegetround and define as weak alias of __fegetround.  Use
1651         libm_hidden_weak.  Do not undefine as macro.
1652         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1653         Likewise.
1654         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1655         __fegetround and define as weak alias of __fegetround.  Use
1656         libm_hidden_weak.
1657         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1658         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1659         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1660         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1661         __fegetround and define as weak alias of __fegetround.  Use
1662         libm_hidden_weak.
1663         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1664         __fegetround instead of fegetround.
1666         [BZ #17782]
1667         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1668         Condition macro definition on [__USE_MISC].
1670         [BZ #17781]
1671         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1672         (struct sigaction): Change type of sa_flags field to int.
1674         [BZ #17780]
1675         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1676         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1677         __glibc_reserved0.
1679         * nptl/version.c (banner): Use single year in copyright notice.
1681         * NEWS: Update copyright dates.
1682         * catgets/gencat.c (print_version): Likewise.
1683         * csu/version.c (banner): Likewise.
1684         * debug/catchsegv.sh: Likewise.
1685         * debug/pcprofiledump.c (print_version): Likewise.
1686         * debug/xtrace.sh (do_version): Likewise.
1687         * elf/ldconfig.c (print_version): Likewise.
1688         * elf/ldd.bash.in: Likewise.
1689         * elf/pldd.c (print_version): Likewise.
1690         * elf/sotruss.sh: Likewise.
1691         * elf/sprof.c (print_version): Likewise.
1692         * iconv/iconv_prog.c (print_version): Likewise.
1693         * iconv/iconvconfig.c (print_version): Likewise.
1694         * locale/programs/locale.c (print_version): Likewise.
1695         * locale/programs/localedef.c (print_version): Likewise.
1696         * login/programs/pt_chown.c (print_version): Likewise.
1697         * malloc/memusage.sh (do_version): Likewise.
1698         * malloc/memusagestat.c (print_version): Likewise.
1699         * malloc/mtrace.pl: Likewise.
1700         * manual/libc.texinfo: Likewise.
1701         * nptl/version.c (banner): Likewise.
1702         * nscd/nscd.c (print_version): Likewise.
1703         * nss/getent.c (print_version): Likewise.
1704         * nss/makedb.c (print_version): Likewise.
1705         * posix/getconf.c (main): Likewise.
1706         * scripts/test-installation.pl: Likewise.
1707         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1709 2015-01-02  Will Newton  <will.newton@linaro.org>
1711         * sysdeps/arm/armv7/configure: Removed.
1712         * sysdeps/arm/armv7/configure.ac: Likewise.
1714 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1716         * All files with FSF copyright notices: Update copyright dates
1717         using scripts/update-copyrights.
1718         * intl/plural.c: Regenerated.
1719         * locale/programs/charmap-kw.h: Likewise.
1720         * locale/programs/locfile-kw.h: Likewise.
1722 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1724         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1726 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1728         [BZ #17748]
1729         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1730         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1731         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1732         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1733         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1734         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1735         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1736         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1737         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1738         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1739         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1740         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1741         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1742         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1743         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1744         libm_hidden_def.
1745         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1746         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1747         Likewise.
1748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1749         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1750         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1751         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1752         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1753         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1754         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1755         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1756         __fegetenv instead of fegetenv.
1757         (libc_feholdsetround_noex_ctx): Likewise.
1759 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1761         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1762         (Elf_MIPS_ABIFlags_v0): New structure.
1763         (EF_MIPS_FP64): Define.
1764         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1765         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1766         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1767         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1768         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1769         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1770         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1771         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1772         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1773         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1774         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1775         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1776         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1777         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1778         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1779         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1780         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1781         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1782         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1783         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1784         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1785         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1786         field.
1787         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1788         EF_MIPS_FP64.
1789         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1790         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1791         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1792         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1793         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1794         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1795         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1796         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1797         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1798         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1799         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1800         record the current FP ABI extension.
1801         (mips-mode-switch): Define to show if kernel headers support mode
1802         switching.
1803         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1804         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1805         supported SYSV ABI version to 3.
1806         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1807         feature.
1809 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1812         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1813         path.
1814         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1816 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1818         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1819         __fegetround and redefine to call __fegetround.  Remove condition
1820         on [!__NO_MATH_INLINES].
1821         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1822         function.
1823         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1824         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1825         Remove macro.
1826         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1827         instead of <fenv_libc.h>.
1828         (__llrintl): Call fegetround instead of __fegetround.
1829         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1830         instead of <fenv_libc.h>.
1831         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1832         (__lrintl): Call fegetround instead of __fegetround.
1833         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1834         instead of <fenv_libc.h>.
1835         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1836         (__rintl): Call fegetround instead of __fegetround.
1838 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1841         arrays.
1843 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1845         [BZ #17775]
1846         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1847         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1848         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1850 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1852         * sysdeps/i386/tls-macros.h: Include <features.h>.
1853         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1854         (TLS_IE): Likewise.
1855         (TLS_LD): Likewise.
1856         (TLS_GD): Likewise.
1857         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1858         define for GCC >= 5.0.
1860 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1862         * math/test-fenv.c (test_single_exception, set_single_exc,
1863         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1864         feexcp_mask_test, feenable_test, fe_single_test): Add
1865         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1866         case where they are not used.
1867         * math/libm-test.inc: Likewise.
1868         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1869         unused in the absence of FP rounding/exception support.
1870         * stdio-common/tst-printf-round.c: Likewise.
1871         * stdlib/tst-strtod-round.c: Likewise.
1872         * stdlib/tst-strtod-underflow.c: Likewise.
1874 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1876         [BZ #17723]
1877         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1878         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1879         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1880         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1881         libm_hidden_weak.
1882         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1883         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1884         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1885         libm_hidden_def.
1886         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1887         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1888         libm_hidden_weak.
1889         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1890         Likewise.
1891         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1892         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1893         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1894         libm_hidden_weak.
1895         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1896         libm_hidden_def.
1897         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1898         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1899         (__feraiseexcept): Likewise.
1900         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1901         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1902         libm_hidden_weak.
1903         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1904         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1905         libm_hidden_def.
1906         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1907         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1908         Use libm_hidden_def.
1909         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1910         libm_hidden_def.
1911         (feraiseexcept): Define as weak not strong alias.  Use
1912         libm_hidden_weak.
1913         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1914         New inline function.  Factored out of ...
1915         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1916         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1917         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1918         feraiseexcept.
1919         * math/w_acos.c (__acos): Likewise.
1920         * math/w_asin.c (__asin): Likewise.
1921         * math/w_ilogb.c (__ilogb): Likewise.
1922         * math/w_j0.c (y0): Likewise.
1923         * math/w_j1.c (y1): Likewise.
1924         * math/w_jn.c (yn): Likewise.
1925         * math/w_log.c (__log): Likewise.
1926         * math/w_log10.c (__log10): Likewise.
1927         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1928         * sysdeps/aarch64/fpu/math_private.h
1929         (libc_feupdateenv_test_aarch64): Likewise.
1930         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1931         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1932         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1933         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1934         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1935         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1936         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1937         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1938         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1939         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1941 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1943         [BZ #17732]
1944         * io/test-utime.c (main): Replace %ld with %jd and cast to
1945         intmax_t.
1946         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1947         * nptl/tst-mutex5.c: Include <stdint.h>.
1948         (do_test): Replace %ld with %jd and cast to intmax_t.
1949         * posix/tst-regex.c (run_test): Likewise.
1950         (run_test_backwards): Likewise.
1951         * rt/tst-clock.c: Include <stdint.h>.
1952         (clock_test): Replace %ld with %jd and cast to intmax_t.
1953         * rt/tst-cpuclock1.c: Include <stdint.h>.
1954         (do_test): Replace %lu with %ju and cast to uintmax_t.
1955         * rt/tst-cpuclock2.c: Include <stdint.h>.
1956         (do_test): Replace %lu with %ju and cast to uintmax_t.
1957         * rt/tst-mqueue1.c: Include <stdint.h>.
1958         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1959         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1960         intmax_t.
1961         * rt/tst-mqueue4.c (do_test): Likewise.
1962         * rt/tst-timer4.c: Include <stdint.h>.
1963         (check_ts): Replace %ld with %jd and cast to intmax_t.
1964         (do_test): Likewise.
1965         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1966         and cast to intmax_t.
1967         * sysdeps/pthread/tst-timer.c (main): Likewise.
1968         * time/clocktest.c (main): Likewise.
1969         * time/tst-posixtz.c (do_test): Likewise.
1970         * timezone/tst-timezone.c (main): Likewise.
1972 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1973             H.J. Lu  <hongjiu.lu@intel.com>
1975         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1976         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1977         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1978         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1979         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1980         version if bit_Fast_Unaligned_Load is set.
1981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1987         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1988         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1989         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1990         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1991         to 4.
1992         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1993         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1994         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1995         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1997 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1999         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2000         instead of #if to avoid a Wundef warning.
2001         * stdlib/tst-limits.c (do_test): Likewise.
2003         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2004         parallel other exception macros.
2005         (fegetenv): Convert from macro to extern inline so that it applies
2006         retroactively to inline functions already seen by the compiler.
2007         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2009         * posix/Makefile (before-compile): Use $(objpfx) for
2010         posix-conf-vars-def.h.
2012 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2014         * posix/getconf.c (main): Use size_t for type of I.
2015         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2016         NSPEC.
2018         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2019         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2020         * posix/posix-envs.def: Likewise.
2021         * sysdeps/posix/sysconf.c: Likewise.
2022         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2023         (specs): Remove array.
2024         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2025         array.
2027         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2028         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2029         (__sysconf): Use CONF_IS_* macros.
2031         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2032         ($(objpfx)posix-conf-vars-def.h): New target.
2033         * posix/posix-conf-vars.list: New file.
2034         * posix/posix-conf-vars.h: New file.
2035         * posix/confstr.c: Include posix-conf-vars.h.
2036         (confstr): Use CONF_IS_* macros.
2037         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2038         CONF_IS_* macros.
2039         * scripts/gen-posix-conf-vars.awk: New file.
2041 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2043         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2044         fegetround): Add no-op macros to avoid linknamespace issues.
2046         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2047         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2049         * sysdeps/unix/sysv/linux/tile/sysdep.h
2050         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2051         assembly-specific section to avoid a redefinition warning.
2053         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2054         long before casting to pointer to avoid a cast warning.
2056 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2058         * sysdeps/tile/tilegx/Implies: New file.
2060 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2062         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2064 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2066         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2068 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2071         not define.
2072         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2073         <kernel-features.h>.
2074         (__utimes) [__NR_utimes]: Make code unconditional.
2075         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2076         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2077         (__ASSUME_UTIMES): Do not undefine.
2078         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2079         (__ASSUME_UTIMES): Likewise.
2080         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2081         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2082         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2083         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2085 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2087         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2089 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2091         [BZ #17747]
2092         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2093         alias to weak alias for j0l, y0l.
2094         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2095         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2097         [BZ #17746]
2098         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2099         conversion.
2101 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2103         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2104         to zero if not already defined.
2106 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2108         [BZ #17724]
2109         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2110         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2111         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2112         (char *) casts added.
2113         * sysdeps/ieee754/k_standardf.c: New file.
2114         * sysdeps/ieee754/k_standardl.c: Likewise.
2115         * math/Makefile (libm-support): Remove k_standard.
2116         (libm-calls): Add k_standard.
2118 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2120         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2121         Optimize to avoid an unnecessary FPCR read.
2123 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2125         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2126         Optimize to reduce FPCR/FPSR accesses.
2128 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2130         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2131         Call libc_fetestexcept_aarch64.
2133 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2135         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2136         Call libc_fesetround_aarch64.
2138 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2140         [BZ #17733]
2141         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2142         (__bind): Do not define as weak alias.
2143         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2144         define.
2145         (__getsockname): Do not define as weak alias.
2147 2014-12-22  Will Newton  <will.newton@linaro.org>
2149         * manual/install.texi: Document that we require bison 2.7
2150         or above.
2151         * INSTALL: Regenerate.
2152         * configure.ac: Use AC_CHECK_PROG_VER instead of
2153         AC_PATH_PROG when checking for bison and check for
2154         version 2.7 or above.
2155         * configure: Regenerate.
2157 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2159         [BZ #17745]
2160         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2161         * sysdeps/tile/ffsll.c (ffsll): To here.
2163         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2165 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2167         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2168         if not defined.
2169         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2170         definition.
2171         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2172         hidden ___tls_get_addr.
2173         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2174         hidden __tls_get_addr.
2175         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2176         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2177         Likewise.
2179 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2181         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2182         _dl_init call.
2184 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2186         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2187         from "call _dl_init@PLT".
2188         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2190 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2192         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2193         guarantees.
2195 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2197         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2199 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2201         [BZ #17744]
2202         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2203         strnlen.
2205 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2207         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2208         of multu on MIPSr6.
2209         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2210         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2211         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2212         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2213         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2215 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2217         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2218         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2219         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2220         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2221         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2222         mips32r6/mips64r6.
2223         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2225 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2227         * string/strncat.c (STRNCAT): Simplify implementation.
2229 2014-12-19  David S. Miller  <davem@davemloft.net>
2231         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2232         access the quad as both a long double and as a series of 4 words.
2234         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2235         link_map->l_info array access.
2237 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2239         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2241         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2242         * math/atest-exp2.c (TIMEOUT): Likewise.
2243         * math/atest-sincos.c (TIMEOUT): Likewise.
2245 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2247         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2248         -Wno-error with -fno-builtin-lround.
2250 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2252         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2253         Contains futex constants and functions moved over from ...
2254         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2255         <lowlevellock-futex.h>.
2256         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2257         (lll_timedwait_tid): Add comments and parentheses around macro
2258         arguments.
2260 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2263         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2264         (__lll_private_flag): Remove.
2265         (lll_futex_wait): Likewise.
2266         (lll_futex_timed_wait): Likewise.
2267         (lll_futex_wake): Likewise.
2268         (lll_futex_requeue): Likewise.
2269         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2270         (__lll_timedwait_tid): Spell out argument names.
2271         (lll_timedwait_tid): Add comments and parentheses around macro
2272         arguments.
2273         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2274         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2276 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2278         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2279         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2280         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2281         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2282         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2283         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2284         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2285         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2286         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2287         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2289         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2290         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2292         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2293         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2294         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2295         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2296         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2298 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2300         * sysdeps/x86_64/x32/Makefile: New file.
2302 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2304         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2305         1L with (mp_limb_t) 1.
2307 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2309         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2310         * nptl/libc_pthread_init.c: ... here.
2311         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2312         * nptl/register-atfork.c: ... here.
2314         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2315         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2316         Use assert_perror to check its return value.
2317         (__gai_create_helper_thread): Likewise.
2319         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2321         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2323 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2325         [BZ #17725]
2326         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2327         __profil_counter.
2328         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2329         Likewise.
2330         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2331         Likewise.
2332         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2333         Likewise.
2334         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2335         (profil_counter): Likewise.
2336         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2337         (profil_counter): Likewise.
2338         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2339         Likewise.
2340         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2341         Likewise.
2342         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2343         (profil_counter): Likewise.
2344         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2345         Likewise.
2346         [!__profil_counter] (profil_counter): Define as weak alias of
2347         __profil_counter.
2348         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2349         (profil_counter): Rename to __profil_counter.
2350         [!__profil_counter] (profil_counter): Define as weak alias of
2351         __profil_counter.
2352         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2353         (profil_counter): Rename to __profil_counter.
2354         [!__profil_counter] (profil_counter): Define as weak alias of
2355         __profil_counter.
2356         * sysdeps/posix/profil.c: Update comment referring to
2357         profil_counter.
2358         (__profil): Use __profil_counter instead of profil_counter.
2359         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2360         __profil_counter.  Use __profil_counter_ushort and
2361         __profil_counter_uint in definitions.
2362         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2363         instead of profil_counter_uint and profil_counter_ushort.
2365         [BZ #17722]
2366         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2367         define as weak alias of __inet_makeaddr.
2368         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2369         as weak alias of __inet_addr.
2370         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2371         as weak alias of __inet_pton.  Use libc_hidden_weak.
2372         * include/arpa/inet.h (__inet_pton): Declare.  Use
2373         libc_hidden_proto.
2374         (inet_makeaddr): Don't use libc_hidden_proto.
2375         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2376         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2377         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2378         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2379         Remove variable.
2380         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2381         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2383 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2385         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2387 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2389         * stdio-common/bug-vfprintf-nargs.c (do_test):
2390         Cast value to intptr_t to avoid format warning
2391         for usage with PRIdPTR printing macro.
2393 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2395         * libio/tst-widetext.c (do_test):
2396         Use format type %td instead of %Zd for ptrdiff_t
2397         in order to avoid format warning.
2399 2014-12-17  Andreas Schwab  <schwab@suse.de>
2401         * nscd/mem.c (gc): Add size_t cast to match printf format.
2403 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2405         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2406         (init): Apply PTR_MANGLE to pointers before storing them.
2407         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2408         before using them.
2410 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2412         [BZ #17719]
2413         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2414         define as weak alias of __memrchr.
2415         (__memrchr): Do not define as strong alias of memrchr.
2416         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2417         Remove variable.
2418         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2419         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2420         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2422         [BZ #17717]
2423         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2424         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2425         (if_indextoname): Rename to __if_indextoname and define as weak
2426         alias of __if_indextoname.  Use libc_hidden_weak.
2427         (if_freenameindex): Rename to __if_freenameindex and define as
2428         weak alias of __if_freenameindex.
2429         (if_nameindex): Rename to __if_nameindex and define as weak alias
2430         of __if_nameindex.
2431         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2432         __if_nametoindex and define as weak alias of __if_nametoindex.
2433         Use libc_hidden_weak.
2434         (if_freenameindex): Rename to __if_freenameindex and define as
2435         weak alias of __if_freenameindex.
2436         (if_nameindex): Rename to __if_nameindex and define as weak alias
2437         of __if_nameindex.
2438         (if_indextoname): Rename to __if_indextoname and define as weak
2439         alias of __if_indextoname.  Use libc_hidden_weak.
2440         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2441         __if_nametoindex and define as weak alias of __if_nametoindex.
2442         Use libc_hidden_weak.
2443         (if_freenameindex): Rename to __if_freenameindex and define as
2444         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2445         (if_nameindex_netlink): Use __if_freenameindex instead of
2446         if_freenameindex.
2447         (if_nameindex): Rename to __if_nameindex and define as weak alias
2448         of __if_nameindex.  Use libc_hidden_weak.
2449         (if_indextoname): Rename to __if_indextoname and define as weak
2450         alias of __if_indextoname.  Use libc_hidden_weak.
2451         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2452         libc_hidden_proto.
2453         [!_ISOMAC] (__if_freenameindex): Likewise.
2454         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2455         if_nametoindex.
2456         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2457         variable.
2458         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2459         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2460         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2461         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2462         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2463         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2464         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2466         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2467         Remove variable.
2468         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2469         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2471 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2473         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2474         subscript above bounds'
2476         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2477         bounds.
2479 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2481         * libio/tst-fopenloc.c: Use test-skeleton.c.
2483         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2484         (entry): Rename to ITEM.
2485         (do_test, comp): Adjust.
2487         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2489 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2491         * string/tester.c: Include <libc-internal.h>.
2492         (test_memset): Ignore -Wmemset-transposed-args.
2494 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2496         * misc/tst-mntent2.c (do_test): Fix warning.
2498 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2500         * elf/tst-unique4lib.cc(a): Mark as used.
2502 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2504         [BZ #17630]
2505         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2506         names.
2508 2014-12-16  Allan McRae  <allan@archlinux.org>
2510         * stdio-common/Makefile (tests): Re-add bug26.
2512 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2514         [BZ #17657]
2515         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2516         static array.
2518 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2520         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2521         (__lll_lock_wait): Likewise.
2522         (__lll_timedlock_wait): Likewise.
2523         (__lll_timedwait_tid): Likewise.
2524         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2525         (__lll_robust_timedlock_wait): Likewise.
2526         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2527         (lll_cond_trylock): Likewise.
2528         (__lll_lock): Likewise.
2529         (__lll_robust_lock): Likewise.
2530         (__lll_cond_lock): Likewise.
2531         (lll_robust_cond_lock): Likewise.
2532         (__lll_timedlock): Likewise.
2533         (__lll_robust_timedlock): Likewise.
2534         (__lll_unlock): Likewise.
2535         (__lll_robust_unlock): Likewise.
2536         (lll_wait_tid): Likewise.
2537         (lll_timedwait_tid): Likewise.
2539 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2541         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2543 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2545         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2547 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2549         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2550         * stdio-common/tst-sprintf.c: Likewise.
2552 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2554         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2556 2014-12-15  Jeff Law  <law@redhat.com>
2558         [BZ #16617]
2559         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2560         on the heap.  (CVE-2012-3406)
2561         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2562         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2563         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2565 2014-12-15  Will Newton  <will.newton@linaro.org>
2567         * manual/install.texi: Bump required version of texinfo
2568         to 4.7 from 4.5.
2569         * INSTALL: Regenerated.
2570         * configure.ac: Check for makeinfo version 4.7 and above.
2571         * configure: Regenerated.
2573 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2575         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2576         PREFIX, string constant to insert between directory and name.
2577         * sysdeps/posix/shm_open.c: Update caller.
2578         * sysdeps/posix/shm_unlink.c: Likewise.
2579         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2580         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2581         (SEM_SHM_PREFIX): New macro.
2582         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2583         [$(have-thread-library) = no].
2584         * nptl/Makefile (libpthread-routines): Add shm-directory.
2585         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2586         * sysdeps/nptl/shm-directory.h: New file.
2587         * sysdeps/posix/shm-directory.c
2588         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2589         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2590         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2591         INTERNAL_SYSCALL.
2592         (__where_is_shmfs): Function removed.
2593         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2594         Variables removed.
2595         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2596         Use SHM_GET_NAME.
2597         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2599         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2600         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2601         unconditional for use inside libpthread.
2602         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2604 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2606         * nptl/pthread_getaffinity.c: New file.
2607         * nptl/pthread_setaffinity.c: New file.
2608         * nptl/pthread_getname.c: New file.
2609         * nptl/pthread_setname.c: New file.
2611         * nptl/pthread_create.c (START_THREAD_DEFN)
2612         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2614 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2617         * resolv/res_send.c (send_vc): Disable warning resplen may
2618         be used uninitialized.
2620 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2622         * nptl/tst-mutex6.c
2623         (ATTR_NULL): New define checks ATTR against NULL.
2624         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2625         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2627 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2629         [BZ #17581]
2630         * malloc/hooks.c
2631         (mem2mem_check): Revert my previous change.
2632         (malloc_check_get_size): Revert my previous change.
2633         (mem2chunk_check): Revert my previous change.
2635 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2637         * sysdeps/posix/shm-directory.c: New file.
2638         * sysdeps/posix/shm-directory.h: New file.
2639         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2640         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2641         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2642         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2643         Transmute EPERM to EACCES.
2644         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2645         from ...
2646         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2647         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2649 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2651         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2652         pointer and cast to uintptr_t.
2653         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2655         Add cast to avoid warning.
2656         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2658 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2660         * nptl/semaphore.h: Move to ...
2661         * sysdeps/pthread/semaphore.h: ... here.
2662         * Makefile (installed-headers): Change nptl/semaphore.h to
2663         sysdeps/pthread/semaphore.h.
2665 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2667         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2668         generated error format strings.
2670         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2671         -Wformat-extra-args warnings for scanf formats.
2672         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2673         test of zero-length format (duh).
2674         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2675         corner-case scanf format test.
2676         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2677         generated fprintf format string.
2678         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2679         corner-case sprintf format tests.
2680         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2681         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2682         -Wformat-extra-args warnings throughout.
2683         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2684         (CFLAGS-scanf4.c): Likewise.
2685         (CFLAGS-scanf7.c): Likewise.
2686         (CFLAGS-tst-sprintf.c): Likewise.
2687         (CFLAGS-tst-printf.c): Likewise.
2688         (CFLAGS-tst-printfsz.c): Likewise.
2690 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2692         * include/cpio.h: New file.
2693         * include/fmtmsg.h: Likewise.
2695         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2696         corresponding format argument to size_t.
2697         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2698         arguments.
2699         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2700         corresponding format argument to size_t.
2701         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2702         arguments.
2703         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2704         corresponding format argument to size_t.
2705         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2706         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2707         (CFLAGS-tst-mbswcs2.c): Likewise.
2708         (CFLAGS-tst-mbswcs3.c): Likewise.
2709         (CFLAGS-tst-mbswcs4.c): Likewise.
2710         (CFLAGS-tst-mbswcs5.c): Likewise.
2711         (CFLAGS-tst-trans.c): Likewise
2713 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2715         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2716         rather than assuming they won't contain any '%'s.
2718 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2720         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2721         inhibit_loop_to_libcall to avoid recursive calls.
2722         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2723         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2725 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2727         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2728         prototype.
2730 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2732         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2733         integer value instead of boolean.
2735 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2737         * malloc/malloc.c: Fix powerof2 check.
2739 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2741         * locale/programs/locfile.h (maybe_swap_uint32):
2742         Remove inline and add unused attribute.
2744 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2746         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2747         Truncating assembler expression to a .long expression.
2749 2014-12-11  Andreas Schwab  <schwab@suse.de>
2751         * elf/rtld.c (struct map_args): Constify str member.
2752         (do_preload): Constify fname argument.
2754 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2756         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2757         constants definition.
2759 2014-12-11  Andreas Schwab  <schwab@suse.de>
2761         [BZ #16657]
2762         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2763         FORCE_ELISION instead of DO_ELISION.
2764         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2765         Remove.
2766         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2767         Likewise.
2769         * iconvdata/gconv-modules: Remove duplicate entry.
2771 2014-12-11  Will Newton  <will.newton@linaro.org>
2773         Merge gettext 0.19.3 into intl/.
2775         This involves a number of cosmetic changes to comments
2776         and ANSI function definitions and prototypes throughout
2777         all the files. The gettext copyright header is used but
2778         with the date ranges taken from the glibc copy.
2780         * NEWS: Add gettext merge to 2.21.
2781         * intl/bindtextdom.c: Switch to gettext copyright.
2782         Use ANSI definitions and prototypes.
2783         Use gl_* locking primitives rather than __libc_* ones.
2784         Use __builtin_expect rather than __glibc_likely/unlikely.
2785         * intl/dcgettext.c: Switch to gettext copyright.
2786         Use ANSI definitions and prototypes.
2787         * intl/dcigettext.c: Switch to gettext copyright.
2788         Use ANSI definitions and prototypes.
2789         (INTDIV0_RAISES_SIGFPE): New define.
2790         Use gl_* locking primitives rather than __libc_* ones.
2791         Include eval-plural.h instead of plural-eval.c.
2792         Use __builtin_expect rather than __glibc_likely/unlikely.
2793         * intl/dcngettext.c: Switch to gettext copyright.
2794         Use ANSI definitions and prototypes.
2795         * intl/dgettext.c: Likewise.
2796         * intl/dngettext.c: Likewise.
2797         * intl/plural-eval.c: Renamed to...
2798         * intl/eval-plural.h: ...this.
2799         * intl/explodename.c: Switch to gettext copyright.
2800         Use ANSI definitions and prototypes.
2801         (_nl_explode_name): Use strchr instead of __rawmemchr.
2802         * intl/finddomain.c: Switch to gettext copyright.
2803         Use ANSI definitions and prototypes.
2804         Use gl_* locking primitives rather than __libc_* ones.
2805         (_nl_find_domain): Use malloc rather than alloca for
2806         allocation of temporary locale name.
2807         * intl/gettext.c: Switch to gettext copyright.
2808         Use ANSI definitions and prototypes.
2809         * intl/gettextP.h: Switch to gettext copyright.
2810         Use ANSI definitions and prototypes.
2811         Use gl_* locking primitives rather than __libc_* ones.
2812         * intl/gmo.h: Switch to gettext copyright.
2813         (struct sysdep_string): Move struct segment_pair outside of
2814         struct definition.
2815         * intl/hash-string.c: Use ANSI definitions and prototypes.
2816         * intl/hash-string.h: Switch to gettext copyright.
2817         Use ANSI definitions and prototypes.
2818         * intl/l10nflist.c: Switch to gettext copyright.
2819         Use ANSI definitions and prototypes.
2820         (_nl_normalize_codeset): Avoid integer overflow.
2821         * intl/loadinfo.h: Switch to gettext copyright.
2822         Use ANSI definitions and prototypes.
2823         (LIBINTL_DLL_EXPORTED): New define.
2824         (PATH_SEPARATOR): New define.
2825         * intl/loadmsgcat.c: Switch to gettext copyright.
2826         * intl/localealias.c: Switch to gettext copyright.
2827         Use ANSI definitions and prototypes.
2828         (_nl_expand_alias): Use PATH_SEPARATOR.
2829         * intl/ngettext.c: Switch to gettext copyright.
2830         Use ANSI definitions and prototypes.
2831         * intl/plural-exp.c: Likewise.
2832         * intl/plural-exp.h: Switch to gettext copyright.
2833         Use ANSI definitions and prototypes.
2834         (struct expression): Move definition of enum operator outside
2835         of struct definition.
2836         * intl/plural.c: Regenerate.
2837         * intl/plural.y: Switch to gettext copyright.
2838         Use ANSI definitions and prototypes.
2839         Port to bison 3.0.
2840         * intl/textdomain.c: Switch to gettext copyright.
2841         Use ANSI definitions and prototypes.
2842         Use gl_* locking primitives rather than __libc_* ones.
2844 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2846         * debug/warning-nop.c: Add used atrribute.
2848 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2850         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2852         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2853         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2854         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2856 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2857             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2859         [BZ #17634]
2860         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2861         Undefine after defining function.  Define as weak alias of
2862         __wcschr.  Use libc_hidden_weak.
2863         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2864         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2865         (libc_hidden_def): Also define __GI___wcschr alias.
2866         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2867         __wcschr and define as weak alias of __wcschr.
2868         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2869         __wcschr.
2870         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2871         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2872         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2873         libc_hidden_weak.  Do not use libc_hidden_def.
2874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2875         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2876         __GI___wcschr alias.
2877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2878         [IS_IN (libc)] (wcschr): Define as macro expanding to
2879         __redirect_wcschr.
2880         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2881         [IS_IN (libc)] (__wcschr_power6): Likewise.
2882         [IS_IN (libc)] (__wcschr_power7): Likewise.
2883         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2884         instead of wcschr.
2885         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2886         __libc_wcschr.
2887         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2888         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2889         __wcschr and define as weak alias of __wcschr.  Use
2890         libc_hidden_builtin_def.
2891         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2892         as weak alias of __wcschr.  Use libc_hidden_weak.
2893         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2894         wcschr.
2895         * time/era.c (_nl_init_era_entries): Likewise.
2896         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2897         variable.
2898         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2899         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2901 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2903         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2904         format for long int variable.
2906 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2908         [BZ #10672]
2909         * manual/search.texi: (Array Sort Function): Remove claim how to make
2910         qsort stable.
2912 2014-12-10  Andreas Schwab  <schwab@suse.de>
2914         [BZ #12847]
2915         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2916         user-controlled locks.
2918 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2920         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2921         register.
2923 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2925         * configure.ac (--disable-werror): New configure option.
2926         (enable_werror): New AC_SUBST.
2927         * configure: Regenerated.
2928         * config.make.in (enable-werror): New variable.
2929         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2930         -Wno-error=undef.
2931         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2932         * manual/install.texi (Configuring and compiling): Document
2933         --disable-werror.
2934         * INSTALL: Regenerated.
2935         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2936         (CFLAGS-tst-chk2.c): Likewise.
2937         (CFLAGS-tst-chk3.c): Likewise.
2938         (CFLAGS-tst-chk4.cc): Likewise.
2939         (CFLAGS-tst-chk5.cc): Likewise.
2940         (CFLAGS-tst-chk6.cc): Likewise.
2941         (CFLAGS-tst-lfschk1.c): Likewise.
2942         (CFLAGS-tst-lfschk2.c): Likewise.
2943         (CFLAGS-tst-lfschk3.c): Likewise.
2944         (CFLAGS-tst-lfschk4.cc): Likewise.
2945         (CFLAGS-tst-lfschk5.cc): Likewise.
2946         (CFLAGS-tst-lfschk6.cc): Likewise.
2948         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2949         (main): Disable -Wdeprecated-declarations around calls to
2950         register_printf_function.
2952         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2953         (do_test): Disable -Wdiv-by-zero around some calls to
2954         fwrite_unlocked and fread_unlocked.
2956         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2957         (DIAG_POP_NEEDS_COMMENT): Likewise.
2958         (_DIAG_STR1): Likewise.
2959         (_DIAG_STR): Likewise.
2960         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2961         * stdio-common/bug21.c: Include <libc-internal.h>.
2962         (do_test): Disable -Wformat around call to sscanf.
2963         * stdio-common/scanf14.c: Include <libc-internal.h>.
2964         (main): Disable -Wformat around some calls to scanf functions.
2966 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2968         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2970 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2972         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2973         stack variable alignment.
2975 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2977         [BZ #17682]
2978         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2979         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2980         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2981         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2982         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2983         __getrlimit instead of getrlimit.
2984         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2985         __gettimeofday instead of gettimeofday.
2986         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2987         Likewise.
2988         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2989         Likewise.
2990         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2991         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2992         Remove variable.
2993         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2994         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2996 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2998         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2999         for wide-character tests.
3001 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3003         * io/openat64.c: #include <libc-internal.h>
3004         (__openat64): Prototypify.  Use ignore_value on MODE.
3005         * io/openat.c: Likewise.
3006         * misc/reboot.c: #include <libc-internal.h>
3007         (reboot): Prototypify.  Use ignore_value on HOWTO.
3008         * misc/ptrace.c: #include <libc-internal.h>
3009         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3011 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3013         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3014         XPG4, UNIX98 and XOPEN2K.
3015         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3016         Remove variable.
3017         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3019 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3021         * libio/fileops.c: Use ISO C style for function definitions.
3022         * libio/iofopen.c: Likewise.
3023         * libio/wfileops.c: Likewise.
3025         [BZ #17653]
3026         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3027         offset on EOF.
3028         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3029         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3030         (fgets_func): Function pointer to fgets and fgetws.
3031         (do_ftell_test): Add test to verify ftell value after read
3032         EOF.
3033         (do_test): Set fgets_func.
3035         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3036         O_TRUNC flag for w and w+ modes.
3037         (do_rewind_test): Likewise.
3038         (do_ftell_test): Likewise.
3039         (do_write_test): Likewise.
3041         [BZ #17647]
3042         * libio/fileops.c (do_ftell): Seek only when there are
3043         unflushed writes.
3044         * libio/wfileops.c (do_ftell_wide): Likewise.
3045         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3046         test case.
3047         (do_one_test): Call it.
3049 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3051         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3052         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3053         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3054         Remove variable.
3055         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3056         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3057         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3059 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3061         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3062         Remove variable.
3063         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3065         [BZ #17668]
3066         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3067         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3068         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3069         __freeifaddrs.  Use libc_hidden_weak.
3070         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3071         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3072         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3073         __freeifaddrs.  Use libc_hidden_weak.
3074         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3075         __getifaddrs and define as weak alias of __getifaddrs.  Use
3076         libc_hidden_weak.
3077         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3078         __freeifaddrs.  Use libc_hidden_weak.
3079         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3080         Remove variable.
3081         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3082         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3084 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3086         [BZ #17601]
3087         * sysdeps/mips/start.S (__start): Use indirect jump to call
3088         __libc_start_main.
3090 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3092         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3094         * nptl/tst-mutex1.c: Include <stdbool.h>.
3095         [!ATTR] (ATTR_NULL): New macro.
3096         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3097         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3098         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3100         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3101         to char *.
3103         [BZ #17665]
3104         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3105         Change conditional to [__USE_MISC].
3107         [BZ #17664]
3108         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3109         fgets_unlocked.
3110         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3111         __fgets_unlocked.
3112         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3113         fgets_unlocked.
3114         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3115         Remove variable.
3116         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3117         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3118         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3119         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3120         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3121         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3122         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3123         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3124         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3126         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3128 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3131         Remove strpbrk objects.
3132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3133         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3134         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3136         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3137         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3140         Remove strcspn objects.
3141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3142         (__libc_ifunc_impl_list): Remove strcspn implementation.
3143         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3144         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3145         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3146         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3149         Remove strspn objetcs.
3150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3151         (__libc_ifunc_impl_list): Remove strspn implementation.
3152         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3153         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3154         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3155         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3157 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3159         [BZ #17581]
3160         * malloc/hooks.c
3161         (mem2mem_check): Add a terminator to the chain of checking blocks.
3162         (malloc_check_get_size): Use it here.
3163         (mem2chunk_check): Ditto.
3165 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3167         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3168         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3170 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3172         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3174         * nptl/nptl-init.c: Include libc-internal.h.
3175         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3177         * elf/ldconfig.c (search_dir): Expand comment.
3179 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3181         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3182         variable.
3183         (linknamespace-symlist-stdlibs-tests): Likewise.
3184         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3185         instead of $(objpfx)symlist-stdlibs.
3186         (linknamespace-libs-isoc): New variable.
3187         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3188         (linknamespace-libs-ISO): New variable.
3189         (linknamespace-libs-ISO99): Likewise.
3190         (linknamespace-libs-ISO11): Likewise.
3191         (linknamespace-libs-XPG3): Likewise.
3192         (linknamespace-libs-XPG4): Likewise.
3193         (linknamespace-libs-POSIX): Likewise.
3194         (linknamespace-libs-UNIX98): Likewise.
3195         (linknamespace-libs-XOPEN2K): Likewise.
3196         (linknamespace-libs-POSIX2008): Likewise.
3197         (linknamespace-libs-XOPEN2K8): Likewise.
3198         ($(objpfx)symlist-stdlibs): Replace by
3199         $(linknamespace-symlist-stdlibs-tests).  Use
3200         $(linknamespace-libs-$*) as set of libraries.
3201         ($(linknamespace-header-tests)): Update dependencies.  Use
3202         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3203         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3204         * conform/linknamespace.pl: Remove comment about considering
3205         definitions of symbols from irrelevant libraries.
3207 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3209         [BZ #13862]
3210         * elf/dl-tls.c: Include <atomic.h>.
3211         (oom): Remove #ifdef SHARED/#endif.
3212         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3213         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3214         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3215         big enough.
3216         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3217         * nptl/Makefile (tests): Add tst-stack4.
3218         (modules-names): Add tst-stack4mod.
3219         ($(objpfx)tst-stack4): New.
3220         (tst-stack4mod.sos): Likewise.
3221         ($(objpfx)tst-stack4.out): Likewise.
3222         ($(tst-stack4mod.sos)): Likewise.
3223         (clean): Likewise.
3224         * nptl/tst-stack4.c: New file.
3225         * nptl/tst-stack4mod.c: Likewise.
3227 2014-11-27  J. Brown  <jb999@gmx.de>
3229         * sysdeps/x86/bits/string.h: Add recent CPUs.
3231 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3233         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3234         sigblock.
3236         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3237         feof.
3239         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3240         variable.
3242 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3244         * nscd/connections.c: Include libc-internal.h because of macro
3245         usage ignore_value.
3247 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3249         * string/bits/string3.h (__warn_memset_zero_len): Don't
3250         declare for gcc newer than 5.0.
3251         (memset): Don't test for zero-length __LEN for gcc newer than
3252         5.0.
3254 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3256         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3257         size_t for %zu format.
3259         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3260         difference, not %ju.
3262 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3264         * include/libc-internal.h (ignore_value): New macro.
3265         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3266         with ignore_value.
3268         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3269         definition.
3271         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3272         pthread_cleanup_push to void *.
3274         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3275         Undefine.
3277         [BZ #16619]
3278         [BZ #16740]
3279         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3280         instead of 1L << 52.
3282         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3283         * libio/bug-rewind2.c (do_test): Likewise.
3285         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3286         * debug/test-strcpy_chk-ifunc.c: Likewise.
3287         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3288         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3289         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3290         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3291         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3292         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3293         * Rules [$(multi-arch) = no] (tests): Do not filter out
3294         $(tests-ifunc).
3295         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3296         * debug/Makefile (tests-ifunc): Remove variable.
3297         (tests): Do not add $(tests-ifunc).
3298         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3299         (tests): Do not add $(tests-ifunc).
3300         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3301         [TEST_IFUNC]: Remove conditionals.
3302         * string/test-string.h (TEST_IFUNC): Remove macro.
3303         [TEST_IFUNC]: Remove conditionals.
3305         * string/test-strchr.c [!WIDE] (L): New macro.
3306         [WIDE] (L): Likewise.
3307         (check1): Use CHAR instead of char.  Use L on string and character
3308         constants.
3310 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3312         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3313         tests.
3314         * sysdeps/powerpc/bits/atomic.h
3315         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3316         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3317         (atomic_exchange_and_add_acq): Likewise.
3318         (atomic_exchange_and_add_rel): Likewise.
3319         * sysdeps/powerpc/powerpc32/bits/atomic.h
3320         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3321         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3322         * sysdeps/powerpc/powerpc64/bits/atomic.h
3323         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3324         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3326 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3328         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3329         Change synchronization of __sched_fifo_min_prio and
3330         __sched_fifo_max_prio.
3331         * nptl/pthread_mutexattr_getprioceiling.c
3332         (pthread_mutexattr_getprioceiling): Likewise.
3333         * nptl/pthread_mutexattr_setprioceiling.c
3334         (pthread_mutexattr_setprioceiling): Likewise.
3335         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3336         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3337         Likewise.
3339 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3341         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3342         void.
3344 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3346         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3347         third argument const.
3349 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3351         fnmatch: work around GCC compiler warning bug with uninit var
3352         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3353         This works around a bug with x86-64 GCC 4.9.2 and earlier
3354         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3355         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3356         used uninitialized in this function [-Wmaybe-uninitialized]".
3358 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3360         * posix/bug-regex31.c (main): Return RES not 0.
3362 2014-11-25  Anton Blanchard <anton@samba.org>
3364         * sysdeps/powerpc/bits/atomic.h
3365         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3367 2014-11-24  Sterling Augustine  <saugustine@google.com>
3369         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3371 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3373         [BZ #17608]
3374         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3376 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3378         [BZ #17633]
3379         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3380         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3381         variable.
3382         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3383         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3385 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3387         * string/strncpy.c (strncpy): Improve performance by using memset.
3389 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3391         * string/strcpy.c (strcpy):
3392         Improve performance by using strlen and memcpy.
3394 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3396         * string/strcoll_l.c (get_next_seq): __always_inline.
3397         * string/strcoll_l.c (do_compare): __always_inline.
3399 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3401         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3402         defined.
3403         * include/mqueue.h: Likewise.
3404         * include/stdlib.h: Likewise.
3406         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3407         (get_null_defines): Adjust.
3408         * sunrpc/Makefile: Adjust comment.
3409         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3410         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3411         (CFLAGS-interp.c): Likewise.
3412         (CFLAGS-ldconfig.c): Likewise.
3413         (CPPFLAGS-.os): Likewise.
3414         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3415         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3416         * extra-modules.mk (extra-modules.mk): Likewise.
3417         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3418         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3419         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3420         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3421         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3422         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3423         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3424         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3425         * iconvdata/Makefile (CPPFLAGS): Likewise.
3426         (cpp-srcs-left): Add libof for all iconvdata routines.
3427         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3428         * include/assert.h: Likewise.
3429         * include/ctype.h: Likewise.
3430         * include/errno.h: Likewise.
3431         * include/libc-symbols.h: Likewise.
3432         * include/math.h: Likewise.
3433         * include/netdb.h: Likewise.
3434         * include/resolv.h: Likewise.
3435         * include/stdio.h: Likewise.
3436         * include/stdlib.h: Likewise.
3437         * include/string.h: Likewise.
3438         * include/sys/stat.h: Likewise.
3439         * include/wctype.h: Likewise.
3440         * intl/l10nflist.c: Likewise.
3441         * libidn/idn-stub.c: Likewise.
3442         * libio/libioP.h: Likewise.
3443         * nptl/libc_multiple_threads.c: Likewise.
3444         * nptl/pthreadP.h: Likewise.
3445         * posix/regex_internal.h: Likewise.
3446         * resolv/res_hconf.c: Likewise.
3447         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3448         * sysdeps/arm/memmove.S: Likewise.
3449         * sysdeps/arm/sysdep.h: Likewise.
3450         * sysdeps/generic/_itoa.h: Likewise.
3451         * sysdeps/generic/symbol-hacks.h: Likewise.
3452         * sysdeps/gnu/errlist.awk: Likewise.
3453         * sysdeps/gnu/errlist.c: Likewise.
3454         * sysdeps/i386/i586/memcpy.S: Likewise.
3455         * sysdeps/i386/i586/memset.S: Likewise.
3456         * sysdeps/i386/i686/memcpy.S: Likewise.
3457         * sysdeps/i386/i686/memmove.S: Likewise.
3458         * sysdeps/i386/i686/mempcpy.S: Likewise.
3459         * sysdeps/i386/i686/memset.S: Likewise.
3460         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3461         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3462         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3463         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3464         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3465         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3466         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3467         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3468         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3476         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3477         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3478         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3479         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3480         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3481         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3482         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3483         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3484         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3485         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3486         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3487         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3488         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3489         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3490         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3491         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3493         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3496         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3497         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3498         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3499         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3500         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3501         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3502         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3503         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3504         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3505         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3506         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3507         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3508         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3509         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3511         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3512         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3513         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3514         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3515         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3516         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3517         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3518         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3520         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3521         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3522         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3523         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3524         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3525         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3526         * sysdeps/posix/closedir.c: Likewise.
3527         * sysdeps/posix/opendir.c: Likewise.
3528         * sysdeps/posix/readdir.c: Likewise.
3529         * sysdeps/posix/rewinddir.c: Likewise.
3530         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3531         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3532         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3533         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3534         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3536         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3541         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3542         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3543         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3544         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3545         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3546         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3547         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3548         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3549         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3550         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3551         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3552         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3553         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3554         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3556         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3557         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3558         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3565         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3566         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3567         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3568         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3569         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3570         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3572         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3573         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3574         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3575         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3576         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3578         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3579         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3580         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3581         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3583         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3586         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3587         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3588         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3589         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3590         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3591         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3594         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3595         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3596         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3597         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3598         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3599         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3600         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3601         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3602         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3603         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3604         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3605         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3606         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3607         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3608         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3609         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3610         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3611         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3612         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3614         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3615         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3616         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3617         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3618         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3619         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3620         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3621         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3622         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3623         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3624         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3625         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3626         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3628         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3629         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3630         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3631         * sysdeps/unix/alpha/sysdep.S: Likewise.
3632         * sysdeps/unix/alpha/sysdep.h: Likewise.
3633         * sysdeps/unix/make-syscalls.sh: Likewise.
3634         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3636         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3637         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3638         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3639         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3640         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3641         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3642         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3643         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3644         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3645         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3647         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3649         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3650         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3651         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3652         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3653         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3654         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3655         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3656         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3657         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3658         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3659         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3663         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3664         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3668         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3672         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3673         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3674         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3675         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3676         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3677         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3678         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3679         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3681         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3685         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3686         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3687         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3690         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3692         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3693         * sysdeps/x86_64/memcpy.S: Likewise.
3694         * sysdeps/x86_64/memmove.c: Likewise.
3695         * sysdeps/x86_64/memset.S: Likewise.
3696         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3697         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3698         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3699         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3700         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3701         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3703         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3704         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3705         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3706         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3707         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3708         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3711         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3713         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3714         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3715         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3716         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3717         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3718         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3719         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3720         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3721         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3722         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3723         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3725         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3726         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3727         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3728         * sysdeps/x86_64/strcmp.S: Likewise.
3730         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3732         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3733         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3734         * elf/rtld-Rules: Likewise.
3735         * elf/setup-vdso.h: Likewise.
3736         * include/assert.h: Likewise.
3737         * include/bits/stdlib-float.h: Likewise.
3738         * include/errno.h: Likewise.
3739         * include/sys/stat.h: Likewise.
3740         * include/unistd.h: Likewise.
3741         * sysdeps/aarch64/setjmp.S: Likewise.
3742         * sysdeps/alpha/setjmp.S: Likewise.
3743         * sysdeps/arm/__longjmp.S: Likewise.
3744         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3745         * sysdeps/arm/setjmp.S: Likewise.
3746         * sysdeps/arm/sysdep.h: Likewise.
3747         * sysdeps/generic/_itoa.h: Likewise.
3748         * sysdeps/generic/dl-sysdep.h: Likewise.
3749         * sysdeps/generic/ldsodefs.h: Likewise.
3750         * sysdeps/i386/dl-tls.h: Likewise.
3751         * sysdeps/i386/setjmp.S: Likewise.
3752         * sysdeps/m68k/setjmp.c: Likewise.
3753         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3754         * sysdeps/mach/hurd/opendir.c: Likewise.
3755         * sysdeps/posix/getcwd.c: Likewise.
3756         * sysdeps/posix/opendir.c: Likewise.
3757         * sysdeps/posix/profil.c: Likewise.
3758         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3759         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3760         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3761         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3763         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3765         * sysdeps/s390/dl-tls.h: Likewise.
3766         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3767         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3768         * sysdeps/sh/sh3/setjmp.S: Likewise.
3769         * sysdeps/sh/sh4/setjmp.S: Likewise.
3770         * sysdeps/unix/alpha/sysdep.h: Likewise.
3771         * sysdeps/unix/arm/sysdep.S: Likewise.
3772         * sysdeps/unix/i386/sysdep.S: Likewise.
3773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3774         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3775         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3776         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3777         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3778         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3779         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3781         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3782         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3783         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3784         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3785         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3788         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3791         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3793         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3797         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3800         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3801         * sysdeps/x86_64/setjmp.S: Likewise.
3803         * include/math.h: Use IS_IN instead of IS_IN_libm.
3804         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3805         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3806         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3808         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3809         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3810         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3814         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3815         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3816         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3817         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3818         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3819         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3820         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3821         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3822         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3823         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3824         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3825         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3826         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3827         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3828         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3829         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3830         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3831         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3832         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3833         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3834         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3835         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3836         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3838         Likewise.
3839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3840         Likewise.
3841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3842         Likewise.
3843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3844         Likewise.
3845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3846         Likewise.
3847         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3848         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3849         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3850         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3851         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3852         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3858         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3859         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3860         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3861         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3863         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3864         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3865         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3866         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3867         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3868         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3869         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3871         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3873         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3875         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3876         * nptl/pthreadP.h: Likewise.
3877         * nptl_db/structs.def: Likewise.
3878         * sysdeps/arm/sysdep.h: Likewise.
3879         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3880         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3881         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3882         * sysdeps/unix/alpha/sysdep.h: Likewise.
3883         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3885         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3887         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3888         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3890         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3891         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3892         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3893         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3895         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3896         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3901         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3904         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3905         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3906         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3907         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3908         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3910         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3911         * nptl/pthreadP.h: Likewise.
3912         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3913         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3914         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3915         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3916         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3917         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3918         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3919         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3920         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3921         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3922         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3923         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3930         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3932         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3933         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3934         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3935         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3937         * dlfcn/dladdr.c: Use IS_IN.
3938         * dlfcn/dladdr1.c: Likewise.
3939         * dlfcn/dlclose.c: Likewise.
3940         * dlfcn/dlerror.c: Likewise.
3941         * dlfcn/dlinfo.c: Likewise.
3942         * dlfcn/dlmopen.c: Likewise.
3943         * dlfcn/dlopen.c: Likewise.
3944         * dlfcn/dlsym.c: Likewise.
3945         * dlfcn/dlvsym.c: Likewise.
3947         * include/ifaddrs.h: Use IS_IN.
3948         * inet/check_pf.c: Likewise.
3949         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3950         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3952         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3953         IS_IN_ldconfig.
3954         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3955         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3957         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3958         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3959         IS_IN (libc).
3961         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3963         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3964         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3965         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3966         * include/libc-symbols.h (IS_IN_LIB): New macro.
3967         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3968         * include/netdb.h: Likewise.
3969         * include/stap-probe.h: Remove all uses of IN_LIB.
3971         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3972         instead of IN_MODULE.
3973         * include/libc-symbols.h (IN_MODULE): Define using
3974         MODULE_NAME.
3975         (PASTE_NAME, PASTE_NAME1): New macros.
3976         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3977         of IN_LIB.
3978         (STAP_PROBE_ASM): Likewise.
3980 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3982         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3983         __mach_init in dlopened libc.
3985 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3987         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3988         * sysdeps/arm/preconfigure: Regenerate.
3990 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3992         * nptl/pthread_create.c (__pthread_create_2_1): Set
3993         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3994         when copying values from IATTR into PD.
3996 2014-11-21  Will Newton  <will.newton@linaro.org>
3997             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3999         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4000         Refactor inline-asm.  Also add comment.
4002         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4003         ElfW macro instead of hardcoded Elf64 types.
4004         (la_aarch64_gnu_pltenter): Likewise.
4005         * sysdeps/aarch64/dl-machine.h
4006         (elf_machine_runtime_setup): Use ElfW(Addr).
4008         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4009         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4010         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4011         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4012         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4013         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4014         (R_AARCH64_TLS_DTPMOD): This.
4015         (R_AARCH64_TLS_DTPREL64): Rename to ...
4016         (R_AARCH64_TLS_DTPREL): This.
4017         (R_AARCH64_TLS_TPREL64): Rename to ...
4018         (R_AARCH64_TLS_TPREL): This.
4019         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4020         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4021         R_AARCH64_TLS_TPREL64.
4022         (elf_machine_rela): Likewise.
4024 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4026         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4027         by setting it to 0.  64b atomics are not supported currently.
4029 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4031         [BZ #16469]
4032         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4033         search domain names.
4035 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4037         [BZ #16469]
4038         * NEWS: Update.
4039         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4040         trailing dot.
4041         * posix/tst-getaddrinfo5.c: New.
4042         * posix/Makefile (tests): Add it.
4044 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4046         [BZ #14498]
4047         * NEWS: Fixed.
4048         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4049         after parsing line but before break_if_match.
4050         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4051         if there is a protocol mismatch.
4053 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4055         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4056         because the potential race is on the user-supplied stream.
4058 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4060         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4061         string literal if not passed a buffer.
4062         * manual/job.texi (ctermid): Update reasoning, note deviation
4063         from posix, suggest mtasurace when not passed a buffer, for
4064         future non-preliminary safety notes.
4066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4068         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4069         of not passing it a buffer.
4070         Reported by Peng Haitao.
4072 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4074         * manual/Makefile ($(objpfx)stamp-summary): Require
4075         check-safety.sh to pass.
4076         * manual/check-safety.sh: Wish for verification that every
4077         @deftypefn and @deftypefun is followed by a @safety remark.
4079 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4081         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4083         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4084         PTHREAD_CANCEL_ASYNCHRONOUS.
4085         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4086         send SIGCANCEL.
4088         * nptl/default-sched.h: New file.
4089         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4090         * nptl/pthread_create.c: Include it.
4091         (__pthread_create_2_1): Use collect_default_sched instead of making
4092         Linux syscalls here directly.
4094 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4096         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4097         __pthread_once): Use C11 atomics.
4099 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4101         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4103 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4105         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4106         atomic_thread_fence_acquire, atomic_thread_fence_release,
4107         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4108         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4109         atomic_compare_exchange_weak_relaxed,
4110         atomic_compare_exchange_weak_acquire,
4111         atomic_compare_exchange_weak_release,
4112         atomic_exchange_acquire, atomic_exchange_release,
4113         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4114         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4115         atomic_fetch_and_acquire,
4116         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4118 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4120         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4121         USE_ATOMIC_COMPILER_BUILTINS): Define.
4122         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4124         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4126         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4128         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4130         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4132         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4134         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4136         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4138         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4140         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4142         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4143         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4144         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4145         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4146         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4148         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4149         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4150         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4151         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4152         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4153         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4154         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4155         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4156         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4157         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4158         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4160         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4163 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4165         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4166         the sched_priority value here.  It was already checked when the user
4167         called pthread_attr_setschedparam.
4169         * nptl/tst-bad-schedattr.c: New file.
4170         * nptl/Makefile (tests): Add it.
4172 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4173             Florian Weimer  <fweimer@redhat.com>
4174             Joseph Myers  <joseph@codesourcery.com>
4175             Adam Conrad  <adconrad@0c3.net>
4176             Andreas Schwab  <schwab@suse.de>
4177             Brooks  <bmoses@google.com>
4179         [BZ #17625]
4180         * wordexp-test.c (__dso_handle): Add prototype.
4181         (__register_atfork): Likewise.
4182         (__app_register_atfork): New function.
4183         (registered_forks): New global.
4184         (register_fork): New function.
4185         (test_case): Add 3 new tests for WRDE_CMDSUB.
4186         (main): Call __app_register_atfork.
4187         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4188         fork count is non-zero fail the test.
4189         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4190         is set.
4191         (parse_dollars): Remove check for WRDE_NOCMD.
4192         (parse_dquote): Likewise.
4194 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4196         * Makeconfig (built-modules): List non-library modules to be
4197         built.
4198         (module-cppflags): Include libc-modules.h for
4199         everything except shlib-versions.v.i.
4200         (CPPFLAGS): Use it.
4201         (before-compile): Add libc-modules.h.
4202         ($(common-objpfx)libc-modules.h,
4203         $(common-objpfx)libc-modules.stmp): New targets.
4204         (common-generated): Add libc-modules.h and libc-modules.stmp.
4205         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4206         * include/libc-symbols.h: Don't include libc-modules.h.
4207         * include/libc-modules.h: Remove file.
4208         * scripts/gen-libc-modules.awk: New script to generate
4209         libc-modules.h.
4210         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4211         Depend on libc-modules.stmp.
4213         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4215         * Makeconfig (in-module): Get value of libof set for the
4216         translation unit.
4217         (CPPFLAGS): Use $(in-module).
4218         * Makerules: Don't suffix routine names for nonlib.
4219         * include/libc-modules.h: New file.
4220         * include/libc-symbols.h: Include libc-modules.h
4221         (IS_IN): New macro to replace IS_IN_* macros.
4222         * elf/Makefile: Set libof-* for each routine.
4223         * elf/rtld-Rules: Likewise.
4224         * extra-modules.mk: Likewise.
4225         * iconv/Makefile: Likewise.
4226         * iconvdata/Makefile: Likewise.
4227         * locale/Makefile: Likewise.
4228         * malloc/Makefile: Likewise.
4229         * nss/Makefile: Likewise.
4230         * sysdeps/gnu/Makefile: Likewise.
4231         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4232         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4233         * sysdeps/s390/s390-64/Makefile: Likewise.
4234         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4235         CPPFLAGS for nscd instead of nonlib.
4237 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4239         * nptl/createthread.c: New file.
4241         * nptl/createthread.c: Moved ...
4242         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4244         * nptl/createthread.c: Add proper top-line comment.
4245         (do_clone): Folded into ...
4246         (create_thread): ... here.  Take new arguments STOPPED_START and
4247         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4248         increment __nptl_threads, do event-reporting logic, do
4249         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4250         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4251         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4252         just send SIGCANCEL.
4253         * nptl/pthread_create.c: Forward-declare create_thread before
4254         including createthread.c.
4255         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4256         declaration, and new macro START_THREAD_SELF to replace argument.
4257         Remove return statement.
4258         (report_thread_creation): New function.
4259         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4260         synchronization logic, and __nptl_nthreads increment here, around
4261         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4262         PD->parent_cancelhandling here, before create_thread.  When
4263         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4264         __deallocate_stack, and ENOMEM translation here.
4266 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4268         [BZ #17616]
4269         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4270         (mptwo): Rename to __mptwo.
4271         (__inv): Use __mptwo instead of mptwo.
4272         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4273         (mptwo): Rename to __mptwo.
4274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4275         of mpone and __mptwo instead of mptwo.
4276         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4277         instead of mpone.
4278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4279         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4280         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4281         of mpone and __mptwo instead of mptwo.
4282         (__mpranred): Use __mpone instead of mpone.
4283         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4284         variable.
4285         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4286         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4287         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4288         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4289         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4290         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4291         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4292         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4293         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4294         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4295         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4296         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4297         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4298         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4299         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4300         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4301         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4302         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4303         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4305 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4307         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4308         replace BSD Handler xref with BSD Signal Handling.
4310 2014-11-17  Richard Henderson  <rth@redhat.com>
4312         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4313         (_FP_PACK_RAW_2): Remove.
4314         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4315         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4316         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4317         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4318         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4319         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4320         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4321         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4322         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4323         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4324         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4325         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4326         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4327         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4328         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4329         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4331 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4333         * signal/signal.h [__USE_MISC]
4334         (struct sigvec): Remove type.
4335         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4336         (sigvec): Remove declaration.
4337         * sysdeps/posix/sigvec.c: Moved ...
4338         * signal/sigvec.c: ... here, replacing old file.
4339         (struct sigvec): New type, copied from old signal.h definition.
4340         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4341         (__sigvec): Convert definition to prototype.
4342         (sigvec): Replace weak_alias with compat_symbol.
4343         * signal/Versions (libc: GLIBC_2.21): New version set.
4344         * include/signal.h: Remove __sigvec declaration.
4345         * sysdeps/unix/bsd/sigvec.c: Remove file.
4346         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4347         * manual/signal.texi (BSD Handler): Remove subsection.
4348         Move siginterrupt up to ...
4349         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4350         (Blocking in BSD): Fold subsection into its parent.
4351         * NEWS: Mention sigvec removal.
4353 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4355         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4356         (DLA_FMS): Make definition conditional only on [__FMA4__].
4357         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4358         definition.
4360         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4361         Make definition conditional only on [PROF].
4362         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4363         definition.
4364         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4365         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4367         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4368         !__GNUC__].
4369         * include/signal.h (__sigpause): Move declaration above call to
4370         libc_hidden_proto.
4371         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4372         variable.
4373         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4374         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4376 2014-11-14  David S. Miller  <davem@davemloft.net>
4378         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4379         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4381 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4383         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4384         * configure: Regenerated.
4385         * manual/install.texi (Tools for Compilation): Document a
4386         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4387         compiler verified to work.
4388         * INSTALL: Regenerated.
4390         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4391         redeclare with asm name.
4392         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4393         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4394         including <string.h>.
4395         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4396         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4397         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4399         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4401         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4403 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4405         * stdlib/strtol.c (__strtol): Use prototype definition.
4407         [BZ #17594]
4408         * stdlib/strtol.c (SYM__): New macro.
4409         (SYM__1): Likewise.
4410         (__strtol): Likewise.
4411         (strtol): Rename to __strtol and define as weak alias of
4412         __strtol.  Use libc_hidden_weak.
4414 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4416         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4417         Use numbered labels in inline assembly.
4419 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4421         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4422         Add setjmp LIBC_PROBE.
4423         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4424         Likewise.
4425         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4426         Add longjmp, longjmp_target LIBC_PROBE.
4427         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4428         Likewise.
4430 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4432         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4433         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4434         to get rid of unused variable warning.
4436 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4438         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4439         Check for unwind_backtrace ==  NULL only in SHARED case.
4440         (__backchain_backtrace): Compile only in SHARED case.
4441         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4442         Likewise.
4443         (__backchain_backtrace): Declare as static.
4445 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4447         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4448         (__libc_multiple_threads_ptr): Variable moved ...
4449         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4451 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4453         * conform/GlibcConform.pm: New file.
4454         * conform/conformtest.pl: Use GlibcConform module.
4455         * conform/linknamespace.pl: New file.
4456         * conform/list-header-symbols.pl: Likewise.
4457         * conform/Makefile (linknamespace-symlists-base): New variable.
4458         (linknamespace-symlists-tests): Likewise.
4459         (linknamespace-header-base): Likewise.
4460         (linknamespace-header-tests): Likewise.
4461         (tests-special): Add new tests.
4462         ($(linknamespace-symlists-tests)): New rule.
4463         (linknamespace-libs): New variable.
4464         ($(objpfx)symlist-stdlibs): New rule.
4465         ($(linknamespace-header-tests)): Likewise.
4466         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4467         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4468         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4469         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4470         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4471         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4472         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4473         (test-xfail-ISO/math.h/linknamespace): Likewise.
4474         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4475         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4476         (test-xfail-ISO/time.h/linknamespace): Likewise.
4477         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4478         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4479         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4480         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4481         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4482         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4483         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4484         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4485         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4486         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4487         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4488         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4489         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4490         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4491         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4492         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4493         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4494         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4495         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4496         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4497         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4498         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4499         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4500         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4501         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4502         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4503         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4504         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4505         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4506         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4507         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4508         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4509         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4510         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4511         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4512         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4513         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4514         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4515         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4516         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4517         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4518         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4519         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4520         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4521         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4522         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4523         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4524         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4525         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4526         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4527         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4528         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4529         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4530         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4531         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4532         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4533         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4534         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4535         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4536         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4537         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4538         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4539         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4540         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4541         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4542         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4543         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4544         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4545         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4546         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4547         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4548         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4549         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4550         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4551         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4552         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4553         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4554         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4555         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4556         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4557         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4558         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4559         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4560         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4561         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4562         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4563         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4564         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4565         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4566         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4567         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4568         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4569         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4570         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4571         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4572         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4573         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4574         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4575         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4576         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4577         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4578         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4579         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4580         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4581         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4582         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4583         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4584         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4585         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4586         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4587         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4588         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4589         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4590         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4591         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4592         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4593         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4594         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4595         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4596         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4597         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4598         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4599         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4600         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4601         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4602         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4603         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4604         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4605         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4606         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4607         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4608         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4609         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4610         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4611         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4612         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4613         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4614         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4615         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4616         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4617         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4618         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4619         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4620         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4621         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4622         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4623         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4624         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4625         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4626         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4628         [BZ #17589]
4629         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4630         of fgets_unlocked.
4632         [BZ #17585]
4633         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4634         (memmem): Rename to __memmem and define as weak alias of
4635         __memmem.  Use libc_hidden_weak.
4636         (__memmem): Use libc_hidden_def.
4637         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4638         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4639         memmem.
4641         [BZ #17582]
4642         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4643         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4644         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4645         and define as weak alias of __fgets_unlocked.  Use
4646         libc_hidden_weak.
4647         (__fgets_unlocked): Use libc_hidden_def.
4648         * include/stdio.h (__fgets_unlocked): Declare.  Use
4649         libc_hidden_proto.
4650         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4651         __fgets_unlocked instead of fgets_unlocked.
4652         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4653         (GET_NPROCS_CONF_PARSER): Likewise.
4654         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4655         (GET_NPROCS_CONF_PARSER): Likewise.
4657         [BZ #17574]
4658         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4659         weak alias of __wmemset.  Use libc_hidden_weak.
4660         (__wmemset): Use libc_hidden_def.
4661         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4662         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4663         of wmemset.
4665         [BZ #17573]
4666         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4667         with asm name __mempcpy.
4668         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4670         [BZ #17572]
4671         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4672         and define as weak alias of __rawmemchr.
4673         (__rawmemchr): Do not define as strong alias of rawmemchr.
4675         [BZ #17571]
4676         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4677         alias of __qsort_r.
4678         (qsort): Call __qsort_r instead of qsort_r.
4679         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4680         (__qsort_r): Declare.  Call libc_hidden_proto.
4681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4682         instead of qsort_r.
4683         * nscd/gai.c (__qsort_r): Define to qsort_r.
4684         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4685         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4686         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4688         [BZ #17570]
4689         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4690         define as weak alias of __malloc_info.
4692         [BZ #17584]
4693         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4694         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4695         (__rewinddir): Use libc_hidden_def.
4696         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4697         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4698         (__rewinddir): Use libc_hidden_def.
4699         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4700         weak alias of __rewinddir.  Don't use libc_hidden_def.
4701         (__rewinddir): Use libc_hidden_def.
4702         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4703         (__rewinddir): Use libc_hidden_proto.
4704         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4705         rewinddir.
4706         (__getcwd): Use __rewinddir instead of rewinddir.
4708         [BZ #17583]
4709         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4710         alias of __fileno.  Use libc_hidden_weak.
4711         (__fileno): Use libc_hidden_def.
4712         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4713         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4714         alias of __ftello.
4715         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4716         __ftello.
4717         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4718         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4719         libc_hidden_def.
4720         (fread_unlocked): Don't use libc_hidden_ver.
4721         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4722         and define as weak alias of __fread_unlocked.  Don't use
4723         libc_hidden_def.
4724         (__fread_unlocked): Use libc_hidden_def.
4725         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4726         (ftello): Don't use libc_hidden_proto.
4727         (__ftello): Declare.  Use libc_hidden_proto.
4728         (fread_unlocked): Don't use libc_hidden_proto.
4729         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4730         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4731         and __ftello instead of fileno, fread_unlocked and ftello.
4733 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4735         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4736         GOT12.
4737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4738         Likewise.
4739         (_dl_start_user): Likewise.
4740         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4742 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4743             Siddhesh Poyarekar  <siddhesh@redhat.com>
4745         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4746         Move argv and envp down instead of moving argc up.
4747         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4749 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4751         [BZ #17506]
4752         * test-skeleton.c (main): Return successful if one of
4753         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4754         * string/tst-strcoll-overflow.c: Define expected status.
4756 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4758         [BZ #17475]
4759         * locale/iso-639.def: Define Bhili and Tulu language codes.
4761 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4763         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4765 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4767         [BZ #17555]
4768         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4770 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4772         * configure.ac: Updated check of minimal required version to
4773         2.22.
4774         * manual/install.texi (Tools for Compilation): Updated version
4775         number.
4776         * configure: Regenerated.
4777         * INSTALL: Likewise.
4779 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4781         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4782         __tls_get_addr.
4784 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4786         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4787         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4788         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4789         libc_hidden_weak.
4790         (waitpid): Define as alias of __waitpid.
4791         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4792         __waitpid.
4793         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4794         libc_hidden_weak.
4795         (waitpid): Define as alias of __waitpid.
4796         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4797         __libc_waitpid alias.
4798         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4799         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4802         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4803         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4804         alias.
4805         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4806         __waitpid.
4807         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4808         libc_hidden_weak.
4809         (waitpid): Define as alias of __waitpid.
4811 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4813         * manual/llio.texi: Add comment that write safety has been
4814         fixed in Linux.
4816         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4817         (localplt-build-dso): Add elf/ld.so.
4818         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4819         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4820         and free for ld.so.
4821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4822         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4824         Likewise.
4825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4826         Likewise.
4827         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4828         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4829         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4830         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4831         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4832         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4833         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4834         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4835         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4836         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4837         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4839 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4841         [BZ #14132]
4842         * include/libc-symbols.h (INTUSE): Remove macro.
4843         (INTDEF): Likewise.
4844         (INTVARDEF): Likewise.
4845         (_INTVARDEF): Likewise.
4846         (INTDEF2): Likewise.
4847         (INTVARDEF2): Likewise.
4848         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4849         rtld_hidden_def instead of INTVARDEF.
4850         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4851         (_dl_starting_up_internal): Remove declaration.
4852         (_dl_starting_up): Use rtld_hidden_proto.
4853         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4854         declaration.
4855         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4856         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4857         _dl_starting_up.
4858         * elf/dl-writev.h (_dl_writev): Likewise.
4859         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4860         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4861         _dl_starting_up_internal.
4863 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4865         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4866         test-skeleton.c.
4868 2014-11-05  Will Newton  <will.newton@linaro.org>
4870         * benchtests/Makefile: (bench-malloc): Add malloc thread
4871         scalability benchmark.
4872         * benchtests/bench-malloc-threads.c: New file.
4874 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4876         * sysdeps/aarch64/strchrnul.S: New file.
4878 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4880         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4881         definition.
4882         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4883         Likwise.
4884         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4885         Likewise.
4886         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4887         Likewise.
4888         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4889         Likewise.
4890         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4891         Likewise.
4893 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4895         * catgets/test-gencat.c: Use test-skeleton.c.
4896         * catgets/tst-catgets.c: Likewise.
4897         * csu/tst-empty.c: Likewise.
4898         * elf/tst-audit2.c: Likewise.
4899         * elf/tst-global1.c: Likewise.
4900         * elf/tst-pathopt.c: Likewise.
4901         * elf/tst-piemod1.c: Likewise.
4902         * elf/tst-tls10.c: Likewise.
4903         * elf/tst-tls11.c: Likewise.
4904         * elf/tst-tls12.c: Likewise.
4905         * gnulib/tst-gcc.c: Likewise.
4906         * iconvdata/tst-e2big.c: Likewise.
4907         * iconvdata/tst-loading.c: Likewise.
4908         * iconv/tst-iconv1.c: Likewise.
4909         * iconv/tst-iconv2.c: Likewise.
4910         * inet/test-inet6_opt.c: Likewise.
4911         * inet/tst-gethnm.c: Likewise.
4912         * inet/tst-network.c: Likewise.
4913         * inet/tst-ntoa.c: Likewise.
4914         * intl/tst-codeset.c: Likewise.
4915         * intl/tst-gettext2.c: Likewise.
4916         * intl/tst-gettext3.c: Likewise.
4917         * intl/tst-ngettext.c: Likewise.
4918         * intl/tst-translit.c: Likewise.
4919         * io/test-stat.c: Likewise.
4920         * libio/test-fmemopen.c: Likewise.
4921         * libio/tst-freopen.c: Likewise.
4922         * libio/tst-sscanf.c: Likewise.
4923         * libio/tst-ungetwc1.c: Likewise.
4924         * libio/tst-ungetwc2.c: Likewise.
4925         * libio/tst-widetext.c: Likewise.
4926         * localedata/tst-ctype.c: Likewise.
4927         * localedata/tst-digits.c: Likewise.
4928         * localedata/tst-leaks.c: Likewise.
4929         * localedata/tst-mbswcs1.c: Likewise.
4930         * localedata/tst-mbswcs2.c: Likewise.
4931         * localedata/tst-mbswcs3.c: Likewise.
4932         * localedata/tst-mbswcs4.c: Likewise.
4933         * localedata/tst-mbswcs5.c: Likewise.
4934         * localedata/tst-setlocale.c: Likewise.
4935         * localedata/tst-trans.c: Likewise.
4936         * localedata/tst-wctype.c: Likewise.
4937         * localedata/tst-xlocale1.c: Likewise.
4938         * login/tst-grantpt.c: Likewise.
4939         * malloc/tst-calloc.c: Likewise.
4940         * malloc/tst-malloc.c: Likewise.
4941         * malloc/tst-mallocstate.c: Likewise.
4942         * malloc/tst-mcheck.c: Likewise.
4943         * malloc/tst-mtrace.c: Likewise.
4944         * malloc/tst-obstack.c: Likewise.
4945         * math/atest-exp2.c: Likewise.
4946         * math/atest-exp.c: Likewise.
4947         * math/atest-sincos.c: Likewise.
4948         * math/test-matherr.c: Likewise.
4949         * math/test-misc.c: Likewise.
4950         * math/test-powl.c: Likewise.
4951         * math/tst-definitions.c: Likewise.
4952         * misc/tst-dirname.c: Likewise.
4953         * misc/tst-efgcvt.c: Likewise.
4954         * misc/tst-fdset.c: Likewise.
4955         * misc/tst-hsearch.c: Likewise.
4956         * misc/tst-mntent2.c: Likewise.
4957         * nptl/tst-sem7.c: Likewise.
4958         * nptl/tst-sem8.c: Likewise.
4959         * nptl/tst-sem9.c: Likewise.
4960         * nss/test-netdb.c: Likewise.
4961         * posix/tst-fnmatch.c: Likewise.
4962         * posix/tst-getlogin.c: Likewise.
4963         * posix/tst-gnuglob.c: Likewise.
4964         * posix/tst-mmap.c: Likewise.
4965         * pwd/tst-getpw.c: Likewise.
4966         * resolv/tst-inet_ntop.c: Likewise.
4967         * rt/tst-timer.c: Likewise.
4968         * stdio-common/test-fseek.c: Likewise.
4969         * stdio-common/test-popen.c: Likewise.
4970         * stdio-common/test-vfprintf.c: Likewise.
4971         * stdio-common/tst-cookie.c: Likewise.
4972         * stdio-common/tst-fileno.c: Likewise.
4973         * stdio-common/tst-gets.c: Likewise.
4974         * stdio-common/tst-obprintf.c: Likewise.
4975         * stdio-common/tst-perror.c: Likewise.
4976         * stdio-common/tst-sprintf2.c: Likewise.
4977         * stdio-common/tst-sprintf3.c: Likewise.
4978         * stdio-common/tst-sprintf.c: Likewise.
4979         * stdio-common/tst-swprintf.c: Likewise.
4980         * stdio-common/tst-tmpnam.c: Likewise.
4981         * stdio-common/tst-unbputc.c: Likewise.
4982         * stdio-common/tst-wc-printf.c: Likewise.
4983         * stdlib/tst-environ.c: Likewise.
4984         * stdlib/tst-fmtmsg.c: Likewise.
4985         * stdlib/tst-limits.c: Likewise.
4986         * stdlib/tst-rand48-2.c: Likewise.
4987         * stdlib/tst-rand48.c: Likewise.
4988         * stdlib/tst-random2.c: Likewise.
4989         * stdlib/tst-random.c: Likewise.
4990         * stdlib/tst-strtol.c: Likewise.
4991         * stdlib/tst-strtoll.c: Likewise.
4992         * stdlib/tst-tls-atexit.c: Likewise.
4993         * stdlib/tst-xpg-basename.c: Likewise.
4994         * string/test-ffs.c: Likewise.
4995         * string/tst-bswap.c: Likewise.
4996         * string/tst-inlcall.c: Likewise.
4997         * string/tst-strtok.c: Likewise.
4998         * string/tst-strxfrm.c: Likewise.
4999         * sysdeps/x86_64/tst-audit10.c: Likewise.
5000         * sysdeps/x86_64/tst-audit3.c: Likewise.
5001         * sysdeps/x86_64/tst-audit4.c: Likewise.
5002         * sysdeps/x86_64/tst-audit5.c: Likewise.
5003         * time/tst-ftime_l.c: Likewise.
5004         * time/tst-getdate.c: Likewise.
5005         * time/tst-mktime3.c: Likewise.
5006         * time/tst-mktime.c: Likewise.
5007         * time/tst-posixtz.c: Likewise.
5008         * time/tst-strptime2.c: Likewise.
5009         * time/tst-strptime3.c: Likewise.
5010         * wcsmbs/tst-btowc.c: Likewise.
5011         * wcsmbs/tst-mbrtowc.c: Likewise.
5012         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5013         * wcsmbs/tst-wchar-h.c: Likewise.
5014         * wcsmbs/tst-wcpncpy.c: Likewise.
5015         * wcsmbs/tst-wcrtomb.c: Likewise.
5016         * wcsmbs/tst-wcsnlen.c: Likewise.
5017         * wcsmbs/tst-wcstof.c: Likewise.
5019 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5021         [BZ #14132]
5022         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5023         INTDEF.
5024         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5025         declaration.
5026         (_dl_mcount): Use rtld_hidden_proto.
5027         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5028         _dl_mcount.
5029         * elf/rtld.c (_rtld_global_ro): Likewise.
5031         [BZ #14132]
5032         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5033         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5034         of _dl_init_internal.
5035         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5036         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5037         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5038         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5039         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5040         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5041         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5042         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5043         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5044         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5045         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5046         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5047         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5048         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5049         * sysdeps/tile/dl-start.S (_start): Likewise.
5050         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5051         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5053         [BZ #14132]
5054         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5055         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5056         (rtld_progname): Make macro definition unconditional.
5057         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5058         INTDEF.
5059         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5060         (dl_main): Likewise.
5061         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5062         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5063         instead of _dl_argv_internal.
5064         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5065         __GI__dl_argv instead of INTUSE(_dl_argv).
5066         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5067         __GI__dl_argv instead of _dl_argv_internal.
5069         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5070         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5071         macro.
5072         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5073         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5074         New macro.
5075         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5076         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5077         macro.
5078         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5079         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5081 2014-11-04  Andreas Schwab  <schwab@suse.de>
5083         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5085 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5087         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5088         mtvsrd instruction in binary form.
5090 2014-11-03  Andreas Schwab  <schwab@suse.de>
5092         [BZ #17522]
5093         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5094         for less than MB_LEN_MAX use a local buffer of that size.
5095         * libio/tst-fputws.c: New file.
5096         * libio/Makefile (tests): Add tst-fputws.
5098 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5100         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5101         the size of the fpu_fr.fpu_dregs[] array.
5103 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5105         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5106         (__nanosleep): Do not define as alias.
5107         (nanosleep): Define as alias of __nanosleep.
5108         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5109         __libc_nanosleep name.
5111 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5113         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5114         install.texi in comment.
5116 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5118         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5119         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5120         ... add here and use lwsync or sync ...
5121         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5122         ... and add here using lwsync.
5124 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5126         * elf/dl-machine-reject-phdr.h: New file.
5127         * elf/dl-load.c: #include that.
5128         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5129         if that returned true.
5131 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5133         [BZ #17496]
5134         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5135         gen-as-const-headers chunk.  Add a big scare comment after the last
5136         safe place to touch before-compile.
5138 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5140         * manual/install.texi (Tools for Compilation): Update autoconf
5141         version requirements.
5142         * INSTALL: Regenerated.
5144         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5145         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5146         (__libc_pselect): Likewise.
5148         [BZ #14138]
5149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5154 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5156         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5157         correct barrier instruction.
5158         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5159         Likewise.
5160         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5161         Likewise.
5163 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5165         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5166         after defining inlines.  Instead, just use parens to defeat macro
5167         expansion of __isctype in its declaration.
5169 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5171         * include/sys/uio.h (__libc_readv): Remove declaration.
5172         (__libc_writev): Likewise.
5173         * misc/readv.c (__libc_readv): Rename to __readv.
5174         (__readv): Do not define as alias.
5175         (readv): Define as alias of __readv.
5176         * misc/writev.c (__libc_writev): Rename to __writev.
5177         (__writev): Do not define as alias.
5178         (writev): Define as alias of __writev.
5179         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5180         (__readv): Do not define as alias.
5181         (readv): Define unconditionally as alias of __readv.
5182         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5183         (__writev): Do not define as alias.
5184         (writev): Define unconditionally as alias of __writev.
5185         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5186         name.
5187         (writev): Do not define __libc_writev name.
5189 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5191         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5192         (convert_charseq): New function, broken out of ...
5193         (use_from_charmap): ... here.  Call it.
5194         (use_to_charmap): Use convert_charseq and free instead of duplicating
5195         its code with a variable-length stack struct.
5197 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5199         * include/fcntl.h (__libc_creat): Remove declaration.
5200         * io/creat.c (__libc_creat): Rename to creat.
5201         (creat): Do not define as alias.
5202         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5203         of creat instead of __libc_creat.
5204         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5205         to creat.
5206         (creat): Do not define as alias.
5207         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5208         __libc_creat.
5209         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5210         __libc_creat name.
5211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5212         Likewise.
5214 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5216         * manual/llio.texi: Add comments discussing why write() may be
5217         considered MT-unsafe on Linux.
5219 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5221         * dl-load.c (local_strdup): Remove.
5222         (expand_dynamic_string_token): Use __strdup.
5223         (decompose_rpath): Likewise.
5224         (_dl_map_object): Likewise.
5226 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5228         [BZ #14132]
5229         * sysdeps/generic/unwind-dw2-fde.c
5230         (__register_frame_info_bases_internal): Do not declare.
5231         (__register_frame_info_table_bases_internal): Likewise.
5232         (__deregister_frame_info_bases_internal): Likewise.
5233         (__register_frame_info_bases): Declare and use hidden_proto before
5234         definition.  Use hidden_def instead of INTDEF.
5235         (__register_frame_info_table_bases): Likewise.
5236         (__deregister_frame_info_bases): Likewise.
5237         (__register_frame_info): Do not use INTUSE.
5238         (__register_frame): Likewise.
5239         (__register_frame_info_table): Likewise.
5240         (__register_frame_table): Likewise.
5241         (__deregister_frame_info): Likewise.
5242         (__deregister_frame): Likewise.
5244 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5247         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5248         not undefine.
5249         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5250         Likewise.
5251         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5252         Likewise.
5254 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5256         [BZ #14138]
5257         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5258         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5259         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5260         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5261         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5262         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5263         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5264         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5265         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5266         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5267         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5268         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5269         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5270         syscall.
5271         (setfsuid): Likewise.
5272         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5273         (setfsuid): Likewise.
5274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5275         (setfsuid): Likewise.
5276         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5277         Likewise.
5278         (setfsuid): Likewise.
5279         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5280         (setfsuid): Likewise.
5281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5282         Likewise.
5283         (setfsuid): Likewise.
5285 2014-10-27  Andreas Schwab  <schwab@suse.de>
5287         [BZ #17501]
5288         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5289         check for Slow_SSE4_2 feature bit.
5290         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5291         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5292         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5293         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5295 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5297         * configure.ac: Validate compiler version with a empirical test of
5298         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5299         $CC -v output.
5300         * configure: Regenerated.
5302         * inet/htons.c (htons): Prototypify.
5303         * inet/htonl.c (htonl): Likewise.
5305 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5307         * string/strncat.c (strncat): Improve performance by using strlen.
5309 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5311         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5315         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5316         Call libc_fetestexcept_aarch64.
5318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5320         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5321         Call libc_feholdexcept_aarch64.
5323 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5325         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5326         Call get_rounding_mode.
5328 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5331         Simplify logic.
5333 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5335         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5336         Simplify logic.
5338 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5340         [BZ #14138]
5341         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5342         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5343         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5344         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5345         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5346         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5347         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5348         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5349         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5350         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5353         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5354         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5355         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5356         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5357         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5358         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5359         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5360         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5361         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5362         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5363         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5364         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5365         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5366         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5367         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5368         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5369         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5370         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5371         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5372         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5373         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5374         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5375         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5376         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5377         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5378         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5379         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5380         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5381         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5382         syscall.
5383         (geteuid): Likewise.
5384         (getgid): Likewise.
5385         (getuid): Likewise.
5386         (getresgid): Likewise.
5387         (getresuid): Likewise.
5388         (getgroups): Likewise.
5389         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5390         (geteuid): Likewise.
5391         (getgid): Likewise.
5392         (getuid): Likewise.
5393         (getresgid): Likewise.
5394         (getresuid): Likewise.
5395         (getgroups): Likewise.
5396         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5397         (geteuid): Likewise.
5398         (getgid): Likewise.
5399         (getuid): Likewise.
5400         (getresgid): Likewise.
5401         (getresuid): Likewise.
5402         (getgroups): Likewise.
5403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5404         Likewise.
5405         (geteuid): Likewise.
5406         (getgid): Likewise.
5407         (getuid): Likewise.
5408         (getresgid): Likewise.
5409         (getresuid): Likewise.
5410         (getgroups): Likewise.
5411         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5412         (geteuid): Likewise.
5413         (getgid): Likewise.
5414         (getuid): Likewise.
5415         (getresgid): Likewise.
5416         (getresuid): Likewise.
5417         (getgroups): Likewise.
5418         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5419         Likewise.
5420         (geteuid): Likewise.
5421         (getgid): Likewise.
5422         (getuid): Likewise.
5423         (getgroups): Likewise.
5425         [BZ #14138]
5426         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5427         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5428         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5429         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5430         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5431         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5432         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5433         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5434         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5435         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5436         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5437         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5438         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5439         __chown.
5440         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5441         (lchown): Likewise.
5442         (fchown): Likewise.
5443         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5444         Likewise.
5445         (lchown): Likewise.
5446         (fchown): Likewise.
5447         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5448         (lchown): Likewise.
5449         (fchown): Likewise.
5450         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5451         Likewise.
5452         (lchown): Likewise.
5453         (fchown): Likewise.
5455 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5457         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5458         Simplify logic.
5460 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5462         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5463         Cleanup logic.
5465 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5467         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5468         Remove unused include.
5470 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5472         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5474         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5475         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5477 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5478             Helge Deller <deller@gmx.de>
5480         [BZ #17508]
5481         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5482         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5483         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5485 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #14132]
5488         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5489         Remove macro definition.
5490         (__ashrdi3_v_glibc20): Likewise.
5491         (__lshrdi3_v_glibc20): Likewise.
5492         (__cmpdi2_v_glibc20): Likewise.
5493         (__ucmpdi2_v_glibc20): Likewise.
5494         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5495         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5496         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5497         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5498         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5499         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5501 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5503         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5504         old GNU extension [0] syntax.
5505         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5506         alloca rather than an array member with variable length.
5507         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5508         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5509         (parse_opt): ... here.  Likewise use alloca there.
5510         Validate the -i argument before checking for rootness.
5511         (send_shutdown): New function, broken out of ...
5512         (parse_opt): ... here.
5514 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5516         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5517         macro to get at the _rt_local_ro field.
5518         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5519         ([PIC] case) or _dl_hwcap ([!PIC] case).
5520         * sysdeps/arm/setjmp.S: Likewise.
5522         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5523         * sysdeps/arm/configure.ac: New check to define it.
5524         * sysdeps/arm/configure: Regenerated.
5525         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5526         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5527         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5528         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5529         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5530         Use move/movt pair instead of a load.
5531         (LDST_GLOBAL): Macro removed.
5532         (LDR_GLOBAL): New macro replaces it.
5533         (LDR_HIDDEN): New macro.
5534         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5535         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5537         * setjmp/tst-setjmp-static.c: New file.
5538         * setjmp/Makefile (tests): Add it.
5539         (tests-static): New variable.
5541 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5543         [BZ #17485]
5544         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5546 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5548         [BZ #14132]
5549         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5551 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5553         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5555 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5557         * io/fts.c (dirent_not_directory): New function.
5558         (fts_build): Call it.
5560 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5562         * nptl/version.c (__nptl_main): Use normal __write rather than
5563         INTERNAL_SYSCALL.
5564         (banner): Update copyright years.
5566         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5567         gettimeofday.
5568         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5569         * nptl/pthread_cond_timedwait.c: Likewise.
5570         * nptl/pthread_mutex_timedlock.c: Likewise.
5571         * nptl/sem_timedwait.c: Likewise.
5573         * sysdeps/nptl/bits/libc-lock.h
5574         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5575         (__libc_lock_init_recursive): Return void, not 0.
5576         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5577         (__libc_rwlock_init): Likewise.
5578         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5580 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5582         [BZ #15215]
5583         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5584         (__pthread_once_slow): ... here.
5585         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5586         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5588 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5590         [BZ #15215]
5591         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5592         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5593         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5594         * nptl/pthread_once.c (__pthread_once): Likewise.
5595         Update comments.
5597 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5599         [BZ #14138]
5600         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5601         name.
5602         (writev): Use __libc_writev as strong name.
5603         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5604         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5606 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5608         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5610         * sysdeps/i386/nptl/tls.h
5611         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5612         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5613         New macros.
5614         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5615         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5616         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5617         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5618         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5619         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5621         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5622         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5623         on [__NR_futex].
5624         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5625         broken out of ...
5626         (__pthread_mutex_init): ... here.  Call it.
5627         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5628         Conditionalize PI cases on [__NR_futex].
5629         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5630         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5631         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5633         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5634         conditional on [SIGSETXID].
5635         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5636         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5637         is defined.  Likewise for SIGSETXID.
5638         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5639         Conditionalize definitions on [SIGSETXID].
5640         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5641         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5642         unblocking on [SIGCANCEL].
5644         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5645         [__NR_set_robust_list].
5647 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5649         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5650         (do_compare): Likewise.
5652 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5654         [BZ #15884]
5655         * string/strcoll_l.c: Don't include stdio.h.
5656         (coll_seq): Remove members idxarr and rulearr.
5657         (get_next_seq_cached): Remove function.
5658         (get_next_seq): Likewise.
5659         (get_next_seq_nocache): Rename to get_next_seq.
5660         (do_compare): Remove function.
5661         (do_compare_nocache): Rename to do_compare.
5662         (STRCOLL): Remove weight and rules cache.
5664 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5666         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5667         * sysdeps/arm/sfp-machine.h: ... to here.
5668         * sysdeps/arm/Implies: Remove arm/soft-fp.
5670 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5672         * conform/data/sys/utsname.h-data (*_t): Allow.
5673         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5674         [POSIX] (WEXITED): Do not expect constant.
5675         [POSIX] (WSTOPPED): Likewise.
5676         [POSIX] (WNOHANG): Likewise.
5677         [POSIX] (WNOWAIT): Likewise.
5678         [POSIX] (siginfo_t): Do not expect type or elements.
5679         [POSIX] (pid_t): Do not expect type.
5680         [POSIX] (signal.h): Do not allow header.
5681         [POSIX] (sys/resource.h): Likewise.
5682         [POSIX] (si_*): Do not allow pattern.
5683         [POSIX] (W*): Likewise.
5684         [POSIX] (P_*): Likewise.
5685         [POSIX] (BUS_*): Likewise.
5686         [POSIX] (CLD_*): Likewise.
5687         [POSIX] (FPE_*): Likewise.
5688         [POSIX] (ILL_*): Likewise.
5689         [POSIX] (POLL_*): Likewise.
5690         [POSIX] (SEGV_*): Likewise.
5691         [POSIX] (SI_*): Likewise.
5692         [POSIX] (TRAP_*): Likewise.
5693         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5694         variable.
5696 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5698         [BZ #12926]
5699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5700         infinite loop when __recvmsg returns 0.
5702 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5704         * CANCEL-FCT-WAIVE: Remove file.
5705         * CANCEL-FILE-WAIVE: Likewise.
5707         [BZ #14132]
5708         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5709         instead of INTVARDEF.
5710         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5711         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5712         rtld_hidden_data_def instead of INTVARDEF.
5713         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5714         * elf/dl-deps.c (expand_dst): Likewise.
5715         * elf/dl-load.c (_dl_dst_count): Likewise.
5716         (_dl_dst_substitute): Likewise.
5717         (decompose_rpath): Likewise.
5718         (_dl_init_paths): Likewise.
5719         (open_path): Likewise.
5720         (_dl_map_object): Likewise.
5721         * elf/rtld.c (dl_main): Likewise.
5722         (process_dl_audit): Likewise.
5723         (process_envvars): Likewise.
5724         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5725         Remove declaration.
5726         (__libc_enable_secure): Use rtld_hidden_proto.
5728 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5730         * elf/dl-load.c
5731         (add_path): New function broken out of _dl_rtld_di_serinfo.
5732         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5734 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5736         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5737         parentheses around macro arguments.
5738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5749         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5750         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5753         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5754         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5767         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5768         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5771         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5772         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5773         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5774         Likewise.
5775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5780         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5782         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5783         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5784         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5785         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5786         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5787         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5796         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5797         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5798         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5800         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5801         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5802         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5803         (_FP_FRAC_SRS_1): Likewise.
5804         (_FP_FRAC_CLZ_1): Likewise.
5805         (_FP_MUL_MEAT_1_imm): Likewise.
5806         (_FP_MUL_MEAT_1_wide): Likewise.
5807         (_FP_MUL_MEAT_1_hard): Likewise.
5808         (_FP_SQRT_MEAT_1): Likewise.
5809         (_FP_FRAC_ASSEMBLE_1): Likewise.
5810         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5811         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5812         (__FP_CLZ_2): Likewise.
5813         (_FP_MUL_MEAT_2_wide): Likewise.
5814         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5815         (_FP_MUL_MEAT_2_gmp): Likewise.
5816         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5817         (_FP_SQRT_MEAT_2): Likewise.
5818         (_FP_FRAC_ASSEMBLE_2): Likewise.
5819         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5820         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5821         (_FP_FRAC_CLZ_4): Likewise.
5822         (_FP_MUL_MEAT_4_wide): Likewise.
5823         (_FP_MUL_MEAT_4_gmp): Likewise.
5824         (_FP_SQRT_MEAT_4): Likewise.
5825         (_FP_FRAC_ASSEMBLE_4): Likewise.
5826         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5827         * soft-fp/op-common.h (_FP_CMP): Likewise.
5828         (_FP_CMP_EQ): Likewise.
5829         (_FP_CMP_UNORD): Likewise.
5830         (_FP_TO_INT): Likewise.
5831         (_FP_FROM_INT): Likewise.
5832         [!__FP_CLZ] (__FP_CLZ): Likewise.
5833         (_FP_DIV_HELP_imm): Likewise.
5834         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5835         Likewise.
5836         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5840         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5841         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5845         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5847         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5848         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5849         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5850         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5851         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5852         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5854         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5864         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5865         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5866         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5867         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5868         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5869         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5870         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5871         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5872         (FP_UNPACK_RAW_SP): Likewise.
5873         (FP_PACK_RAW_S): Likewise.
5874         (FP_PACK_RAW_SP): Likewise.
5875         (FP_UNPACK_S): Likewise.
5876         (FP_UNPACK_SP): Likewise.
5877         (FP_UNPACK_SEMIRAW_S): Likewise.
5878         (FP_UNPACK_SEMIRAW_SP): Likewise.
5879         (FP_PACK_S): Likewise.
5880         (FP_PACK_SP): Likewise.
5881         (FP_PACK_SEMIRAW_S): Likewise.
5882         (FP_PACK_SEMIRAW_SP): Likewise.
5883         (_FP_SQRT_MEAT_S): Likewise.
5884         (FP_CMP_S): Likewise.
5885         (FP_CMP_EQ_S): Likewise.
5886         (FP_CMP_UNORD_S): Likewise.
5887         (FP_TO_INT_S): Likewise.
5888         (FP_FROM_INT_S): Likewise.
5890         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5892         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5893         (FP_EX_INVALID_IMZ): Likewise.
5894         (FP_EX_INVALID_IMZ_FMA): Likewise.
5895         (FP_EX_INVALID_ISI): Likewise.
5896         (FP_EX_INVALID_ZDZ): Likewise.
5897         (FP_EX_INVALID_IDI): Likewise.
5898         (FP_EX_INVALID_SQRT): Likewise.
5899         (FP_EX_INVALID_CVI): Likewise.
5900         (FP_EX_INVALID_VC): Likewise.
5901         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5902         "invalid" exceptions.
5903         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5904         (_FP_ADD_INTERNAL): Likewise.
5905         (_FP_MUL): Likewise.
5906         (_FP_FMA): Likewise.
5907         (_FP_DIV): Likewise.
5908         (_FP_CMP_CHECK_NAN): Likewise.
5909         (_FP_SQRT): Likewise.
5910         (_FP_TO_INT): Likewise.
5911         (FP_EXTEND): Likewise.
5913 2014-10-09  Allan McRae  <allan@archlinux.org>
5915         * po/fr.po: Update French translation from translation project.
5917 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5919         [BZ #14132]
5920         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5921         of INTDEF.
5922         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5923         (__cxa_atexit): Use libc_hidden_proto.
5924         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5926         [BZ #14132]
5927         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5928         declaration.
5929         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5930         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5931         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5932         [!_ISOMAC] (__iswctype_internal): Likewise.
5933         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5934         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5935         alias.
5936         (fcntl): Remove __fcntl_internal alias.
5937         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5938         __connect_internal alias.
5939         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5940         Likewise.
5942         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5943         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5944         FP_DENORM_ZERO.
5945         (_FP_CHECK_FLUSH_ZERO): New macro.
5946         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5947         (_FP_CMP): Likewise.
5948         (_FP_CMP_EQ): Likewise.
5949         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5950         FP_DENORM_ZERO.
5951         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5952         (FP_TRUNC): Likewise.
5954         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5955         treated as invalid conversion, not as normal exponent.
5957         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5958         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5959         (_FP_CMP_EQ): Likewise.
5960         (_FP_CMP_UNORD): Likewise.
5961         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5962         (FP_CMP_EQ_D): Likewise.
5963         (FP_CMP_UNORD_D): Likewise.
5964         * soft-fp/extended.h (FP_CMP_E): Likewise.
5965         (FP_CMP_EQ_E): Likewise.
5966         (FP_CMP_UNORD_E): Likewise.
5967         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5968         (FP_CMP_EQ_Q): Likewise.
5969         (FP_CMP_UNORD_Q): Likewise.
5970         * soft-fp/single.h (FP_CMP_S): Likewise.
5971         (FP_CMP_EQ_S): Likewise.
5972         (FP_CMP_UNORD_S): Likewise.
5973         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5974         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5975         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5976         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5977         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5978         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5979         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5980         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5981         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5982         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5983         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5984         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5985         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5986         to FP_CMP_Q.
5987         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5988         FP_CMP_Q.
5989         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5990         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5991         FP_CMP_EQ_Q.
5992         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5993         FP_CMP_Q.
5994         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5995         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5996         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5997         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5998         FP_CMP_EQ_Q.
5999         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6000         FP_CMP_Q.
6001         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6002         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6003         FP_CMP_EQ_Q.
6004         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6005         FP_CMP_Q.
6006         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6007         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6008         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6009         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6010         FP_CMP_EQ_Q.
6012         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6013         a subnormal result, set the underflow exception if trapping on
6014         underflow is enabled.
6015         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6016         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6017         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6018         redefine to 0.
6019         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6020         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6021         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6022         * soft-fp/extendxftf2.c (__extendxftf2): Use
6023         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6025         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6026         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6027         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6028         FP_HANDLE_EXCEPTIONS.
6029         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6030         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6031         FP_HANDLE_EXCEPTIONS.
6032         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6033         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6034         FP_HANDLE_EXCEPTIONS.
6035         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6036         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6037         FP_HANDLE_EXCEPTIONS.
6039 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6041         [BZ #14132]
6042         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6043         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6044         use INTUSE.
6045         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6046         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6047         Remove alias.
6048         (__adjtimex): Define using libc_hidden_ver.
6049         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6050         Remove declaration.
6051         (ntp_gettime): Call __adjtimex directly.
6052         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6053         Remove declaration.
6054         (ntp_gettimex): Call __adjtimex directly.
6055         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6056         __adjtimex_internal alias.
6058 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6060         [BZ #17460]
6061         * nscd/nscd.c (more_help): Rewrite list of tables collection
6062         using xstrdup and asprintf.
6064         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6066 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6067             Roland McGrath  <roland@hack.frob.com>
6069         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6070         (do_lookup_unique): ... local function 'enter' here; update callers.
6072 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6074         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6075         compat_symbol calls on [SHARED].
6076         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6077         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6078         Remove.
6079         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6080         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6081         (oldsetrlimit): Remove.
6082         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6084         (lchown): New syscall entry.
6085         (oldsetrlimit): Remove.
6086         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6088         (oldsetrlimit): Remove.
6089         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6091         [BZ #14138]
6092         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6093         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6094         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6095         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6096         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6097         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6098         (fchown): Likewise.
6099         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6100         (fchown): Likewise.
6101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6102         Likewise.
6104 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6107         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6108         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6109         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6110         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6111         Likewise.
6112         (__old_sem_post): Likewise.
6114 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6116         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6117         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6118         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6119         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6120         Use INLINE_VSYSCALL macro.
6121         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6122         __vdso_clock_gettime.
6123         * sysdeps/unix/sysv/linux/tile/init-first.c
6124         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6125         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6126         __vdso_clock_gettime.
6128         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6129         to set up frame more cleanly.
6131         * sysdeps/tile/memcmp.c: New file.
6133         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6135         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6136         * sysdeps/tile/tilegx/strcasestr.c: New file.
6137         * sysdeps/tile/tilegx/strnlen.c: New file.
6138         * sysdeps/tile/tilegx/strstr.c: New file.
6140         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6142 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6144         * nptl/tst-setuid3.c: Write errors to stdout.
6146 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6148         * elf/dl-deps.c
6149         (preload): New functions broken out of _dl_map_object_deps.
6150         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6152 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6154         [BZ #14138]
6155         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6156         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6158 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6160         * sysdeps/mips/strcmp.S: New.
6162 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6164         [BZ #14138]
6165         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6166         (linkat): Likewise.
6167         (mkdirat): Likewise.
6168         (readlinkat): Likewise.
6169         (renameat): Likewise.
6170         (symlinkat): Likewise.
6171         (unlinkat): Likewise.
6172         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6173         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6174         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6175         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6176         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6177         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6178         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6180 2014-09-30  Will Newton  <will.newton@linaro.org>
6182         * math/math.h: Define long double math functions if
6183         _LIBC_TEST is defined.
6184         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6186         * localedata/Makefile: Move assignment to tests-special
6187         into an ifdef testing run-built-tests.
6188         * timezone/Makefile: Likewise.
6190 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6192         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6193         with $(BASH) not $(SHELL).
6195 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6196             Matthew LeGendre  <legendre1@llnl.gov>
6198         [BZ #17411]
6199         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6200         l_reloc_result.
6202 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6204         * stdio-common/printf_fp.c
6205         (hack_digit): New function, broken out of ...
6206         (__printf_fp): ... local function here.  Update call sites.
6207         hack_digit now takes an additional parameter that is a pointer
6208         to a struct of the referenced locals.  Those locals moved inside
6209         the struct and references updated.
6211 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6213         * aclocal.m4: Require autoconf 2.69.
6214         * configure: Regenerated.
6215         * sysdeps/aarch64/configure: Likewise.
6216         * sysdeps/alpha/configure: Likewise.
6217         * sysdeps/arm/armv7/configure: Likewise.
6218         * sysdeps/arm/configure: Likewise.
6219         * sysdeps/ia64/configure: Likewise.
6220         * sysdeps/mach/configure: Likewise.
6221         * sysdeps/mips/configure: Likewise.
6222         * sysdeps/s390/configure: Likewise.
6223         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6226         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6227         file.
6228         * sysdeps/ia64/configure.ac: Likewise.
6230 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6233         specify symbol version for ld.so.  Do not include entry for
6234         libpthread.
6235         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6236         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6239         [BZ #14171]
6240         * Makeconfig [$(build-shared) = yes]
6241         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6242         makefiles.
6243         [$(build-shared) = yes && $(soversions.mk-done) = t]
6244         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6245         [$(build-shared) = yes && $(soversions.mk-done) = t]
6246         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6247         to Makerules.
6248         [$(build-shared) = yes && $(soversions.mk-done) = t]
6249         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6250         here.
6251         [$(build-shared) = yes && $(soversions.mk-done) = t]
6252         (common-generated): Don't append gnu/lib-names.h and
6253         gnu/lib-names.stmp here.
6254         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6255         (lib-names-h-abi): New variable.
6256         [$(build-shared) = yes && $(soversions.mk-done) = t]
6257         (lib-names-stmp-abi): Likewise.
6258         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6259         abi-variants] (before-compile): Append
6260         $(common-objpfx)$(lib-names-h-abi).
6261         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6262         abi-variants] (common-generated): Append gnu/lib-names.h.
6263         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6264         abi-variants] (install-others-nosubdir): Depend on
6265         $(inst_includedir)/$(lib-names-h-abi).
6266         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6267         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6268         [$(build-shared) = yes && $(soversions.mk-done) = t]
6269         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6270         [$(build-shared) = yes && $(soversions.mk-done) = t]
6271         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6272         [$(build-shared) = yes && $(soversions.mk-done) = t]
6273         (common-generated): Append $(lib-names-h-abi) and
6274         $(lib-names-stmp-abi).
6275         * scripts/lib-names.awk: Do not handle multi being set.
6276         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6277         Remove variable.
6278         (abi-lp64_be-ld-soname): Likewise.
6279         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6280         Likewise.
6281         (abi-hard-ld-soname): Likewise.
6282         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6283         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6284         Remove variable.
6285         (abi-o32_hard-ld-soname): Likewise.
6286         (abi-o32_soft_2008-ld-soname): Likewise.
6287         (abi-o32_hard_2008-ld-soname): Likewise.
6288         (abi-n32_soft-ld-soname): Likewise.
6289         (abi-n32_hard-ld-soname): Likewise.
6290         (abi-n32_soft_2008-ld-soname): Likewise.
6291         (abi-n32_hard_2008-ld-soname): Likewise.
6292         (abi-n64_soft-ld-soname): Likewise.
6293         (abi-n64_hard-ld-soname): Likewise.
6294         (abi-n64_soft_2008-ld-soname): Likewise.
6295         (abi-n64_hard_2008-ld-soname): Likewise.
6296         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6297         Likewise.
6298         (abi-64-v2-ld-soname): Likewise.
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6300         ld.so entries.
6301         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6302         variable.
6303         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6304         entry.
6305         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6306         variable.
6307         (abi-64-ld-soname): Likewise.
6308         (abi-x32-ld-soname): Likewise.
6309         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6310         entry.
6311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6313 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6315         [BZ #14138]
6316         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6317         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6318         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6319         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6320         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6321         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6322         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6323         syscall entry for GLIBC_2.2 symbol version.
6324         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6325         Likewise.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6327         (setrlimit): Likewise.
6328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6329         Likewise.
6331 2014-09-23  Will Newton  <will.newton@linaro.org>
6333         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6334         _LINUX_ARM_SYSDEP_H include guard too.
6335         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6336         define.
6338 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6340         * sysdeps/unix/sysv/linux/eventfd.c:
6341         Make first argument unsigned.
6342         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6343         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6345 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6347         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6348         * socket/sys/socket.h: Likewise
6349         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6351 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6353         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6355 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6357         * time/tst-ftime.c: New test.
6358         * time/Makefile (tests): Add tst-ftime.
6360 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6362         * soft-fp/extended.h: Fix comment formatting.
6363         * soft-fp/op-1.h: Likewise.
6364         * soft-fp/op-2.h: Likewise.
6365         * soft-fp/op-4.h: Likewise.
6366         * soft-fp/op-8.h: Likewise.
6367         * soft-fp/op-common.h: Likewise.
6368         * soft-fp/soft-fp.h: Likewise.
6370         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6372 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6374         [BZ #6652]
6375         * Makeconfig (soversions-default-setname): Remove variable.
6376         ($(common-objpfx)soversions.i): Don't pass default_setname to
6377         soversions.awk.
6378         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6379         oldest_abi to abi-versions.awk.
6380         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6381         * config.make.in (oldest-abi): Remove variable.
6382         * configure.ac (--enable-oldest-abi): Remove configure option.
6383         * configure: Regenerated.
6384         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6385         text.
6386         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6387         * scripts/soversions.awk: Do not handle default_setname variable.
6388         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6389         variable.
6390         * sysdeps/mach/hurd/configure: Regenerated.
6391         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6392         variable.
6393         * sysdeps/unix/sysv/linux/configure: Regenerated.
6395 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6397         * elf/Makefile (CFLAGS-interp.c): Remove.
6398         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6399         path string.
6400         * elf/interp.c: Include generated runtime-linker.h
6402         * Makerules (lib%.so): Don't include $(+interp) in
6403         prerequisites.
6404         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6405         * dlfcn/eval.c: Remove file.
6407         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6408         macros.
6410         [BZ #17266]
6411         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6412         4.2 and newer.
6414         [BZ #17370]
6415         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6417 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6418             Jakub Jelinek  <jakub@redhat.com>
6420         [BZ #17266]
6421         * libio/stdio.h: Check definition of __fortify_function
6422         instead of __extern_always_inline to include bits/stdio2.h.
6423         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6424         check if __extern_always_inline is defined.
6425         [__USE_MISC || __USE_XOPEN]: Likewise.
6426         [__USE_ISOC99] Likewise.
6427         * misc/sys/cdefs.h (__fortify_function): Define only if
6428         __extern_always_inline is defined.
6429         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6430         __extern_always_inline and __extern_inline only for g++-4.3
6431         and newer or a compatible gcc.
6433 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6435         [BZ #17371]
6436         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6437         last change to handle zero prefix length.
6439 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6441         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6442         _SC_REGEX_VERSION.
6444         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6445         _POSIX_RAW_SOCKETS.
6447 2014-09-13  Allan McRae  <allan@archlinux.org>
6449         * po/ru.po: Update Russian translation from translation project.
6451 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6453         * locale/programs/locale.c (show_locale_vars): Inline local function
6454         into its sole call site.  Clean up some style nits.
6455         (print_item): New function, broken out of ...
6456         (show_info): ... local function here.  Clean up style nits.
6458         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6459         out of ...
6460         (set_class_defaults): ... local function set_default here.
6461         Define set_default as a macro locally to pass constant parameters.
6462         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6463         rather than a shared local.
6465         * stdlib/rpmatch.c (try): New function, broken out of ...
6466         (rpmatch): ... local function here.  Also, prototypify definition.
6468 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6470         * scripts/soversions.awk: Do not handle configuration names.
6471         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6472         vendor and os variables to soversions.awk.
6473         * configure.ac: Do not modify gnu-* host_os.
6474         * configure: Regenerated
6475         * shlib-versions: Remove first column with configuration names.
6476         * nptl/shlib-versions: Likewise.
6477         * nptl_db/shlib-versions: Likewise.
6478         * sysdeps/hppa/shlib-versions: Likewise.
6479         * sysdeps/m68k/shlib-versions: Likewise.
6480         * sysdeps/mach/hurd/shlib-versions: Likewise.
6481         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6482         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6483         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6484         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6485         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6486         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6487         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6488         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6490         Likewise.
6491         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6492         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6493         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6494         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6495         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6496         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6497         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6498         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6501         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6503         Regenerated.
6504         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6506         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6508         * shlib-versions: Remove OS-specific entries.  Moved to files in
6509         sysdeps.
6510         * sysdeps/mach/hurd/shlib-versions: New file.
6511         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6513         * nptl/shlib-versions: Remove architecture-specific entries.
6514         Moved to files in sysdeps.
6515         * shlib-versions: Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6517         file.
6518         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6519         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6520         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6521         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6523         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6524         (UDP_NO_CHECK6_RX): Likewise.
6526 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6528         * sysdeps/posix/sysconf.c (__sysconf): Spell
6529         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6531 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6533         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6534         loading.
6535         * iconv/Versions (__gconv_transliterate): Export for use from
6536         gconv modules.
6537         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6538         (struct __gconv_trans_data, __gconv_trans_fct,
6539         __gconv_trans_context_fct, __gconv_trans_query_fct,
6540         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6541         definitions.
6542         (struct __gconv_step_data): Remove __trans member.
6543         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6544         longer hidden.  Remove unused trans_data argument.
6545         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6546         (__gconv_translit_find): Remove declaration.
6547         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6548         prototype.
6549         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6550         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6551         trans_data argument.  Add hidden definition.
6552         (__gconv_translit_find): Remove.
6553         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6554         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6555         * iconv/skeleton.c: Remove transliteration initialization.
6556         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6557         __gconv_step_data initialization.
6558         * libio/iofwide.c (__libio_translit_): Remove.
6559         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6560         * wcsmbs/btowc.c (__btowc): Likewise.
6561         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6562         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6563         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6564         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6565         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6566         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6567         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6568         * wcsmbs/wctob.c (wctob): Likewise.
6570 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6572         [BZ #16194]
6573         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6574         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6575         register usage.
6576         * sysdeps/x86/Makefile: Adjust.
6578 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6579             Roland McGrath  <roland@hack.frob.com>
6581         * locale/weight.h: Add include guard.
6582         (findidx): Make static rather than auto; take new parameters
6583         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6584         * locale/weightwc.h: Likewise.
6585         * posix/fnmatch_loop.c
6586         (FCT): Change type of EXTRA from int32_t to wint_t.
6587         Don't include either header inside the function.
6588         Call FINDIDX rather than findidx, and pass new arguments.
6589         #undef FINDIDX at the end of the file.
6590         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6591         FINDIDX before including fnmatch_loop.c for the non-wide version.
6592         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6593         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6594         for the wide version.
6595         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6596         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6597         Pass new arguments to findidx.
6598         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6599         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6600         Don't #include it inside the function.  Pass new arguments to findidx.
6601         * posix/regex_internal.h
6602         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6603         (re_string_elem_size_at): Don't #include it inside the function.
6604         Pass new arguments to findidx.
6605         * string/strcoll_l.c: #include WEIGHT_H at top level.
6606         (get_next_seq): Don't #include it inside the function.
6607         Pass new arguments to findidx.
6608         (get_next_seq_nocache): Likewise.
6609         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6610         (STRXFRM): Don't #include it inside the function.
6611         Pass new arguments to findidx.
6613 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6615         [BZ #17344]
6616         * malloc/malloc.c (unlink): Turn asserts into a call to
6617         malloc_printerr.
6619 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6621         [BZ #17370]
6622         * libio/wfileops (do_ftell_wide): Free OUT.
6624 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6626         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6628 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6630         [BZ #17363]
6631         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6632         group if the current group is empty.
6634 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6636         * benchtests/bench-memset.c (test_main): Add more test from size
6637         from 32 to 512 bytes.
6638         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6639         Add POWER8 memset object.
6640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6641         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6642         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6643         implementation.
6644         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6645         Likewise.
6646         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6647         multiarch POWER8 memset optimization.
6648         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6649         POWER8 memset optimization.
6651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6652         Remove bzero multiarch objects.
6653         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6654         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6655         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6656         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6657         Remove define.
6658         [__bzero]: Redefine to specific name.
6659         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6660         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6661         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6662         define.
6663         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6664         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6666 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6668         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6669         warnings into errors.
6671         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6672         __cxa_thread_atexit_impl prototype.
6674 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6676         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6677         Fix capitalization of error message.
6679 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6681         * sysdeps/mips/preconfigure: Modify ABI tests.
6683 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6685         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6687 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6688             Carlos O'Donell  <carlos@systemhalted.org>
6690         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6691         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6692         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6693         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6694         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6695         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6696         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6697         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6698         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6699         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6700         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6701         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6702         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6703         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6704         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6705         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6706         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6707         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6708         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6709         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6710         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6711         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6712         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6713         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6714         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6715         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6716         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6717         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6718         Deconditionalize the code that was previously under [RESET_PID].
6719         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6720         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6721         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6722         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6723         include sysdep.h.
6725 2014-09-08  Allan McRae  <allan@archlinux.org>
6727         * version.h (RELEASE): Set to "development".
6728         (VERSION): Set to "2.20.90"
6730 2014-09-07  Allan McRae  <allan@archlinux.org
6732         * version.h (RELEASE): Set to "stable".
6733         (VERSION): Set to "2.20"
6734         * include/features.h (__GLIBC_MINOR__): Set to 20.
6736         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6737         Liebler.
6739         * po/ko.po: Update Korean translation from translation project.
6741 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6743         [BZ #17354]
6744         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6745         macro for handling signed relocations.
6747 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6749         [BZ #17325]
6750         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6751         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6752         assert.
6753         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6754         * iconvdata/ibm935.c (BODY): Likewise.
6755         * iconvdata/ibm937.c (BODY): Likewise.
6756         * iconvdata/ibm939.c (BODY): Likewise.
6757         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6758         assert.
6759         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6760         script.
6761         * iconvdata/run-iconv-test.sh: New test loop for checking for
6762         decoder crashers.
6764 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6766         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6767         libm_hidden_ver.
6769 2014-09-01  Allan McRae  <allan@archlinux.org>
6771         * po/eo.po: Update Esperanto translation from translation project.
6773         * po/ca.po: Update Catalan translation from translation project.
6775 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6777         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6778         __proc_dostop call.
6780 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6782         [BZ #17319]
6783         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6784         to call set_thread_area instead of hand written asm.
6785         (__NR_set_thread_area): Removed define.
6786         (TLS_FLAG_WRITABLE): Likewise.
6787         (__ASSUME_SET_THREAD_AREA): Remove check.
6788         (TLS_EBX_ARG): Remove define.
6789         (TLS_LOAD_EBX): Likewise.
6791 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6793         Simplify atomicity of socket creation in bind.
6795         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6796         looking up the name after linking the file.
6798 2014-08-27  Allan McRae  <allan@archlinux.org>
6800         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6802 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6804         [BZ #17187]
6805         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6806         trans_compare, open_translit, __gconv_translit_find):
6807         Remove module loading code.
6809 2014-08-26  Allan McRae  <allan@archlinux.org>
6811         * po/vi.po: Update Vietnamese translation from translation project.
6813         * po/uk.po: Update Ukrainian translation from translation project.
6815         * po/fr.po: Update French translation from translation project.
6817         * po/ru.po: Update Russian translation from translation project.
6819         * po/pl.po: Update Polish translation from translation project.
6821         * po/cs.po: Update Czech translation from translation project.
6823         * po/de.po: Update German translation from translation project.
6825         * po/bg.po: Update Bulgarian translation from translation project.
6827         * po/sv.po: Update Sweedish translation from translation project.
6829         * po/nl.po: Update Dutch translation from translation project.
6831         * po/es.po: Update Spanish translation from translation project.
6833 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6835         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6837         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6838         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6839         (CPPFLAGS-iconvconfig): Likewise.
6840         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6842         * include/libc-symbols.h: Remove unnecessary check for
6843         NOT_IN_libc.
6844         * nptl/pthreadP.h: Likewise.
6845         * sysdeps/aarch64/setjmp.S: Likewise.
6846         * sysdeps/alpha/setjmp.S: Likewise.
6847         * sysdeps/arm/sysdep.h: Likewise.
6848         * sysdeps/i386/setjmp.S: Likewise.
6849         * sysdeps/m68k/setjmp.c: Likewise.
6850         * sysdeps/posix/getcwd.c: Likewise.
6851         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6852         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6853         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6854         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6855         * sysdeps/sh/sh3/setjmp.S: Likewise.
6856         * sysdeps/sh/sh4/setjmp.S: Likewise.
6857         * sysdeps/unix/alpha/sysdep.h: Likewise.
6858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6859         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6860         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6861         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6866         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6869         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6871         * sysdeps/x86_64/setjmp.S: Likewise.
6873 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6875         [BZ #17263]
6876         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6877         <stdint.h>.
6878         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6879         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6881 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6883         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6885         [BZ #17262]
6886         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6887         and __x86_64__ when disabling x87 inline functions.
6889 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6891         [BZ #17259]
6892         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6893         asm statement with __cpuid_count.
6895 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6897         * configure.ac: Change __ehdr_start code to dereference the struct.
6898         Run readelf on the output to look for relocations.
6899         * configure: Regenerated.
6901 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6903         [BZ #17261]
6904         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6905         value to 0.
6906         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6908 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6910         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6912 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6914         [BZ #16892]
6915         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6916         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6918 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6920         * malloc/malloc.c: Fix typo in comment.
6922 2014-08-09  Allan McRae  <allan@archlinux.org>
6924         * Regenerate libc.po.
6926 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6928         * intl/tst-gettext2.sh: Check every lang file for creation.
6930 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6932         * sysdeps/aarch64/fpu/math_private.h
6933         (libc_feholdsetround_noex_aarch64_ctx): New function.
6935 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6937         * sysdeps/arm/armv6/strcpy.S (strcpy):
6938         Fix performance issue in misaligned cases.
6940 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6942         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6943         Move definition from termios.h.
6944         (struct termio): Likewise.
6945         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6946         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6947         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6948         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6951         Move definition to ioctl-types.h
6952         (struct termio): Likewise.
6953         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6954         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6955         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6956         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6957         Likewise.
6959 2014-08-05  Richard Henderson  <rth@redhat.com>
6961         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6962         exceptions.
6963         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6964         Add fraiseexcpt.
6965         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6966         Use __feraiseexcept.
6967         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6968         Protect libm symbols with IS_IN_libm.
6970         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6972 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6974         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6976 2014-08-04  Will Newton  <will.newton@linaro.org>
6978         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6979         file.
6981 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6983         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6984         variants for each function.
6986 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6988         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6989         appended ...
6990         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6991         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6992         appended ...
6993         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6994         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6995         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6996         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6997         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6998         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6999         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7000         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7001         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7002         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7003         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7004         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7005         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7007         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7009         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7010         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7011         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7012         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7013         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7014         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7015         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7016         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7017         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7018         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7019         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7020         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7021         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7022         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7023         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7024         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7025         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7026         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7027         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7028         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7029         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7030         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7031         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7032         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7034         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7035         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7036         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7037         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7038         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7039         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7041         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7042         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7043         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7044         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7045         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7046         Update #include.
7047         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7048         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7050 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7052         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7053         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7054         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7055         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7056         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7057         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7059 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7061         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7062         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7063         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7064         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7066 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7068         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7069         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7070         (__libc_vfork): Define function under this name.
7071         (__vfork): Define as an alias.
7072         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7073         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7075 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7077         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7078         that was previously under [RESET_PID].
7079         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7081 2014-08-04  Andreas Schwab  <schwab@suse.de>
7083         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7085 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7087         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7088         (main): Likewise.
7090 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7092         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7094 2014-08-01  Richard Henderon  <rth@redhat.com>
7096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7097         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7098         typo in exact zero test.
7099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7100         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7101         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7103 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7105         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7106         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7107         * sysdeps/arm/sysdep.h: ... here.
7108         [!__ASSEMBLER__]: Include <stdint.h>.
7110 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7112         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7113         (HAVE_WCTYPE_H): Likewise.
7114         (HAVE_ISWCTYPE): Likewise.
7115         (ENABLE_NLS): Likewise.
7116         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7117         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7119         * posix/regex_internal.c: Check if DEBUG is defined and is
7120         set.
7122         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7123         (HAVE_MBSRTOWCS): Likewise.
7124         * posix/fnmatch.c: Include string.h unconditionally.
7126 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7128         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7129         reversal.
7131 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7133         * sysdeps/generic/safe-fatal.h: New file.
7134         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7135         * nptl/forward.c: Include it.
7136         (__pthread_unwind): Use __safe_fatal as default action, rather
7137         than a bogus use of INTERNAL_SYSCALL that could never work.
7139         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7140         * configure.ac (libc_cv_builtin_trap): New test.
7141         * configure: Regenerated.
7142         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7143         (ABORT_INSTRUCTION): Define using __builtin_trap.
7145         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7146         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7147         * sysdeps/nptl/nptl-signals.h: New file.
7148         * nptl/pthreadP.h: Include <nptl-signals.h>.
7150 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7152         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7153         (ONE_DIRECTION): Define.
7154         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7155         (ONE_DIRECTION): Define.
7156         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7157         (ONE_DIRECTION): Define.
7159 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7161         * sysdeps/s390/Makefile: Delete file.
7162         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7163         * sysdeps/s390/__longjmp.c: Delete file.
7164         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7165         Remove fields __flags and __reserved.
7166         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7167         and add versioning.
7168         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7169         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7170         * sysdeps/s390/rtld-setjmp.S: Likewise.
7171         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7172         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7173         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7174         * sysdeps/s390/s390-32/setjmp.S: ... here.
7175         Add versioning.
7176         (__sigsetjmp): Remove setting __flags field.
7177         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7178         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7179         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7180         * sysdeps/s390/s390-64/setjmp.S: ... here.
7181         Add versioning.
7182         (__sigsetjmp): Remove setting __flags field.
7183         * sysdeps/s390/setjmp.S: Delete file.
7184         * sysdeps/s390/sigjmp.c: Likewise.
7185         * sysdeps/s390/v1-longjmp.c: Likewise.
7186         * sysdeps/s390/v1-setjmp.h: Likewise.
7187         * sysdeps/s390/v1-sigjmp.c: Likewise.
7188         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7189         Remove v1-longjmp_chk.
7190         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7191         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7192         Include debug/longjmp_chk.c and add versioning.
7193         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7194         Include nptl/pt-longjmp.c and add versioning.
7195         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7196         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7197         Include __longjmp.c.
7198         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7199         Move to ...
7200         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7201         (__getcontext): Remove setting __flags field.
7202         Add versioning.
7203         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7204         Don't restore upper high grps.
7205         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7206         Likewise.
7207         (__swapcontext): Remove setting uc_flags field.
7208         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7209         Delete file.
7210         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7211         Include __longjmp.c.
7212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7213         Move to ...
7214         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7215         (__getcontext): Remove setting __flags field.
7216         Add versioning.
7217         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7218         (__swapcontext): Remove setting uc_flags field.
7219         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7220         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7221         Remove fields uc_high_gprs and __reserved.
7222         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7223         New file with reverted content.
7224         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7225         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7226         Regenerated.
7227         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7228         Regenerated.
7230 2014-07-31  Andreas Schwab  <schwab@suse.de>
7232         * config.h.in (HAVE_IFUNC): Define to 0.
7233         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7234         definedness.
7236 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7239         memmove-avx-unaligned, memcpy-avx-unaligned and
7240         mempcpy-avx-unaligned.
7241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7242         Add tests for AVX memcpy functions.
7243         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7244         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7245         memcpy_chk.
7246         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7247         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7248         memmove_chk.
7249         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7250         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7251         mempcpy_chk.
7252         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7253         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7254         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7256 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7258         [BZ #17213]
7259         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7260         powerpc64le.
7262 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7264         [BZ #16839]
7265         * manual/llio.texi: Add section about open file description locks.
7266         * manual/examples/ofdlocks.c: Example of open file description
7267         lock usage.
7268         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7269         F_OFD_SETLK, and F_OFD_SETLKW.
7271 2014-07-23  Allan McRae  <allan@archlinux.org>
7273         * po/es.po: Update Spanish translation from translation project.
7275 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7277         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7279 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7281         [BZ #17078]
7282         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7283         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7284         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7286 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7288         [BZ #17088]
7289         * math/fesetenv.c (__fesetenv)
7290         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7291         * math/feupdateenv.c (__feupdateenv)
7292         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7294         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7295         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7296         (__ASSUME_SOCKETCALL): Do not define.
7298         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7299         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7300         (__ASSUME_SOCKETCALL): Do not define.
7301         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7302         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7303         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7304         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7305         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7306         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7307         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7308         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7310         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7311         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7312         (__ASSUME_SOCKETCALL): Do not define.
7313         (__ASSUME_IPC64): Define unconditionally.
7314         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7315         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7316         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7317         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7318         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7320         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7321         Likewise.
7323         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7324         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7325         (__ASSUME_SOCKETCALL): Do not define.
7326         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7327         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7328         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7329         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7330         (__ASSUME_REQUEUE_PI): Define unconditionally.
7331         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7332         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7333         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7334         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7335         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7336         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7338         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7339         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7340         (__ASSUME_SOCKETCALL): Do not define.
7341         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7343         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7344         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7345         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7346         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7348         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7349         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7350         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7351         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7352         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7353         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7354         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7355         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7356         (__ASSUME_GETCPU_SYSCALL): Likewise.
7358         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7359         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7360         cases for individual architectures.
7361         * sysdeps/gnu/configure: Regenerated.
7362         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7363         LIBC_SLIBDIR_RTLDDIR.
7364         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7365         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7366         LIBC_SLIBDIR_RTLDDIR.
7367         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7369         LIBC_SLIBDIR_RTLDDIR.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7371         Regenerated.
7372         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7373         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7374         file.
7375         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7376         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7377         file.
7378         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7379         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7380         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7381         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7383         * sysdeps/aarch64/shlib-versions: Move to ...
7384         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7385         * sysdeps/alpha/shlib-versions: Move to ...
7386         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7387         * sysdeps/arm/shlib-versions: Move to ...
7388         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7389         * sysdeps/hppa/shlib-versions: Move all contents except for
7390         libgcc_s entry to ...
7391         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7392         entry from ...
7393         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7394         * sysdeps/ia64/shlib-versions: Move to ...
7395         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7396         entry from ...
7397         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7398         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7399         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7400         * sysdeps/microblaze/shlib-versions: Move to ...
7401         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7402         * sysdeps/mips/shlib-versions: Move to ...
7403         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7404         entry from ...
7405         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7406         * sysdeps/tile/shlib-versions: Move to ...
7407         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7408         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7409         from ...
7410         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7411         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7412         entry from ...
7413         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7415 2014-07-17  Will Newton  <will.newton@linaro.org>
7417         * sysdeps/arm/bits/atomic.h
7418         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7419         (__arch_compare_and_exchange_bool_16_int): Likewise.
7420         (__arch_compare_and_exchange_bool_64_int): Likewise.
7422         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7423         into an #else block.
7425 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7427         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7428         just Linux configurations.  Test empirically that the compiler sets
7429         __ARM_EABI__, rather than using the tuple to decide.
7430         * sysdeps/arm/preconfigure: Regenerated.
7431         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7432         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7433         contents appended ...
7434         * sysdeps/arm/configure.ac: ... here.
7435         * sysdeps/arm/configure: Regenerated.
7437 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7439         * nptl/pthread_kill.c: New file.
7440         * nptl/pthread_sigmask.c: New file.
7441         * nptl/pthread_sigqueue.c: New file.
7443         * sysdeps/nptl/lowlevellock.h: New file.
7444         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7445         * sysdeps/nptl/lowlevellock-futex.h: New file.
7447         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7448         Remove dead declarations.
7450 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7452         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7453         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7454         config-cflags-avx2.
7455         * sysdeps/x86_64/configure.ac: Likewise.
7456         * sysdeps/i386/configure: Regenerated.
7457         * sysdeps/x86_64/configure: Likewise.
7458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7459         memset-avx2 only if config-cflags-avx2 is yes.
7460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7461         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7462         defined.
7463         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7464         only if HAVE_AVX2_SUPPORT is defined.
7465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7467 2014-07-14  Alan Modra  <amodra@gmail.com>
7469         [BZ #17153]
7470         * elf/elf.h (DT_PPC64_NUM): Correct value.
7471         * NEWS: Add to fixed bug list.
7473 2014-07-13  Jim Meyering  <meyering@fb.com>
7475         [BZ 17150]
7476         regex: don't deref NULL upon heap allocation failure
7477         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7478         failure in one more place.
7479         To trigger the segfault, configure grep -with-included-regex,
7480         build it, and run these commands:
7481         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7483 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7485         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7487 2014-07-11  Richard Henderson  <rth@redhat.com>
7489         * sysdeps/aarch64/libm-test-ulps: Update.
7491 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7493         [BZ #17135]
7494         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7495         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7496         (__nptl_setxid): Initialize error member.  Call
7497         __nptl_setxid_error.
7498         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7499         * nptl/descr.h (struct xid_command): Add error member.
7500         * nptl/tst-setuid3.c: New file.
7501         * nptl/Makefile (tests): Add it.
7503 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7505         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7506         New define.
7507         (__lll_trylock): Use __lll_base_trylock.
7508         (__lll_cond_trylock): Likewise.
7510 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7512         * nptl/pthread_create.c (start_thread): Use atomic_or and
7513         lll_futex_wake directly rather than lll_robust_dead.
7514         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7515         (lll_robust_dead): Macro removed.
7516         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7517         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7518         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7519         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7521         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7522         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7524         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7527         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7528         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7529         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7530         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7532         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7533         Use atomic_compare_and_exchange_val_acq directly rather than
7534         lll_robust_trylock.
7535         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7536         (__lll_robust_trylock, lll_robust_trylock): Removed.
7537         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7538         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7539         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7541         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7542         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7543         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7544         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7545         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7546         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7547         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7548         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7549         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7552 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7554         * manual/locale.texi (Locale Names): New section documenting
7555         locale name syntax.  Adjust menu and node chaining accordingly.
7556         (Choosing Locale): Reference Locale Names, Locale Categories.
7557         Mention setting LC_ALL=C.  Reflect that name syntax is now
7558         documented.
7559         (Locale Categories): New section title.  Reference Locale Names.
7560         LC_ALL is an environment variable, but not a category.
7561         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7562         description, now in Locale Name.  Reference that section.  Locale
7563         name syntax is now documented.
7565 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7567         [BZ #17137]
7568         * locale/findlocale.c (name_present, valid_locale_name): New
7569         functions.
7570         (_nl_find_locale): Use the loc_name variable to store name
7571         candidates.  Call name_present and valid_locale_name to check and
7572         validate locale names.  Return an error if the locale is invalid.
7574 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7576         * locale/setlocale.c (setlocale): Use strdup for allocating
7577         composite name copy.
7579 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7581         Sync up with gnulib.
7582         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7583         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7584         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7585         and _GL_ARG_NONNULL.
7586         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7587         [!_LIBC]: Include code for Windows and Cygwin.
7588         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7589         Include prototype for int strerror_r.
7590         [!_LIBC] (is_open): New function.
7591         (flush_stdout): New function.
7592         (print_errno_message): Use it.
7593         (error): Likewise.
7594         (error_at_line): Likewise.
7595         (error_tail) Add function attribute macros.  Use
7596         __builtin_expect.
7598         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7600         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7602         * io/ftw.c: Include sys/param.h unconditionally.
7604         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7606         [BZ #17125]
7607         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7608         libc_freeres_ptr.
7609         (freecache): New function to free CACHE on exit.
7611         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7612         initialization.
7614 2014-07-09  David S. Miller  <davem@davemloft.net>
7616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7618         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7619         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7620         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7621         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7622         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7623         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7624         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7625         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7626         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7627         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7628         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7629         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7630         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7632 2014-07-09  Andreas Schwab  <schwab@suse.de>
7634         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7635         output.
7636         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7637         (do_test): Likewise.
7639         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7641 2014-07-09  Will Newton  <will.newton@linaro.org>
7643         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7644         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7645         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7646         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7647         * sysdeps/hppa/start.S (_start): Likewise.
7649 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7651         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7653         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7654         defined.
7656 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7658         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7659         after checking that it is non-NULL.
7661         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7663 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7665         * sysdeps/powerpc/memmove.c: Remove file.
7666         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7667         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7668         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7669         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7670         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7671         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7672         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7673         string memmove instead of removed powerpc one.
7675         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7676         [weak_alias]: Fix compiler warning due trailing data.
7677         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7678         [weak_alias]: Likewise.
7679         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7680         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7683         (__libc_ifunc_impl_list): Add memmove functions.
7685 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7687         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7688         Remove code.
7689         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7690         Likewise
7691         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7692         Likewise
7693         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7694         Likewise
7695         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7696         Likewise
7697         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7698         Likewise
7699         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7700         Likewise
7701         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7702         Likewise
7703         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7704         Likewise
7705         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7706         Likewise
7707         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7708         Likewise
7709         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7710         Likewise
7711         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7712         Likewise
7713         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7714         Likewise
7715         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7716         Likewise
7717         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7718         Likewise
7719         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7720         Likewise
7722 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7724         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7725         to avoid alignment traps in non-cacheable memory.
7726         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7729         multiarch objects.
7730         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7731         file: multiarch power7 memmove.
7732         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7733         multiarch default memmove.
7734         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7735         multiarch memove for powerpc32/power4.
7737         * string/bcopy.c: Use full path to include memmove.c.
7738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7739         multiarch objects.
7740         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7741         bcopy for powerpc64.
7742         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7743         bcopy for powerpc64.
7744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7745         and memmove implementations.
7746         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7747         optimized multiarch memmove for POWER7/powerpc64.
7748         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7749         default multiarch memmove for powerpc64.
7750         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7751         multiarch for powerpc64.
7752         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7753         for POWER7/powerpc64.
7754         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7755         memmove for POWER7/powerpc64.
7757         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7758         glibc default one.
7760         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7761         __ELF_NATIVE_CLASS equal to 64.
7763 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7765         * sysdeps/nptl/lowlevellock.h: File removed.
7767         * NEWS: NPTL is no longer an add-on!
7768         * nptl/internaltypes.h: Moved ...
7769         * sysdeps/nptl/internaltypes.h: ... here.
7770         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7771         * sysdeps/nptl/fork.c: Likewise.
7772         * sysdeps/nptl/gai_misc.h: Likewise.
7773         * sysdeps/nptl/librt-cancellation.c: Likewise.
7774         * sysdeps/nptl/jmp-unwind.c: Likewise.
7775         * sysdeps/nptl/setxid.h: Likewise.
7776         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7777         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7778         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7779         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7780         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7781         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7782         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7783         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7784         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7785         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7786         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7787         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7788         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7789         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7790         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7791         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7792         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7793         * nptl/Makeconfig: Moved ...
7794         * sysdeps/nptl/Makeconfig: ... here.
7795         * nptl/configure: File removed.
7796         * nptl/ANNOUNCE: File removed.
7797         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7798         * sysdeps/unix/sysv/linux/configure: Regenerated.
7800         * nptl/Makefile (routines): Add libc_pthread_init,
7801         libc_multiple_threads, register-atfork and unregister-atfork.
7802         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7803         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7804         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7805         pthread-pi-defines.sym, structsem.sym.
7806         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7807         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7808         [$(subdir) = nptl] (tests): Add tst-setgetname.
7809         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7810         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7811         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7812         [!LIBC_SIGACTION]: Remove aliases.
7813         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7814         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7815         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7816         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7817         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7818         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7819         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7820         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7821         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7822         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7823         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7824         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7825         __libc_allocate_rtsig_private.
7826         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7827         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7828         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7829         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7830         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7831         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7832         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7833         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7834         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7835         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7836         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7837         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7838         * nptl/internaltypes.h: ... here.
7839         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7840         * sysdeps/nptl/jmp-unwind.c: ... here.
7841         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7842         * nptl/libc-lowlevellock.c: ... here.
7843         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7844         * nptl/libc_multiple_threads.c: ... here.
7845         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7846         * nptl/libc_pthread_init.c: ... here.
7847         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7848         * nptl/lowlevelbarrier.sym: ... here.
7849         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7850         * nptl/lowlevelcond.sym: ... here.
7851         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7852         * nptl/lowlevellock.c: ... here.
7853         * nptl/lowlevellock.h: Moved ...
7854         * sysdeps/nptl/lowlevellock.h: ... here.
7855         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7856         * nptl/lowlevelrobustlock.c: ... here.
7857         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7858         * nptl/lowlevelrobustlock.sym: ... here.
7859         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7860         * nptl/lowlevelrwlock.sym: ... here.
7861         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7862         * nptl/pt-fork.c: ... here.
7863         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7864         * nptl/pthread-pi-defines.sym: ... here.
7865         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7866         * nptl/pthread_attr_getaffinity.c: ... here.
7867         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7868         * nptl/pthread_attr_setaffinity.c: ... here.
7869         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7870         * nptl/pthread_mutex_cond_lock.c: ... here.
7871         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7872         Update #include.
7873         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7874         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7875         * nptl/pthread_once.c: ... here, replacing old file.
7876         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7877         * nptl/pthread_yield.c: ... here.
7878         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7879         * nptl/register-atfork.c: ... here.
7880         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7881         * nptl/sem_post.c: ... here.
7882         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7883         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7884         * nptl/sem_timedwait.c: ... here.
7885         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7886         * nptl/sem_trywait.c: ... here.
7887         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7888         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7889         * nptl/sem_wait.c: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7891         * nptl/structsem.sym: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7893         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7894         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7895         * nptl/unregister-atfork.c: ... here.
7896         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7897         * nptl/unwindbuf.sym: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7899         * sysdeps/nptl/fork.c: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7901         * sysdeps/nptl/fork.h: ... here.
7902         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7903         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7904         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7905         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7906         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7907         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7908         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7909         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7910         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7911         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7912         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7913         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7914         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7916         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7917         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7918         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7919         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7920         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7921         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7922         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7923         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7924         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7925         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7926         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7927         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7928         * sysdeps/unix/sysv/linux/raise.c: ... here.
7929         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7930         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7931         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7932         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7933         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7934         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7935         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7936         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7937         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7938         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7939         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7940         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7942         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7943         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7945 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7947         * sysdeps/generic/memcopy.h: Add comment for
7948         MEMCPY_OK_FOR_FWD_MEMMOVE.
7950 2014-07-04  Will Newton  <will.newton@linaro.org>
7952         * string/memchr.c: Merge from gnulib.
7953         [_LIBC]: Remove conditionals.
7954         (__ptr_t): Remove define.
7955         (LONG_MAX_32_BITS): Likewise.
7956         (LONG_MAX): Likewise.
7957         (MEMCHR): Use ANSI prototype and optimize algorithm.
7959         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7961 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7963         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7964         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7966         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7967         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7968         in a bare environment with no <stdlib.h> installed.
7969         * sysdeps/nptl/configure: Regenerated.
7971         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7973         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7974         AC_EGREP_CPP for kernel header checks, so they only succeed if
7975         including <linux/version.h> actually works right.
7976         * sysdeps/unix/sysv/linux/configure: Regenerated.
7978         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7979         value so it's not diagnosed as unused.
7981         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7982         thing) with "ifeq ($(subdir),rt)".
7984 2014-07-03  Richard Henderson  <rth@redhat.com>
7986         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7987         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7988         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7990         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7991         (math_force_eval): New.
7993         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7994         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7996         * sysdeps/alpha/fpu/s_round.c: Remove file.
7997         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7999         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8000         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8001         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8002         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8003         (_dl_start, print_statistics): Likewise.
8004         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8005         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8007         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8008         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8009         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8010         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8011         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8012         (HP_SMALL_TIMING_AVAIL): Define.
8013         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8014         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8015         (HP_SMALL_TIMING_AVAIL): Define.
8016         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8017         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8019         * sysdeps/aarch64/hp-timing.h: New file.
8021         * sysdeps/generic/hp-timing.h: Remove dead comment.
8022         * sysdeps/generic/hp-timing-common.h: New file.
8023         * sysdeps/alpha/hp-timing.h: Include it.
8024         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8025         * sysdeps/i386/i686/hp-timing.h: Likewise.
8026         * sysdeps/ia64/hp-timing.h: Likewise.
8027         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8028         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8029         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8030         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8031         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8032         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8033         (hp_timing_t): New.
8035         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8036         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8037         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8038         * elf/rtld.c (_dl_start_final): Likewise.
8039         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8040         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8041         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8042         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8043         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8044         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8045         (HP_TIMING_DIFF_INIT): Remove.
8046         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8047         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8048         (HP_TIMING_DIFF_INIT): Remove.
8049         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8050         * sysdeps/i386/i686/hp-timing.c: Remove file.
8051         * sysdeps/x86_64/hp-timing.c: Remove file.
8052         * sysdeps/ia64/hp-timing.c: Remove file.
8053         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8054         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8055         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8056         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8058         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8059         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8060         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8061         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8062         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8063         (HP_TIMING_ACCUM): Remove.
8064         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8065         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8066         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8068         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8069         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8070         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8071         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8072         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8073         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8074         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8075         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8077         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8079 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8081         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8083 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8085         Sync up with gettext.
8086         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8087         [_MSC_VER]: Include malloc.h
8088         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8089         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8090         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8091         TEMP_FAILURE_RETRY.  Cast return of alloca.
8092         [!_LIBC] Call gl_rwlock_init.
8093         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8095 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8097         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8098         before checking its value.
8100 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8102         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8104         * debug/memcpy_chk.c: Don't include pagecopy.h.
8105         * debug/mempcpy_chk.c: Likewise.
8106         * string/memcpy.c: Likewise.
8107         * string/memmove.c: Likewise.
8108         * sysdeps/powerpc/memmove.c: Likewise.
8109         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8110         definition of PAGE_COPY_FWD_MAYBE here...
8111         * sysdeps/generic/pagecopy.h: ... from here.
8112         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8114 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8115             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8117         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8119         optimizations.
8120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8121         (__libc_ifunc_impl_list): Likewise.
8122         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8123         multiarch strcat for PPC64.
8124         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8125         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8127 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8129         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8131 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8133         * intl/loadmsgcat.c: Remove declaration of
8134         get_sysdep_segment_value.
8135         (get_sysdep_segment_value): Use ISO C style.
8136         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8137         semicolon.  Fix typo and formatting in comment.
8138         (_nl_unload_domain): Use ISO C style.
8140         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8142 2014-07-02  Will Newton  <will.newton@linaro.org>
8144         * malloc/obstack.c: Merge from gnulib master.
8145         [HAVE_CONFIG_H]: Remove conditional code.
8146         [!_LIBC]: Include config.h.
8147         [!ELIDE_CODE]: Don't include inttypes.h, include
8148         stdint.h unconditionally.
8149         (print_and_abort): Mark as _Noreturn.
8150         (_obstack_allocated_p): Mark as __attribute_pure__.
8151         (obstack_free): Rename to __obstack_free.
8152         [!__attribute__]: Remove conditional code.
8153         * malloc/obstack.h: Merge from gnulib master.
8154         [__cplusplus]: Move conditional down.
8155         [!__attribute_pure__]: Define __attribute_pure__ here
8156         if it is not already defined.
8157         (_obstack_memory_used): Mark as __attribute_pure__.
8158         [!__obstack_free]: Define as obstack_free.
8159         [__GNUC__]: Remove check for ancient NeXT gcc.
8161 2014-07-02  Will Newton  <will.newton@linaro.org>
8162             Paul Eggert  <eggert@cs.ucla.edu>
8164         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8166 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8168         * resolv/gethnamaddr.c: Add comment warning that the file is
8169         not maintained.
8171 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8173         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8174         entries.
8176         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8177         entry for aio_cancel and aio_cancel64.
8178         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8179         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8180         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8181         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8182         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8183         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8184         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8185         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8186         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8187         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8188         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8189         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8190         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8192 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8194         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8195         * nptl/pthread_mutex_lock.c: Likewise.
8196         * nptl/pthread_mutex_timedlock.c: Likewise.
8197         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8199 2014-07-01  Richard henderson  <rth@redhat.com>
8201         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8202         (__isnan, __isnanl): Remove.
8203         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8205         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8207 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8209         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8211 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8213         * resolv/nss_dns/dns-host.c (getanswer_r)
8214         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8216 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8219         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8220         undefine.
8221         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8222         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8224 2014-07-01  Roland McGrath <roland@hack.frob.com>
8226         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8227         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8229         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8230         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8232         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8233         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8234         ... here.
8235         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8236         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8238         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8239         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8240         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8241         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8243         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8244         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8245         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8246         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8247         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8248         Moved ...
8249         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8250         ... here.
8251         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8252         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8253         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8254         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8255         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8256         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8257         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8258         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8259         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8260         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8261         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8262         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8263         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8264         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8265         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8266         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8268         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8269         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8270         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8271         ... here.
8272         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8273         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8274         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8275         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8276         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8277         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8278         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8279         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8281 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8283         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8284         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8285         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8286         Add sysdep.
8288 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8292 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8294         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8295         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8297         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8299         * sysdeps/arm/libm-test-ulps: Regenerated.
8301 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8302             Roland McGrath <roland@hack.frob.com>
8304         * test-skeleton.c (signal_handler): Kill the whole process group
8305         before killing the child individually.
8306         (main): Report any failure on `setpgid'.
8308 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8310         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8311         from _TLS_H to _ARM_NPTL_TLS_H.
8312         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8313         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8315 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8317         [BZ #16539]
8318         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8319         (__expm1l): Return argument unchanged when small but not
8320         subnormal.
8322         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8323         include macro name.
8324         (_FP_UNPACK_RAW_1_P): Likewise.
8325         (_FP_PACK_RAW_1): Likewise.
8326         (_FP_PACK_RAW_1_P): Likewise.
8327         (_FP_MUL_MEAT_1_wide): Likewise.
8328         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8329         (_FP_MUL_MEAT_1_hard): Likewise.
8330         (_FP_DIV_MEAT_1_imm): Likewise.
8331         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8332         (_FP_DIV_MEAT_1_udiv): Likewise.
8333         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8334         (_FP_UNPACK_RAW_2): Likewise.
8335         (_FP_UNPACK_RAW_2_P): Likewise.
8336         (_FP_PACK_RAW_2): Likewise.
8337         (_FP_PACK_RAW_2_P): Likewise.
8338         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8339         (_FP_MUL_MEAT_2_wide): Likewise.
8340         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8341         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8342         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8343         (_FP_MUL_MEAT_2_gmp): Likewise.
8344         (_FP_DIV_MEAT_2_udiv): Likewise.
8345         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8346         (_FP_FRAC_SRL_4): Likewise.
8347         (_FP_FRAC_SRST_4): Likewise.
8348         (_FP_FRAC_SRS_4): Likewise.
8349         (_FP_UNPACK_RAW_4): Likewise.
8350         (_FP_UNPACK_RAW_4_P): Likewise.
8351         (_FP_PACK_RAW_4): Likewise.
8352         (_FP_PACK_RAW_4_P): Likewise.
8353         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8354         (_FP_MUL_MEAT_4_wide): Likewise.
8355         (_FP_MUL_MEAT_4_gmp): Likewise.
8356         (umul_ppppmnnn): Likewise.
8357         (_FP_DIV_MEAT_4_udiv): Likewise.
8358         (__FP_FRAC_ADD_4): Likewise.
8359         (__FP_FRAC_SUB_3): Likewise.
8360         (__FP_FRAC_SUB_4): Likewise.
8361         (__FP_FRAC_DEC_3): Likewise.
8362         (__FP_FRAC_DEC_4): Likewise.
8363         (__FP_FRAC_ADDI_4): Likewise.
8364         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8365         (_FP_FRAC_SRL_8): Likewise.
8366         (_FP_FRAC_SRS_8): Likewise.
8368         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8369         include macro name.
8370         (FP_UNPACK_RAW_EP): Likewise.
8371         (FP_PACK_RAW_E): Likewise.
8372         (FP_PACK_RAW_EP): Likewise.
8373         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8374         (_FP_ISSIGNAN): Likewise.
8375         (_FP_ADD_INTERNAL): Likewise.
8376         (_FP_FMA): Likewise.
8377         (_FP_CMP): Likewise.
8378         (_FP_SQRT): Likewise.
8379         (_FP_TO_INT): Likewise.
8380         (_FP_FROM_INT): Likewise.
8381         (FP_EXTEND): Likewise.
8382         (_FP_DIV_MEAT_N_loop): Likewise.
8384 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8386         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8387         throughout.
8389 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8391         [BZ #17097]
8392         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8393         result with correct sign in case of exponents that produce
8394         overflow except for X very close to 1.
8396 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8398         mktime: merge #if/#ifdef usage from glibc
8399         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8400         as that works with both Glibc's and Gnulib's style.
8401         See thread starting at Siddhesh Poyarekar's bug report at:
8402         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8404 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8406         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8407         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8408         * sysdeps/tile/tilegx/memmove.c: Remove file.
8410 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8412         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8413         abi-name definition.
8414         * scripts/soversions.awk: Do not handle or generate ABI lines.
8415         * shlib-versions: Remove ABI entries.
8416         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8417         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8419 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8422         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8423         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8424         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8426         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8428         Moved ...
8429         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8430         ... here.
8431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8432         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8434         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8436         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8438         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8440         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8442         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8444         Moved ...
8445         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8447         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8449         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8451         Moved ...
8452         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8454         Moved ...
8455         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8457         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8459         Moved ...
8460         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8462         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8464         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8466         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8468         Moved ...
8469         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8471         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8472         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8473         Moved ...
8474         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8475         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8476         Moved ...
8477         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8479         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8481         Moved ...
8482         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8483         ... here.
8484         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8485         Identical file removed.
8486         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8487         Moved ...
8488         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8490         Identical file removed.
8491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8492         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8493         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8494         Moved ...
8495         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8496         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8497         Identical file removed.
8498         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8499         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8501         Identical file removed.
8502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8503         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8505         Identical file removed.
8506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8507         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8508         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8509         Identical file removed.
8510         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8511         Moved ...
8512         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8514         Identical file removed.
8515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8516         Moved ...
8517         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8519         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8521         Identical file removed.
8522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8523         Moved ...
8524         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8525         ... here.
8526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8527         Identical file removed.
8528         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8529         Moved ...
8530         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8531         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8532         Identical file removed.
8533         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8534         Moved ...
8535         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8537         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8539         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8540         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8541         Moved ...
8542         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8543         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8544         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8546         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8547         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8548         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8549         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8550         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8552 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8554         [BZ #17092]
8555         * nscd/nscd.c (monitor_child): Return exit status of child
8556         instead of return value from wait syscall.
8558 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8560         * configure.ac (libc_commonpagesize): Remove variable.
8561         (libc_relro_required): Likewise.
8562         (libc_cv_z_relro): Remove configure test.
8563         * configure: Regenerated.
8564         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8565         variable.
8566         (libc_relro_required): Likewise.
8567         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8568         (libc_relro_required): Likewise.
8569         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8570         (libc_relro_required): Likewise.
8571         * sysdeps/arm/preconfigure: Regenerated.
8572         * sysdeps/ia64/preconfigure: Remove file.
8573         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8574         variable.
8575         (libc_relro_required): Likewise.
8577         [BZ #16561]
8578         [BZ #16562]
8579         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8580         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8581         recompute overflowing results in original rounding mode.
8582         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8583         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8584         recompute overflowing results in original rounding mode.
8585         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8586         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8587         recompute overflowing results in original rounding mode.
8588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8589         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8590         recompute overflowing results in original rounding mode.
8591         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8592         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8593         recompute overflowing results in original rounding mode.
8594         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8595         (libc_feholdsetround_ctx): New macro.
8596         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8597         * sysdeps/i386/fpu/libm-test-ulps: Update.
8598         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8600 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8602         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8603         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8604         corresponding .cpsetup call.
8606 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8608         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8609         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8610         * sysdeps/arm/Makefile [$(subdir) = csu]
8611         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8612         (static-only-routines): Add aeabi_read_tp here.
8613         (shared-only-routines): Add libc-aeabi_read_tp here.
8614         (CFLAGS-libc-start.c): Add -fexceptions here.
8615         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8616         (sysdep_routines, static-only-routines, shared-only-routines):
8617         Don't add to these here.
8618         (CFLAGS-libc-start.c): Likewise.
8620         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8621         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8622         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8623         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8624         * sysdeps/arm/Makefile [$(subdir) = rt]
8625         (librt-sysdep_routines, librt-shared-only-routines):
8626         Append rt-aeabi_unwind_cpp_pr1 here.
8627         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8628         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8629         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8630         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8631         Append nptl-aeabi_unwind_cpp_pr1 here.
8632         (tests): Filter out tst-cleanupx4 here.
8633         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8634         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8635         Don't do those here.
8637 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8639         * scripts/list-sources.sh: Do not handle ports specially.
8641 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8643         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8644         * sysdeps/arm/feupdateenv.c: Likewise.
8646         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8648 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8650         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8651         trailing whitespace removed.
8652         * scripts/config.guess: Update to version 2014-03-23.
8653         * scripts/config.sub: Update to version 2014-05-01
8654         * scripts/install-sh: Update to version 2013-12-25.23.
8655         * scripts/move-if-change: Update from gnulib.
8657 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8659         * debug/memmove_chk.c: Remove pagecopy.h include.
8661 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8663         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8664         identical to gnulib mktime.
8666 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8668         * configure.ac: Do not test for machine being rs6000.  Do not test
8669         for powerpc*-*soft.
8670         * configure: Regenerated.
8672         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8673         test.
8674         * configure: Regenerated.
8675         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8676         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8677         Remove configure test.
8678         * sysdeps/arm/configure: Regenerated.
8679         * sysdeps/nptl/configure.ac: Do not check
8680         libc_cv_asm_cfi_directives.
8681         * sysdeps/nptl/configure: Regenerated.
8682         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8683         * sysdeps/x86_64/nptl/configure: Remove generated file.
8684         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8685         unconditional.
8686         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8688 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8690         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8691         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8692         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8693         it is defined.
8695         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8696         instead of whether it is defined.
8697         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8698         * sysdeps/hppa/dl-machine.h: Likewise.
8699         * sysdeps/ia64/dl-machine.h: Likewise.
8700         * sysdeps/m68k/dl-machine.h: Likewise.
8701         * sysdeps/microblaze/dl-machine.h: Likewise.
8702         * sysdeps/mips/dl-machine.: Likewise.
8703         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8704         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8705         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8706         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8707         * sysdeps/sh/dl-machine.h: Likewise.
8708         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8709         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8710         * sysdeps/tile/dl-machine.h: Likewise.
8711         * sysdeps/x86_64/dl-machine.h: Likewise.
8713         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8714         code.
8715         (verify_persistent_db): Likewise.
8717 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8720         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8722         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8724         Moved ...
8725         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8726         ... here.
8727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8728         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8730         Identical file removed.
8731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8732         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8734         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8736         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8738         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8740         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8742         Moved ...
8743         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8745         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8747         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8749         Moved ...
8750         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8752         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8754         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8756         Identical file removed.
8757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8758         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8760         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8762         Moved ...
8763         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8764         ... here.
8765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8766         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8768         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8770         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8772         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8774         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8776         Moved ...
8777         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8779         Moved ...
8780         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8782         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8784         Moved ...
8785         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8787         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8789         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8790         folded into ...
8791         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8792         * sysdeps/unix/sysv/linux/s390/Versions
8793         (libpthread: GLIBC_2.19): New version set.
8794         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8795         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8796         (librt: GLIBC_2.3.3): New version set.
8797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8798         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8799         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8800         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8801         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8802         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8803         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8804         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8805         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8806         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8807         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8808         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8809         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8810         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8811         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8812         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8813         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8814         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8815         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8816         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8817         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8818         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8819         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8821         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8823         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8825         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8827         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8828         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8830         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8833         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8835         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8837         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8838         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8839         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8841         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8843         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8844         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8845         (__libc_vfork): Define the function under this name.
8846         [!NOT_IN_libc] (__vfork): Make this an alias.
8847         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8849         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8850         (__libc_vfork): Define the function under this name.
8851         [!NOT_IN_libc] (__vfork): Make this an alias.
8852         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8853         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8854         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8857         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8859         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8860         code that was previously under [RESET_PID].
8861         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8862         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8865         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8866         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8867         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8868         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8869         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8870         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8871         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8872         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8873         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8874         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8875         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8876         Moved ...
8877         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8878         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8879         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8881         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8882         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8901         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8902         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8903         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8905         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8907 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8909         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8910         that was previously under [RESET_PID].
8911         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8913 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8915         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8916         not undefine and redefine.
8917         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8918         [O_CLOEXEC]: Make code unconditional.
8919         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8920         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8921         <kernel-features.h>.
8922         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8923         conditional variable definition.
8924         (shm_open) [O_CLOEXEC]: Make code unconditional.
8925         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8926         code.
8928         * configure.ac (USE_REGPARMS): Don't define here.
8929         * configure: Regenerated.
8930         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8931         * sysdeps/i386/configure: Regenerated.
8933         * nptl/createthread.c: Don't include kernel-features.h.
8934         * nptl/pthread_cancel.c: Likewise.
8935         * nptl/pthread_condattr_setclock.c: Likewise.
8936         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8937         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8938         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8939         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8940         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8941         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8942         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8945         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8946         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8947         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8948         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8949         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8950         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8951         * nscd/gai.c: Likewise.
8952         * nss/nss_db/db-open.c: Likewise.
8953         * sysdeps/generic/ldsodefs.h: Likewise.
8954         * sysdeps/sh/nptl/tls.h: Likewise.
8955         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8956         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8957         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8958         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8959         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8960         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8961         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8962         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8963         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8964         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8965         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8966         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8967         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8968         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8969         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8970         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8971         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8972         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8973         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8974         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8976         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8977         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8978         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8980         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8982         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8983         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8984         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8985         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8986         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8987         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8988         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8989         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8990         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8991         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8992         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8993         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8994         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8995         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8996         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8997         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8998         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8999         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9000         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9001         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9002         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9003         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9004         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9005         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9006         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9007         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9008         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9009         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9010         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9011         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9035         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9036         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9037         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9038         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9039         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9040         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9041         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9042         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9043         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9044         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9045         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9046         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9047         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9048         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9049         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9050         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9051         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9052         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9053         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9054         * sysdeps/unix/sysv/linux/system.c: Likewise.
9055         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9056         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9057         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9058         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9059         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9060         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9061         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9063         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9064         * configure: Regenerated.
9065         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9067         * configure.ac (base_machine): Do not set specially for particular
9068         machines here.
9069         * configure: Regenerated.
9070         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9071         settings from configure.ac.
9072         * sysdeps/i386/preconfigure: New file.
9073         * sysdeps/s390/preconfigure: Likewise.
9074         * sysdeps/sh/preconfigure: Likewise.
9075         * sysdeps/sparc/preconfigure: Likewise.
9077 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9079         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9080         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9081         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9082         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9083         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9084         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9085         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9086         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9087         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9088         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9089         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9090         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9091         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9092         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9093         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9094         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9095         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9096         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9097         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9099         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9100         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9101         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9102         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9103         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9104         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9105         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9106         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9107         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9108         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9109         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9110         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9111         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9112         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9113         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9114         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9115         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9116         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9117         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9118         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9119         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9120         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9122         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9123         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9124         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9126         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9128         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9129         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9130         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9132         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9133         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9134         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9135         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9136         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9139         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9141         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9143         Moved ...
9144         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9145         ... here.
9146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9147         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9149         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9151         Moved ...
9152         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9154         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9156         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9158         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9160         Moved ...
9161         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9163         Moved ...
9164         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9166         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9168         Moved ...
9169         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9171         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9173         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9175         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9177         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9179         Moved ...
9180         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9181         ... here.
9182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9183         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9185         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9187         Moved ...
9188         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9190         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9192         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9194         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9196         Moved ...
9197         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9199         Moved ...
9200         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9202         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9204         Moved ...
9205         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9207         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9209         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9211 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9213         * timezone/checktab.awk: Update from tzcode 2014e.
9214         * timezone/private.h: Likewise.
9215         * timezone/tzfile.h: Likewise.
9216         * timezone/zdump.c: Likewise.
9217         * timezone/zic.c: Likewise.
9219         * sysdeps/unix/sysv/linux/kernel-features.h
9220         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9221         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9222         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9223         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9224         Remove conditional code.
9226 2014-06-25  Will Newton  <will.newton@linaro.org>
9228         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9229         (_dl_arm_cap_flags): Add HWCAP2 values.
9230         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9231         (_DL_HWCAP_COUNT): Increase to 37.
9232         (_DL_HWCAP_LAST): New define.
9233         (_DL_HWCAP2_LAST): New define.
9234         (_dl_procinfo): Add support for printing
9235         AT_HWCAP2 entries.
9236         (_dl_string_hwcap): Use _dl_hwcap_string.
9238 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9242 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9244         * README: Do not mention ports directory.
9246         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9247         Remove macro.
9248         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9249         <kernel-features.h>.
9250         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9251         conditional variable definition.
9252         (__futimes): Update comment.
9253         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9254         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9256         [BZ #16560]
9257         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9258         arguments close to 0.
9259         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9260         Likewise.
9261         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9262         Likewise.
9263         * math/auto-libm-test-in: Add more tests of exp10.
9264         * math/auto-libm-test-out: Regenerated.
9265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9267         * sysdeps/unix/sysv/linux/kernel-features.h
9268         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9269         * sysdeps/unix/sysv/linux/readv.c: Do not include
9270         <kernel-features.h>.
9271         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9272         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9273         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9274         unconditional.
9275         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9276         conditional code.
9277         * sysdeps/unix/sysv/linux/writev.c: Do not include
9278         <kernel-features.h>.
9279         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9280         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9281         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9282         unconditional.
9283         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9284         conditional code.
9286 2014-06-25  Will Newton  <will.newton@linaro.org>
9288         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9289         comment changes throughout the file.  Remove checks
9290         for HAVE_*_H definitions that are not required.
9291         (__gen_tempname): Call abort if an unknown kind value is
9292         passed.
9294 2014-06-25  Andreas Schwab  <schwab@suse.de>
9296         [BZ #17086]
9297         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9298         scalbln, scalblnf, scalblnl in libc.
9300 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9302         [BZ #17086]
9303         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9304         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9305         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9307 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9309         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9310         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9311         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9312         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9313         Update #include.
9314         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9315         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9316         Update #include.
9317         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9318         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9319         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9320         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9321         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9322         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9323         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9324         * sysdeps/x86/bits/semaphore.h: ... here.
9325         * sysdeps/x86/nptl/elide.h: Moved ...
9326         * sysdeps/x86/elide.h: ... here.
9327         * sysdeps/x86_64/nptl/Implies: File removed.
9328         * sysdeps/i386/nptl/Implies: File removed.
9330 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9332         [BZ #16539]
9333         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9334         return the argument for normal arguments with exponent below -64.
9335         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9336         Likewise.
9337         * math/auto-libm-test-in: Add another test of expm1.
9338         * math/auto-libm-test-out: Regenerated.
9340         [BZ #16287]
9341         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9342         calling __erfcl for arguments at least 16.
9343         * math/auto-libm-test-in: Add more tests of erf.
9344         * math/auto-libm-test-out: Regenerated.
9346         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9347         individual architectures.
9348         * sysdeps/unix/sysv/linux/configure: Regenerated.
9349         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9350         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9351         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9352         (ldd_rewrite_script): Define variable.
9353         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9355         file.
9356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9357         generated file.
9358         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9359         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9360         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9361         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9362         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9363         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9364         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9365         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9367 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9369         [BZ #17084]
9370         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9371         Rename member __data.d to __data.__elision_data.
9373 2014-06-24  Wilco  <wdijkstr@arm.com>
9375         * NEWS: Add 16918 to fixed bug list.
9377 2014-06-24  Wilco  <wdijkstr@arm.com>
9379         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9381 2014-06-24  Wilco  <wdijkstr@arm.com>
9383         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9384         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9385         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9386         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9387         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9388         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9389         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9390         Use _FPU_MASK_RM.
9392 2014-06-24  Wilco  <wdijkstr@arm.com>
9394         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9396 2014-06-24  Wilco  <wdijkstr@arm.com>
9398         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9399         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9400         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9401         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9403 2014-06-24  Wilco  <wdijkstr@arm.com>
9405         [BZ #16918]
9406         * sysdeps/arm/feupdateenv.c (feupdateenv):
9407         Rewrite to reduce FPSCR accesses and fix return value.
9409 2014-06-24  Wilco  <wdijkstr@arm.com>
9411         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9412         Optimize to avoid unnecessary FPSCR writes.
9413         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9414         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9415         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9416         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9418 2014-06-24  Wilco  <wdijkstr@arm.com>
9420         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9421         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9422         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9423         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9424         Call libc_fetestexcept_vfp.
9425         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9426         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9427         __SOFTFP__ ifdef so that they can be built for softfp.
9429 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9431         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9432         argument type signed char.
9434         * Makerules (check-abi): Dump diff of symlist if the test
9435         fails.
9437 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9439         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9440         using abort.
9442         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9443         Remove unused variable ST.
9445 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9447         [BZ #16354]
9448         [BZ #17061]
9449         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9450         small arguments before calling __expm1.
9451         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9452         small arguments before calling __expm1f.
9453         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9454         small arguments before calling __expm1l.
9455         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9456         Likewise.
9457         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9458         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9459         spurious underflow for some cosh tests.
9460         * math/auto-libm-test-out: Regenerated.
9461         * sysdeps/i386/fpu/libm-test-ulps: Update.
9463         [BZ #17050]
9464         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9465         (__ieee754_y1): Set errno if return value overflows.
9466         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9467         (__ieee754_y1f): Set errno if return value overflows.
9468         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9469         (__ieee754_y1l): Set errno if return value overflows.
9470         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9471         (__ieee754_y1l): Set errno if return value overflows.
9472         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9473         * math/auto-libm-test-out: Regenerated.
9475         * math/gen-auto-libm-tests.c: Document use of
9476         ignore-zero-inf-sign.
9477         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9478         (input_flags): Add ignore-zero-inf-sign.
9479         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9480         * math/gen-libm-test.pl (generate_testfile): Handle
9481         ignore-zero-inf-sign.
9482         * math/auto-libm-test-in: Mark some cpow tests with
9483         ignore-zero-inf-sign and some with xfail-rounding.
9484         * math/auto-libm-test-out: Regenerated.
9485         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9486         * sysdeps/i386/fpu/libm-test-ulps: Update.
9487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9489         [BZ #16315]
9490         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9491         overflowing or underflowing operations take place with sign of
9492         result.
9493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9495         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9496         (__ieee754_pow): Recompute overflowing and underflowing results in
9497         original rounding mode.
9498         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9499         (__powl_helper): Allow negative argument X and scale negated value
9500         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9501         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9502         overflowing or underflowing operations take place with sign of
9503         result.
9504         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9505         Include <math.h>.
9506         * math/auto-libm-test-in: Add more tests of pow.
9507         * math/auto-libm-test-out: Regenerated.
9508         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9509         (pow_tonearest_test_data): Remove.
9510         (pow_test_tonearest): Likewise.
9511         (pow_towardzero_test_data): Likewise.
9512         (pow_test_towardzero): Likewise.
9513         (pow_downward_test_data): Likewise.
9514         (pow_test_downward): Likewise.
9515         (pow_upward_test_data): Likewise.
9516         (pow_test_upward): Likewise.
9517         (main): Don't call removed functions.
9518         * sysdeps/i386/fpu/libm-test-ulps: Update.
9519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9521 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9524         Moved ...
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9527         Moved ...
9528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9530         Moved ...
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9533         Moved ...
9534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9536         File removed.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9538         File removed.
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9540         File removed.
9541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9542         File removed.
9543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9544         File removed.
9545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9546         File removed.
9547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9548         File removed.
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9550         File removed.
9551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9552         File removed.
9553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9554         File removed.
9555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9556         File removed.
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9558         File removed.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9560         Moved ...
9561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9563         Moved ...
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9565         ... here.
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9567         Moved ...
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9570         Moved ...
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9573         Moved ...
9574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9576         Moved ...
9577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9579         Moved ...
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9582         Moved ...
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9585         Moved ...
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9589         ... here.
9590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9591         Moved ...
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9594         Moved ...
9595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9596         ... here.
9597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9598         Moved ...
9599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9600         ... here.
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9602         Moved ...
9603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9604         ... here.
9605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9606         Moved ...
9607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9609         Moved ...
9610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9614         Moved ...
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9616         ... here.
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9618         Moved ...
9619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9620         ... here.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9622         Moved ...
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9625         Moved ...
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9628         Moved ...
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9631         Moved ...
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9634         Moved ...
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9636         ... here.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9638         Moved ...
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9641         Moved ...
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9644         Moved ...
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9647         Moved ...
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9652         Moved ...
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9655         Moved ...
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9658         Moved ...
9659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9660         ... here.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9662         Moved ...
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9664         ... here.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9666         Moved ...
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9668         ... here.
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9670         Moved ...
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9673         Moved ...
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9676         Moved ...
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9679         Moved ...
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9681         ... here.
9682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9683         Moved ...
9684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9685         ... here.
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9687         Moved ...
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9689         ... here.
9690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9691         Moved ...
9692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9694         Moved ...
9695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9697 2014-06-23  Will Newton  <will.newton@linaro.org>
9698             Wilco  <wdijkstr@arm.com>
9700         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9701         implementation.  Include get-rounding-mode.h.
9702         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9703         [!libc_feholdsetround_noex_ctx]: Define
9704         libc_feholdsetround_noex_ctx.
9705         [!libc_feholdsetround_noexf_ctx]: Define
9706         libc_feholdsetround_noexf_ctx.
9707         [!libc_feholdsetround_noexl_ctx]: Define
9708         libc_feholdsetround_noexl_ctx.
9709         (libc_feholdsetround_ctx): New function.
9710         (libc_feresetround_ctx): New function.
9711         (libc_feholdsetround_noex_ctx): New function.
9712         (libc_feresetround_noex_ctx): New function.
9714 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9716         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9717         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9718         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9719         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9720         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9721         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9723         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9724         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9725         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9726         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9727         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9728         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9730         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9732         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9734         Moved ...
9735         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9736         ... here.
9737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9738         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9740         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9742         Moved ...
9743         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9745         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9747         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9749         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9751         Moved ...
9752         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9753         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9754         Moved ...
9755         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9756         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9757         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9759         Moved ...
9760         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9762         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9763         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9764         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9765         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9766         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9767         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9768         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9770         Moved ...
9771         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9772         ... here.
9773         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9774         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9775         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9776         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9778         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9780         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9784         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9785         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9786         Moved ...
9787         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9789         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9791         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9793         Moved ...
9794         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9795         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9796         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9797         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9798         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9800         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9801         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9802         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9803         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9804         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9805         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9806         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9807         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9808         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9809         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9810         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9827         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9829 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9831         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9832         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9833         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9834         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9835         (IPV6_PMTUDISC_INTERFACE): Likewise.
9836         (IPV6_PMTUDISC_OMIT): Likewise.
9838 2014-06-23  Andreas Schwab  <schwab@suse.de>
9840         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9841         Remove unused errout label.
9843 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9845         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9846         macro: hardware supports Vector Crypto instructions.
9848 2014-06-23  Will Newton  <will.newton@linaro.org>
9850         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9851         rather than __builtin_expect.
9853         * elf/dl-lookup.c (undefined_msg): Remove variable.
9854         (_dl_lookup_symbol_x): Replace undefined_msg with string
9855         literal.
9857         * elf/dl-lookup.c (do_lookup_unique): New function.
9858         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9859         to a separate function.
9861 2014-06-23  Andreas Schwab  <schwab@suse.de>
9863         [BZ #17079]
9864         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9865         before reading the next line.
9867 2014-06-23  Will Newton  <will.newton@linaro.org>
9869         * test-skeleton.c (signal_handler): Use printf and %m
9870         rather than perror.  Use printf rather than fprintf to
9871         stderr.  Use puts rather than fputs to stderr.
9872         (main): Likewise.
9874 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9876         * nscd/nscd.c (thread_info_t): Remove typedef.
9877         (thread_info): Remove variable.
9879 2014-06-21  Allan McRae  <allan@archlinux.org>
9881         * NEWS: Mention CVE-2014-4043.
9883 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9885         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9886         * nptl/smp.h: ... here.
9888         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9890         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9891         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9892         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9893         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9895         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9896         * nptl/stack-aliasing.h: New file.
9897         * sysdeps/i386/i686/stack-aliasing.h: New file.
9898         * sysdeps/i386/i686/nptl/Makefile: File removed.
9899         * sysdeps/x86_64/stack-aliasing.h: New file.
9900         * sysdeps/x86_64/nptl/Makefile
9901         (CFLAGS-pthread_create.c): Variable removed.
9903         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9904         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9905         old file.
9906         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9907         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9908         old file.
9910 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9912         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9913         (__ASSUME_SIGFRAME_V2): Remove macro.
9914         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9915         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9916         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9917         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9918         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9919         Declare as function.  Remove conditional macro definitions.
9920         (__default_rt_sa_restorer): Likewise.
9921         (__default_sa_restorer_v1): Remove declaration.
9922         (__default_sa_restorer_v2): Likewise.
9923         (__default_rt_sa_restorer_v1): Likewise.
9924         (__default_rt_sa_restorer_v2): Likewise.
9925         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9926         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9927         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9929 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9931         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9932         (libpthread-routines): Add sysdep.
9933         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9934         * sysdeps/unix/sysv/linux/sparc/Versions
9935         (libpthread: GLIBC_2.3.3): New version set.
9936         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9937         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9938         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9939         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9940         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9941         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9942         Moved ...
9943         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9944         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9945         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9946         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9947         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9948         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9949         * sysdeps/sparc/nptl/sem_init.c: ... here.
9950         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9951         * sysdeps/sparc/nptl/sem_post.c: ... here.
9952         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9953         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9954         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9955         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9956         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9957         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9958         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9959         (libpthread-routines): Add cpu_relax.
9960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9961         File removed.
9962         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9963         (librt: GLIBC_2.3.3): New version set.
9964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9965         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9966         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9967         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9970         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9972         Moved ...
9973         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9975         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9977         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9979         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9981         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9983         Moved ...
9984         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9985         Update #include.
9986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9987         Moved ...
9988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9989         Update #include.
9990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9991         Moved ...
9992         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9993         Update #include.
9994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9995         Moved ...
9996         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9997         Update #include.
9998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9999         Moved ...
10000         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10001         Update #include.
10002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10003         Moved ...
10004         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10005         Update #include.
10006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10007         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10013         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10015         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10017         Moved ...
10018         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10020         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10022         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10024 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10026         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10027         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10028         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10029         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10030         * nscd/nscd.c: Likewise.
10031         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10032         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10033         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10034         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10036         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10037         <kernel-features.h>.
10038         (init_mq_netlink): Remove conditional have_sock_cloexec
10039         definitions.  Remove code conditional on have_sock_cloexec < 0.
10040         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10041         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10042         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10043         <kernel-features.h>.
10044         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10045         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10047 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10050         Add tests for memset_chk and memset.
10052         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10053         with AVX2_Usable.
10055 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10057         [BZ #16046]
10058         * elf/tst-dl-iter-static.c: New file.
10059         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10061         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10062         error.
10064 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10066         * sysdeps/unix/sysv/linux/kernel-features.h
10067         (__ASSUME_F_GETOWN_EX): Remove macro.
10068         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10069         <kernel-features.h>.
10070         (miss_F_GETOWN_EX): Remove variable or macro.
10071         (do_fcntl): Do not check miss_F_GETOWN_EX.
10072         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10074         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10075         Remove macro.
10076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10077         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10078         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10080         * sysdeps/unix/sysv/linux/kernel-features.h
10081         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10082         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10083         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10084         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10086 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10088         [BZ #17075]
10089         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10090         Fix calculation of the symbol's value.
10091         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10092         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10093         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10094         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10095         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10096         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10097         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10098         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10099         (modules-names): Add `tst-armtlsdescmod',
10100         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10101         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10102         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10103         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10104         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10105         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10106         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10107         ($(objpfx)tst-armtlsdescloc): New dependency.
10108         ($(objpfx)tst-armtlsdescextnow): Likewise.
10109         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10110         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10111         TLS scheme support.
10112         * sysdeps/arm/configure: Regenerate.
10114 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10116         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10117         (__atfct_seterrno_2): Likewise.
10118         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10119         <kernel-features.h>.
10120         (__ASSUME_ATFCTS): Do not undefine and redefine.
10121         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10122         (__have_atfcts): Remove conditional definition.
10123         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10124         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10125         unreachable if [__ASSUME_ATFCTS].
10126         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10127         not undefine and redefine.
10128         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10129         <kernel-features.h>.
10130         (faccessat) [__NR_faccessat]: Make code unconditional.
10131         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10132         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10133         <kernel-features.h>.
10134         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10135         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10136         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10137         <kernel-features.h>.
10138         (fchownat) [__NR_fchownat]: Make code unconditional.
10139         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10140         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10141         <kernel-features.h>.
10142         (futimesat) [__NR_futimesat]: Make code unconditional.
10143         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10144         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10145         <kernel-features.h>.
10146         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10147         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10148         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10149         <kernel-features.h>.
10150         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10151         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10152         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10153         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10154         <kernel-features.h>.
10155         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10156         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10157         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10158         <kernel-features.h>.
10159         (linkat) [__NR_linkat]: Make code unconditional.
10160         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10161         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10162         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10163         <kernel-features.h>.
10164         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10165         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10166         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10167         <kernel-features.h>.
10168         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10169         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10170         * sysdeps/unix/sysv/linux/openat.c: Do not include
10171         <kernel-features.h>.
10172         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10173         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10174         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10175         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10176         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10177         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10178         <kernel-features.h>.
10179         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10180         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10181         result of INLINE_SYSCALL directly, not via int variable.
10182         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10183         <kernel-features.h>.
10184         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10185         (renameat) [__NR_renameat]: Make code unconditional.
10186         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10187         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10188         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10189         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10190         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10191         (__ASSUME_ATFCTS): Do not undefine and redefine.
10192         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10193         <kernel-features.h>.
10194         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10195         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10196         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10197         <kernel-features.h>.
10198         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10199         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10200         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10201         (__ASSUME_ATFCTS): Do not undefine and redefine.
10202         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10203         <kernel-features.h>.
10204         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10205         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10206         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10207         <kernel-features.h>.
10208         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10209         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10211 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10213         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10215 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10217         [BZ #17069]
10218         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10219         constructed tree before returning error.
10220         * posix/bug-regexp36.c: Expand test case.
10222 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10224         [BZ #6803]
10225         * math/libm-test.inc (scalbln_test_date):
10226         Add errno expectations.
10227         * math/w_scalblnf.c: New File.
10228         Add wrapper which checks for setting errno to ERANGE.
10229         Add weak_alias for corresponding scalbln function.
10230         * math/w_scalbln.c: Likewise.
10231         * math/w_scalblnl.c: Likewise.
10232         * math/Makefile (libm-calls): Add w_scalbln.
10233         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10234         Remove weak_alias for corresponding scalbln function.
10235         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10236         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10237         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10238         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10239         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10240         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10241         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10242         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10243         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10244         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10245         Remove long_double_symbol for scalblnl function in libm, libc.
10246         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10247         Add wrapper which checks for setting errno to ERANGE.
10248         Add long_double_symbol for scalblnl function in libm, libc.
10249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10250         Remove long_double_symbol for scalblnl in libm.
10251         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10252         Add wrapper which checks for setting errno to ERANGE.
10253         Add long_double_symbol for scalblnl function in libm.
10254         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10255         Do not use wrapper because of own implementation.
10257 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10259         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10260         3 bytes for __pad1 for x32.
10261         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10263 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10264             H.J. Lu  <hongjiu.lu@intel.com>
10266         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10267         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10268         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10269         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10270         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10272 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10274         [BZ #17069]
10275         * posix/regcomp.c (parse_expression): Deallocate partially
10276         constructed tree before returning error.
10277         * posix/Makefile.c (tests): Add bug-regex36.
10278         (generated): Add bug-regex36.mtrace.
10279         (tests-special): Add $(objpfx)bug-regex36-mem.out
10280         (bug-regex36-ENV): New variable.
10281         ($(objpfx)bug-regex36-mem.out): New rule.
10282         * posix/bug-regex36.c: New file.
10284 2014-06-19  Will Newton  <will.newton@linaro.org>
10286         * malloc/malloc.c (systrim): If extra is zero then return
10287         early.
10289 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10291         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10293 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10295         * sysdeps/aarch64/strchr.S: New file.
10297 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10299         [BZ #17022]
10300         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10301         from arguments -2 or below.
10302         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10303         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10305 2014-06-18  Andreas Schwab  <schwab@suse.de>
10307         [BZ #17062]
10308         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10309         of a bracket expr not to run off the end of the string.
10310         * posix/Makefile (tests): Add tst-fnmatch3.
10311         * posix/tst-fnmatch3.c: New file.
10313 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10315         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10316         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10317         [$(cross-compiling) = no]: Likewise.
10318         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10319         [$(cross-compiling) = no]: Likewise.
10321 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10323         [BZ #17031]
10324         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10325         double, adjusted for any remainder from the high double.
10326         * math/libm-test.inc (nearbyint): Add tests.
10327         (rint): Likewise.
10329 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10331         * nptl/sysdeps/powerpc/Makefile: Moved ...
10332         * sysdeps/powerpc/nptl/Makefile: ... here.
10333         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10334         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10335         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10336         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10337         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10338         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10339         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10340         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10341         * nptl/sysdeps/powerpc/tls.h: Moved ...
10342         * sysdeps/powerpc/nptl/tls.h: ... here.
10344 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10346         [BZ #16681]
10347         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10348         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10349         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10350         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10351         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10352         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10353         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10354         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10355         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10357 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10359         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10361 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10363         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10364         defined operator.
10366         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10367         $TIMEOUTFACTOR.
10369 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10371         [BZ #17058]
10372         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10373         non-executed part of the test.
10375 2014-06-16  Andreas Schwab  <schwab@suse.de>
10377         * string/bits/string2.h (strdup, strndup): Update feature guard.
10379 2014-06-14  David S. Miller  <davem@davemloft.net>
10381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10383 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10385         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10386         that was previously under [RESET_PID].
10387         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10389         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10390         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10391         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10392         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10393         (__libc_vfork): New strong alias.
10394         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10396 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10398         * sysdeps/generic/elide.h: New file.
10400 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10402         * Makefile (installed-headers): Adjust path of pthread.h header.
10404 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10406         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10407         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10408         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10409         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10411         * nptl/sysdeps/s390/Makefile: Moved ...
10412         * sysdeps/s390/nptl/Makefile: ... here.
10413         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10414         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10415         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10416         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10417         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10418         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10419         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10420         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10421         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10422         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10423         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10424         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10425         * nptl/sysdeps/s390/tls.h: Moved ...
10426         * sysdeps/s390/nptl/tls.h: ... here.
10428         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10429         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10431 2014-06-13  David S. Miller  <davem@davemloft.net>
10433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10436         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10440         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10441         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10442         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10443         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10444         Remove RESET_PID cpp guards.
10445         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10446         Remove RESET_PID cpp guards.
10447         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10449 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10451         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10452         __sp to uintptr_t.
10454 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10456         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10457         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10458         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10460         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10461         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10462         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10463         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10465         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10466         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10467         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10469         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10471         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10472         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10477         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10478         (pthread_rwlock_rdlock): Add elision.
10479         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10480         (pthread_rwlock_wrlock): Add elision.
10481         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10482         (pthread_rwlock_trywrlock): Add elision.
10483         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10484         (pthread_rwlock_tryrdlock): Add elision.
10485         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10486         (pthread_rwlock_tryrdlock): Add elision unlock.
10487         * nptl/sysdeps/pthread/pthread.h:
10488         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10489         (PTHREAD_RWLOCK_INITIALIZER,
10490         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10491         Handle new elision field.
10492         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10493         * sysdeps/arm/nptl/bits/pthreadtypes.h
10494         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10495         * sysdeps/sh/nptl/bits/pthreadtypes.h
10496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10497         * sysdeps/tile/nptl/bits/pthreadtypes.h
10498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10499         * sysdeps/a/nptl/bits/pthreadtypes.h
10500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10501         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10503         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10505         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10507         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10509         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10511         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10513         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10515         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10517         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10518         (elision_init): Set try_xbegin to zero when no RTM.
10519         * sysdeps/x86/nptl/bits/pthreadtypes.h
10520         (pthread_rwlock_t): Change __pad1 to __rwelision.
10521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10523 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10525         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10526         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10527         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10528         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10530 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10532         [BZ #16996]
10533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10534         that the cached result has been set before returning it.
10536 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10538         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10539         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10540         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10541         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10542         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10543         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10545         * nptl/sysdeps/sparc/Makefile: Moved ...
10546         * sysdeps/sparc/nptl/Makefile: ... here.
10547         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10548         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10549         * nptl/sysdeps/sparc/tls.h: Moved ...
10550         * sysdeps/sparc/nptl/tls.h: ... here.
10551         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10552         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10553         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10554         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10555         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10556         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10557         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10558         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10559         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10560         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10561         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10562         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10563         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10564         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10565         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10566         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10567         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10568         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10569         Update #include.
10570         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10571         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10572         Update #include.
10573         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10574         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10575         Update #include.
10576         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10577         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10578         Update #include.
10580         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10582         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10583         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10585         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10586         (struct list_links): Type removed.
10587         (struct thread_node, struct timer_node): Replace struct list_links
10588         with struct list_head.
10589         (list_unlink_ip): Likewise.
10590         * sysdeps/pthread/timer_routines.c
10591         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10592         (list_append, list_insbefore): Likewise.
10593         (list_init): Function removed.
10594         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10595         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10596         * sysdeps/pthread/Makefile: ... here, new file.
10598         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10599         * sysdeps/nptl/Implies: ... here.
10600         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10601         * nptl/sysdeps/pthread/list.h: Moved ...
10602         * include/list.h: ... here.
10603         * nptl/sysdeps/pthread/createthread.c: Moved ...
10604         * nptl/createthread.c: ... here.
10605         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10606         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10607         * nptl/pt-longjmp.c: ... here.
10608         * nptl/sysdeps/pthread/Makefile: Moved ...
10609         * sysdeps/nptl/Makefile: ... here.
10610         * nptl/sysdeps/pthread/Subdirs: Moved ...
10611         * sysdeps/nptl/Subdirs: ... here.
10612         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10613         * sysdeps/nptl/aio_misc.h: ... here.
10614         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10615         * sysdeps/nptl/bits/libc-lock.h: ... here.
10616         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10617         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10618         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10619         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10620         * nptl/sysdeps/pthread/configure: Moved ...
10621         * sysdeps/nptl/configure: ... here.
10622         * nptl/sysdeps/pthread/configure.ac: Moved ...
10623         * sysdeps/nptl/configure.ac: ... here.
10624         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10625         * sysdeps/nptl/gai_misc.h: ... here.
10626         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10627         * sysdeps/nptl/librt-cancellation.c: ... here.
10628         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10629         * sysdeps/nptl/malloc-machine.h: ... here.
10630         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10631         * sysdeps/nptl/pthread-functions.h: ... here.
10632         * nptl/sysdeps/pthread/pthread.h: Moved ...
10633         * sysdeps/nptl/pthread.h: ... here.
10634         * nptl/sysdeps/pthread/setxid.h: Moved ...
10635         * sysdeps/nptl/setxid.h: ... here.
10636         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10637         * sysdeps/nptl/sigfillset.c: ... here.
10638         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10639         * sysdeps/nptl/tcb-offsets.h: ... here.
10640         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10641         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10642         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10643         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10644         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10645         * sysdeps/pthread/allocalim.h: ... here.
10646         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10647         * sysdeps/pthread/bits/sigthread.h: ... here.
10648         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10649         * sysdeps/pthread/flockfile.c: ... here.
10650         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10651         * sysdeps/pthread/ftrylockfile.c: ... here.
10652         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10653         * sysdeps/pthread/funlockfile.c: ... here.
10654         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10655         * sysdeps/pthread/posix-timer.h: ... here.
10656         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10657         * sysdeps/pthread/timer_create.c: ... here.
10658         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10659         * sysdeps/pthread/timer_delete.c: ... here.
10660         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10661         * sysdeps/pthread/timer_getoverr.c: ... here.
10662         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10663         * sysdeps/pthread/timer_gettime.c: ... here.
10664         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10665         * sysdeps/pthread/timer_routines.c: ... here.
10666         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10667         * sysdeps/pthread/timer_settime.c: ... here.
10668         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10669         * sysdeps/pthread/tst-timer.c: ... here.
10670         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10671         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10673         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10674         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10676         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10677         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10678         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10679         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10680         Update #include target.
10681         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10682         * sysdeps/i386/i686/nptl/Makefile: ... here.
10683         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10684         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10685         Update #include target.
10686         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10687         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10688         * nptl/sysdeps/i386/Makefile: Moved ...
10689         * sysdeps/i386/nptl/Makefile: ... here.
10690         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10691         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10692         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10693         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10694         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10695         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10696         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10697         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10698         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10699         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10700         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10701         * nptl/sysdeps/i386/tls.h: Moved ...
10702         * sysdeps/i386/nptl/tls.h: ... here.
10704         * sysdeps/sh/Makefile [$(subdir) = csu]
10705         (gen-as-const-headers): Add tcb-offsets.sym.
10706         * nptl/sysdeps/sh/Makefile: File removed.
10707         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10708         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10709         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10710         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10711         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10712         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10713         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10714         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10715         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10716         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10717         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10718         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10719         * nptl/sysdeps/sh/tls.h: Moved ...
10720         * sysdeps/sh/nptl/tls.h: ... here.
10721         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10722         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10723         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10724         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10725         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10726         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10727         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10728         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10729         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10730         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10731         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10732         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10733         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10734         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10735         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10736         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10737         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10738         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10740         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10742         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10743         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10744         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10745         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10746         Moved ...
10747         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10748         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10749         Moved ...
10750         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10751         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10754         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10755         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10756         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10757         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10758         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10759         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10760         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10761         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10762         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10763         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10764         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10765         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10766         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10767         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10768         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10770 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10772         * posix/spawn_faction_addopen.c: Include string.h.
10774 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10776         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10777         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10778         * nptl/sysdeps/x86_64/Makefile: Moved ...
10779         * sysdeps/x86_64/nptl/Makefile: ... here.
10780         * nptl/sysdeps/x86_64/configure: Moved ...
10781         * sysdeps/x86_64/nptl/configure: ... here.
10782         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10783         * sysdeps/x86_64/nptl/configure.ac: ... here.
10784         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10785         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10786         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10787         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10788         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10789         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10790         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10791         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10792         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10793         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10794         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10795         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10796         * nptl/sysdeps/x86_64/tls.h: Moved ...
10797         * sysdeps/x86_64/nptl/tls.h: ... here.
10798         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10799         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10800         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10801         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10803         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10805 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10809 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10811         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10812         type.
10813         [POSIX] (off_t): Likewise.
10814         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10815         [POSIX] (S_ISBLK): Require macro.
10816         [POSIX] (S_ISCHR): Likewise.
10817         [POSIX] (S_ISDIR): Likewise.
10818         [POSIX] (S_ISFIFO): Likewise.
10819         [POSIX] (S_ISREG): Likewise.
10820         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10821         optional-macro.
10822         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10823         type.
10824         [POSIX] (time_t): Likewise.
10825         [POSIX] (timer_t): Likewise.
10827 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10829         [BZ #17048]
10830         * posix/spawn_int.h (struct __spawn_action): Make the path string
10831         non-const to support deallocation.
10832         * posix/spawn_faction_addopen.c
10833         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10834         * posix/spawn_faction_destroy.c
10835         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10836         path in all spawn_do_open actions.
10837         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10838         posix_spawn_file_actions_addopen.
10840 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10842         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10843         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10844         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10845         conditional code always true.
10846         (__libc_vfork): New alias.
10848 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10850         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10851         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10853         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10855         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10856         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10858         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10859         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10861         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10862         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10864 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10866         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10867         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10868         multiarch strcmp for PPC64.
10869         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10870         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10872         multiarch optimizations.
10873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10874         (__libc_ifunc_impl_list): Likewise.
10876 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10878         * benchtests/scripts/validate_benchout.py: New script.
10879         * benchtests/Makefile (bench-func): Call it.
10880         * benchtests/scripts/benchout.schema.json: New file.
10882 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10884         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10885         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10886         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10887         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10888         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10889         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10890         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10891         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10892         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10893         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10894         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10895         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10896         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10897         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10898         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10899         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10901         Moved ...
10902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10903         ... here.
10904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10905         Moved ...
10906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10908         Moved ...
10909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10910         ... here.
10911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10912         Moved ...
10913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10914         ... here.
10915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10916         Moved ...
10917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10919         Moved ...
10920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10921         ... here.
10922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10923         Moved ...
10924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10925         ... here.
10926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10927         Moved ...
10928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10930         Moved ...
10931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10932         ... here.
10933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10934         Moved ...
10935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10936         ... here.
10937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10938         Moved ...
10939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10940         ... here.
10941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10942         Moved ...
10943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10945         Moved ...
10946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10947         ... here.
10948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10951         ... here.
10952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10953         Moved ...
10954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10955         ... here.
10956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10957         Moved ...
10958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10960         Moved ...
10961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10962         ... here.
10963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10964         Moved ...
10965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10966         ... here.
10967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10968         Moved ...
10969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10971         Moved ...
10972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10973         ... here.
10974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10975         Moved ...
10976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10978         Moved ...
10979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10981         Moved ...
10982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10983         ... here.
10984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10987         ... here.
10988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10989         Moved ...
10990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10991         ... here.
10992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10993         Moved ...
10994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10996         Moved ...
10997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10998         ... here.
10999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11000         Moved ...
11001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11002         ... here.
11003         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11004         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11006         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11008         Moved ...
11009         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11010         ... here.
11011         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11012         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11014         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11016         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11018         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11020         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11022         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11026         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11027         Moved ...
11028         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11029         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11030         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11032         Moved ...
11033         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11034         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11035         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11036         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11037         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11038         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11039         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11041 2014-06-10  Wilco  <wdijkstr@arm.com>
11043         * math/test-fenv-return.c: New file.
11044         * math/Makefile: Add new test test-fenv-return.
11046 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11048         [BZ #17042]
11049         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11050         when x - 1 is zero.
11051         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11052         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11053         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11054         0.0L for an argument of 1.0L.
11055         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11056         Likewise.
11057         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11058         value when x - 1 is zero.
11059         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11060         * sysdeps/i386/fpu/libm-test-ulps: Update.
11061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11065         [BZ #15119]
11066         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11068 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11070         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11071         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11073 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11075         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11076         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11078         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11079         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11081         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11082         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11084         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11085         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11087         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11088         if not already defined.
11089         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11090         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11091         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11092         (TLS_INIT_TP): Use it.
11093         (TLS_DEFINE_INIT_TP): New macro.
11094         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11096 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11098         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11099         constant.
11100         [POSIX] (IXANY): Likewise.
11101         [POSIX] (OLCUC): Likewise.
11102         [POSIX || POSIX2008] (CBAUD): Do not allow.
11103         [POSIX || POSIX2008] (DEFECHO): Likewise.
11104         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11105         [POSIX || POSIX2008] (ECHOKE): Likewise.
11106         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11107         [POSIX || POSIX2008] (EXTA): Likewise.
11108         [POSIX || POSIX2008] (EXTB): Likewise.
11109         [POSIX || POSIX2008] (FLUSHO): Likewise.
11110         [POSIX || POSIX2008] (LOBLK): Likewise.
11111         [POSIX || POSIX2008] (PENDIN): Likewise.
11112         [POSIX || POSIX2008] (SWTCH): Likewise.
11113         [POSIX || POSIX2008] (VDISCARD): Likewise.
11114         [POSIX || POSIX2008] (VDSUSP): Likewise.
11115         [POSIX || POSIX2008] (VLNEXT): Likewise.
11116         [POSIX || POSIX2008] (VREPRINT): Likewise.
11117         [POSIX || POSIX2008] (VSTATUS): Likewise.
11118         [POSIX || POSIX2008] (VWERASE): Likewise.
11119         (B*): Change to B[0123456789]*.
11120         * conform/data/time.h-data [POSIX || UNIX98]
11121         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11122         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11123         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11124         [POSIX] (tm_*): Do not allow.
11126 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11128         * Makefile (install): Don't set LANGUAGE.
11129         * Makefile.in (install): Likewise.
11130         * assert/Makefile (test-assert-ENV): Remove variable.
11131         (test-assert-perr-ENV): Likewise.
11132         * elf/Makefile (neededtest4-ENV): Likewise.
11133         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11134         [$(cross-compiling) = no]: Don't set LANGUAGE.
11135         * io/ftwtest-sh (LANG): Remove variable.
11136         * libio/Makefile (tst-widetext-ENV): Likewise.
11137         * manual/install.texi (Running make install): Don't refer to
11138         environment settings for make install.
11139         * INSTALL: Regenerated.
11140         * nptl/tst-tls6.sh: Don't set LANG.
11141         * posix/globtest.sh (LANG): Remove variable.
11142         * string/Makefile (tester-ENV): Likewise.
11143         (inl-tester-ENV): Likewise.
11144         (noinl-tester-ENV): Likewise.
11145         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11146         [$(cross-compiling) = no]: Don't set LANGUAGE.
11147         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11148         without explicit environment settings.
11150 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11152         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11153         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11154         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11155         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11157 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11159         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11160         other files in the crypt directory.
11161         * crypt/crypt.c: Remove duplicate includes.
11162         * crypt/crypt-entry.c: Likewise.
11163         * crypt/crypt_util.c: Likewise.
11165 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11167         * Makeconfig (run-program-env): New variable.
11168         (run-program-prefix-before-env): Likewise.
11169         (run-program-prefix-after-env): Likewise.
11170         (run-program-prefix): Define in terms of new variables.
11171         (built-program-cmd-before-env): New variable.
11172         (built-program-cmd-after-env): Likewise.
11173         (built-program-cmd): Define in terms of new variables.
11174         (test-program-prefix-before-env): New variable.
11175         (test-program-prefix-after-env): Likewise.
11176         (test-program-prefix): Define in terms of new variables.
11177         (test-program-cmd-before-env): New variable.
11178         (test-program-cmd-after-env): Likewise.
11179         (test-program-cmd): Define in terms of new variables.
11180         * Rules (make-test-out): Use $(run-program-env).
11181         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11182         (help): Do not mention environment variables.  Mention
11183         --timeoutfactor option.
11184         (timeoutfactor): New variable.
11185         (blacklist_exports): Remove function.
11186         (exports): Remove variable.
11187         (command): Do not include ${exports}.
11188         * manual/install.texi (Configuring and compiling): Do not mention
11189         test wrappers preserving environment variables.  Mention that last
11190         assignment to a variable must take precedence.
11191         * INSTALL: Regenerated.
11192         * benchtests/Makefile (run-bench): Use $(run-program-env).
11193         * catgets/Makefile ($(objpfx)test1.cat): Use
11194         $(built-program-cmd-before-env), $(run-program-env) and
11195         $(built-program-cmd-after-env).
11196         ($(objpfx)test2.cat): Do not specify environment variables
11197         explicitly.
11198         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11199         $(run-program-env) and $(built-program-cmd-after-env).
11200         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11201         $(run-program-env) and $(test-program-cmd-after-env).
11202         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11203         explicitly.
11204         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11205         run_program_env and test_program_cmd_after_env arguments.
11206         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11207         * elf/tst-pathopt.sh: Use run_program_env argument.
11208         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11209         $(test-wrapper-env) and $(run-program-env).
11210         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11211         run_program_env arguments.
11212         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11213         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11214         $(test-program-prefix-before-env), $(run-program-env) and
11215         $(test-program-prefix-after-env).
11216         ($(objpfx)tst-gettext2.out): Likewise.
11217         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11218         run_program_env and test_program_prefix_after_env arguments.
11219         * intl/tst-gettext2.sh: Likewise.
11220         * intl/tst-gettext4.sh: Do not set environment variables
11221         explicitly.
11222         * intl/tst-gettext6.sh: Likewise.
11223         * intl/tst-translit.sh: Likewise.
11224         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11225         $(test-program-prefix-before-env), $(run-program-env) and
11226         $(test-program-prefix-after-env).
11227         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11228         run_program_env and test_program_prefix_after_env arguments.
11229         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11230         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11231         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11232         explicitly with each use of ${test_wrapper_env}.
11233         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11234         $(test-program-prefix-before-env), $(run-program-env) and
11235         $(test-program-prefix-after-env).
11236         * posix/tst-getconf.sh: Do not set environment variables
11237         explicitly.
11238         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11239         run_program_env and test_program_prefix_after_env arguments.
11240         * stdio-common/tst-printf.sh: Do not set environment variables
11241         explicitly.
11242         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11243         $(test-program-prefix-before-env), $(run-program-env) and
11244         $(test-program-prefix-after-env).
11245         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11246         run_program_env and test_program_prefix_after_env arguments.
11247         Split $test calls into $test_pre and $test.
11248         * timezone/Makefile (build-testdata): Use
11249         $(built-program-cmd-before-env), $(run-program-env) and
11250         $(built-program-cmd-after-env).
11252 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11254         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11255         strlen for non SHARED builds.
11257 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11259         * nptl/allocatestack.c (check_list): Inlined function...
11260         (__reclaim_stacks): ... here.
11262 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11264         [BZ #15698]
11265         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11266         memory overrun.
11268 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11270         * Rules (make-test-out): Include
11271         LOCPATH=$(common-objpfx)localedata in default environment.
11272         * debug/Makefile (tst-chk1-ENV): Remove variable.
11273         (tst-chk2-ENV): Likewise.
11274         (tst-chk3-ENV): Likewise.
11275         (tst-chk4-ENV): Likewise.
11276         (tst-chk5-ENV): Likewise.
11277         (tst-chk6-ENV): Likewise.
11278         (tst-lfschk1-ENV): Likewise.
11279         (tst-lfschk2-ENV): Likewise.
11280         (tst-lfschk3-ENV): Likewise.
11281         (tst-lfschk4-ENV): Likewise.
11282         (tst-lfschk5-ENV): Likewise.
11283         (tst-lfschk6-ENV): Likewise.
11284         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11285         (tst-iconv7-ENV): Likewise.
11286         * intl/Makefile (LOCPATH-ENV): Likewise.
11287         (tst-codeset-ENV): Likewise.
11288         (tst-gettext3-ENV): Likewise.
11289         (tst-gettext5-ENV): Likewise.
11290         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11291         (tst-fopenloc-ENV): Likewise.
11292         (tst-fgetws-ENV): Remove variable.
11293         (tst-ungetwc1-ENV): Likewise.
11294         (tst-ungetwc2-ENV): Likewise.
11295         (bug-ungetwc2-ENV): Likewise.
11296         (tst-swscanf-ENV): Likewise.
11297         (bug-ftell-ENV): Likewise.
11298         (tst-fgetwc-ENV): Likewise.
11299         (tst-fseek-ENV): Likewise.
11300         (tst-ftell-partial-wide-ENV): Likewise.
11301         (tst-ftell-active-handler-ENV): Likewise.
11302         (tst-ftell-append-ENV): Likewise.
11303         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11304         (tst-regexloc-ENV): Likewise.
11305         (bug-regex1-ENV): Likewise.
11306         (tst-regex-ENV): Likewise.
11307         (tst-regex2-ENV): Likewise.
11308         (bug-regex5-ENV): Likewise.
11309         (bug-regex6-ENV): Likewise.
11310         (bug-regex17-ENV): Likewise.
11311         (bug-regex18-ENV): Likewise.
11312         (bug-regex19-ENV): Likewise.
11313         (bug-regex20-ENV): Likewise.
11314         (bug-regex22-ENV): Likewise.
11315         (bug-regex23-ENV): Likewise.
11316         (bug-regex25-ENV): Likewise.
11317         (bug-regex26-ENV): Likewise.
11318         (bug-regex30-ENV): Likewise.
11319         (bug-regex32-ENV): Likewise.
11320         (bug-regex33-ENV): Likewise.
11321         (bug-regex34-ENV): Likewise.
11322         (bug-regex35-ENV): Likewise.
11323         (tst-rxspencer-ENV): Likewise.
11324         (tst-rxspencer-no-utf8-ENV): Likewise.
11325         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11326         (tst-sscanf-ENV): Likewise.
11327         (tst-swprintf-ENV): Likewise.
11328         (tst-swscanf-ENV): Likewise.
11329         (test-vfprintf-ENV): Likewise.
11330         (scanf13-ENV): Likewise.
11331         (bug14-ENV): Likewise.
11332         (tst-grouping-ENV): Likewise.
11333         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11334         (tst-strtod3-ENV): Likewise.
11335         (tst-strtod4-ENV): Likewise.
11336         (tst-strtod5-ENV): Likewise.
11337         (testmb2-ENV): Likewise./
11338         * string/Makefile (tst-strxfrm-ENV): Likewise.
11339         (tst-strxfrm2-ENV): Likewise.
11340         (bug-strcoll1-ENV): Likewise.
11341         (test-strcasecmp-ENV): Likewise.
11342         (test-strncasecmp-ENV): Likewise.
11343         * time/Makefile (tst-strptime-ENV): Likewise.
11344         (tst-ftime_l-ENV): Likewise.
11345         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11346         (tst-mbrtowc-ENV): Likewise.
11347         (tst-wcrtomb-ENV): Likewise.
11348         (tst-mbrtowc2-ENV): Likewise.
11349         (tst-c16c32-1-ENV): Likewise.
11350         (tst-mbsnrtowcs-ENV): Likewise.
11352 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11354         * manual/resource.texi (How to get information about the memory
11355         subsystem?): Fix typo.
11356         Reported by Peon de la Parra Ivan <peon@keba.com>
11358 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11360         [BZ #16882]
11361         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11362         (pthread_spin_lock): Branch out of spin loop to proper location.
11363         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11364         (pthread_spin_lock): Likewise.
11366         * nptl/tst-spin4.c: New test.
11367         * nptl/Makefile (tests): Add tst-spin4.
11369 2014-06-03  Andreas Schwab  <schwab@suse.de>
11371         [BZ #15946]
11372         * resolv/res_send.c (send_dg): Reload file descriptor after
11373         calling reopen.
11375 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11377         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11379 2014-06-03  Richard Henderson  <rth@redhat.com>
11381         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11382         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11383         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11384         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11385         in the SAVE_PID block.
11386         (__libc_vfork): New alias.
11387         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11389         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11390         child in registers, not on the stack.  Remove RESET_PID conditionals.
11391         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11393 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11395         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11397 2014-06-03  Wilco  <wdijkstr@arm.com>
11399         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11400         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11401         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11402         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11403         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11404         Likewise.
11406 2014-06-03  Wilco  <wdijkstr@arm.com>
11408         * sysdeps/aarch64/fpu/math_private.h
11409         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11410         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11411         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11412         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11413         Fix declarations.
11415 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11417         * crypt/crypt-private.h: Include ufc-crypt.h.
11418         (__b64_from_24bit): Declare extern.
11419         * crypt/crypt_util.c(__b64_from_24bit): New function.
11420         (b64t): New static const variable.
11421         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11422         (b64t): Remove variable.
11423         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11424         * crypt/sha256-crypt.c: Include crypt-private.h.
11425         (b64t): Remove variable.
11426         (__sha256_crypt_r): Remove b64_from_24bit and replace
11427         with __b64_from_24bit.
11428         * crypt/sha512-crypt.c: Likewise.
11430 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11432         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11433         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11434         Label the code __libc_vfork rather than __vfork.
11435         [!NOT_IN_libc] (vfork): Define as weak alias.
11436         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11437         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11438         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11440 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11442         * malloc/malloc.c (malloc_info): Fix format specifier for
11443         n_mmaps.
11445 2014-06-02  Wilco  <wdijkstr@arm.com>
11447         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11448         FPCR write.
11450 2014-06-02  Wilco  <wdijkstr@arm.com>
11452         [BZ #17009]
11453         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11454         Rewrite to reduce FPCR/FPSR accesses.
11456 2014-06-01  David S. Miller  <davem@davemloft.net>
11458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11460 2014-05-31  David S. Miller  <davem@davemloft.net>
11462         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11463         to occur in round to nearest mode when |x| >= 2.0
11465 2014-05-30  Richard Henderson  <rth@twiddle.net>
11467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11468         (PSEUDO_RET_NOERRNO): Remove.
11469         (ret): Don't redefine.
11470         (ret_NOERRNO): Define in terms of ret.
11471         (ret_ERRVAL): Likewise.
11473         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11474         use of PSEUDO_RET; perform the error check directly.
11476 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11478         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11479         with __int128_t.
11481 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11483         * malloc/malloc (malloc_info): Fix formatting.
11485 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11486             Roland McGrath  <roland@hack.frob.com>
11488         * malloc/malloc (malloc_info): Also print mmapped statistics.
11490 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11492         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11493         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11495 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11497         * malloc/malloc.c (malloc_info): Inline mi_arena.
11499 2014-05-29  Richard Henderson  <rth@twiddle.net>
11501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11502         Remove comma before expanding ASM_ARGS_##nr.
11503         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11504         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11505         of ASM_ARGS_##nr.
11506         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11507         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11508         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11509         (ASM_ARGS_1): Add leading comma.
11511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11512         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11513         to __errno_location.
11514         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11515         Remove the expected plt for __errno_location.
11517         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11518         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11519         call to __read_tp.
11521         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11522         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11523         it and break it down.
11524         (DOCARGS_0, DOCARGS_1): Do nothing.
11525         (DOCARGS_2): Update to store into the new stack frame.
11526         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11527         (UNDOCARGS_1): Update to restore from the new stack frame.
11528         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11529         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11532         (SINGLE_THREAD_P): New parameter for result regno.
11533         (PSEUDO): Update to match; use cbz instead of beq.
11535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11536         Use ENTRY to define the _nocancel entry point.  Share the syscall
11537         and syscall error check paths with the cancel path.
11538         (PSEUDO_END): New.
11540         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11541         whitespace; tabs before and after asm mnemonics.
11543 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11545         [BZ #15132]
11546         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11547         Call fstat64 or stat64 internally, depending on arguments passed.
11548         Replace stat buffer argument with file descriptor argument.
11549         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11550         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11551         Pass fd to __internal_statvfs instead of calling fstat64.
11552         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11553         Pass fd to __internal_statvfs64 instead of calling fstat64.
11554         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11555         Pass -1 to __internal_statvfs instead of calling stat64.
11556         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11557         Pass -1 to __internal_statvfs64 instead of calling stat64.
11559 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11561         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11562         that was previously under [RESET_PID].
11563         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11565         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11566         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11568 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11570         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11572         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11573         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11575 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11577         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11579 2014-05-27  Andreas Schwab  <schwab@suse.de>
11581         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11582         TLS_INIT_TP macro.
11583         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11584         * elf/rtld.c (init_tls, dl_main): Likewise.
11585         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11586         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11587         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11588         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11589         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11590         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11591         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11592         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11593         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11594         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11595         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11596         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11597         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11598         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11599         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11600         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11601         * sysdeps/generic/tls.h: Update description.
11603 2014-05-27  Will Newton  <will.newton@linaro.org>
11605         [BZ #16990]
11606         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11607         and restore r2 rather than just restoring.
11609 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11611         [BZ #16724]
11612         * libio/tst-ftell-append.c: New test case.
11613         * libio/Makefile (tests): Add test case.
11614         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11615         append mode.
11616         * libio/wfileops.c (do_ftell_wide): Likewise.
11618 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11622         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11623         ...
11624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11626         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11627         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11628         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11629         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11630         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11631         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11633         Moved ...
11634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11636         Moved ...
11637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11638         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11639         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11640         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11641         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11642         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11643         ...
11644         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11645         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11646         Moved ...
11647         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11648         here.
11649         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11650         ...
11651         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11652         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11653         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11655         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11656         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11657         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11658         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11661         merge into ...
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11664         ...
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11667         ...
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11670         Moved ...
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11672         here.
11673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11674         Moved ...
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11677         Moved ...
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11681         conditional [RESET_PID].
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11684         removed.
11685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11686         removed.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11689         <tcb-offsets.h>.
11690         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11691         (__libc_vfork): New strong alias.
11692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11693         removed.
11694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11695         Removed.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11698         <tcb-offsets.h>.
11699         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11700         (__libc_vfork): New strong alias.
11701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11702         removed.
11703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11704         removed.
11706 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11708         * malloc/malloc.c (mi_arena): New function.
11709         (malloc_info): Remove nested function mi_arena. Call non-nosted
11710         function mi_arena.
11712 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11714         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11715         by insrwi.
11716         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11717         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11718         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11719         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11720         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11721         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11722         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11724 2014-05-26  Andreas Schwab  <schwab@suse.de>
11726         [BZ #16984]
11727         * locale/programs/repertoire.c (repertoire_read): Add slash
11728         between I18NPATH element and file name.
11729         * locale/programs/locfile.c (locfile_read): Likewise.
11731 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11733         * nptl/pthread_mutexattr_settype.c
11734         (__pthread_mutexattr_settype):
11735         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11737 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11739         * nptl/tst-mutex5 (do_test):
11740         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11742 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11744         * benchtests/README: Document 'init' directive.
11745         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11746         BENCH_INIT.
11747         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11748         (parse_file): Recognize 'init' directive.
11750 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11752         [BZ #16796]
11753         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11754         alignment of struct pthread.
11756 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11758         [BZ #16878]
11759         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11760         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11761         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11762         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11764 2014-05-25  Richard Henderson  <rth@twiddle.net>
11766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11767         (SINGLE_THREAD_P_PIC): Remove.
11768         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11769         (SINGLE_THREAD_P_PIC): Remove.
11771         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11772         branch to syscall error ...
11773         (PSEUDO): ... here.
11774         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11775         from __local_syscall_error to .Lsyscall_error.
11776         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11777         (SYSCALL_ERROR): Update label name.
11779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11780         Do not use DOARGS/UNDOARGS.
11781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11782         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11783         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11784         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11785         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11787         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11788         block comment.
11790         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11791         define if !NOT_IN_libc.
11792         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11793         define with non-default symbol versions.
11795 2014-05-23  Richard Henderson  <rth@twiddle.net>
11797         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11798         (vfork, __vfork): Define via compat_symbol.
11800         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11801         [!HAVE_IFUNC] (vfork_compat): Remove.
11802         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11804 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11806         [BZ #16978]
11807         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11808         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11809         variable.
11811 2014-05-23  Richard Henderson  <rth@twiddle.net>
11813         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11814         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11815         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11816         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11818         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11819         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11820         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11821         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11822         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11823         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11824         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11825         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11826         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11827         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11828         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11829         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11830         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11831         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11832         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11833         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11834         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11835         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11836         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11837         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11838         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11839         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11840         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11841         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11842         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11843         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11844         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11845         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11846         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11847         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11848         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11849         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11850         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11851         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11852         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11853         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11854         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11855         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11856         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11857         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11858         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11859         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11860         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11861         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11862         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11863         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11864         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11865         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11867         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11869         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11870         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11871         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11872         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11873         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11875         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11876         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11877         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11878         before exiting on error.
11879         (__libc_vfork): New strong alias.
11880         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11881         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11883         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11884         that was previously under [RESET_PID].
11885         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11887         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11889 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11891         [BZ #16977]
11892         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11893         value when x - 1 is zero.
11894         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11895         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11896         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11897         0.0L for an argument of 1.0L.
11898         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11899         Likewise.
11900         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11901         value when x - 1 is zero.
11902         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11903         * sysdeps/i386/fpu/libm-test-ulps: Update.
11904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11906 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11908         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11909         alphasort and versionsort.
11911 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11913         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11914         macro.
11915         [copysignf]: Likewise.
11917 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11919         * crypt/md5-crypt.c: Fix formatting.
11921 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11923         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11924         (b64_from_24bit): New function.
11926 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11928         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11929         libc_hidden_builtin_def to ifunc.
11930         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11931         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11933 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11935         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11936         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11938 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11940         * nscd/Depend (linuxthreads): Remove.
11941         (nptl): Add.
11942         * resolv/Depend (linuxthreads): Remove.
11943         * rt/Depend (linuxthreads): Remove.
11945         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11946         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11947         $(common-objpfx)elf/.
11948         (link-libc-before-gnulib): Likewise.
11949         (elfobjdir): Remove variable.
11950         * Makefile (install): Use $(elf-objpfx) instead of
11951         $(common-objpfx)elf/.
11952         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11953         $(elfobjdir)/.
11954         (link-libc-deps): Likewise.
11955         ($(common-objpfx)libc.so): Likewise.
11956         ($(common-objpfx)linkobj/libc.so): Likewise.
11957         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11958         instead of $(common-objpfx)elf/.
11959         (symbolic-link-list): Likewise.
11960         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11961         [$(cross-compiling) = no]: Likewise.
11962         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11963         $(elfobjdir)/.
11964         (static-gnulib-arch): Likewise.
11965         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11966         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11967         $(common-objpfx)elf/.
11969 2014-05-21  Richard Henderson  <rth@redhat.com>
11971         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11972         (SINGLE_THREAD_P): Use the correct width load.  Fold
11973         into the ldr offset.
11975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11976         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11978 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11980         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11981         (libgcc_s_resume): Use __attribute_used__.
11982         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11983         Likewise.
11985 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11987         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11988         optimization when used with float constants.
11990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11992 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11994         [BZ #16915]
11995         * locale/nl_langinfo_l.c: Make direct reference to every
11996         _nl_current_CATEGORY symbol.
11997         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11998         (tests-static): Add tst-langinfo-static.
11999         (tests-special): Add tst-langinfo-static.out.
12000         ($(objpfx)tst-langinfo.out): Redirect output.
12001         ($(objpfx)tst-langinfo-static.out): New.
12002         * localedata/tst-langinfo.sh: Send output to stdout.
12003         * localedata/tst-langinfo-static.c: New file.
12005         [BZ #16965]
12006         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12007         when the shift amount is modulo the limb size.
12009 2014-05-20  Richard Henderson  <rth@redhat.com>
12011         [BZ #16967]
12012         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12013         Change type of sa_flags from unsigned int to int.
12015         [BZ #16966]
12016         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12018         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12020 2014-05-20  Will Newton  <will.newton@linaro.org>
12022         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12023         Test the return value of the system call in the nocancel case.
12025 2014-05-20  Will Newton  <will.newton@linaro.org>
12026             Yvan Roux  <yvan.roux@linaro.org>
12028         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12029         #include of asm/ptrace.h.
12030         (PTRACE_GET_THREAD_AREA): Remove #undef.
12031         (PTRACE_GETHBPREGS): Likewise.
12032         (PTRACE_SETHBPREGS): Likewise.
12033         (struct user_regs_struct): New structure.
12034         (struct user_fpsimd_struct): New structure.
12035         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12036         #include of asm/ptrace.h and second #include of sys/user.h.
12037         (PTRACE_GET_THREAD_AREA): Remove #undef.
12038         (PTRACE_GETHBPREGS): Likewise.
12039         (PTRACE_SETHBPREGS): Likewise.
12040         (ELF_NGREG): Use new struct user_regs_struct.
12041         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12043 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12046         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12048 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12050         [BZ #16958]
12051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12052         membar to avoid block loads/stores to overlap previous stores.
12054 2014-05-17  Richard Henderson  <rth@redhat.com>
12056         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12057         Create the __##syscall_name##_nocancel entry point.
12058         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12059         Remove; let the sysdep-cancel.h code create it.
12061 2014-05-17  David S. Miller  <davem@davemloft.net>
12063         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12064         Protect with __USE_GNU.
12065         (TIOCSET_TEMPT): Likewise.
12066         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12067         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12068         these are already provided in bits/ioctl-types.h
12070 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12072         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12073         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12075         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12076         Use wait4 regardless of [__NR_waitpid].
12078 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12080         PR libgcc/60166
12081         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12082         (_FP_NANSIGN_Q): Set the quiet bit.
12084 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12086         * benchtests/Makefile
12087         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12088         not $(common-objpfx)math/libm.so.
12089         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12090         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12091         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12092         $(common-objpfx)dlfcn/libdl.so.
12093         ($(objpfx)tst-audit8): Depend on $(libm), not
12094         $(common-objpfx)math/libm.so.
12095         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12096         not $(common-objpfx)dlfcn/libdl.so.
12097         * math/Makefile
12098         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12099         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12100         [$(build-shared) = yes].
12101         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12102         $(common-objpfx)nptl/libpthread.so.
12103         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12104         $(common-objpfx)math/libm.so$(libm.so-version) or
12105         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12106         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12107         $(common-objpfx)dlfcn/libdl.so.
12108         * setjmp/Makefile (link-libm): Remove variable.
12109         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12110         * stdio-common/Makefile (link-libm): Remove variable.
12111         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12112         * stdlib/Makefile (link-libm): Remove variable.
12113         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12114         ($(objpfx)tst-strtod-round): Likewise.
12115         ($(objpfx)tst-tininess): Likewise.
12116         ($(objpfx)tst-strtod-underflow): Likewise.
12117         ($(objpfx)tst-strtod6): Likewise.
12118         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12119         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12120         $(common-objpfx)dlfcn/libdl.so.
12122 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12124         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12125         BSD terminal modes definitions.
12127 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12129         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12130         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12132         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12133         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12134         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12135         Don't do #include_next.
12136         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12137         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12138         Don't do #include_next.
12139         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12140         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12141         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12142         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12144 2014-05-16  Allan McRae  <allan@archlinux.org>
12146         * po/sv.po: Update Swedish translation from translation project.
12148         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12149         in sed expression.
12151 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12153         [BZ #16917]
12154         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12155         errno if the TIOCGPTN ioctl fails with an error different than
12156         EINVAL.
12157         * login/tst-ptsname.c: New file.
12158         * login/Makefile (tests): Add tst-ptsname.
12160         [BZ #16943]
12161         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12162         and prlimit64.
12164 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12166         [BZ #16849]
12167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12168         herrno to return EAI_AGAIN.
12170 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12172         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12173         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12174         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12175         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12176         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12177         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12178         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12179         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12181         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12182         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12183         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12184         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12185         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12186         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12187         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12188         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12189         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12190         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12191         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12192         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12193         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12194         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12195         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12196         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12197         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12198         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12199         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12200         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12201         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12203         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12205         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12207         Moved ...
12208         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12210         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12212         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12214         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12216         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12218         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12220         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12222         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12224         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12226         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12228         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12230         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12232         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12234         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12236         Moved ...
12237         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12239         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12241         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12243         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12245         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12247         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12249         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12251         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12253         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12255         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12257         Moved ...
12258         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12260         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12262         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12263         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12264         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12265         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12266         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12268         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12270         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12271         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12272         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12273         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12274         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12275         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12276         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12277         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12278         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12280         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12281         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12282         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12283         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12284         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12285         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12286         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12287         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12288         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12289         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12290         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12291         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12292         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12294         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12295         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12297         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12298         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12299         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12300         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12301         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12303         Moved ...
12304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12305         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12306         Moved ...
12307         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12308         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12309         Moved ...
12310         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12311         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12312         Moved ...
12313         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12314         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12315         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12317         Moved ...
12318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12319         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12320         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12321         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12323         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12324         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12325         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12326         Moved ...
12327         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12328         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12329         Moved ...
12330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12331         ... here.
12332         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12333         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12334         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12335         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12337         Moved ...
12338         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12339         ... here.
12340         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12341         Moved ...
12342         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12343         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12344         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12345         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12346         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12348         Moved ...
12349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12350         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12351         Moved ...
12352         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12353         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12354         Moved ...
12355         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12356         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12357         Moved ...
12358         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12359         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12360         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12362         Moved ...
12363         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12364         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12365         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12366         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12367         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12368         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12369         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12370         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12371         Moved ...
12372         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12373         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12374         Moved ...
12375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12376         ... here.
12377         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12378         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12379         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12380         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12382         Moved ...
12383         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12384         ... here.
12385         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12386         Moved ...
12387         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12388         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12389         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12390         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12391         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12392         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12393         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12394         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12395         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12397         Moved ...
12398         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12399         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12400         Moved ...
12401         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12402         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12403         Moved ...
12404         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12405         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12406         Moved ...
12407         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12408         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12409         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12410         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12411         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12413         Moved ...
12414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12415         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12416         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12417         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12418         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12419         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12420         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12421         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12422         Moved ...
12423         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12424         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12425         Moved ...
12426         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12427         ... here.
12428         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12429         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12430         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12431         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12433         Moved ...
12434         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12435         ... here.
12436         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12437         Moved ...
12438         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12439         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12440         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12441         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12442         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12443         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12444         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12445         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12446         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12447         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12448         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12450         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12451         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12453         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12454         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12456         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12457         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12458         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12459         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12460         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12461         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12462         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12463         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12464         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12465         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12467         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12468         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12469         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12470         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12472         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12474         Moved ...
12475         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12479         Moved ...
12480         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12484         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12486         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12487         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12488         Moved ...
12489         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12490         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12491         Moved ...
12492         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12494         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12498         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12499         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12500         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12501         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12502         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12503         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12504         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12505         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12506         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12507         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12508         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12510         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12511         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12512         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12513         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12514         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12516         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12517         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12518         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12519         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12520         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12521         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12522         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12523         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12524         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12525         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12528         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12530         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12531         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12532         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12533         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12534         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12535         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12536         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12537         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12538         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12539         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12540         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12541         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12542         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12543         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12545         Update #include.
12546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12547         Likewise.
12548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12549         Likewise.
12550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12551         Likewise.
12552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12553         Likewise.
12554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12555         Likewise.
12556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12557         Likewise.
12558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12559         Likewise.
12560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12561         Likewise.
12562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12563         Likewise.
12564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12565         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12567         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12569         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12570         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12571         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12572         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12573         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12574         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12575         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12580         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12581         that was previously under [RESET_PID].
12582         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12583         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12584         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12586         * sysdeps/i386/nptl/Implies: New file.
12587         * sysdeps/x86_64/nptl/Implies: New file.
12588         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12589         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12590         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12591         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12593         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12594         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12595         (__libc_vfork): New strong alias.
12596         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12597         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12599         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12600         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12601         (__libc_vfork): New strong alias.
12602         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12603         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12605         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12606         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12607         (__libc_vfork): New strong alias.
12608         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12609         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12610         * nptl/pt-vfork.c: New file.
12611         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12612         (libpthread: GLIBC_2.20): New version set (empty).
12614 2014-05-14  Will Newton  <will.newton@linaro.org>
12616         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12617         rather than #if.
12619 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12621         [BZ #16564]
12622         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12623         arguments with exponent 65 or above.
12624         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12625         arguments 0x1p113L or above.
12626         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12627         to arguments 0x1p107L or above.
12628         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12629         positive arguments with exponent 65 or above.
12630         * math/auto-libm-test-in: Add more tests of log1p.
12631         * math/auto-libm-test-out: Regenerated.
12633         [BZ #16928]
12634         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12635         non-finite arguments is +0.
12636         * math/s_cacosf.c (__cacosf): Likewise.
12637         * math/s_cacosl.c (__cacosl): Likewise.
12638         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12639         * sysdeps/i386/fpu/libm-test-ulps: Update.
12640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12642         [BZ #16927]
12643         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12644         value.
12645         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12646         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12647         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12648         for explicit high bit of mantissa when testing for argument equal
12649         to 1.
12650         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12651         * sysdeps/i386/fpu/libm-test-ulps: Update.
12652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12654         [BZ #16516]
12655         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12656         (__erf): Scale by 16 instead of 8 in potentially underflowing
12657         case.  Ensure exception if result actually underflows.
12658         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12659         (__erff): Scale by 16 instead of 8 in potentially underflowing
12660         case.  Ensure exception if result actually underflows.
12661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12662         (efx8): Remove variable.
12663         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12664         case.  Ensure exception if result actually underflows.
12665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12666         (efx8): Remove variable.
12667         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12668         case.  Ensure exception if result actually underflows.
12669         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12670         (efx8): Remove variable.
12671         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12672         case.  Ensure exception if result actually underflows.
12673         * math/auto-libm-test-in: Add more tests of erf.
12674         * math/auto-libm-test-out: Regenerated.
12676 2014-05-14  Andreas Schwab  <schwab@suse.de>
12678         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12679         Remove code conditionalized on USE___THREAD.
12681         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12682         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12683         not definedness.
12685 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12688         Define unconditionally.
12689         (__ASSUME_O_CLOEXEC): Likewise.
12690         (__ASSUME_SOCK_CLOEXEC): Likewise.
12691         (__ASSUME_IN_NONBLOCK): Likewise.
12692         (__ASSUME_PIPE2): Likewise.
12693         (__ASSUME_EVENTFD2): Likewise.
12694         (__ASSUME_SIGNALFD4): Likewise.
12695         (__ASSUME_DUP3): Likewise.
12696         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12697         (__ASSUME_DUP3): Do not define.
12698         (__ASSUME_EVENTFD2): Likewise.
12699         (__ASSUME_IN_NONBLOCK): Likewise.
12700         (__ASSUME_O_CLOEXEC): Likewise.
12701         (__ASSUME_PIPE2): Likewise.
12702         (__ASSUME_SIGNALFD4): Likewise.
12703         (__ASSUME_SOCK_CLOEXEC): Likewise.
12704         (__ASSUME_UTIMES): Undefine.
12705         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12706         (__ASSUME_UTIMES): Do not define.
12707         (__ASSUME_O_CLOEXEC): Likewise.
12708         (__ASSUME_SOCK_CLOEXEC): Likewise.
12709         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12710         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12711         0x020621].
12712         (__ASSUME_PIPE2): Likewise.
12713         (__ASSUME_EVENTFD2): Likewise.
12714         (__ASSUME_SIGNALFD4): Likewise.
12715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12716         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12717         Do not define.
12718         (__ASSUME_EVENTFD2): Likewise.
12719         (__ASSUME_SIGNALFD4): Likewise.
12720         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12721         (__ASSUME_32BITUIDS): Likewise.
12722         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12723         (__ASSUME_IPC64): Likewise.
12724         (__ASSUME_ST_INO_64_BIT): Likewise.
12725         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12726         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12727         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12728         (__ASSUME_UTIMES): Do not define.
12729         (__ASSUME_PSELECT): Likewise.
12730         (__ASSUME_PPOLL): Likewise.
12731         (__ASSUME_O_CLOEXEC): Likewise.
12732         (__ASSUME_SOCK_CLOEXEC): Likewise.
12733         (__ASSUME_IN_NONBLOCK): Likewise.
12734         (__ASSUME_PIPE2): Likewise.
12735         (__ASSUME_EVENTFD2): Likewise.
12736         (__ASSUME_SIGNALFD4): Likewise.
12737         (__ASSUME_DUP3): Likewise.
12738         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12739         (__ASSUME_UTIMES): Likewise.
12740         (__ASSUME_O_CLOEXEC): Likewise.
12741         (__ASSUME_SOCK_CLOEXEC): Likewise.
12742         (__ASSUME_IN_NONBLOCK): Likewise.
12743         (__ASSUME_PIPE2): Likewise.
12744         (__ASSUME_EVENTFD2): Likewise.
12745         (__ASSUME_SIGNALFD4): Likewise.
12746         (__ASSUME_DUP3): Likewise.
12747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12748         (__ASSUME_UTIMES): Likewise.
12749         (__ASSUME_O_CLOEXEC): Likewise.
12750         (__ASSUME_SOCK_CLOEXEC): Likewise.
12751         (__ASSUME_IN_NONBLOCK): Likewise.
12752         (__ASSUME_PIPE2): Likewise.
12753         (__ASSUME_EVENTFD2): Likewise.
12754         (__ASSUME_SIGNALFD4): Likewise.
12755         (__ASSUME_DUP3): Likewise.
12756         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12757         Likewise.
12758         (__ASSUME_UTIMES): Likewise.
12759         (__ASSUME_EVENTFD2): Likewise.
12760         (__ASSUME_SIGNALFD4): Likewise.
12761         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12762         (__ASSUME_O_CLOEXEC): Likewise.
12763         (__ASSUME_SOCK_CLOEXEC): Likewise.
12764         (__ASSUME_IN_NONBLOCK): Likewise.
12765         (__ASSUME_PIPE2): Likewise.
12766         (__ASSUME_EVENTFD2): Likewise.
12767         (__ASSUME_SIGNALFD4): Likewise.
12768         (__ASSUME_DUP3): Likewise.
12769         (__ASSUME_UTIMES): Undefine.
12771         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12772         feclearexcept.  Remove symbol versioning code.
12773         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12774         symbol versioning code.
12775         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12776         symbol versioning code.
12777         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12778         feupdateenv.  Remove symbol versioning code.
12779         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12780         fegetexceptflag.  Remove symbol versioning code.
12781         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12782         fesetexceptflag.  Remove symbol versioning code.
12783         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12784         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12785         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12786         (__posix_fadvise64_l32): Remove prototype.
12787         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12788         code.
12790 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12792         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12793         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12794         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12795         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12797 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12799         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12800         current working directory
12802 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12804         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12805         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12806         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12807         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12808         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12809         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12810         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12811         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12812         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12813         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12815         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12816         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12817         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12818         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12819         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12820         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12821         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12822         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12823         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12824         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12825         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12826         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12827         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12828         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12829         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12830         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12831         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12832         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12833         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12834         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12835         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12836         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12837         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12838         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12839         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12840         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12841         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12842         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12843         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12844         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12845         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12847         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12848         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12850         * sysdeps/unix/sysv/linux/arm/Makefile
12851         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12852         Add rt-aeabi_unwind_cpp_pr1.
12853         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12854         Add nptl-aeabi_unwind_cpp_pr1.
12855         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12856         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12857         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12858         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12859         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12860         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12862         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12863         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12864         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12865         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12867         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12868         Deconditionalize the code that was previously under [RESET_PID].
12869         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12871         * sysdeps/generic/exit-thread.h: New file.
12872         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12873         * include/unistd.h (__exit_thread): Remove declaration.
12874         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12875         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12876         * csu/libc-start.c: Include <exit-thread.h>.
12877         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12878         * nptl/pthread_create.c: Include <exit-thread.h>.
12879         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12880         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12881         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12882         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12883         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12884         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12885         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12886         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12887         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12888         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12889         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12890         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12891         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12892         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12893         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12894         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12895         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12897 2014-05-13  Andreas Schwab  <schwab@suse.de>
12899         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12901 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12903         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12904         (__ASSUME_UTIMES): Do not condition on kernel version.
12905         (__ASSUME_PSELECT): Define unconditionally.
12906         (__ASSUME_PPOLL): Likewise.
12907         (__ASSUME_ATFCTS): Likewise.
12908         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12909         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12910         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12911         (__ASSUME_UTIMENSAT): Define unconditionally.
12912         (__ASSUME_PRIVATE_FUTEX): Likewise.
12913         (__ASSUME_FALLOCATE): Likewise.
12914         (__ASSUME_O_CLOEXEC): Likewise.
12915         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12916         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12917         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12918         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12919         (__ASSUME_IN_NONBLOCK): Likewise.
12920         (__ASSUME_PIPE2): Likewise.
12921         (__ASSUME_EVENTFD2): Likewise.
12922         (__ASSUME_SIGNALFD4): Likewise.
12923         (__ASSUME_DUP3): Likewise.
12924         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12925         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12926         (__ASSUME_AT_RANDOM): Likewise.
12927         (__ASSUME_PREADV): Likewise.
12928         (__ASSUME_PWRITEV): Likewise.
12929         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12930         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12931         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12932         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12933         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12934         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12935         (__ASSUME_O_CLOEXEC): Define unconditionally.
12936         (__ASSUME_PSELECT): Do not undefine conditionally.
12937         (__ASSUME_PPOLL): Likewise.
12938         (__ASSUME_ATFCTS): Likewise.
12939         (__ASSUME_SET_ROBUST_LIST): Likewise.
12940         (__ASSUME_UTIMENSAT): Likewise.
12941         (__ASSUME_FDATASYNC): Define unconditionally.
12942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12943         (__ASSUME_SIGFRAME_V2): Likewise.
12944         )__ASSUME_EVENTFD2): Likewise.
12945         (__ASSUME_SIGNALFD4): Likewise.
12946         (__ASSUME_PSELECT): Do not undefine conditionally.
12947         (__ASSUME_PPOLL): Likewise.
12948         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12949         (__ASSUME_PSELECT): Define unconditionally.
12950         (__ASSUME_PPOLL): Likewise.
12951         (__ASSUME_O_CLOEXEC): Likewise.
12952         (__ASSUME_SOCK_CLOEXEC): Likewise.
12953         (__ASSUME_IN_NONBLOCK): Likewise.
12954         (__ASSUME_PIPE2): Likewise.
12955         (__ASSUME_EVENTFD2): Likewise.
12956         (__ASSUME_SIGNALFD4): Likewise.
12957         (__ASSUME_DUP3): Likewise.
12958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12959         (__ASSUME_O_CLOEXEC): Likewise.
12960         (__ASSUME_SOCK_CLOEXEC): Likewise.
12961         (__ASSUME_IN_NONBLOCK): Likewise.
12962         (__ASSUME_PIPE2): Likewise.
12963         (__ASSUME_EVENTFD2): Likewise.
12964         (__ASSUME_SIGNALFD4): Likewise.
12965         (__ASSUME_DUP3): Likewise.
12966         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12967         (__ASSUME_EVENTFD2): Likewise.
12968         (__ASSUME_SIGNALFD4): Likewise.
12969         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12971 2014-05-12  Andreas Schwab  <schwab@suse.de>
12973         [BZ #16932]
12974         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12975         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12976         than maximum RPC packet size.
12977         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12978         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12979         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12980         (_nss_nis_getservbyport_r): Likewise.
12982 2014-05-12  Will Newton  <will.newton@linaro.org>
12984         * malloc/Makefile (tests): Add tst-mallopt.
12985         * malloc/tst-mallopt.c: New file.
12987 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12989         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12990         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12992 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12994         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12995         (tst-tlsmod6.so): Likewise.
12997 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12999         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13001 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13003         [BZ #16064]
13004         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13005         and <dl-procinfo.h>.
13006         (__fegetenv): Save SSE state in envp->__eip if supported.
13007         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13008         envp->__eip if supported.
13009         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13010         and <dl-procinfo.h>.
13011         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13012         __data_offset and __data_selector in environment to 0.  Set SSE
13013         state if supported.
13014         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13015         test-fenv-sse.
13016         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13017         -mfpmath=sse.
13018         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13020 2014-05-09  Will Newton  <will.newton@linaro.org>
13022         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13023         and libc_relro_required for ARM.
13024         * sysdeps/arm/preconfigure: Regenerate.
13026 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13027             Stefan Liebler  <stli@linux.vnet.ibm.com>
13029         * config.make.in (enable-lock-elision): New Makefile variable.
13030         * configure.ac: Likewise.
13031         * configure: Regenerate.
13032         * sysdeps/s390/configure.ac:
13033         Add check for gcc transactions support.
13034         * sysdeps/s390/configure: Regenerate.
13035         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13036         Build elision files if enabled.
13037         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13038         Add lock elision support for s390.
13039         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13040         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13041         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13042         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13043         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13044         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13045         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13046         Likewise.
13047         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13048         Likewise.
13049         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13050         Likewise.
13051         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13052         Likewise.
13053         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13054         (__lll_timedlock_elision, __lll_lock_elision)
13055         (__lll_unlock_elision, __lll_trylock_elision)
13056         (lll_timedlock_elision, lll_lock_elision)
13057         (lll_unlock_elision, lll_trylock_elision): Add.
13058         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13059         (pthread_mutex_t): Add lock elision support for s390.
13061 2014-05-14  Wilco  <wdijkstr@arm.com>
13063         * sysdeps/arm/fclrexcpt.c: Cleanup.
13064         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13065         * sysdeps/arm/feenablxcpt.c: Cleanup.
13066         * sysdeps/arm/fegetenv.c: Cleanup.
13067         * sysdeps/arm/fegetexcept.c: Cleanup.
13068         * sysdeps/arm/fegetround.c: Cleanup.
13069         * sysdeps/arm/feholdexcpt.c: Cleanup.
13070         * sysdeps/arm/fesetenv.c: Cleanup.
13071         * sysdeps/arm/fesetround.c: Cleanup.
13072         * sysdeps/arm/feupdateenv.c: Cleanup.
13073         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13074         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13075         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13076         * sysdeps/arm/ftestexcept.c: Cleanup.
13077         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13078         * sysdeps/arm/setfpucw.c: Cleanup.
13080 2014-05-09  Will Newton  <will.newton@linaro.org>
13082         * sysdeps/arm/armv7/strcmp.S: New file.
13083         * NEWS: Mention addition of ARMv7 optimized strcmp.
13085 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13087         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13088         look for %.ac rather than %.in.
13090         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13091         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13092         * sysdeps/mach/hurd/configure: Regenerated.
13093         * sysdeps/unix/sysv/linux/configure: Regenerated.
13095         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13097 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13099         [BZ# 16922]
13100         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13101         (LONG_SUB): Ditto.
13102         (PTR_SUB): Ditto.
13104 2014-05-07  Andreas Schwab  <schwab@suse.de>
13106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13107         when skipping over non-matching result from nscd.
13109 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13111         [BZ #16876]
13112         * nptl/sockperf.c (client): Check socket return value.
13114         [BZ #16877]
13115         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13116         nscd security class.
13118 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13120         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13121         * sysdeps/arm/unwind.h: ... here.
13123 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13125         [BZ# 16916]
13126         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13127         Define.
13129 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13131         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13132         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13133         multiarch strncpy for PPC64.
13134         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13135         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13137         multiarch optimizations.
13138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13139         (__libc_ifunc_impl_list): Likewise.
13140         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13141         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13142         multiarch stpncpy for PPC64.
13143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13144         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13146 2014-05-06  Andreas Schwab  <schwab@suse.de>
13148         [BZ #16912]
13149         * gmon/mcount.c (_MCOUNT_DECL): Use
13150         atomic_compare_and_exchange_bool_acq instead of
13151         catomic_compare_and_exchange_bool_acq.
13153 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13155         * elf/Makefile (others, install-bin): Remove pldd.
13156         (pldd-modules): Variable removed.
13157         ($(objpfx)pldd): Target removed.
13158         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13159         (others, install-bin): Append pldd here.
13160         ($(objpfx)pldd): New target.
13162         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13163         to 0, so the first #if test emitted later doesn't see it undefined.
13164         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13165         * sysdeps/gnu/errlist.c: Regenerated.
13167 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13169         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13170         [libc_hidden_builtin_def]: Define to empty value.
13171         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13172         [libc_hidden_builtin_def]: Likewise.
13173         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13174         [libc_hidden_builtin_def]: Likewise.
13175         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13176         [libc_hidden_builtin_def]: Likewise.
13177         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13178         __redirect_memcpy and define ifunc as default hidden symbol.
13179         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13180         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13182 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13184         * locale/iso-4217.def: Reintroduce XDR currency.
13186 2014-05-04  Allan McRae  <allan@archlinux.org>
13188         * po/eo.po: Update Esperanto translation from translation project.
13190 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13192         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13193         and FEATURE_INDEX_MAX to 1.
13194         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13196 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13198         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13199         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13200         * iconvdata/big5.c (ONE_DIRECTION): Define.
13201         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13202         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13203         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13204         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13205         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13206         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13207         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13208         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13209         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13210         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13211         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13212         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13213         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13214         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13215         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13216         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13217         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13218         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13219         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13220         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13221         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13222         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13223         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13224         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13225         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13226         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13227         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13228         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13229         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13230         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13231         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13232         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13233         * iconvdata/johab.c (ONE_DIRECTION): Define.
13234         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13235         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13236         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13237         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13238         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13239         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13240         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13241         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13242         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13243         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13245 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13247         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13248         (_IO_JUMPS_OFFSET): Define to 0.
13250         * nptl/sysdeps/pthread/bits/libc-lock.h
13251         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13252         (__libc_lock_define_initialized_recursive): Always define using
13253         initializer.  Modern compilers treat uninitialized (implicit zero) and
13254         explicit zero initializers the same (i.e. put the datum in bss).
13256 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13258         * nscd/nscd-client.h: Include <string.h>.
13260 2014-05-01  David S. Miller  <davem@davemloft.net>
13262         [BZ #16885]
13263         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13264         multiple zero bytes exist at the end of a string.
13265         Reported by Aurelien Jarno <aurelien@aurel32.net>
13267         * string/test-strcmp.c (check): Add explicit test for situations where
13268         there are multiple zero bytes after the first.
13270 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13272         [BZ #16890]
13273         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13274         when compiling wprintf.
13275         * stdio-common/tstdiomisc.c (t3): New function.
13276         (main): Call it.
13278 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13280         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13281         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13282         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13283         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13285 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13287         * stdlib/longlong.h: Updated from GCC.
13289 2014-05-01  Will Newton  <will.newton@linaro.org>
13290             Bernard Ogden  <bernie.ogden@linaro.org>
13292         * NEWS: Update fixed bug list.
13294         [BZ #15119]
13295         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13297 2014-04-30  David S. Miller  <davem@davemloft.net>
13299         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13300         (libc_feholdexcept_setround_sparc_ctx): New function.
13301         (libc_fesetenv_sparc_ctx): Likewise.
13302         (libc_feupdateenv_sparc_ctx): Likewise.
13303         (libc_feholdsetround_sparc_ctx): Likewise.
13304         (libc_feholdexcept_setround_ctx): Define.
13305         (libc_feholdexcept_setroundf_ctx): Likewise.
13306         (libc_feholdexcept_setroundl_ctx): Likewise.
13307         (libc_fesetenv_ctx): Likewise.
13308         (libc_fesetenvf_ctx): Likewise.
13309         (libc_fesetenvl_ctx): Likewise.
13310         (libc_feupdateenv_ctx): Likewise.
13311         (libc_feupdateenvf_ctx): Likewise.
13312         (libc_feupdateenvl_ctx): Likewise.
13313         (libc_feresetround_ctx): Likewise.
13314         (libc_feresetroundf_ctx): Likewise.
13315         (libc_feresetroundl_ctx): Likewise.
13316         (libc_feholdsetround_ctx): Likewise.
13317         (libc_feholdsetroundf_ctx): Likewise.
13318         (libc_feholdsetroundl_ctx): Likewise.
13320         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13321         with __USE_GNU instead of XOPEN cpp guards.
13323         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13324         0.
13326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13327         with XOPEN cpp guards.
13329 2014-04-30  Julian Brown  <julian@codesourcery.com>
13331         [BZ #16888]
13332         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13333         handling.
13335 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13337         [BZ #9894]
13338         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13339         Change to 2.6.32.
13340         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13341         * sysdeps/unix/sysv/linux/configure: Regenerated.
13342         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13343         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13344         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13345         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13346         * README: Update reference to required Linux kernel version.
13347         * manual/install.texi (Linux): Update reference to required Linux
13348         kernel headers version.
13349         * INSTALL: Regenerated.
13351         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13352         header inclusion.
13353         [POSIX] (limits.h): Likewise.
13354         [POSIX] (math.h): Likewise.
13355         [POSIX] (sys/wait.h): Likewise.
13356         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13357         function.
13358         [POSIX] (stddef.h): Do not allow header inclusion.
13360 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13362         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13364 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13366         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13367         Return immediately after lll_futex_wake.
13369 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13371         [BZ #16791]
13372         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13373         structure.
13374         (datahead_init_pos): Call datahead_init_common early.
13375         (datahead_init_neg): Likewise.
13377         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13378         datahead_init_neg): New functions.
13379         * nscd/aicache.c (addhstaiX): Use them.
13380         * nscd/grpcache.c (cache_addgr): Likewise.
13381         * nscd/hstcache.c (cache_addhst): Likewise.
13382         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13383         * nscd/netgroupcache.c (do_notfound): Likewise.
13384         (addgetnetgrentX): Likewise.
13385         (addinnetgrX): Likewise.
13386         * nscd/pwdcache.c (cache_addpw): Likewise.
13387         * nscd/servicescache.c (cache_addserv): Likewise.
13389 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13390             Atsushi Onoe  <atsushi@onoe.org>
13392         [BZ #14308]
13393         [BZ #12994]
13394         [BZ #13651]
13395         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13396         one response is valid.
13397         * resolv/res_send.c (send_dg): Check for validity of other
13398         response if the current response is a referral.
13400 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13402         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13404 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13406         [BZ #16823]
13407         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13408         Always divide by positive zero when computing -Inf result.
13409         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13410         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13412 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13414         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13415         FPSCR if value do not change.
13416         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13417         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13418         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13419         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13420         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13421         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13422         function.
13424 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13426         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13427         * sysdeps/unix/sysv/linux/hppa: Move directory from
13428         ports/systeps/unix/sysv/linux/hppa.
13429         * README: Update listing for hppa-*-linux-gnu.
13431 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13433         [BZ #16754]
13434         * manual/stdio.texi (Hook functions): Fix types of stream hook
13435         functions.
13436         [BZ #16854]
13437         * socket/sys/socket.h: Fix typo in comment.
13439 2014-04-28  Wilco  <wdijkstr@arm.com>
13441         * sysdeps/arm/fenv_private.h: New file.
13442         * sysdeps/arm/math_private.h: New file.
13443         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13445 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13447         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13448         with __int128_t.
13449         (La_x86_64_retval): Likewise.
13451 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13453         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13454         fpsr if value didn't change.
13455         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13456         to fpcr if value didn't change.
13457         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13458         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13459         fpsr or fpcr if value didn't change.
13460         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13461         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13462         fpcr if value didn't change.
13463         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13464         to fpsr if value didn't change.
13466 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13468         * nptl/tst-sem3.c: Use test-skeleton.c
13469         (main): Rename to do_test.  Use return instead of
13470         exit.
13471         * nptl/tst-sem4.c: Use test-skeleton.c
13472         (main): Rename to do_test.
13474 2014-04-22  David S. Miller  <davem@davemloft.net>
13476         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13477         (struct sigaction): New struct member __glibc_reserved0, change
13478         type of sa_flags to int.
13480 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13482         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13483         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13485 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13487         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13488         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13490 2014-04-22  Will Newton  <will.newton@linaro.org>
13491             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13493         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13494         (__longjmp): Add longjmp and longjmp_target SystemTap
13495         probes.
13496         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13497         (__sigsetjmp): Add setjmp SystemTap probe.
13499 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13501         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13502         match manual order.
13504 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13506         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13508         * sysdeps/powerpc/fpu/fenv_private.h
13509         (libc_feholdexcept_setroundl_ctx): Define to
13510         libc_feholdexcept_setround_ppc_ctx.
13511         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13512         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13513         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13514         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13516 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13518         * sysdeps/aarch64/math-tests.h: New file.
13520 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13522         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13523         New.
13524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13525         Check and set bit_AVX2_Usable.
13526         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13527         macro.
13528         (bit_AVX2): Likewise.
13529         (index_AVX2_Usable): Likewise.
13530         (CPUID_AVX2): Likewise.
13531         (HAS_AVX2): Likewise.
13533 2014-04-17  Will Newton  <will.newton@linaro.org>
13535         * manual/setjmp.texi (System V contexts): Add note that
13536         calling setcontext on a context created by a call to a
13537         signal handler is undefined.  Update text to note that
13538         setcontext from a signal handler is possible but not
13539         recommended.
13541         [BZ #16629]
13542         * stdlib/tst-setcontext.c: Include signal.h.
13543         (main): Check that the signal stack before and
13544         after swapcontext is the same.
13546         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13547         Re-implement to restore registers in user code and avoid
13548         rt_sigreturn system call.
13550 2014-04-17  Wilco  <wdijkstr@arm.com>
13552         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13553         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13554         * math/test-fenv.c: Skip exception trap tests on targets which only
13555         support non-stop mode.
13557 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13558             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13560         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13561         (libc_feholdsetround_aarch64_ctx)
13562         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13563         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13564         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13565         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13566         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13567         (libc_feresetround_noexl_ctx): Define.
13569 2014-04-16  Richard Henderson  <rth@redhat.com>
13571         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13573         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13574         unwind tables.
13576         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13577         const from the non-libc, non-ldso copy.
13579         * sysdeps/alpha/libm-test-ulps: Regenerate.
13581 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13582             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13584         * sysdeps/aarch64/fpu/math_private.h: New file.
13586 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13588         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13590 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13592         [BZ #16275]
13593         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13594         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13595         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13596         Intel MPX bound registers before _dl_profile_fixup.
13597         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13598         registers after _dl_profile_fixup.  Save and restore bound
13599         registers bnd0/bnd1 when calling _dl_call_pltexit.
13600         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13601         (LR_BND_OFFSET): Likewise.
13602         (LRV_BND0_OFFSET): Likewise.
13603         (LRV_BND1_OFFSET): Likewise.
13605 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13607         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13608         to...
13609         * sysdeps/mach/hurd/i386/tls.h: ... here.
13610         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13611         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13612         fields.
13614 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13616         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13618 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13620         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13622 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13624         [BZ #14770]
13625         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13626         * sysdeps/s390/configure: Regenerate.
13628         [BZ #16824]
13629         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13630         Set round-to-nearest internally to reduce error accumulation.
13632 2014-04-16  Alan Modra  <amodra@gmail.com>
13634         [BZ #16740]
13635         [BZ #16619]
13636         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13637         * math/libm-test.inc (frexp_test_data): Add tests.
13638         * NEWS: Update fixed bug list.
13640 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13642         * benchtests/Makefile: Depend on libraries in build directory.
13643         (bench-math): Separate out math tests.
13644         (bench-pthread): Separate out pthread tests.
13645         (bench): Include math and pthread tests.
13647 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13649         [BZ #16831]
13650         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13651         _dl_debug_initialize.
13653         * configure.ac: Remove SELinux header check.
13654         * configure: Regenerate.
13655         * nscd/selinux.c (perms): Array of const char* to permission names.
13656         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13657         default policy. Call string_to_security_class and string_to_av_perm to
13658         translate strings. Enforce default policy and call avs_has_perm with
13659         results of translated strings.
13661 2014-04-13  David S. Miller  <davem@davemloft.net>
13663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13665 2014-04-12  Allan McRae  <allan@archlinux.org>
13667         [BZ #16838]
13668         * manual/string.texi (Collation Functions): Fix qsort argument
13669         order in example.
13670         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13672 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13674         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13675         Make the test a no-op if there are no exceptions defined.
13677 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13679         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13680         enable-hardcoded-path-in-tests
13682 2014-04-11  Will Newton  <will.newton@linaro.org>
13684         * benchtests/Makefile (extra-objs): Add json-lib.o.
13685         (bench-func): Tidy up JSON output.
13686         * benchtests/bench-skeleton.c: Include json-lib.h.
13687         (main): Use JSON library functions to do output of
13688         benchmark results.
13689         * benchtests/bench-timing-type.c (main): Output the
13690         timing type simply, leaving formatting to the user.
13691         * benchtests/json-lib.c: New file.
13692         * benchtests/json-lib.h: Likewise.
13694 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13696         [BZ #15215]
13697         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13698         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13699         memory barriers.  Add comments.
13700         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13701         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13702         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13703         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13704         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13705         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13707 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13709         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13710         * sysdeps/s390/s390-64/configure.ac: ... this ...
13711         * sysdeps/s390/configure.ac: ... to here.
13712         * sysdeps/s390/s390-32/configure: Delete file.
13713         * sysdeps/s390/s390-64/configure: Delete file.
13714         * sysdeps/s390/configure: Regenerate.
13716 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13718         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13720 2014-04-11  Will Newton  <will.newton@linaro.org>
13722         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13723         to zero if it is not defined elsewhere.  (mtrim): Test
13724         the value of MALLOC_DEBUG with #if rather than #ifdef.
13726 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13728         * benchtests/pthread_once-inputs: New file.
13729         * benchtests/pthread_once-source.c: New file.
13730         * benchtests/README: Update documentation.
13732 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13733             H.J. Lu  <hongjiu.lu@intel.com>
13735         [BZ #16275]
13736         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13737         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13738         * sysdeps/x86_64/configure: Regenerated.
13739         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13740         macro.
13741         (REGISTER_SAVE_RAX): Likewise.
13742         (REGISTER_SAVE_RCX): Likewise.
13743         (REGISTER_SAVE_RDX): Likewise.
13744         (REGISTER_SAVE_RSI): Likewise.
13745         (REGISTER_SAVE_RDI): Likewise.
13746         (REGISTER_SAVE_R8): Likewise.
13747         (REGISTER_SAVE_R9): Likewise.
13748         (REGISTER_SAVE_BND0): Likewise.
13749         (REGISTER_SAVE_BND1): Likewise.
13750         (REGISTER_SAVE_BND2): Likewise.
13751         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13752         bound registers when calling _dl_fixup.
13754 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13756         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13757         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13758         of its definition.
13759         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13760         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13761         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13762         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13763         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13764         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13765         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13767 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13769         [BZ #15514]
13770         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13771         pathconf(_PC_NAME_MAX).
13773 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13775         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13776         Remove macro usage.
13777         (__PTHREAD_SPINS): Move definition to ...
13778         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13779         (__PTHREAD_SPINS): ... here.
13780         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13781         (__PTHREAD_SPIN): Likewise.
13782         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13783         (__PTHREAD_SPIN): Likewise.
13784         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13785         (__PTHREAD_SPIN): Likewise.
13786         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13787         (__PTHREAD_SPIN): Likewise.
13788         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13789         (__PTHREAD_SPIN): Likewise.
13790         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13791         (__PTHREAD_SPIN): Likewise.
13792         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13793         (__PTHREAD_SPIN): Likewise.
13794         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13795         (__PTHREAD_SPIN): Likewise.
13796         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13797         (__PTHREAD_SPIN): Likewise.
13798         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13799         (__PTHREAD_SPIN): Likewise.
13800         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13801         (__PTHREAD_SPIN): Likewise.
13802         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13803         (__PTHREAD_SPIN): Likewise.
13805         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13806         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13807         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13808         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13809         imply folder.
13810         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13811         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13812         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13813         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13814         correct imply path.
13815         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13816         strlen symbol for non multi-arch builds.
13817         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13818         missing hidden_def and weak_alias.
13820 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13822         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13824 2014-04-07  Will Newton  <will.newton@linaro.org>
13826         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13827         and contents.  [!_LIBC] Remove #ifndef and contents.
13828         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13829         * string/memccpy.c (__memccpy): Use ANSI prototype.
13830         * string/memfrob.c (memfrob): Likewise.
13831         * string/strcoll.c (STRCOLL): Likewise.
13832         * string/strlen.c (strlen): Likewise.
13833         * string/strtok.c (STRTOK): Likewise.
13834         * string/strcat.c: Remove unused #include of memcopy.h.
13835         (strcat): Use ANSI prototype.
13836         * string/strchr.c: Remove unused #include of memcopy.h.
13837         (strchr): Use ANSI prototype.
13838         * string/strcmp.c: Remove unused #include of memcopy.h.
13839         (strcmp): Use ANSI prototype.
13840         * string/strcpy.c: Remove unused #include of memcopy.h.
13841         (strcpy): Use ANSI prototype.
13843 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13845         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13846         * config.make.in (config-extra-cppflags): Set it from
13847         libc_extra_cppflags.
13848         * configure.ac (libc_extra_cflags): Make it accumulate over
13849         configure fragments.
13850         (libc_extra_cppflags): New flag.
13851         * configure. Regenerate.
13852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13853         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13854         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13857         [BZ #16815]
13858         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13859         result for FE_DOWNWARD rounding mode.
13860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13861         Likewise.
13862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13864 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13866         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13867         in function argument name.
13869 2014-04-03  David Svoboda  <svoboda@cert.org>
13871         [BZ #5666]
13872         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13873         explicitly.
13875 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13877         * elf/dl-unmap-segments.h: New file.
13878         * sysdeps/generic/ldsodefs.h
13879         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13880         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13881         * elf/dl-fptr.c: Likewise.
13882         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13883         * sysdeps/aarch64/tlsdesc.c: Likewise.
13884         * sysdeps/arm/tlsdesc.c: Likewise.
13885         * sysdeps/i386/tlsdesc.c: Likewise.
13886         * sysdeps/tile/dl-runtime.c: Likewise.
13887         * sysdeps/x86_64/tlsdesc.c: Likewise.
13888         * elf/dl-load.h: New file.
13889         * elf/dl-load.c: Include it.
13890         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13891         Macros moved to dl-load.h.
13892         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13893         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13894         Use _dl_unmap_segments in place of __munmap.
13895         Break out segment-mapping loop into ...
13896         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13898 2014-04-03  Will Newton  <will.newton@linaro.org>
13900         * elf/dl-lookup.c (do_lookup_x): Remove comment
13901         referring to nested function and move variable
13902         declarations down to before first use.
13904 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13906         [BZ #16799]
13907         [BZ #16800]
13908         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13909         with 0 numerator.
13910         * math/s_catanf.c (__catanf): Likewise.
13911         * math/s_catanh.c (__catanh): Likewise.
13912         * math/s_catanhf.c (__catanhf): Likewise.
13913         * math/s_catanhl.c (__catanhl): Likewise.
13914         * math/s_catanl.c (__catanl): Likewise.
13915         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13916         by positive zero when computing -Inf result.
13917         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13918         (catanh_test): Likewise.
13919         * sysdeps/i386/fpu/libm-test-ulps: Update.
13920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13922         [BZ #16789]
13923         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13924         instead of using underflowing value in computing result.
13925         * math/s_clog10.c (__clog10): Likewise.
13926         * math/s_clog10f.c (__clog10f): Likewise.
13927         * math/s_clog10l.c (__clog10l): Likewise.
13928         * math/s_clogf.c (__clogf): Likewise.
13929         * math/s_clogl.c (__clogl): Likewise.
13930         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13931         (clog10_test): Likewise.
13932         * sysdeps/i386/fpu/libm-test-ulps: Update.
13933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13935 2014-04-02  Alan Modra  <amodra@gmail.com>
13937         [BZ #16739]
13938         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13939         output when value is near a power of two.  Use int64_t for lx and
13940         remove casts.  Use decimal rather than hex exponent constants.
13941         Don't use long double multiplication when double will suffice.
13942         * math/libm-test.inc (nextafter_test_data): Add tests.
13943         * NEWS: Add 16739 and 16786 to bug list.
13945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13947         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13949 2014-04-01  Will Newton  <will.newton@linaro.org>
13951         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13952         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13954 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13956         [BZ #13347]
13957         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13958         * nptl/tst-setuid2.c: New file.
13959         * nptl/Makefile (xtests): Add tst-setuid2.
13961 2014-04-01  Alan Modra  <amodra@gmail.com>
13963         [BZ #16786]
13964         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13966 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13968         [BZ #6803]
13969         [BZ #6804]
13970         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13971         set errno as appropriate.
13972         * math/w_scalbf.c (__scalbf): Likewise.
13973         * math/w_scalbl.c (__scalbl): Likewise.
13974         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13975         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13976         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13977         Add more NaN tests.
13979         [BZ #16349]
13980         * math/w_atan2.c: Include <errno.h>.
13981         (__atan2): Set errno for result underflowing to zero.
13982         * math/w_atan2f.c: Include <errno.h>.
13983         (__atan2f): Set errno for result underflowing to zero.
13984         * math/w_atan2l.c: Include <errno.h>.
13985         (__atan2l): Set errno for result underflowing to zero.
13986         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13987         tests.
13988         * math/auto-libm-test-out: Regenerated.
13990 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13992         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13993         Encode instruction correctly in little endian.
13994         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13995         Likewise.
13996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13997         Likewise.
13998         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13999         Likewise.
14000         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14001         Likewise.
14003 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #9894]
14006         * sysdeps/unix/sysv/linux/kernel-features.h
14007         [__sparc__ && !__arch64__ && !__sparc_v9__]
14008         (__ASSUME_SET_ROBUST_LIST): Do not define.
14009         [__sparc__ && !__arch64__ && !__sparc_v9__]
14010         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14011         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14012         Likewise.
14013         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14014         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14015         (__ASSUME_REQUEUE_PI): Likewise.
14016         (__ASSUME_SET_ROBUST_LIST): Likewise.
14017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14018         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14019         Undefine.
14020         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14021         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14022         Likewise.
14023         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14024         Likewise.
14025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14026         Likewise.
14027         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14028         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14029         Undefine.
14030         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14031         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14032         Likewise.
14034         [BZ #16648]
14035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14036         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14037         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14039 2014-03-31  Will Newton  <will.newton@linaro.org>
14041         * benchtests/Makefile (bench): Add ffs and ffsll to list
14042         of tests.
14043         * benchtests/ffs-inputs: New file.
14044         * benchtests/ffsll-inputs: Likewise.
14046 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14048         [BZ #16770]
14049         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14050         too large before casting to int.
14051         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14052         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14053         * math/libm-test.inc (scalb_test_data): Add more tests.
14055 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14057         * benchtests/Makefile (DETAILED_OPT): New make option.
14058         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14059         set.
14060         * benchtests/bench-skeleton.c: Include stdbool.h.
14061         (main): Store and print timings per input.
14062         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14063         member to each argument value.
14064         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14065         (_print_arg_data): Initialize per-input timing to 0.
14067         * benchtests/Makefile (timing-type): New binary.
14068         (bench-clean): Also remove bench-timing-type.
14069         (bench): New target for timing-type.
14070         (bench-func): Print output in JSON format.
14071         * benchtests/bench-skeleton.c (main): Print output in JSON
14072         format.
14073         * benchtests/bench-timing-type.c: New file.
14074         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14075         (TIMING_PRINT_STATS): Remove.
14076         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14077         name separately.
14079         * benchtests/bench-modf.c: Remove.
14080         * benchtests/modf-inputs: New inputs file.
14082 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14084         [BZ #16362]
14085         * math/s_clog10.c (M_PI_LOG10E): New macro.
14086         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14087         imaginary parts are 0.
14088         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14089         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14090         imaginary parts are 0.
14091         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14092         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14093         imaginary parts are 0.
14094         * math/libm-test.inc (clog10_test_data): Update expected results
14095         for when real and imaginary parts are 0.
14097 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14099         * elf/dl-load.c: Finish conversion of __builtin_expect into
14100         __glibc_{un}likely.
14102 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14104         [BZ #16348]
14105         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14106         1+x for argument with exponent below -67.
14107         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14108         Likewise.
14109         * math/auto-libm-test-in: Add more tests of exp.
14110         * math/auto-libm-test-out: Regenerated.
14112 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14114         [BZ #16759]
14115         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14116         (nscd_getnetgrent): Use it.
14118         [BZ #16760]
14119         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14120         of stpcpy.
14122 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14124         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14125         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14126         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14127         (lll_robust_unlock): Remove out of line section. Use cfi
14128         intrinsics.
14129         (LLL_STUB_UNWIND_INFO*): Remove.
14130         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14131         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14132         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14133         (lll_robust_unlock): Remove out of line section. Use cfi
14134         intrinsics.
14135         (LLL_STUB_UNWIND_INFO*): Remove.
14137 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14139         [BZ #16758]
14140         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14141         blank values.
14143 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14145         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14147 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14149         [BZ #16198]
14150         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14151         fnstenv.
14152         * math/test-fenv-preserve.c: New file.
14153         * math/Makefile (tests): Add test-fenv-preserve.
14155 2014-03-26  Will Newton <will.newton@linaro.org>
14157         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14159 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14161         * scripts/versionlist.awk: Partition the version sets and emit all
14162         GLIBC_* (sorted) before all others (sorted).
14164 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14166         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14167         GLIBC_2.2.5 version.
14169 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14171         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14172         calls.
14174         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14175         previous change.
14177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14179 2014-03-25  Andreas Schwab  <schwab@suse.de>
14181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14182         label to be used after in6ailist is initialized.
14184 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14186         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14187         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14189 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14191         [BZ #16357]
14192         [BZ #16599]
14193         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14194         min_plus_half.
14195         (fp_formats): Update initializers.
14196         (init_fp_formats): Initialize new field.
14197         (output_for_one_input_case): Allow underflow for results up to
14198         min_plus_half.
14199         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14200         * math/auto-libm-test-in: Don't mark some underflows from asin and
14201         atanh as spurious.
14202         * math/auto-libm-test-out: Regenerated.
14203         * sysdeps/i386/fpu/libm-test-ulps: Update.
14204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14206 2014-03-25  Andreas Schwab  <schwab@suse.de>
14208         * libio/Makefile (tst-ftell-partial-wide-ENV)
14209         (tst-ftell-active-handler-ENV): Define.
14211 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14213         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14215 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14217         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14219 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14221         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14222         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14223         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14225 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14227         [BZ #16634]
14228         * elf/dl-load.c (open_verify): Add mode parameter.
14229         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14230         (open_path): Change from boolean 'secure' to complete flag 'mode'
14231         (_dl_map_object): Adjust.
14232         * elf/Makefile (tests): Add tst-dlopen-aout.
14233         * elf/tst-dlopen-aout.c: New test.
14235 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14237         [BZ #16714]
14238         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14239         (struct stat): Rename member pad0 to __glibc_reserved0.
14241         [BZ #16712]
14242         * sysdeps/s390/s390-32/bits/wordsize.h
14243         (__WORDSIZE32_SIZE_ULONG): New define.
14244         * sysdeps/s390/s390-64/bits/wordsize.h
14245         (__WORDSIZE32_SIZE_ULONG): Likewise.
14246         * sysdeps/generic/stdint.h (SIZE_MAX):
14247         Define as UL if __WORDSIZE32_SIZE_ULONG.
14249         [BZ #16713]
14250         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14251         (__glibc_reserved0): New variable.
14252         (sa_flags): Change type to int.
14254         * posix/Makefile (before-compile): Use += before-compile instead
14255         of a :=.
14257         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14258         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14260 2014-03-20  Andreas Schwab  <schwab@suse.de>
14262         [BZ #16743]
14263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14264         non-matching result from nscd.
14266 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14268         * scripts/bench.py: Moved to ...
14269         * benchtests/scripts/bench.py: ... here.
14270         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14272 2014-03-24  Andreas Schwab  <schwab@suse.de>
14274         [BZ #16002]
14275         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14276         alloca_account and account alloca use for struct in6ailist.
14278 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14280         [BZ #16284]
14281         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14282         rounding mode to recompute results that overflow to infinity or
14283         underflow to zero.
14284         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14285         bug 16284.
14286         * math/auto-libm-test-out: Regenerated.
14287         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14288         (ccosh_test): Likewise.
14289         (csin_test_data): Use plus_oflow.
14290         (csin_test): Use ALL_RM_TEST.
14291         (csinh_test_data): Use plus_oflow.
14292         (csinh_test): Use ALL_RM_TEST.
14293         * sysdeps/i386/fpu/libm-test-ulps: Update.
14294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14296 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14298         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14299         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14300         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14302         [BZ #16731]
14303         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14304         when x - 1 is zero.
14305         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14306         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14307         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14308         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14309         argument is 1.
14310         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14311         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14312         zero.
14313         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14314         * sysdeps/i386/fpu/libm-test-ulps: Update.
14315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14317 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14319         * scripts/bench.pl: Remove file.
14320         * scripts/bench.py: New benchmark script.
14321         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14322         * benchtests/README: Mention python dependency.
14323         * scripts/pylintrc: New file.
14324         * scripts/pylint: New file.
14326         * bits/mathdef.h: Use #ifdef instead of #if.
14327         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14328         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14329         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14330         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14331         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14332         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14334 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14335             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14337         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14339         and strpbrk-ppc64 objects.
14340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14341         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14342         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14343         multiarch strpbrk for POWER7.
14344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14345         multiarch strpbrk for PPC64.
14346         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14347         ifunc selector.
14348         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14349         strpbrk for POWER7.
14351 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14353         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14354         (atan_test): Likewise.
14355         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14356         (atanh_test): Use ALL_RM_TEST.
14357         (atan2_test_data): Likewise.
14358         (cabs_test): Likewise.
14359         (cacosh_test): Likewise.
14360         (carg_test): Likewise.
14361         (casin_test): Likewise.
14362         (casinh_test): Likewise.
14363         (cbrt_test): Likewise.
14364         (csqrt_test): Likewise.
14365         (erf_test): Likewise.
14366         (erfc_test): Likewise.
14367         (pow10_test): Likewise.
14368         (exp2_test): Likewise.
14369         (hypot_test): Likewise.
14370         (j0_test): Likewise.
14371         (j1_test): Likewise.
14372         (lgamma_test): Likewise.
14373         (gamma_test): Likewise.
14374         (sincos_test): Likewise.
14375         (tanh_test): Likewise.
14376         (y0_test): Likewise.
14377         (y1_test): Likewise.
14378         * sysdeps/i386/fpu/libm-test-ulps: Update.
14379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14383         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14385         and strcspn-ppc64 objects.
14386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14387         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14388         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14389         multiarch strcspn for POWER7.
14390         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14391         multiarch strcspn for PPC64.
14392         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14393         ifunc selector.
14394         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14395         strcspn for POWER7.
14397 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14399         * math/gen-libm-test.pl (generate_testfile): Expect only function
14400         name as argument to AUTO_TESTS_* and pass results for all rounding
14401         modes to parse_args.
14402         (parse_auto_input): Separate inputs of automatic tests from
14403         outputs before storing in %auto_tests.
14404         * math/libm-test.inc (acos_test_data): Update call to
14405         AUTO_TESTS_f_f.
14406         (acos_test): Use ALL_RM_TEST.
14407         (acos_tonearest_test_data): Remove.
14408         (acos_test_tonearest): Likewise.
14409         (acos_towardzero_test_data): Likewise.
14410         (acos_test_towardzero): Likewise.
14411         (acos_downward_test_data): Likewise.
14412         (acos_test_downward): Likewise.
14413         (acos_upward_test_data): Likewise.
14414         (acos_test_upward): Likewise.
14415         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14416         (asin_test_data): Likewise.
14417         (asin_test): Use ALL_RM_TEST.
14418         (asin_tonearest_test_data): Remove.
14419         (asin_test_tonearest): Likewise.
14420         (asin_towardzero_test_data): Likewise.
14421         (asin_test_towardzero): Likewise.
14422         (asin_downward_test_data): Likewise.
14423         (asin_test_downward): Likewise.
14424         (asin_upward_test_data): Likewise.
14425         (asin_test_upward): Likewise.
14426         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14427         (atan_test_data): Likewise.
14428         (atanh_test_data): Likewise.
14429         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14430         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14431         (carg_test_data): Likewise.
14432         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14433         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14434         (ccosh_test_data): Likewise.
14435         (cexp_test_data): Likewise.
14436         (clog_test_data): Likewise.
14437         (clog10_test_data): Likewise.
14438         (cos_test_data): Update call to AUTO_TESTS_f_f.
14439         (cos_test): Use ALL_RM_TEST.
14440         (cos_tonearest_test_data): Remove.
14441         (cos_test_tonearest): Likewise.
14442         (cos_towardzero_test_data): Likewise.
14443         (cos_test_towardzero): Likewise.
14444         (cos_downward_test_data): Likewise.
14445         (cos_test_downward): Likewise.
14446         (cos_upward_test_data): Likewise.
14447         (cos_test_upward): Likewise.
14448         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14449         (cosh_test): Use ALL_RM_TEST.
14450         (cosh_tonearest_test_data): Remove.
14451         (cosh_test_tonearest): Likewise.
14452         (cosh_towardzero_test_data): Likewise.
14453         (cosh_test_towardzero): Likewise.
14454         (cosh_downward_test_data): Likewise.
14455         (cosh_test_downward): Likewise.
14456         (cosh_upward_test_data): Likewise.
14457         (cosh_test_upward): Likewise.
14458         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14459         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14460         (ctan_test_data): Likewise.
14461         (ctan_test): Use ALL_RM_TEST.
14462         (ctan_tonearest_test_data): Remove.
14463         (ctan_test_tonearest): Likewise.
14464         (ctan_towardzero_test_data): Likewise.
14465         (ctan_test_towardzero): Likewise.
14466         (ctan_downward_test_data): Likewise.
14467         (ctan_test_downward): Likewise.
14468         (ctan_upward_test_data): Likewise.
14469         (ctan_test_upward): Likewise.
14470         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14471         (ctanh_test): Use ALL_RM_TEST.
14472         (ctanh_tonearest_test_data): Remove.
14473         (ctanh_test_tonearest): Likewise.
14474         (ctanh_towardzero_test_data): Likewise.
14475         (ctanh_test_towardzero): Likewise.
14476         (ctanh_downward_test_data): Likewise.
14477         (ctanh_test_downward): Likewise.
14478         (ctanh_upward_test_data): Likewise.
14479         (ctanh_test_upward): Likewise.
14480         (erf_test_data): Update call to AUTO_TESTS_f_f.
14481         (erfc_test_data): Likewise.
14482         (exp_test_data): Likewise.
14483         (exp_test): Use ALL_RM_TEST.
14484         (exp_tonearest_test_data): Remove.
14485         (exp_test_tonearest): Likewise.
14486         (exp_towardzero_test_data): Likewise.
14487         (exp_test_towardzero): Likewise.
14488         (exp_downward_test_data): Likewise.
14489         (exp_test_downward): Likewise.
14490         (exp_upward_test_data): Likewise.
14491         (exp_test_upward): Likewise.
14492         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14493         (exp10_test): Use ALL_RM_TEST.
14494         (exp10_tonearest_test_data): Remove.
14495         (exp10_test_tonearest): Likewise.
14496         (exp10_towardzero_test_data): Likewise.
14497         (exp10_test_towardzero): Likewise.
14498         (exp10_downward_test_data): Likewise.
14499         (exp10_test_downward): Likewise.
14500         (exp10_upward_test_data): Likewise.
14501         (exp10_test_upward): Likewise.
14502         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14503         (expm1_test_data): Likewise.
14504         (expm1_test): Use ALL_RM_TEST.
14505         (expm1_tonearest_test_data): Remove.
14506         (expm1_test_tonearest): Likewise.
14507         (expm1_towardzero_test_data): Likewise.
14508         (expm1_test_towardzero): Likewise.
14509         (expm1_downward_test_data): Likewise.
14510         (expm1_test_downward): Likewise.
14511         (expm1_upward_test_data): Likewise.
14512         (expm1_test_upward): Likewise.
14513         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14514         (fma_test): Use ALL_RM_TEST.
14515         (fma_towardzero_test_data): Remove.
14516         (fma_test_towardzero): Likewise.
14517         (fma_downward_test_data): Likewise.
14518         (fma_test_downward): Likewise.
14519         (fma_upward_test_data): Likewise.
14520         (fma_test_upward): Likewise.
14521         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14522         (j0_test_data): Update call to AUTO_TESTS_f_f.
14523         (j1_test_data): Likewise.
14524         (jn_test_data): Update call to AUTO_TESTS_if_f.
14525         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14526         (log_test_data): Update call to AUTO_TESTS_f_f.
14527         (log10_test_data): Likewise.
14528         (log1p_test_data): Likewise.
14529         (log2_test_data): Likewise.
14530         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14531         (pow_tonearest_test_data): Likewise.
14532         (sin_test_data): Update call to AUTO_TESTS_f_f.
14533         (sin_test): Use ALL_RM_TEST.
14534         (sin_tonearest_test_data): Remove.
14535         (sin_test_tonearest): Likewise.
14536         (sin_towardzero_test_data): Likewise.
14537         (sin_test_towardzero): Likewise.
14538         (sin_downward_test_data): Likewise.
14539         (sin_test_downward): Likewise.
14540         (sin_upward_test_data): Likewise.
14541         (sin_test_upward): Likewise.
14542         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14543         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14544         (sinh_test): Use ALL_RM_TEST.
14545         (sinh_tonearest_test_data): Remove.
14546         (sinh_test_tonearest): Likewise.
14547         (sinh_towardzero_test_data): Likewise.
14548         (sinh_test_towardzero): Likewise.
14549         (sinh_downward_test_data): Likewise.
14550         (sinh_test_downward): Likewise.
14551         (sinh_upward_test_data): Likewise.
14552         (sinh_test_upward): Likewise.
14553         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14554         (sqrt_test): Use ALL_RM_TEST.
14555         (sqrt_tonearest_test_data): Remove.
14556         (sqrt_test_tonearest): Likewise.
14557         (sqrt_towardzero_test_data): Likewise.
14558         (sqrt_test_towardzero): Likewise.
14559         (sqrt_downward_test_data): Likewise.
14560         (sqrt_test_downward): Likewise.
14561         (sqrt_upward_test_data): Likewise.
14562         (sqrt_test_upward): Likewise.
14563         (tan_test_data): Update call to AUTO_TESTS_f_f.
14564         (tan_test): Use ALL_RM_TEST.
14565         (tan_tonearest_test_data): Remove.
14566         (tan_test_tonearest): Likewise.
14567         (tan_towardzero_test_data): Likewise.
14568         (tan_test_towardzero): Likewise.
14569         (tan_downward_test_data): Likewise.
14570         (tan_test_downward): Likewise.
14571         (tan_upward_test_data): Likewise.
14572         (tan_test_upward): Likewise.
14573         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14574         (tgamma_test_data): Likewise.
14575         (y0_test_data): Likewise.
14576         (y1_test_data): Likewise.
14577         (yn_test_data): Update call to AUTO_TESTS_if_f.
14578         (main): Do not call removed functions.
14580 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14582         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14583         (ldexp_test_data): Remove.
14584         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14585         scalbn_test_data.
14586         (scalb_test): Use ALL_RM_TEST.
14588 2014-03-19  Andreas Schwab  <schwab@suse.de>
14590         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14592 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14594         [BZ #16649]
14595         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14596         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14597         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14598         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14599         (__ASSUME_PREADV): Undefine.
14600         (__ASSUME_PWRITEV): Likewise.
14602 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14604         * bits/mman-linux.h: Add comment about non-Linux use.
14605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14606         bits/mman-linux.h resting place.
14608         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14609         * bits/mman-linux.h: ... here.
14611 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14613         * conform/conformtest.pl: Add standard definition when calling C
14614         preprocessor on data files.
14615         (checknamespace): Remove unused variable.
14617 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14619         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14620         minus_oflow, plus_uflow and minus_uflow in expected results.
14621         * math/libm-test.inc (scalbn_test_data): Add more tests of
14622         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14623         minus_uflow.
14624         (scalbn_test): Use ALL_RM_TEST.
14625         (scalbln_test_data): Add more tests of negative arguments.  Use
14626         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14627         (scalbln_test): Use ALL_RM_TEST.
14629 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14631         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14633 2014-03-18  Will Newton  <will.newton@linaro.org>
14635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14636         inaccurate comment.
14638 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14640         * Makerules [!subdir] (check-abi): Exit with error status if a
14641         test failed.
14643 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14645         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14646         for rint.  Include results for all rounding modes.
14647         (nearbyint_test): Use ALL_RM_TEST.
14648         (rint_test_data): Include all tests used for nearbyint.
14650 2014-03-17  Will Newton  <will.newton@linaro.org>
14652         * nptl/sysdeps/pthread/pthread.h: Revert previous
14653         change.
14655         * sysdeps/generic/ldsodefs.h: Revert previous
14656         change.
14658         * libio/genops.c: Revert previous change.
14659         * libio/libioP.h: Likewise.
14660         * stdio-common/vfprintf.c: Likewise.
14662         * sysdeps/generic/math_private.h: Revert previous
14663         change.
14665         * sysdeps/generic/math_private.h: Check whether
14666         HAVE_RM_CTX is defined with #ifdef rather
14667         than #if.
14669         * argp/argp-fmtstream.h: Check whether
14670         __STRICT_ANSI__ is defined with #ifdef rather
14671         than #if.
14672         * argp/argp.h: Likewise.
14674         * libio/genops.c: Check whether
14675         _IO_JUMPS_OFFSET is defined with #ifdef rather
14676         than #if.
14677         * libio/libioP.h: Likewise.
14678         * stdio-common/vfprintf.c: Likewise.
14680         * sysdeps/generic/ldsodefs.h: Check whether
14681         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14682         than #if.
14684         * nptl/sysdeps/pthread/pthread.h: Check
14685         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14686         its value.
14688 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14690         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14691         setting O_APPEND.
14692         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14693         test case.
14695         [BZ #16680]
14696         * libio/fileops.c (_IO_file_open): Seek to end of file but
14697         don't cache the offset.
14698         (get_file_offset): Remove function.
14699         (do_ftell): Use cached offset when available.
14700         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14701         don't cache the offset.
14702         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14703         case.
14704         (do_one_test): Call it.
14705         (do_ftell_test): Fix up expected old offset for a+ mode.
14706         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14707         available.
14709         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14710         up test status with function return status.
14711         (do_write_test): Likewise.
14712         (do_append_test): Likewise.
14714         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14715         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14716         Remove.
14718 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14720         * math/gen-libm-test.pl (parse_args): Handle results specified for
14721         each rounding mode separately.
14722         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14723         tests and results from lrint_tonearest_test_data,
14724         lrint_towardzero_test_data, lrint_downward_test_data and
14725         lrint_upward_test_data.
14726         (lrint_test): Use ALL_RM_TEST.
14727         (lrint_tonearest_test_data): Remove.
14728         (lrint_test_tonearest): Likewise.
14729         (lrint_towardzero_test_data): Likewise.
14730         (lrint_test_towardzero): Likewise.
14731         (lrint_downward_test_data): Likewise.
14732         (lrint_test_downward): Likewise.
14733         (lrint_upward_test_data): Likewise.
14734         (lrint_test_upward): Likewise.
14735         (llrint_test_data): Merge in per-rounding-mode tests and results
14736         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14737         llrint_downward_test_data and llrint_upward_test_data.
14738         (llrint_test): Use ALL_RM_TEST.
14739         (llrint_tonearest_test_data): Remove.
14740         (llrint_test_tonearest): Likewise.
14741         (llrint_towardzero_test_data): Likewise.
14742         (llrint_test_towardzero): Likewise.
14743         (llrint_downward_test_data): Likewise.
14744         (llrint_test_downward): Likewise.
14745         (llrint_upward_test_data): Likewise.
14746         (llrint_test_upward): Likewise.
14747         (rint_test_data): Merge in per-rounding-mode tests and results
14748         from rint_tonearest_test_data, rint_towardzero_test_data,
14749         rint_downward_test_data and rint_upward_test_data.  Add
14750         per-rounding-mode results for tests not in those arrays.
14751         (rint_test): Use ALL_RM_TEST.
14752         (rint_tonearest_test_data): Remove.
14753         (rint_test_tonearest): Likewise.
14754         (rint_towardzero_test_data): Likewise.
14755         (rint_test_towardzero): Likewise.
14756         (rint_downward_test_data): Likewise.
14757         (rint_test_downward): Likewise.
14758         (rint_upward_test_data): Likewise.
14759         (rint_test_upward): Likewise.
14760         (main): Don't call removed functions.
14762 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14764         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14765         "Compiled on ..." crapola.  It is anti-useful.
14767 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14769         * scripts/evaluate-test.sh: Handle fourth argument to determine
14770         whether test run should stop on failure.
14771         * Makeconfig (stop-on-test-failure): New variable.
14772         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14773         $(stop-on-test-failure).
14774         * Makefile (tests): Give a summary of results from testing and
14775         exit with failure status if they include an ERROR or FAIL.
14776         (xtests): Likewise.
14777         * manual/install.texi (Configuring and compiling): Mention
14778         stop-on-test-failure=y.
14779         * INSTALL: Regenerated.
14781 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14783         * scripts/versionlist.awk: New file.
14784         * Makerules [$(build-shared) = yes]
14785         (postclean-generated): Add Versions.def, not Versions.def.v and
14786         Versions.def.v.i.
14787         ($(common-objpfx)Versions.def.v.i): Target removed.
14788         ($(common-objpfx)Versions.def): New target.
14789         ($(common-objpfx)Versions.all): Depend on that rather that
14790         $(common-objpfx)Versions.def.v.
14791         * Versions.def: File removed.
14793         * Makeconfig (+gccwarn): Add -Wundef.
14794         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14795         a dl-sysdep.h breaking its contract.
14796         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14797         * include/stackinfo.h: New file.
14798         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14799         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14800         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14801         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14802         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14803         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14804         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14805         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14806         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14807         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14808         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14809         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14810         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14811         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14812         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14814 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14816         [BZ #16707]
14817         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14818         implementation.
14819         * math/libm-test.inc (round_test_data): Add more tests.
14821         [BZ #16706]
14822         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14823         implementation.
14824         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14826         [BZ #16701]
14827         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14828         implementation.
14829         * math/libm-test.inc (ceil_test_data): Add more tests.
14831         * math/libm-test.inc (trunc_test_data): Add more tests related to
14832         BZ#16414.
14834 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14836         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14837         with #if rather than #ifdef.
14838         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14840 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14842         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14843         first.  Disable AVX-512 GCC support if assembler doesn't support
14844         it.
14845         * sysdeps/x86_64/configure: Regenerated.
14847 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14849         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14850         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14851         (__old_pthread_attr_setstack): Likewise.
14852         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14853         [!_STACK_GROWS_DOWN]: Likewise.
14855 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14857         * config.make.in (have-bash2): Delete.
14858         * configure.ac (libc_cv_have_bash2): Delete.
14859         * configure: Regenerate.
14860         * elf/Makefile (common-ldd-rewrite): Rename to ...
14861         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14862         (sh-ldd-rewrite): Delete.
14863         (bash-ldd-rewrite): Delete.
14864         (have-bash2): Delete checks.
14865         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14866         ldd-rewrite.
14868         * config.make.in (have-ksh): Delete.
14869         (KSH): Delete.
14870         * configure.ac (libc_cv_have_ksh): Delete.
14871         * configure: Regenerate.
14873         * elf/Makefile: Delete $(have-ksh) check.
14874         ($(objpfx)sotruss): Change KSH to BASH.
14875         * elf/sotruss.ksh: Rename to ...
14876         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14877         function style to match POSIX.  Drop ksh vim mode setting.
14879         * manual/time.texi (Specifying the Time Zone with TZ): Change
14880         Tuesday to Thursday.
14882         * debug/tst-longjmp_chk2.c: Update header comment.
14883         (stackoverflow_handler): Add comment.  Call assert on pass value.
14885 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14887         [BZ #16194]
14888         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14889         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14890         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14891         (La_x86_64_vector): Add zmm.
14892         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14893         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14894         ($(objpfx)tst-audit10): New target.
14895         ($(objpfx)tst-audit10.out): Likewise.
14896         (tst-audit10-ENV): New.
14897         (AVX512-CFLAGS): Likewise.
14898         (CFLAGS-tst-audit10.c): Likewise.
14899         (CFLAGS-tst-auditmod10a.c): Likewise.
14900         (CFLAGS-tst-auditmod10b.c): Likewise.
14901         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14902         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14903         * sysdeps/x86_64/configure: Regenerated.
14904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14905         AVX-512 zmm register support.
14906         (_dl_x86_64_save_sse): Likewise.
14907         (_dl_x86_64_restore_sse): Likewise.
14908         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14909         size vector registers.
14910         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14911         (ZMM_SIZE): Likewise.
14912         * sysdeps/x86_64/tst-audit10.c: New file.
14913         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14914         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14916 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14918         * configure.ac (HAVE_EHDR_START): New check.
14919         * configure: Regenerated.
14920         * config.h.in (HAVE_EHDR_START): New #undef.
14921         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14922         assuming the lowest-addressed segment maps the start of the file.
14924 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14926         * INSTALL: Regenerated.
14928 2014-03-13  Will Newton  <will.newton@linaro.org>
14930         * manual/setjmp.texi (System V contexts): Improve
14931         clarity and grammar of documentation.
14933 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14935         [BZ #16381]
14936         * elf/Makefile (tests): Add tst-pie2.
14937         (tests-pie): Add tst-pie2.
14938         * elf/tst-pie2.c: New file.
14939         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14940         for ET_EXEC.
14941         * elf/rtld.c (map_doit): Load executable as lt_executable.
14942         (dl_main): Likewise.
14944 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14946         [BZ #16642]
14947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14948         (__ASSUME_PSELECT): Undefine.
14950 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14952         [BZ #16689]
14953         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14954         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14955         static build.
14956         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14957         selector for static builds.
14959 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14961         [BZ #16695]
14962         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14963         key in the buffer.
14965 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14967         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14968         IFUNC selector for static builds.
14970 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14972         * sysdeps/mips/math_private.h [__mips_hard_float]
14973         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14974         libc_feresetround_mips_ctx.
14975         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14976         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14977         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14979         [BZ #16677]
14980         * math/s_nextafter.c (__nextafter): Do not return value from
14981         overflowing computation.
14982         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14983         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14984         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14985         Likewise.
14986         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14987         Likewise.
14988         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14989         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14991 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14993         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14994         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14995         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14996         the new mov targetting sp.
14998 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15000         [BZ #16683]
15001         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15002         Define it for static builds as well.
15003         (NO_BZERO_IMPL): Likewise.
15005 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15007         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15008         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15009         multiarch strspn for PPC64.
15010         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15011         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15013         (__libc_ifunc_impl_list): Likewise.
15014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15015         multiarch optimizations
15016         * string/strspn.c (strspn): Using macro to redefine symbol name.
15018 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15019             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15021         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15022         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15023         multiarch strncat for PPC64.
15024         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15025         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15027         (__libc_ifunc_impl_list): Likewise.
15028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15029         multiarch optimizations
15031 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15033         [BZ #16639]
15034         * nscd/nscd.service: Make service type forking.
15036 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15038         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15039         sign in non default rounding modes.
15040         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15042 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15044         * math/libm-test.inc (ALL_RM_TEST): New macro.
15045         (ceil_test): Use ALL_RM_TEST.
15046         (cimag_test): Likewise.
15047         (conj_test): Likewise.
15048         (copysign_test): Likewise.
15049         (cproj_test): Likewise.
15050         (creal_test): Likewise.
15051         (fabs_test): Likewise.
15052         (floor_test): Likewise.
15053         (fmax_test): Likewise.
15054         (fmin_test): Likewise.
15055         (fmod_test): Likewise.
15056         (fpclassify_test): Likewise.
15057         (frexp_test): Likewise.
15058         (ilogb_test): Likewise.
15059         (isfinite_test): Likewise.
15060         (finite_test): Likewise.
15061         (isgreater_test): Likewise.
15062         (isgreaterequal_test): Likewise.
15063         (isinf_test): Likewise.
15064         (isless_test): Likewise.
15065         (islessequal_test): Likewise.
15066         (islessgreater_test): Likewise.
15067         (isnan_test): Likewise.
15068         (isnormal_test): Likewise.
15069         (issignaling_test): Likewise.
15070         (isunordered_test): Likewise.
15071         (logb_test): Likewise.
15072         (logb_downward_test_data): Remove.
15073         (logb_test_downward): Likewise.
15074         (lround_test): Use ALL_RM_TEST.
15075         (llround_test): Likewise.
15076         (modf_test): Likewise.
15077         (nexttoward_test): Likewise.
15078         (remainder_test): Likewise.
15079         (drem_test): Likewise.
15080         (remainder_tonearest_test_data): Likewise.
15081         (remainder_test_tonearest): Likewise.
15082         (drem_test_tonearest): Likewise.
15083         (remainder_towardzero_test_data): Likewise.
15084         (remainder_test_towardzero): Likewise.
15085         (drem_test_towardzero): Likewise.
15086         (remainder_downward_test_data): Likewise.
15087         (remainder_test_downward): Likewise.
15088         (drem_test_downward): Likewise.
15089         (remainder_upward_test_data): Likewise.
15090         (remainder_test_upward): Likewise.
15091         (drem_test_upward): Likewise.
15092         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15093         (round_test): Use ALL_RM_TEST.
15094         (signbit_test): Likewise.
15095         (trunc_test): Likewise.
15096         (significand_test): Likewise.
15097         (main): Don't call removed functions.
15099 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #16674]
15102         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15103         || __USE_XOPEN2K8].
15104         (ILL_ILLOPN): Likewise.
15105         (ILL_ILLADR): Likewise.
15106         (ILL_ILLTRP): Likewise.
15107         (ILL_PRVOPC): Likewise.
15108         (ILL_PRVREG): Likewise.
15109         (ILL_COPROC): Likewise.
15110         (ILL_BADSTK): Likewise.
15111         (FPE_INTDIV): Likewise.
15112         (FPE_INTOVF): Likewise.
15113         (FPE_FLTDIV): Likewise.
15114         (FPE_FLTOVF): Likewise.
15115         (FPE_FLTUND): Likewise.
15116         (FPE_FLTRES): Likewise.
15117         (FPE_FLTINV): Likewise.
15118         (FPE_FLTSUB): Likewise.
15119         (SEGV_MAPERR): Likewise.
15120         (SEGV_ACCERR): Likewise.
15121         (BUS_ADRALN): Likewise.
15122         (BUS_ADRERR): Likewise.
15123         (BUS_OBJERR): Likewise.
15124         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15125         (TRAP_TRACE): Likewise.
15126         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15127         __USE_XOPEN2K8].
15128         (CLD_KILLED): Likewise.
15129         (CLD_DUMPED): Likewise.
15130         (CLD_TRAPPED): Likewise.
15131         (CLD_STOPPED): Likewise.
15132         (CLD_CONTINUED): Likewise.
15133         (POLL_IN): Likewise.
15134         (POLL_OUT): Likewise.
15135         (POLL_MSG): Likewise.
15136         (POLL_ERR): Likewise.
15137         (POLL_PRI): Likewise.
15138         (POLL_HUP): Likewise.
15139         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15140         Likewise.
15141         (ILL_ILLOPN): Likewise.
15142         (ILL_ILLADR): Likewise.
15143         (ILL_ILLTRP): Likewise.
15144         (ILL_PRVOPC): Likewise.
15145         (ILL_PRVREG): Likewise.
15146         (ILL_COPROC): Likewise.
15147         (ILL_BADSTK): Likewise.
15148         (FPE_INTDIV): Likewise.
15149         (FPE_INTOVF): Likewise.
15150         (FPE_FLTDIV): Likewise.
15151         (FPE_FLTOVF): Likewise.
15152         (FPE_FLTUND): Likewise.
15153         (FPE_FLTRES): Likewise.
15154         (FPE_FLTINV): Likewise.
15155         (FPE_FLTSUB): Likewise.
15156         (SEGV_MAPERR): Likewise.
15157         (SEGV_ACCERR): Likewise.
15158         (BUS_ADRALN): Likewise.
15159         (BUS_ADRERR): Likewise.
15160         (BUS_OBJERR): Likewise.
15161         (BUS_MCEERR_AR): Likewise.
15162         (BUS_MCEERR_AO): Likewise.
15163         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15164         (TRAP_TRACE): Likewise.
15165         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15166         __USE_XOPEN2K8].
15167         (CLD_KILLED): Likewise.
15168         (CLD_DUMPED): Likewise.
15169         (CLD_TRAPPED): Likewise.
15170         (CLD_STOPPED): Likewise.
15171         (CLD_CONTINUED): Likewise.
15172         (POLL_IN): Likewise.
15173         (POLL_OUT): Likewise.
15174         (POLL_MSG): Likewise.
15175         (POLL_ERR): Likewise.
15176         (POLL_PRI): Likewise.
15177         (POLL_HUP): Likewise.
15178         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15179         (ILL_ILLOPN): Likewise.
15180         (ILL_ILLADR): Likewise.
15181         (ILL_ILLTRP): Likewise.
15182         (ILL_PRVOPC): Likewise.
15183         (ILL_PRVREG): Likewise.
15184         (ILL_COPROC): Likewise.
15185         (ILL_BADSTK): Likewise.
15186         (FPE_INTDIV): Likewise.
15187         (FPE_INTOVF): Likewise.
15188         (FPE_FLTDIV): Likewise.
15189         (FPE_FLTOVF): Likewise.
15190         (FPE_FLTUND): Likewise.
15191         (FPE_FLTRES): Likewise.
15192         (FPE_FLTINV): Likewise.
15193         (FPE_FLTSUB): Likewise.
15194         (SEGV_MAPERR): Likewise.
15195         (SEGV_ACCERR): Likewise.
15196         (BUS_ADRALN): Likewise.
15197         (BUS_ADRERR): Likewise.
15198         (BUS_OBJERR): Likewise.
15199         (BUS_MCEERR_AR): Likewise.
15200         (BUS_MCEERR_AO): Likewise.
15201         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15202         (TRAP_TRACE): Likewise.
15203         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15204         __USE_XOPEN2K8].
15205         (CLD_KILLED): Likewise.
15206         (CLD_DUMPED): Likewise.
15207         (CLD_TRAPPED): Likewise.
15208         (CLD_STOPPED): Likewise.
15209         (CLD_CONTINUED): Likewise.
15210         (POLL_IN): Likewise.
15211         (POLL_OUT): Likewise.
15212         (POLL_MSG): Likewise.
15213         (POLL_ERR): Likewise.
15214         (POLL_PRI): Likewise.
15215         (POLL_HUP): Likewise.
15216         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15217         Likewise.
15218         (ILL_ILLOPN): Likewise.
15219         (ILL_ILLADR): Likewise.
15220         (ILL_ILLTRP): Likewise.
15221         (ILL_PRVOPC): Likewise.
15222         (ILL_PRVREG): Likewise.
15223         (ILL_COPROC): Likewise.
15224         (ILL_BADSTK): Likewise.
15225         (ILL_BADIADDR): Likewise.
15226         (ILL_BREAK): Likewise.
15227         (FPE_INTDIV): Likewise.
15228         (FPE_INTOVF): Likewise.
15229         (FPE_FLTDIV): Likewise.
15230         (FPE_FLTOVF): Likewise.
15231         (FPE_FLTUND): Likewise.
15232         (FPE_FLTRES): Likewise.
15233         (FPE_FLTINV): Likewise.
15234         (FPE_FLTSUB): Likewise.
15235         (FPE_DECOVF): Likewise.
15236         (FPE_DECDIV): Likewise.
15237         (FPE_DECERR): Likewise.
15238         (FPE_INVASC): Likewise.
15239         (FPE_INVDEC): Likewise.
15240         (SEGV_MAPERR): Likewise.
15241         (SEGV_ACCERR): Likewise.
15242         (SEGV_PSTKOVF): Likewise.
15243         (BUS_ADRALN): Likewise.
15244         (BUS_ADRERR): Likewise.
15245         (BUS_OBJERR): Likewise.
15246         (BUS_MCEERR_AR): Likewise.
15247         (BUS_MCEERR_AO): Likewise.
15248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15249         (TRAP_TRACE): Likewise.
15250         (TRAP_BRANCH): Likewise.
15251         (TRAP_HWBKPT): Likewise.
15252         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15253         __USE_XOPEN2K8].
15254         (CLD_KILLED): Likewise.
15255         (CLD_DUMPED): Likewise.
15256         (CLD_TRAPPED): Likewise.
15257         (CLD_STOPPED): Likewise.
15258         (CLD_CONTINUED): Likewise.
15259         (POLL_IN): Likewise.
15260         (POLL_OUT): Likewise.
15261         (POLL_MSG): Likewise.
15262         (POLL_ERR): Likewise.
15263         (POLL_PRI): Likewise.
15264         (POLL_HUP): Likewise.
15265         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15266         (ILL_ILLOPN): Likewise.
15267         (ILL_ILLADR): Likewise.
15268         (ILL_ILLTRP): Likewise.
15269         (ILL_PRVOPC): Likewise.
15270         (ILL_PRVREG): Likewise.
15271         (ILL_COPROC): Likewise.
15272         (ILL_BADSTK): Likewise.
15273         (FPE_INTDIV): Likewise.
15274         (FPE_INTOVF): Likewise.
15275         (FPE_FLTDIV): Likewise.
15276         (FPE_FLTOVF): Likewise.
15277         (FPE_FLTUND): Likewise.
15278         (FPE_FLTRES): Likewise.
15279         (FPE_FLTINV): Likewise.
15280         (FPE_FLTSUB): Likewise.
15281         (SEGV_MAPERR): Likewise.
15282         (SEGV_ACCERR): Likewise.
15283         (BUS_ADRALN): Likewise.
15284         (BUS_ADRERR): Likewise.
15285         (BUS_OBJERR): Likewise.
15286         (BUS_MCEERR_AR): Likewise.
15287         (BUS_MCEERR_AO): Likewise.
15288         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15289         (TRAP_TRACE): Likewise.
15290         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15291         __USE_XOPEN2K8].
15292         (CLD_KILLED): Likewise.
15293         (CLD_DUMPED): Likewise.
15294         (CLD_TRAPPED): Likewise.
15295         (CLD_STOPPED): Likewise.
15296         (CLD_CONTINUED): Likewise.
15297         (POLL_IN): Likewise.
15298         (POLL_OUT): Likewise.
15299         (POLL_MSG): Likewise.
15300         (POLL_ERR): Likewise.
15301         (POLL_PRI): Likewise.
15302         (POLL_HUP): Likewise.
15303         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15304         (ILL_ILLOPN): Likewise.
15305         (ILL_ILLADR): Likewise.
15306         (ILL_ILLTRP): Likewise.
15307         (ILL_PRVOPC): Likewise.
15308         (ILL_PRVREG): Likewise.
15309         (ILL_COPROC): Likewise.
15310         (ILL_BADSTK): Likewise.
15311         (FPE_INTDIV): Likewise.
15312         (FPE_INTOVF): Likewise.
15313         (FPE_FLTDIV): Likewise.
15314         (FPE_FLTOVF): Likewise.
15315         (FPE_FLTUND): Likewise.
15316         (FPE_FLTRES): Likewise.
15317         (FPE_FLTINV): Likewise.
15318         (FPE_FLTSUB): Likewise.
15319         (SEGV_MAPERR): Likewise.
15320         (SEGV_ACCERR): Likewise.
15321         (BUS_ADRALN): Likewise.
15322         (BUS_ADRERR): Likewise.
15323         (BUS_OBJERR): Likewise.
15324         (BUS_MCEERR_AR): Likewise.
15325         (BUS_MCEERR_AO): Likewise.
15326         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15327         (TRAP_TRACE): Likewise.
15328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15329         __USE_XOPEN2K8].
15330         (CLD_KILLED): Likewise.
15331         (CLD_DUMPED): Likewise.
15332         (CLD_TRAPPED): Likewise.
15333         (CLD_STOPPED): Likewise.
15334         (CLD_CONTINUED): Likewise.
15335         (POLL_IN): Likewise.
15336         (POLL_OUT): Likewise.
15337         (POLL_MSG): Likewise.
15338         (POLL_ERR): Likewise.
15339         (POLL_PRI): Likewise.
15340         (POLL_HUP): Likewise.
15341         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15342         (ILL_ILLOPN): Likewise.
15343         (ILL_ILLADR): Likewise.
15344         (ILL_ILLTRP): Likewise.
15345         (ILL_PRVOPC): Likewise.
15346         (ILL_PRVREG): Likewise.
15347         (ILL_COPROC): Likewise.
15348         (ILL_BADSTK): Likewise.
15349         (FPE_INTDIV): Likewise.
15350         (FPE_INTOVF): Likewise.
15351         (FPE_FLTDIV): Likewise.
15352         (FPE_FLTOVF): Likewise.
15353         (FPE_FLTUND): Likewise.
15354         (FPE_FLTRES): Likewise.
15355         (FPE_FLTINV): Likewise.
15356         (FPE_FLTSUB): Likewise.
15357         (SEGV_MAPERR): Likewise.
15358         (SEGV_ACCERR): Likewise.
15359         (BUS_ADRALN): Likewise.
15360         (BUS_ADRERR): Likewise.
15361         (BUS_OBJERR): Likewise.
15362         (BUS_MCEERR_AR): Likewise.
15363         (BUS_MCEERR_AO): Likewise.
15364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15365         (TRAP_TRACE): Likewise.
15366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15367         __USE_XOPEN2K8].
15368         (CLD_KILLED): Likewise.
15369         (CLD_DUMPED): Likewise.
15370         (CLD_TRAPPED): Likewise.
15371         (CLD_STOPPED): Likewise.
15372         (CLD_CONTINUED): Likewise.
15373         (POLL_IN): Likewise.
15374         (POLL_OUT): Likewise.
15375         (POLL_MSG): Likewise.
15376         (POLL_ERR): Likewise.
15377         (POLL_PRI): Likewise.
15378         (POLL_HUP): Likewise.
15379         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15380         (ILL_ILLOPN): Likewise.
15381         (ILL_ILLADR): Likewise.
15382         (ILL_ILLTRP): Likewise.
15383         (ILL_PRVOPC): Likewise.
15384         (ILL_PRVREG): Likewise.
15385         (ILL_COPROC): Likewise.
15386         (ILL_BADSTK): Likewise.
15387         (ILL_DBLFLT): Likewise.
15388         (ILL_HARDWALL): Likewise.
15389         (FPE_INTDIV): Likewise.
15390         (FPE_INTOVF): Likewise.
15391         (FPE_FLTDIV): Likewise.
15392         (FPE_FLTOVF): Likewise.
15393         (FPE_FLTUND): Likewise.
15394         (FPE_FLTRES): Likewise.
15395         (FPE_FLTINV): Likewise.
15396         (FPE_FLTSUB): Likewise.
15397         (SEGV_MAPERR): Likewise.
15398         (SEGV_ACCERR): Likewise.
15399         (BUS_ADRALN): Likewise.
15400         (BUS_ADRERR): Likewise.
15401         (BUS_OBJERR): Likewise.
15402         (BUS_MCEERR_AR): Likewise.
15403         (BUS_MCEERR_AO): Likewise.
15404         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15405         (TRAP_TRACE): Likewise.
15406         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15407         __USE_XOPEN2K8].
15408         (CLD_KILLED): Likewise.
15409         (CLD_DUMPED): Likewise.
15410         (CLD_TRAPPED): Likewise.
15411         (CLD_STOPPED): Likewise.
15412         (CLD_CONTINUED): Likewise.
15413         (POLL_IN): Likewise.
15414         (POLL_OUT): Likewise.
15415         (POLL_MSG): Likewise.
15416         (POLL_ERR): Likewise.
15417         (POLL_PRI): Likewise.
15418         (POLL_HUP): Likewise.
15419         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15420         (ILL_ILLOPN): Likewise.
15421         (ILL_ILLADR): Likewise.
15422         (ILL_ILLTRP): Likewise.
15423         (ILL_PRVOPC): Likewise.
15424         (ILL_PRVREG): Likewise.
15425         (ILL_COPROC): Likewise.
15426         (ILL_BADSTK): Likewise.
15427         (FPE_INTDIV): Likewise.
15428         (FPE_INTOVF): Likewise.
15429         (FPE_FLTDIV): Likewise.
15430         (FPE_FLTOVF): Likewise.
15431         (FPE_FLTUND): Likewise.
15432         (FPE_FLTRES): Likewise.
15433         (FPE_FLTINV): Likewise.
15434         (FPE_FLTSUB): Likewise.
15435         (SEGV_MAPERR): Likewise.
15436         (SEGV_ACCERR): Likewise.
15437         (BUS_ADRALN): Likewise.
15438         (BUS_ADRERR): Likewise.
15439         (BUS_OBJERR): Likewise.
15440         (BUS_MCEERR_AR): Likewise.
15441         (BUS_MCEERR_AO): Likewise.
15442         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15443         (TRAP_TRACE): Likewise.
15444         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15445         __USE_XOPEN2K8].
15446         (CLD_KILLED): Likewise.
15447         (CLD_DUMPED): Likewise.
15448         (CLD_TRAPPED): Likewise.
15449         (CLD_STOPPED): Likewise.
15450         (CLD_CONTINUED): Likewise.
15451         (POLL_IN): Likewise.
15452         (POLL_OUT): Likewise.
15453         (POLL_MSG): Likewise.
15454         (POLL_ERR): Likewise.
15455         (POLL_PRI): Likewise.
15456         (POLL_HUP): Likewise.
15457         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15458         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15460         [BZ #16670]
15461         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15462         before #include of <time.h>.
15463         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15464         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15465         (test-xfail-UNIX98/sched.h/conform): Likewise.
15467 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15469         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15470         error absence of trapping exception support.
15471         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15473 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15475         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15476         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15477         * timezone/Makefile (testdata): Move definition above include of
15478         Rules.
15479         (test-zones): New variable.
15480         (tests-special): Add zone files.
15481         (build-testdata): Use $(evaluate-test).
15483         * elf/Makefile (tests-special): Rename tests to end with .out.
15484         ($(objpfx)noload-mem): Likewise.
15485         ($(objpfx)tst-leaks1-mem): Likewise.
15486         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15487         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15488         $(objpfx)test-iconvconfig.out.
15489         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15490         set -e inside subshell and redirect output to file.
15491         * iconvdata/Makefile (generated): Rename tests to end with .out.
15492         Correct type.
15493         (tests-special): Rename tests to end with .out.
15494         ($(objpfx)mtrace-tst-loading): Likewise.
15495         * intl/Makefile (generated): Likewise.
15496         (tests-special): Likewise.
15497         ($(objpfx)mtrace-tst-gettext): Likewise.
15498         * misc/Makefile (generated): Likewise.
15499         (tests-special): Likewise.
15500         ($(objpfx)tst-error1-mem): Likewise.
15501         * nptl/Makefile (tests-special): Likewise.
15502         ($(objpfx)tst-stack3-mem): Likewise.
15503         (generated): Likewise.
15504         * posix/Makefile (generated): Likewise.
15505         (tests-special): Likewise.
15506         (xtests-special): Likewise.
15507         ($(objpfx)tst-fnmatch-mem): Likewise.
15508         ($(objpfx)bug-regex2-mem): Likewise.
15509         ($(objpfx)bug-regex14-mem): Likewise.
15510         ($(objpfx)bug-regex21-mem): Likewise.
15511         ($(objpfx)bug-regex31-mem): Likewise.
15512         ($(objpfx)tst-vfork3-mem): Likewise.
15513         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15514         ($(objpfx)tst-pcre-mem): Likewise.
15515         ($(objpfx)tst-boost-mem): Likewise.
15516         ($(objpfx)bug-ga2-mem): Likewise.
15517         ($(objpfx)bug-glob2-mem): Likewise.
15518         * resolv/Makefile (generate): Likewise.
15519         (tests-special): Likewise.
15520         (xtests-special): Likewise.
15521         (generated): Likewise.
15522         ($(objpfx)mtrace-tst-leaks): Likewise.
15523         ($(objpfx)mtrace-tst-leaks2): Likewise.
15525         * scripts/merge-test-results.sh: New file.
15526         * Makefile (tests-special-notdir): New variable.
15527         (tests): Run merge-test-results.sh.
15528         (xtests): Likewise.
15529         * Rules (tests-special-notdir): New variable.
15530         (xtests-special-notdir): Likewise.
15531         (tests): Run merge-test-results.sh
15532         (xtests): Likewise.
15534         * Makeconfig (test-xfail-name): New variable.
15535         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15536         compute variable name for expected failures.
15537         * conform/Makefile (conformtest-headers-data): New variable.
15538         (conformtest-standards): Likewise.
15539         (conformtest-headers-ISO): Likewise.
15540         (conformtest-headers-ISO99): Likewise.
15541         (conformtest-headers-ISO11): Likewise.
15542         (conformtest-headers-POSIX): Likewise.
15543         (conformtest-headers-XPG3): Likewise.
15544         (conformtest-headers-XPG4): Likewise.
15545         (conformtest-headers-UNIX98): Likewise.
15546         (conformtest-headers-XOPEN2K): Likewise.
15547         (conformtest-headers-POSIX2008): Likewise.
15548         (conformtest-headers-XOPEN2K8): Likewise.
15549         (conformtest-header-list-base): Likewise.
15550         (conformtest-header-list-tests): Likewise.
15551         (conformtest-header-base): Likewise.
15552         (conformtest-header-tests): Likewise.
15553         (tests-special): Add $(conformtest-header-list-tests).  If
15554         [$(fast-check) && !$(cross-compiling)], add
15555         $(conformtest-header-tests) instead of
15556         $(objpfx)run-conformtest.out.
15557         (generated): Add $(conformtest-header-list-base).  If
15558         [$(fast-check) && !$(cross-compiling)], add
15559         $(conformtest-header-base).  Remove previous setting.
15560         ($(conformtest-header-list-tests)): New target.
15561         (test-xfail-run-conformtest): Remove variable.
15562         ($(objpfx)run-conformtest.out): Remove target.
15563         (test-xfail-ISO11/complex.h/conform): New variable.
15564         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15565         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15566         (test-xfail-XPG3/varargs.h/conform): Likewise.
15567         (test-xfail-XPG4/varargs.h/conform): Likewise.
15568         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15569         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15570         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15571         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15572         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15573         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15574         (test-xfail-XPG3/ftw.h/conform): Likewise.
15575         (test-xfail-XPG3/grp.h/conform): Likewise.
15576         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15577         (test-xfail-XPG3/limits.h/conform): Likewise.
15578         (test-xfail-XPG3/pwd.h/conform): Likewise.
15579         (test-xfail-XPG3/search.h/conform): Likewise.
15580         (test-xfail-XPG3/signal.h/conform): Likewise.
15581         (test-xfail-XPG3/stdio.h/conform): Likewise.
15582         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15583         (test-xfail-XPG3/string.h/conform): Likewise.
15584         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15585         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15586         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15587         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15588         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15589         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15590         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15591         (test-xfail-XPG3/termios.h/conform): Likewise.
15592         (test-xfail-XPG3/time.h/conform): Likewise.
15593         (test-xfail-XPG3/unistd.h/conform): Likewise.
15594         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15595         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15596         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15597         (test-xfail-XPG4/netdb.h/conform): Likewise.
15598         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15599         (test-xfail-XPG4/signal.h/conform): Likewise.
15600         (test-xfail-XPG4/stdio.h/conform): Likewise.
15601         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15602         (test-xfail-XPG4/stropts.h/conform): Likewise.
15603         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15604         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15605         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15606         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15607         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15608         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15609         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15610         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15611         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15612         (test-xfail-XPG4/termios.h/conform): Likewise.
15613         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15614         (test-xfail-XPG4/unistd.h/conform): Likewise.
15615         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15616         (test-xfail-POSIX/sched.h/conform): Likewise.
15617         (test-xfail-POSIX/signal.h/conform): Likewise.
15618         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15619         (test-xfail-POSIX/tar.h/conform): Likewise.
15620         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15621         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15622         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15623         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15624         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15625         (test-xfail-UNIX98/sched.h/conform): Likewise.
15626         (test-xfail-UNIX98/signal.h/conform): Likewise.
15627         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15628         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15629         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15630         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15631         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15632         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15633         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15634         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15635         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15636         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15637         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15638         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15639         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15640         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15641         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15642         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15643         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15644         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15645         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15646         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15647         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15648         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15649         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15650         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15651         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15652         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15653         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15654         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15655         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15656         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15657         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15658         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15659         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15660         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15661         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15662         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15663         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15664         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15665         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15666         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15667         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15668         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15669         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15670         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15671         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15672         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15673         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15674         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15675         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15676         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15677         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15678         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15679         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15680         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15681         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15682         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15683         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15684         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15685         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15686         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15687         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15688         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15689         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15690         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15691         (conformtest-cc-flags): Likewise.
15692         ($(conformtest-header-tests): New target.
15693         * conform/check-header-lists.sh: New file.
15694         * conform/run-conformtest.sh: Remove.
15696         * conform/conformtest.pl: Allow ' and \ in values given for
15697         constants.
15698         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15699         inclusion.
15700         [POSIX] (sys/types.h): Likewise.
15701         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15702         inclusion.
15703         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15704         inclusion.
15705         * conform/data/signal.h-data (SIGIO): Remove expectation.
15706         [XPG3] (SIGBUS): Do not expect.
15707         [POSIX || XPG3] (SIGPOLL): Likewise.
15708         [POSIX || XPG3] (SIGPROF): Likewise.
15709         [POSIX || XPG3] (SIGSYS): Likewise.
15710         [XPG3] (SIGTRAP): Likewise.
15711         [POSIX || XPG3] (SIGURG): Likewise.
15712         [POSIX || XPG3] (SIGVTALRM): Likewise.
15713         [POSIX || XPG3] (SIGXCPU): Likewise.
15714         [POSIX || XPG3] (SIGXFSZ): Likewise.
15715         [POSIX] (SA_SIGINFO): Expect.
15716         [XPG3] (siginfo_t): Do not expect type or contents.
15717         [POSIX] (si_pid): Do not expect element.
15718         [POSIX] (si_uid): Likewise.
15719         [POSIX] (si_addr): Likewise.
15720         [POSIX] (si_status): Likewise.
15721         [POSIX] (si_band): Likewise.
15722         [XPG4] (si_value): Likewise.
15723         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15724         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15725         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15726         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15727         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15728         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15729         [POSIX || XPG3] (ILL_COPROC): Likewise.
15730         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15731         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15732         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15733         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15734         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15735         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15736         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15737         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15738         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15739         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15740         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15741         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15742         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15743         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15744         [POSIX || XPG3] (CLD_EXITED): Likewise.
15745         [POSIX || XPG3] (CLD_KILLED): Likewise.
15746         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15747         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15748         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15749         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15750         [POSIX || XPG3] (POLL_IN): Likewise.
15751         [POSIX || XPG3] (POLL_OUT): Likewise.
15752         [POSIX || XPG3] (POLL_MSG): Likewise.
15753         [POSIX || XPG3] (POLL_ERR): Likewise.
15754         [POSIX || XPG3] (POLL_PRI): Likewise.
15755         [POSIX || XPG3] (POLL_HUP): Likewise.
15756         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15757         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15758         (SIG*): Do not allow.
15759         [XPG3] (si_*): Likewise.
15760         [XPG3] (SI_*): Likewise.
15761         [XPG3 || XPG4] (sigev_*): Likewise.
15762         [XPG3 || XPG4] (SIGEV_*): Likewise.
15763         [XPG3 || XPG4] (sival_*): Likewise.
15764         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15765         [POSIX || XPG3] (BUS_*): Likewise.
15766         [POSIX || XPG3] (CLD_*): Likewise.
15767         [POSIX || XPG3] (FPE_*): Likewise.
15768         [POSIX || XPG3] (ILL_*): Likewise.
15769         [POSIX || XPG3] (POLL_*): Likewise.
15770         [POSIX || XPG3] (SEGV_*): Likewise.
15771         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15772         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15773         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15774         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15775         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15776         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15777         Specify type and value.
15778         (TVERSLEN): Likewise.
15779         (REGTYPE): Likewise.
15780         (AREGTYPE): Likewise.
15781         (LNKTYPE): Likewise.
15782         (SYMTYPE): Likewise.
15783         (CHRTYPE): Likewise.
15784         (BLKTYPE): Likewise.
15785         (DIRTYPE): Likewise.
15786         (FIFOTYPE): Likewise.
15787         (CONTTYPE): Likewise.
15788         (TSUID): Likewise.
15789         (TSGID): Likewise.
15790         (TSVTX): Likewise.
15791         (TUREAD): Likewise.
15792         (TUWRITE): Likewise.
15793         (TUEXEC): Likewise.
15794         (TGREAD): Likewise.
15795         (TGWRITE): Likewise.
15796         (TGEXEC): Likewise.
15797         (TOREAD): Likewise.
15798         (TOWRITE): Likewise.
15799         (TOEXEC): Likewise.
15800         [POSIX] (TSVTX): Expect constant.
15802 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15804         * Makefile (tests): Change dependencies to ....
15805         (tests-special): ... additions to this variable.
15806         (tests): Depend on $(tests-special).
15807         * Makerules (check-abi-list): New variable.
15808         (check-abi): Depend on $(check-abi-list).
15809         [$(subdir) = elf] (tests-special): Add
15810         $(objpfx)check-abi-libc.out.
15811         [$(build-shared) = yes && subdir] (tests-special): Add
15812         $(check-abi-list).
15813         [$(build-shared) = yes && subdir] (tests): Do not depend on
15814         check-abi.
15815         * Rules (tests): Depend on $(tests-special).
15816         (xtests): Depend on $(xtests-special).
15817         * catgets/Makefile (tests): Change dependencies to ....
15818         (tests-special): ... additions to this variable.
15819         * conform/Makefile (tests): Change dependencies to ....
15820         (tests-special): ... additions to this variable.
15821         * elf/Makefile (tests): Change dependencies to ....
15822         (tests-special): ... additions to this variable.
15823         * grp/Makefile (tests): Change dependencies to ....
15824         (tests-special): ... additions to this variable.
15825         * iconv/Makefile (xtests): Change dependencies to ....
15826         (xtests-special): ... additions to this variable.
15827         * iconvdata/Makefile (tests): Change dependencies to ....
15828         (tests-special): ... additions to this variable.
15829         * intl/Makefile (tests): Change dependencies to ....
15830         (tests-special): ... additions to this variable.  Also add
15831         $(objpfx)tst-gettext.out.
15832         * io/Makefile (tests): Change dependencies to ....
15833         (tests-special): ... additions to this variable.
15834         * libio/Makefile (tests): Change dependencies to ....
15835         (tests-special): ... additions to this variable.
15836         * malloc/Makefile (tests): Change dependencies to ....
15837         (tests-special): ... additions to this variable.
15838         * misc/Makefile (tests): Change dependencies to ....
15839         (tests-special): ... additions to this variable.
15840         * nptl/Makefile (tests): Change dependencies to ....
15841         (tests-special): ... additions to this variable.
15842         * nptl_db/Makefile (tests): Change dependencies to ....
15843         (tests-special): ... additions to this variable.
15844         * posix/Makefile (tests): Change dependencies to ....
15845         (tests-special): ... additions to this variable.
15846         (xtests): Change dependencies to ....
15847         (xtests-special): ... additions to this variable.
15848         * resolv/Makefile (tests): Change dependencies to ....
15849         (tests-special): ... additions to this variable.
15850         (xtests): Change dependencies to ....
15851         (xtests-special): ... additions to this variable.
15852         * stdio-common/Makefile (tests): Change dependencies to ....
15853         (tests-special): ... additions to this variable.
15854         (do-tst-unbputc): Remove target.
15855         (do-tst-printf): Likewise.
15856         * stdlib/Makefile (tests): Change dependencies to ....
15857         (tests-special): ... additions to this variable.
15858         * string/Makefile (tests): Change dependencies to ....
15859         (tests-special): ... additions to this variable.
15860         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15861         (tests-special): ... additions to this variable.
15863         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15864         whole file.
15865         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15866         whole file.
15867         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15868         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15870         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15871         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15872         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15873         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15874         * conform/data/libgen.h-data [XPG3]: Likewise.
15875         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15876         * conform/data/ndbm.h-data [XPG3]: Likewise.
15877         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15878         * conform/data/netdb.h-data [XPG3]: Likewise.
15879         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15880         * conform/data/poll.h-data [XPG3]: Likewise.
15881         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15882         * conform/data/strings.h-data [XPG3]: Likewise.
15883         * conform/data/stropts.h-data [XPG3]: Likewise.
15884         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15885         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15886         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15887         Likewise.
15888         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15889         * conform/data/sys/time.h-data [XPG3]: Likewise.
15890         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15891         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15892         * conform/data/sys/un.h-data [XPG3]: Likewise.
15893         * conform/data/syslog.h-data [XPG3]: Likewise.
15894         * conform/data/ucontext.h-data [XPG3]: Likewise.
15895         * conform/data/utmpx.h-data [XPG3]: Likewise.
15896         * conform/data/varargs.h-data [UNIX98]: Enable file.
15898         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15900         * math/libm-test.inc (struct test_f_f_data): Move expected results
15901         into structure for each rounding mode.
15902         (struct test_ff_f_data): Likewise.
15903         (struct test_ff_f_data_nexttoward): Likewise.
15904         (struct test_fi_f_data): Likewise.
15905         (struct test_fl_f_data): Likewise.
15906         (struct test_if_f_data): Likewise.
15907         (struct test_fff_f_data): Likewise.
15908         (struct test_c_f_data): Likewise.
15909         (struct test_f_f1_data): Likewise.
15910         (struct test_fF_f1_data): Likewise.
15911         (struct test_ffI_f1_data): Likewise.
15912         (struct test_c_c_data): Likewise.
15913         (struct test_cc_c_data): Likewise.
15914         (struct test_f_i_data): Likewise.
15915         (struct test_ff_i_data): Likewise.
15916         (struct test_f_l_data): Likewise.
15917         (struct test_f_L_data): Likewise.
15918         (struct test_fFF_11_data): Likewise.
15919         (RM_): New macro.
15920         (RM_FE_DOWNWARD): Likewise.
15921         (RM_FE_TONEAREST): Likewise.
15922         (RM_FE_TOWARDZERO): Likewise.
15923         (RM_FE_UPWARD): Likewise.
15924         (RUN_TEST_LOOP_f_f): Update references to expected results.
15925         (RUN_TEST_LOOP_2_f): Likewise.
15926         (RUN_TEST_LOOP_fff_f): Likewise.
15927         (RUN_TEST_LOOP_c_f): Likewise.
15928         (RUN_TEST_LOOP_f_f1): Likewise.
15929         (RUN_TEST_LOOP_fF_f1): Likewise.
15930         (RUN_TEST_LOOP_fI_f1): Likewise.
15931         (RUN_TEST_LOOP_ffI_f1): Likewise.
15932         (RUN_TEST_LOOP_c_c): Likewise.
15933         (RUN_TEST_LOOP_cc_c): Likewise.
15934         (RUN_TEST_LOOP_f_i): Likewise.
15935         (RUN_TEST_LOOP_f_i_tg): Likewise.
15936         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15937         (RUN_TEST_LOOP_f_b): Likewise.
15938         (RUN_TEST_LOOP_f_b_tg): Likewise.
15939         (RUN_TEST_LOOP_f_l): Likewise.
15940         (RUN_TEST_LOOP_f_L): Likewise.
15941         (RUN_TEST_LOOP_fFF_11): Likewise.
15942         * math/gen-libm-test.pl (parse_args): Output four copies of
15943         expected results for each test.
15945         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15946         (__ASSUME_UTIMES): Remove.
15947         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15948         (__ASSUME_UTIMES): Likewise.
15950         * math/gen-auto-libm-tests.c: Update comment on output format.
15951         (output_for_one_input_case): Generate before-rounding and
15952         after-rounding information as conditions on output flags not
15953         floating-point format.
15954         * math/auto-libm-test-out: Regenerated.
15955         * math/gen-libm-test.pl (cond_value): New function.
15956         (or_cond_value): Use cond_value.
15957         (generate_testfile): Handle conditional exceptions.
15959 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15961         * math/libm-test.inc (max_valid_error): New variable.
15962         (init_max_error): Take new argument specifying whether function
15963         results are exactly determined.  Set max_valid_error and bound
15964         other variables for errors based on this argument.
15965         (set_max_error): Do not record results above max_valid_error.
15966         (check_float_internal): Only accept errors of up to 0.5ulps if
15967         also at most max_valid_error.
15968         (START): Take new argument EXACT and pass it to init_max_error.
15969         (acos_test): Update call to START.
15970         (acos_test_tonearest): Likewise.
15971         (acos_test_towardzero): Likewise.
15972         (acos_test_downward): Likewise.
15973         (acos_test_upward): Likewise.
15974         (acosh_test): Likewise.
15975         (asin_test): Likewise.
15976         (asin_test_tonearest): Likewise.
15977         (asin_test_towardzero): Likewise.
15978         (asin_test_downward): Likewise.
15979         (asin_test_upward): Likewise.
15980         (asinh_test): Likewise.
15981         (atan_test): Likewise.
15982         (atanh_test): Likewise.
15983         (atan2_test): Likewise.
15984         (cabs_test): Likewise.
15985         (cacos_test): Likewise.
15986         (cacosh_test): Likewise.
15987         (carg_test): Likewise.
15988         (casin_test): Likewise.
15989         (casinh_test): Likewise.
15990         (catan_test): Likewise.
15991         (catanh_test): Likewise.
15992         (cbrt_test): Likewise.
15993         (ccos_test): Likewise.
15994         (ccosh_test): Likewise.
15995         (ceil_test): Likewise.
15996         (cexp_test): Likewise.
15997         (cimag_test): Likewise.
15998         (clog_test): Likewise.
15999         (clog10_test): Likewise.
16000         (conj_test): Likewise.
16001         (copysign_test): Likewise.
16002         (cos_test): Likewise.
16003         (cos_test_tonearest): Likewise.
16004         (cos_test_towardzero): Likewise.
16005         (cos_test_downward): Likewise.
16006         (cos_test_upward): Likewise.
16007         (cosh_test): Likewise.
16008         (cosh_test_tonearest): Likewise.
16009         (cosh_test_towardzero): Likewise.
16010         (cosh_test_downward): Likewise.
16011         (cosh_test_upward): Likewise.
16012         (cpow_test): Likewise.
16013         (cproj_test): Likewise.
16014         (creal_test): Likewise.
16015         (csin_test): Likewise.
16016         (csinh_test): Likewise.
16017         (csqrt_test): Likewise.
16018         (ctan_test): Likewise.
16019         (ctan_test_tonearest): Likewise.
16020         (ctan_test_towardzero): Likewise.
16021         (ctan_test_downward): Likewise.
16022         (ctan_test_upward): Likewise.
16023         (ctanh_test): Likewise.
16024         (ctanh_test_tonearest): Likewise.
16025         (ctanh_test_towardzero): Likewise.
16026         (ctanh_test_downward): Likewise.
16027         (ctanh_test_upward): Likewise.
16028         (erf_test): Likewise.
16029         (erfc_test): Likewise.
16030         (exp_test): Likewise.
16031         (exp_test_tonearest): Likewise.
16032         (exp_test_towardzero): Likewise.
16033         (exp_test_downward): Likewise.
16034         (exp_test_upward): Likewise.
16035         (exp10_test): Likewise.
16036         (exp10_test_tonearest): Likewise.
16037         (exp10_test_towardzero): Likewise.
16038         (exp10_test_downward): Likewise.
16039         (exp10_test_upward): Likewise.
16040         (pow10_test): Likewise.
16041         (exp2_test): Likewise.
16042         (expm1_test): Likewise.
16043         (expm1_test_tonearest): Likewise.
16044         (expm1_test_towardzero): Likewise.
16045         (expm1_test_downward): Likewise.
16046         (expm1_test_upward): Likewise.
16047         (fabs_test): Likewise.
16048         (fdim_test): Likewise.
16049         (floor_test): Likewise.
16050         (fma_test): Likewise.
16051         (fma_test_towardzero): Likewise.
16052         (fma_test_downward): Likewise.
16053         (fma_test_upward): Likewise.
16054         (fmax_test): Likewise.
16055         (fmin_test): Likewise.
16056         (fmod_test): Likewise.
16057         (fpclassify_test): Likewise.
16058         (frexp_test): Likewise.
16059         (hypot_test): Likewise.
16060         (ilogb_test): Likewise.
16061         (isfinite_test): Likewise.
16062         (finite_test): Likewise.
16063         (isgreater_test): Likewise.
16064         (isgreaterequal_test): Likewise.
16065         (isinf_test): Likewise.
16066         (isless_test): Likewise.
16067         (islessequal_test): Likewise.
16068         (islessgreater_test): Likewise.
16069         (isnan_test): Likewise.
16070         (isnormal_test): Likewise.
16071         (issignaling_test): Likewise.
16072         (isunordered_test): Likewise.
16073         (j0_test): Likewise.
16074         (j1_test): Likewise.
16075         (jn_test): Likewise.
16076         (ldexp_test): Likewise.
16077         (lgamma_test): Likewise.
16078         (gamma_test): Likewise.
16079         (lrint_test): Likewise.
16080         (lrint_test_tonearest): Likewise.
16081         (lrint_test_towardzero): Likewise.
16082         (lrint_test_downward): Likewise.
16083         (lrint_test_upward): Likewise.
16084         (llrint_test): Likewise.
16085         (llrint_test_tonearest): Likewise.
16086         (llrint_test_towardzero): Likewise.
16087         (llrint_test_downward): Likewise.
16088         (llrint_test_upward): Likewise.
16089         (log_test): Likewise.
16090         (log10_test): Likewise.
16091         (log1p_test): Likewise.
16092         (log2_test): Likewise.
16093         (logb_test): Likewise.
16094         (logb_test_downward): Likewise.
16095         (lround_test): Likewise.
16096         (llround_test): Likewise.
16097         (modf_test): Likewise.
16098         (nearbyint_test): Likewise.
16099         (nextafter_test): Likewise.
16100         (nexttoward_test): Likewise.
16101         (pow_test): Likewise.
16102         (pow_test_tonearest): Likewise.
16103         (pow_test_towardzero): Likewise.
16104         (pow_test_downward): Likewise.
16105         (pow_test_upward): Likewise.
16106         (remainder_test): Likewise.
16107         (drem_test): Likewise.
16108         (remainder_test_tonearest): Likewise.
16109         (drem_test_tonearest): Likewise.
16110         (remainder_test_towardzero): Likewise.
16111         (drem_test_towardzero): Likewise.
16112         (remainder_test_downward): Likewise.
16113         (drem_test_downward): Likewise.
16114         (remainder_test_upward): Likewise.
16115         (drem_test_upward): Likewise.
16116         (remquo_test): Likewise.
16117         (rint_test): Likewise.
16118         (rint_test_tonearest): Likewise.
16119         (rint_test_towardzero): Likewise.
16120         (rint_test_downward): Likewise.
16121         (rint_test_upward): Likewise.
16122         (round_test): Likewise.
16123         (scalb_test): Likewise.
16124         (scalbn_test): Likewise.
16125         (scalbln_test): Likewise.
16126         (signbit_test): Likewise.
16127         (sin_test): Likewise.
16128         (sin_test_tonearest): Likewise.
16129         (sin_test_towardzero): Likewise.
16130         (sin_test_downward): Likewise.
16131         (sin_test_upward): Likewise.
16132         (sincos_test): Likewise.
16133         (sinh_test): Likewise.
16134         (sinh_test_tonearest): Likewise.
16135         (sinh_test_towardzero): Likewise.
16136         (sinh_test_downward): Likewise.
16137         (sinh_test_upward): Likewise.
16138         (sqrt_test): Likewise.
16139         (sqrt_test_tonearest): Likewise.
16140         (sqrt_test_towardzero): Likewise.
16141         (sqrt_test_downward): Likewise.
16142         (sqrt_test_upward): Likewise.
16143         (tan_test): Likewise.
16144         (tan_test_tonearest): Likewise.
16145         (tan_test_towardzero): Likewise.
16146         (tan_test_downward): Likewise.
16147         (tan_test_upward): Likewise.
16148         (tanh_test): Likewise.
16149         (tgamma_test): Likewise.
16150         (trunc_test): Likewise.
16151         (y0_test): Likewise.
16152         (y1_test): Likewise.
16153         (yn_test): Likewise.
16154         (significand_test): Likewise.
16156         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16157         individual tests in comment.
16158         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16159         (prev_max_error): New variable.
16160         (prev_real_max_error): Likewise.
16161         (prev_imag_max_error): Likewise.
16162         (compare_ulp_data): Don't refer to test names in comment.
16163         (find_test_ulps): Remove function.
16164         (find_function_ulps): Likewise.
16165         (find_complex_function_ulps): Likewise.
16166         (init_max_error): Take function name as argument.  Look up ulps
16167         for that function.
16168         (print_ulps): Remove function.
16169         (print_max_error): Use prev_max_error instead of calling
16170         find_function_ulps.
16171         (print_complex_max_error): Use prev_real_max_error and
16172         prev_imag_max_error instead of calling find_complex_function_ulps.
16173         (check_float_internal): Take max_ulp parameter instead of calling
16174         find_test_ulps.  Don't call print_ulps.
16175         (check_float): Update call to check_float_internal.
16176         (check_complex): Update calls to check_float_internal.
16177         (START): Pass argument to init_max_error.
16178         * math/gen-libm-test.pl (%results): Don't include "kind"
16179         information.
16180         (parse_ulps): Don't handle ulps of individual tests.
16181         (print_ulps_file): Likewise.
16182         (output_ulps): Likewise.
16183         * math/README.libm-test: Update.
16184         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16185         individual tests.
16186         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16187         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16188         * sysdeps/arm/libm-test-ulps: Likewise.
16189         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16190         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16191         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16192         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16193         * sysdeps/microblaze/libm-test-ulps: Likewise.
16194         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16195         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16196         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16197         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16198         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16199         * sysdeps/sh/libm-test-ulps: Likewise.
16200         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16201         * sysdeps/tile/libm-test-ulps: Likewise.
16202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16204 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16206         * math/libm-test.inc (print_complex_max_error): Check separately
16207         whether real and imaginary errors are within allowed range and
16208         pass 0 to print_complex_function_ulps instead of value within
16209         allowed range.
16211 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16213         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16214         formatting.
16215         (get_handles_fopen): Likewise.
16216         (do_write_test): Likewise.
16218         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16220         * libio/fileops.c (do_ftell): Use cached offset when
16221         available.
16222         * libio/iofwide.c (do_ftell_wide): Likewise.
16223         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16224         _IO_file_attach.
16225         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16227         [BZ #16532]
16228         * libio/libioP.h (get_file_offset): New function.
16229         * libio/fileops.c (get_file_offset): Likewise.
16230         (do_ftell): Likewise.
16231         (_IO_new_file_seekoff): Split out ftell logic.
16232         * libio/wfileops.c (do_ftell_wide): Likewise.
16233         (_IO_wfile_seekoff): Split out ftell logic.
16234         * libio/tst-ftell-active-handler.c: New test case.
16235         * libio/Makefile (tests): Add it.
16237 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16239         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16240         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16242 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16244         [BZ #16639]
16245         * nscd/connections.c (nscd_init): Call do_exit.
16246         (start_threads): Call do_exit and notify_parent.
16247         (begin_drop_privileges): Call do_exit.
16248         (finish_drop_privileges): Likewise.
16249         * nscd/selinux.c (preserve_capabilities): Likewise.
16250         (install_real_capabilities): Likewise.
16251         (nscd_selinux_enabled): Likewise.
16252         (avc_create_thread): Likewise.
16253         (avc_alloc_lock): Likewise.
16254         (nscd_avc_init): Likewise.
16255         * nscd/nscd.c (parent_fd): New static variable.
16256         (main): Create a pipe between parent and child processes.
16257         Skip closing parent_fd.
16258         (monitor_child): New function.
16259         (do_exit): Likewise.
16260         (notify_parent): Likewise.
16261         * nscd/nscd.h (notify_parent): Likewise.
16262         (do_exit): Likewise.
16264 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16266         * malloc/malloc.c (__libc_calloc): Revert last change.
16268 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16272 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16274         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16276         implementation.
16277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16278         (__libc_ifunc_impl_list): Likewise.
16279         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16280         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16281         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16282         * string/strrchr.c: Define STRRCHR.
16284 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16286         * benchtest/bench-strtok.c (simple_strtok): Delete.
16287         (strtok_string): Use as benchmark.
16288         * string/strtok (STRTOK): New macro.
16290 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16292         * manual/threads.texi: Add header and standard comments to all
16293         functions.
16295         * elf/dl-lookup.c (check_match): New function.
16296         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16297         (do_lookup_x): Remove nested function check_match. Use non-nested
16298         function check_match.
16300 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16302         * csu/Makefile (generated, before-compile): Use += rather than =.
16303         * catgets/Makefile (generated, generated-dirs): Likewise.
16304         * debug/Makefile (generated): Likewise.
16305         * dlfcn/Makefile (generated): Likewise.
16306         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16307         * iconvdata/Makefile (before-compile, generated): Likewise.
16308         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16309         * libio/Makefile (generated): Likewise.
16310         * malloc/Makefile (generated): Likewise.
16311         * manual/Makefile (generated, generated-dirs): Likewise.
16312         * misc/Makefile (generated): Likewise.
16313         * posix/Makefile (generated): Likewise.
16314         * resolv/Makefile (generated): Likewise.
16315         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16316         * timezone/Makefile (generated, generated-dirs): Likewise.
16318         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16320 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16323         power8 implementation.
16324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16325         file: POWER8 llround ifunc implementation.
16326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16327         (__lllround): Add POWER8 implementation.
16328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16329         POWER8 llround implementation.
16331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16332         power8 implementation.
16333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16334         file: POWER8 llrint ifunc implementation.
16335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16336         Add POWER8 implementation.
16337         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16338         POWER8 llrint implementation.
16340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16341         power8 implementation.
16342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16343         file: POWER8 finite ifunc implementation.
16344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16345         Add POWER8 implementation.
16346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16347         Likewise.
16348         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16349         POWER8 finite implementation.
16350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16353         power8 implementation.
16354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16355         file: POWER8 isinf ifunc implementation.
16356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16357         POWER8 implementation.
16358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16359         Likewise.
16360         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16361         isinf implementation.
16362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16364         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16365         (INIT_ARCH): Add hwcap2 initialization.
16366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16367         power8 implementation.
16368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16369         file: POWER8 isnan ifunc implementation.
16370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16371         POWER8 implementation.
16372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16373         Likewise.
16374         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16375         isnan implementation.
16376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16378 2014-02-27  Joey Ye  <joey.ye@arm.com>
16380         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16381         (_FP_NANFRAC_Q): Set to zero.
16383 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16385         [BZ #16623]
16386         * math/auto-libm-test-in: New test inputs.
16387         * math/auto-libm-test-out: Regenerate.
16388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16389         and DA.
16390         (__cos): Likewise.
16391         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16393 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16395         * scripts/evaluate-test.sh: Take new argument indicating whether
16396         failure is expected.
16397         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16398         indicating whether failure is expected.
16399         * conform/Makefile (test-xfail-run-conformtest): New variable.
16400         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16401         level.
16402         * posix/Makefile (test-xfail-annexc): New variable.
16403         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16405 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16407         * argp/Makefile: Include Makeconfig immediately after defining
16408         subdir.
16409         * assert/Makefile: Likewise.
16410         * benchtests/Makefile: Likewise.
16411         * catgets/Makefile: Likewise.
16412         * conform/Makefile: Likewise.
16413         * crypt/Makefile: Likewise.
16414         * csu/Makefile: Likewise.
16415         (all): Remove target.
16416         * ctype/Makefile: Include Makeconfig immediately after defining
16417         subdir.
16418         * debug/Makefile: Likewise.
16419         * dirent/Makefile: Likewise.
16420         * dlfcn/Makefile: Likewise.
16421         * gmon/Makefile: Likewise.
16422         * gnulib/Makefile: Likewise.
16423         * grp/Makefile: Likewise.
16424         * gshadow/Makefile: Likewise.
16425         * hesiod/Makefile: Likewise.
16426         * hurd/Makefile: Likewise.
16427         (all): Remove target.
16428         * iconvdata/Makefile: Include Makeconfig immediately after
16429         defining subdir.
16430         * inet/Makefile: Likewise.
16431         * intl/Makefile: Likewise.
16432         * io/Makefile: Likewise.
16433         * libio/Makefile: Likewise.
16434         (all): Remove target.
16435         * locale/Makefile: Include Makeconfig immediately after defining
16436         subdir.
16437         * login/Makefile: Likewise.
16438         * mach/Makefile: Likewise.
16439         (all): Remove target.
16440         * malloc/Makefile: Include Makeconfig immediately after defining
16441         subdir.
16442         (all): Remove target.
16443         * manual/Makefile: Include Makeconfig immediately after defining
16444         subdir.
16445         * math/Makefile: Likewise.
16446         * misc/Makefile: Likewise.
16447         * nis/Makefile: Likewise.
16448         * nss/Makefile: Likewise.
16449         * po/Makefile: Likewise.
16450         (all): Remove target.
16451         * posix/Makefile: Include Makeconfig immediately after defining
16452         subdir.
16453         * pwd/Makefile: Likewise.
16454         * resolv/Makefile: Likewise.
16455         * resource/Makefile: Likewise.
16456         * rt/Makefile: Likewise.
16457         * setjmp/Makefile: Likewise.
16458         * shadow/Makefile: Likewise.
16459         * signal/Makefile: Likewise.
16460         * socket/Makefile: Likewise.
16461         * soft-fp/Makefile: Likewise.
16462         * stdio-common/Makefile: Likewise.
16463         * stdlib/Makefile: Likewise.
16464         * streams/Makefile: Likewise.
16465         * string/Makefile: Likewise.
16466         * sunrpc/Makefile: Likewise.
16467         (all): Remove target.
16468         * sysvipc/Makefile: Include Makeconfig immediately after defining
16469         subdir.
16470         * termios/Makefile: Likewise.
16471         * time/Makefile: Likewise.
16472         * timezone/Makefile: Likewise.
16473         (all): Remove target.
16474         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16475         subdir.
16476         * wctype/Makefile: Likewise.
16478 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16480         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16481         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16482         (libc_feholdexcept_setround_mips): Ditto.
16483         (libc_feholdsetround): New.
16484         (libc_feholdsetroundf): New.
16485         (libc_feholdsetroundl): New.
16486         (libc_feupdateenv_test_mips): New.
16487         (libc_feupdateenv_test): New.
16488         (libc_feupdateenv_testf): New.
16489         (libc_feupdateenv_testl): New.
16490         (libc_feresetround): New.
16491         (libc_feresetroundf): New.
16492         (libc_feresetroundl): New.
16493         (libc_fetestexcept_mips): New.
16494         (libc_fetestexcept): New.
16495         (libc_fetestexceptf): New.
16496         (libc_fetestexceptl): New.
16497         (HAVE_RM_CTX): New.
16498         (libc_feholdexcept_setround_mips_ctx): New.
16499         (libc_feholdexcept_setround_ctx): New.
16500         (libc_feholdexcept_setroundf_ctx): New.
16501         (libc_feholdexcept_setroundl_ctx): New.
16502         (libc_fesetenv_mips_ctx): New.
16503         (libc_fesetenv_ctx): New.
16504         (libc_fesetenv_ctxf): New.
16505         (libc_fesetenv_ctxl): New.
16506         (libc_feupdateenv_mips_ctx): New.
16507         (libc_feupdateenv_ctx): New.
16508         (libc_feupdateenvf_ctx): New.
16509         (libc_feupdateenvl_ctx): New.
16510         (libc_feholdsetround_mips_ctx): New.
16511         (libc_feholdsetround_ctx): New.
16512         (libc_feholdsetroundf_ctx): New.
16513         (libc_feholdsetroundl_ctx): New.
16514         (libc_feresetround_mips_ctx): New.
16515         (libc_feresetround_ctx): New.
16516         (libc_feresetroundf_ctx): New.
16517         (libc_feresetroundl_ctx): New.
16519 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16521         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16523         * manual/ipc.texi: New file.
16524         * manual/Makefile (chapters): Add ipc.
16525         * manual/job.texi: Add "Inter-Process Communication" to next.
16526         * manual/process.texi: Add "Inter-Process Communication" to prev.
16528 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16532 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16534         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16536         * manual/arith.texi: Fix spaces after sentences.
16537         * manual/charset.texi: Likewise.
16538         * manual/errno.texi: Likewise.
16539         * manual/install.texi: Likewise.
16540         * manual/llio.texi: Likewise.
16541         * manual/locale.texi: Likewise.
16542         * manual/maint.texi: Likewise.
16543         * manual/math.texi: Likewise.
16544         * manual/memory.texi: Likewise.
16545         * manual/message.texi: Likewise.
16546         * manual/probes.texi: Likewise.
16547         * manual/resource.texi: Likewise.
16548         * manual/signal.texi: Likewise.
16549         * manual/socket.texi: Likewise.
16550         * manual/stdio.texi: Likewise.
16551         * manual/string.texi: Likewise.
16552         * manual/time.texi: Likewise.
16553         * manual/users.texi: Likewise.
16555 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16557         [BZ #16632]
16558         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16559         _DEFAULT_SOURCE is defined.
16561 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16562             Carlos O'Donell  <carlos@redhat.com>
16564         [BZ #16613]
16565         * elf/dl-tls.c (_dl_count_modids): New function.
16566         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16567         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16568         audit library and increment generation counter.
16569         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16570         * elf/tst-audit9.c: New file.
16571         * elf/tst-auditmod9a.c: New file.
16572         * elf/tst-auditmod9b.c: New file.
16573         * elf/Makefile: Add rules to build and run tst-audit9.
16575 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16577         [BZ #15347]
16578         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16580 2014-02-25  Will Newton  <will.newton@linaro.org>
16582         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16583         (__longjmp): Restore sp and lr before restoring callee
16584         saved registers.  Add longjmp and longjmp_target
16585         SystemTap probe point.
16586         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16587         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16588         Define to zero to match jmpbuf layout.
16589         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16590         (__sigsetjmp): Save sp and lr before saving callee
16591         saved registers.  Add setjmp SystemTap probe point.
16593 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16595         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16597 2014-02-24  Andreas Schwab  <schwab@suse.de>
16599         [BZ #15804]
16600         * elf/pldd.c (wait_for_ptrace_stop): New function.
16601         (main): Call it after attaching.
16603 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16605         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16606         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16607         Versions files is now verboten.
16608         * hurd/Versions (libc: GLIBC_2.0):
16609         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16610         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16611         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16612         * mach/Versions: Likewise.
16614         * csu/Versions: Remove unused %include.
16615         * resolv/Versions: Likewise.
16617 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16619         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16620         ($(objpfx)check-local-headers.out): Likewise.
16621         ($(objpfx)begin-end-check.out): Likewise.
16622         * Makerules (check-abi-%.out): Likewise.
16623         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16624         ($(objpfx)test2.cat): Likewise.
16625         ($(objpfx)de/libc.cat): Likewise.
16626         ($(objpfx)test-gencat.out): Likewise.
16627         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16628         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16629         ($(objpfx)noload-mem): Likewise.
16630         ($(objpfx)tst-pathopt.out): Likewise.
16631         ($(objpfx)tst-rtld-load-self.out): Likewise.
16632         ($(objpfx)tst-array1-cmp.out): Likewise.
16633         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16634         ($(objpfx)tst-array2-cmp.out): Likewise.
16635         ($(objpfx)tst-array3-cmp.out): Likewise.
16636         ($(objpfx)tst-array4-cmp.out): Likewise.
16637         ($(objpfx)tst-array5-cmp.out): Likewise.
16638         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16639         ($(objpfx)check-textrel.out): Likewise.
16640         ($(objpfx)check-execstack.out): Likewise.
16641         ($(objpfx)check-localplt.out): Likewise.
16642         ($(objpfx)order2-cmp.out): Likewise.
16643         ($(objpfx)tst-leaks1-mem): Likewise.
16644         ($(objpfx)tst-leaks1-static-mem): Likewise.
16645         ($(objpfx)tst-initorder-cmp.out): Likewise.
16646         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16647         ($(objpfx)tst-unused-dep.out): Likewise.
16648         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16649         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16650         * iconv/Makefile (test-iconvconfig): Likewise.
16651         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16652         ($(objpfx)iconv-test.out): Likewise.
16653         ($(objpfx)tst-tables.out): Likewise.
16654         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16655         ($(objpfx)tst-gettext.out): Likewise.
16656         ($(objpfx)tst-translit.out): Likewise.
16657         ($(objpfx)tst-gettext2.out): Likewise.
16658         ($(objpfx)tst-gettext4.out): Likewise.
16659         ($(objpfx)tst-gettext6.out): Likewise.
16660         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16661         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16662         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16663         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16664         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16665         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16666         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16667         ($(objpfx)wordexp-tst.out): Likewise.
16668         ($(objpfx)annexc.out): Likewise.
16669         ($(objpfx)tst-fnmatch-mem): Likewise.
16670         ($(objpfx)bug-regex2-mem): Likewise.
16671         ($(objpfx)bug-regex14-mem): Likewise.
16672         ($(objpfx)bug-regex21-mem): Likewise.
16673         ($(objpfx)bug-regex31-mem): Likewise.
16674         ($(objpfx)tst-vfork3-mem): Likewise.
16675         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16676         ($(objpfx)tst-pcre-mem): Likewise.
16677         ($(objpfx)tst-boost-mem): Likewise.
16678         ($(objpfx)tst-getconf.out): Likewise.
16679         ($(objpfx)bug-ga2-mem): Likewise.
16680         ($(objpfx)bug-glob2-mem): Likewise.
16681         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16682         ($(objpfx)mtrace-tst-leaks2): Likewise.
16683         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16684         ($(objpfx)tst-printf.out): Likewise.
16685         ($(objpfx)tst-setvbuf1.out): Likewise.
16686         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16687         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16688         ($(objpfx)tst-fmtmsg.out): Likewise.
16689         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16690         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16692         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16693         * bits/sigaction.h [__USE_MISC]: Likewise.
16694         * bits/waitstatus.h: Update #endif comments.
16695         * ctype/ctype.h: Likewise.
16696         * dirent/dirent.h: Likewise.
16697         [__USE_MISC]: Remove redundant conditionals.
16698         * grp/grp.h: Update #endif comments.
16699         [__USE_GNU]: Remove redundant conditionals.
16700         [__USE_MISC]: Likewise.
16701         * inet/netinet/in.h [__USE_GNU]: Likewise.
16702         * io/sys/stat.h [__USE_MISC]: Likewise.
16703         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16704         * libio/bits/stdio.h: Update #endif comments.
16705         [__USE_MISC]: Remove redundant conditionals.
16706         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16707         * libio/stdio.h: Update #endif comments.
16708         [__USE_MISC]: Remove redundant conditionals.
16709         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16710         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16711         * math/math.h: Update #else and #endif comments.
16712         [__USE_MISC]: Remove redundant conditionals.
16713         * misc/sys/uio.h: Update #endif comments.
16714         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16715         * posix/glob.h [__USE_MISC]: Likewise.
16716         * posix/sys/types.h: Update #endif comments.
16717         [__USE_MISC]: Remove redundant conditionals.
16718         * posix/sys/wait.h: Update #endif comments.
16719         [__USE_MISC]: Remove redundant conditionals.
16720         * posix/unistd.h: Update #endif comments.
16721         [__USE_MISC]: Remove redundant conditionals.
16722         * pwd/pwd.h [__USE_GNU]: Likewise.
16723         [__USE_MISC]: Likewise.
16724         * resolv/netdb.h [__USE_GNU]: Likewise.
16725         * signal/signal.h: Update #endif comments.
16726         [__USE_MISC]: Remove redundant conditionals.
16727         * stdlib/stdlib.h: Update #else and #endif comments.
16728         [__USE_MISC]: Remove redundant conditionals.
16729         [__USE_GNU]: Likewise.
16730         * string/bits/string2.h [__USE_MISC]: Likewise.
16731         * string/string.h: Update #endif comments.
16732         [__USE_MISC]: Remove redundant conditionals.
16733         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16734         Likewise.
16735         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16736         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16737         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16738         Likewise.
16739         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16740         Likewise.
16741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16742         comments.
16743         [__USE_MISC]: Remove redundant conditionals.
16744         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16745         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16746         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16747         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16748         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16749         Likewise.
16750         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16751         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16752         Likewise.
16753         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16754         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16755         Likewise.
16756         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16757         Likewise.
16758         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16759         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16760         Likewise.
16761         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16762         Likewise.
16763         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16764         * sysdeps/x86/bits/string.h: Update #endif comments.
16765         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16766         conditionals.
16767         * time/sys/time.h: Update #endif comments.
16768         * time/time.h: Likewise.
16769         [__USE_MISC]: Remove redundant conditionals.
16771 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16773         [BZ #16600]
16774         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16776 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16778         * Versions.def (librt): Add GLIBC_2.17.
16780 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16782         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16783         synonym for _SYS_AUXV_H to allow direct inclusion.
16784         * sysdeps/sparc/bits/hwcap.h: Likewise.
16785         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16786         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16787         * sysdeps/sparc/sysdep.h: Likewise.
16789 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16791         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16793 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16795         * benchtests/bench-strrchr.c: Print length instead of position.
16797 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16799         [BZ #16611]
16800         * sysdeps/unix/sysv/linux/kernel-features.h
16801         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16802         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16803         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16804         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16805         Likewise.
16806         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16807         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16808         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16809         (__ASSUME_SENDMMSG): Define instead of using previous
16810         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16811         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16812         (__ASSUME_SENDMMSG_SYSCALL): Define.
16813         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16814         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16815         Likewise.
16816         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16817         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16818         Likewise.
16819         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16820         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16821         Likewise.
16822         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16823         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16824         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16825         [__ASSUME_SENDMMSG]: Change conditionals to
16826         [__ASSUME_SENDMMSG_SOCKETCALL].
16827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16828         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16829         Define.
16830         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16831         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16834         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16835         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16836         [!__ASSUME_SENDMMSG]: Change conditional to
16837         [!__ASSUME_SENDMMSG_SOCKETCALL].
16838         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16839         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16840         Define.
16842         [BZ #16610]
16843         * sysdeps/unix/sysv/linux/kernel-features.h
16844         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16845         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16846         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16847         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16848         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16849         [__i386__ || __sparc__]
16850         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16851         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16852         (__ASSUME_RECVMMSG): Define instead of using previous
16853         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16854         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16855         (__ASSUME_RECVMMSG_SYSCALL): Define.
16856         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16857         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16860         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16861         Likewise.
16862         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16863         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16866         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16867         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16868         [__ASSUME_RECVMMSG]: Change condition to
16869         [__ASSUME_RECVMMSG_SOCKETCALL].
16870         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16871         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16872         Define.
16873         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16874         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16875         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16876         Likewise.
16877         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16878         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16879         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16880         [!__ASSUME_RECVMMSG]: Change condition to
16881         [!__ASSUME_RECVMMSG_SOCKETCALL].
16882         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16883         (__ASSUME_RECVMMSG_SYSCALL): Define.
16885         [BZ #16609]
16886         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16887         __powerpc__ || __s390__ || __sh__ || __sparc__]
16888         (__ASSUME_SOCKETCALL): Define.
16889         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16890         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16891         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16892         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16893         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16894         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16895         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16896         (__ASSUME_ACCEPT4): Define instead of using previous
16897         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16898         __powerpc__ || __sparc__ || __s390__)] condition.
16899         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16900         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16901         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16902         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16903         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16904         [!__ASSUME_ACCEPT4]: Change condition to
16905         [!__ASSUME_ACCEPT4_SOCKETCALL].
16906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16907         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16908         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16909         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16910         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16911         __ASSUME_ACCEPT4_SYSCALL.
16912         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16913         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16914         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16915         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16916         __ASSUME_ACCEPT4_SYSCALL.
16917         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16918         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16919         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16920         [__ASSUME_ACCEPT4]: Change condition to
16921         [__ASSUME_ACCEPT4_SOCKETCALL].
16922         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16923         (__ASSUME_SOCKETCALL): Define.
16924         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16925         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16926         (__ASSUME_SOCKETCALL): Define.
16927         (__ASSUME_ACCEPT4): Remove.
16928         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16929         Define.
16930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16931         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16932         Likewise.
16933         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16934         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16936         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16937         macro.
16938         (HWCAP_ARM_LPAE): Likewise.
16939         (HWCAP_ARM_EVTSTRM): Likewise.
16940         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16941         Add vpfd32, lpae and evtstrm.
16942         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16943         Increase to 22.
16945 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16947         * math/auto-libm-test-in: Add tests of clog10.
16948         * math/auto-libm-test-out: Regenerated.
16949         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16950         * sysdeps/i386/fpu/libm-test-ulps: Update.
16951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16953 2014-02-18  Andreas Schwab  <schwab@suse.de>
16955         [BZ #16574]
16956         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16957         Store non-zero if the second buffer was newly allocated.
16958         (send_dg): Likewise.
16959         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16960         to send_vc and send_dg.
16961         (res_nsend): Pass NULL for ansp2_malloced.
16962         * resolv/res_query.c (__libc_res_nquery): Add parameter
16963         answerp2_malloced and pass it down to __libc_res_nsend.
16964         (res_nquery): Pass additional NULL to __libc_res_nquery.
16965         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16966         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16967         second answer buffer if answerp2_malloced was set.
16968         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16969         (__libc_res_nquerydomain): Add parameter
16970         answerp2_malloced and pass it down to __libc_res_nquery.
16971         (res_nquerydomain): Pass additional NULL to
16972         __libc_res_nquerydomain.
16973         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16974         additional NULL to __libc_res_nsend and __libc_res_nquery.
16975         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16976         additional NULL to __libc_res_nsearch.
16977         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16978         parameter of __libc_res_nsearch to check for separately allocated
16979         second buffer.
16980         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16981         __libc_res_nquery.
16982         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16983         additional NULL to __libc_res_nquery.
16984         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16985         __libc_res_nsearch.
16986         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16987         * include/resolv.h: Update prototypes of __libc_res_nquery,
16988         __libc_res_nsearch, __libc_res_nsend.
16990 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16992         * math/auto-libm-test-in: Add tests of fma.
16993         * math/auto-libm-test-out: Regenerated.
16994         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16995         (fma_towardzero_test_data): Likewise.
16996         (fma_downward_test_data): Likewise.
16997         (fma_upward_test_data): Likewise.
16998         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16999         mpc_mode.
17000         (rounding_modes): Add values for new field.
17001         (func_calc_method): Add value mpfr_fff_f.
17002         (func_calc_desc): Add mpfr_fff_f union field.
17003         (test_function): Add field exact_args.
17004         (FUNC): Add macro argument EXACT_ARGS.
17005         (FUNC_mpfr_f_f): Update call to FUNC.
17006         (FUNC_mpfr_f_f): Likewise.
17007         (FUNC_mpfr_ff_f): Likewise.
17008         (FUNC_mpfr_if_f): Likewise.
17009         (FUNC_mpc_c_f): Likewise.
17010         (FUNC_mpc_c_c): Likewise.
17011         (test_functions): Add fma.  Update calls to FUNC.
17012         (handle_input_arg): Add argument exact_args.
17013         (add_test): Update call to handle_input_arg.
17014         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17015         (output_for_one_input_case): Update call to calc_generic_results.
17016         Recalculate exact zero results in each rounding mode.
17018         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17019         non-negative before setting low bit.
17020         * math/auto-libm-test-in: Mark one asin test possibly having
17021         spurious underflow.
17022         * math/auto-libm-test-out: Regenerated.
17023         * sysdeps/i386/fpu/libm-test-ulps: Update.
17024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17026 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17028         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17029         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17030         ports/sysdeps/unix/sysv/linux/microblaze.
17031         * README: Add missing listing for microblaze*-*-linux-gnu.
17033 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17035         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17036         duplicate code
17038 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17040         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17041         * sysdeps/unix/sysv/linux/ia64: Move directory from
17042         ports/sysdeps/unix/sysv/linux/ia64.
17043         * README: Update listing for ia64-*-linux-gnu.
17045 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17046             Joseph Myers  <joseph@codesourcery.com>
17048         * Makeconfig (test-name): New variable.
17049         (evaluate-test): Likewise.
17050         * Makerules (do-test-clean): Remove .test-result files.
17051         (common-mostlyclean): Likewise.
17052         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17053         * scripts/evaluate-test.sh: New file.
17055 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17057         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17058         separate $(objpfx)tst-fopenloc-cmp.out and
17059         $(objpfx)tst-fopenloc-mem.out targets.
17060         (tests): Update dependencies.
17061         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17062         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17063         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17064         (tst-rxspencer-no-utf8-ARGS): New variable.
17065         (tst-rxspencer-no-utf8-ENV): Likewise.
17066         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17067         instead of $(objpfx)tst-rxspencer-mem.
17068         ($(objpfx)tst-rxspencer-mem): Change target to
17069         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17070         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17071         * posix/tst-rxspencer-no-utf8.c: New file.
17073         * elf/Makefile ($(objpfx)order.out): Remove rule.
17074         [$(run-built-tests) = yes] (tests): Depend on
17075         $(objpfx)order-cmp.out.
17076         ($(objpfx)order-cmp.out): New rule.
17077         [$(run-built-tests) = yes] (tests): Depend on
17078         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17079         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17080         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17081         $(objpfx)tst-array5-static-cmp.out.
17082         ($(objpfx)tst-array1.out): Remove rule.
17083         ($(objpfx)tst-array1-cmp.out): New rule.
17084         ($(objpfx)tst-array1-static.out): Remove rule.
17085         ($(objpfx)tst-array1-static-cmp.out): New rule.
17086         ($(objpfx)tst-array2.out): Remove rule.
17087         ($(objpfx)tst-array2-cmp.out): New rule.
17088         ($(objpfx)tst-array3.out): Remove rule.
17089         ($(objpfx)tst-array3-cmp.out): New rule.
17090         ($(objpfx)tst-array4.out): Remove rule.
17091         ($(objpfx)tst-array4-cmp.out): New rule.
17092         ($(objpfx)tst-array5.out): Remove rule.
17093         ($(objpfx)tst-array5-cmp.out): New rule.
17094         ($(objpfx)tst-array5-static.out): Remove rule.
17095         ($(objpfx)tst-array5-static-cmp.out): New rule.
17096         [$(run-built-tests) = yes] (tests): Depend on
17097         $(objpfx)order2-cmp.out.
17098         ($(objpfx)order2.out): Remove rule.
17099         ($(objpfx)order2-cmp.out): New rule.
17100         ($(objpfx)tst-initorder.out): Remove rule.
17101         [$(run-built-tests) = yes] (tests): Depend on
17102         $(objpfx)tst-initorder-cmp.out.
17103         ($(objpfx)tst-initorder-cmp.out): New rule.
17104         ($(objpfx)tst-initorder2.out): Remove rule.
17105         [$(run-built-tests) = yes] (tests): Depend on
17106         $(objpfx)tst-initorder2-cmp.out.
17107         ($(objpfx)tst-initorder2-cmp.out): New rule.
17108         [$(run-built-tests) = yes] (tests): Depend on
17109         $(objpfx)tst-unused-dep-cmp.out.
17110         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17111         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17112         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17113         on $(objpfx)tst-setvbuf1-cmp.out.
17114         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17115         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17116         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17117         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17118         ($(objpfx)tst-svc.out): Remove rule.
17119         ($(objpfx)tst-svc-cmp.out): New rule.
17121 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17123         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17124         * ctype/ctype.h [__USE_MISC]: Likewise.
17125         * dirent/dirent.h [__USE_MISC]: Likewise.
17126         * grp/grp.h [__USE_MISC]: Likewise.
17127         * io/fcntl.h [__USE_MISC]: Likewise.
17128         * io/sys/stat.h [__USE_MISC]: Likewise.
17129         * libio/stdio.h [__USE_MISC]: Likewise.
17130         * posix/unistd.h [__USE_MISC]: Likewise.
17131         * pwd/pwd.h [__USE_MISC]: Likewise.
17132         * stdlib.h [__USE_MISC]: Likewise.
17133         * string/bits/string2.h [__USE_MISC]: Likewise.
17134         * string/string.h [__USE_MISC]: Likewise.
17135         * time/time.h [__USE_MISC]: Likewise.
17137 2014-02-13  Andreas Schwab  <schwab@suse.de>
17139         [BZ #16574]
17140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17141         second answer buffer if it was separately allocated.
17143 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17145         * sysdeps/mips/math-tests.h: Include <features.h>.
17146         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17147         (ROUNDING_TESTS_long_double): Do not define.
17148         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17149         (EXCEPTION_TESTS_long_double): Likewise.
17150         * sysdeps/mips/mips64/libm-test-ulps: Update.
17152         * include/features.h (__USE_BSD): Remove macro definitions.
17153         (__USE_SVID): Likewise.
17154         (_BSD_SOURCE): Likewise.
17155         (_SVID_SOURCE): Likewise.
17156         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17157         from definition of _DEFAULT_SOURCE.
17158         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17159         [_DEFAULT_SOURCE].
17160         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17161         * bits/mman.h [__USE_BSD]: Likewise.
17162         * bits/termios.h [__USE_BSD]: Likewise.
17163         * bits/waitstatus.h [__USE_BSD]: Likewise.
17164         * ctype/ctype.h [__USE_SVID]: Likewise.
17165         * dirent/dirent.h [__USE_BSD]: Likewise.
17166         * grp/grp.h [__USE_SVID]: Likewise.
17167         [__USE_BSD]: Likewise.
17168         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17169         * io/fcntl.h [__USE_BSD]: Likewise.
17170         * io/ftw.h [__USE_BSD]: Likewise.
17171         * io/sys/stat.h [__USE_BSD]: Likewise.
17172         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17173         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17174         * libio/stdio.h [__USE_SVID]: Likewise.
17175         [__USE_BSD]: Likewise.
17176         * math/math.h [__USE_SVID]: Likewise.
17177         [__USE_BSD]: Likewise.
17178         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17179         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17180         * misc/search.h [__USE_SVID]: Likewise.
17181         * misc/sys/mman.h [__USE_BSD]: Likewise.
17182         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17183         * misc/sys/uio.h [__USE_BSD]: Likewise.
17184         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17185         * posix/glob.h [__USE_BSD]: Likewise.
17186         * posix/regex.h [__USE_BSD]: Likewise.
17187         * posix/sys/types.h [__USE_BSD]: Likewise.
17188         [__USE_SVID]: Likewise.
17189         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17190         * posix/sys/wait.h [__USE_BSD]: Likewise.
17191         [__USE_SVID]: Likewise.
17192         * posix/unistd.h [__USE_BSD]: Likewise.
17193         [__USE_SVID]: Likewise.
17194         * pwd/pwd.h [__USE_SVID]: Likewise.
17195         * resolv/netdb.h [__USE_BSD]: Likewise.
17196         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17197         * signal/signal.h [__USE_BSD]: Likewise.
17198         [__USE_SVID]: Likewise.
17199         * socket/sys/socket.h [__USE_BSD]: Likewise.
17200         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17201         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17202         [__USE_SVID]: Likewise.
17203         * string/bits/string2.h [__USE_BSD]: Likewise.
17204         [__USE_SVID]: Likewise.
17205         * string/bits/string3.h [__USE_BSD]: Likewise.
17206         * string/endian.h [__USE_BSD]: Likewise.
17207         * string/string.h [__USE_SVID]: Likewise.
17208         [__USE_BSD]: Likewise.
17209         * string/strings.h [__USE_BSD]: Likewise.
17210         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17211         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17212         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17213         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17214         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17215         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17216         Likewise.
17217         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17218         Likewise.
17219         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17220         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17221         Likewise.
17222         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17223         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17224         Likewise.
17225         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17226         Likewise.
17227         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17228         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17229         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17230         Likewise.
17231         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17232         Likewise.
17233         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17234         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17235         * termios/termios.h [__USE_BSD]: Likewise.
17236         * time/sys/time.h [__USE_BSD]: Likewise.
17237         * time/time.h [__USE_BSD]: Likewise.
17238         [__USE_SVID]: Likewise.
17240         * Makefile (subdir_targets): Remove subdir_lint.out.
17242         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17243         (do-tst-printf): Likewise.
17244         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17245         $(objpfx)tst-printf.out.
17247         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17249         * Makerules (check-abi-%): Change target to
17250         $(objpfx)check-abi-%.out.
17251         (check-abi target): Update dependencies.
17252         (check-abi-pattern variable): Redirect output of diff to $@.
17253         (check-abi variable): Likewise.
17254         * elf/Makefile (check-abi): Update dependencies.
17256         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17257         unused.
17258         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17259         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17260         subnormal range.
17261         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17262         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17263         value has largest subnormal exponent.
17264         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17265         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17266         * sysdeps/aarch64/soft-fp/sfp-machine.h
17267         (_FP_TININESS_AFTER_ROUNDING): New macro.
17268         * sysdeps/alpha/soft-fp/sfp-machine.h
17269         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17270         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17271         Likewise.
17272         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17273         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17274         * sysdeps/mips/soft-fp/sfp-machine.h
17275         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17276         * sysdeps/powerpc/soft-fp/sfp-machine.h
17277         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17278         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17279         Likewise.
17280         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17281         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17282         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17283         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17284         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17285         Likewise.
17287 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17289         [BZ #16545]
17290         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17291         model 1.
17293 2014-02-12  Richard Henderson  <rth@redhat.com>
17295         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17296         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17297         * sysdeps/unix/sysv/linux/alpha: Move directory from
17298         ports/sysdeps/unix/sysv/linux/alpha.
17299         * README: Update listing for alpha-*-linux-gnu.
17301 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17303         * include/features.h: Update comment documenting feature test
17304         macros.
17305         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17306         _DEFAULT_SOURCE.
17307         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17308         (_SVID_SOURCE): Likewise.
17309         (_DEFAULT_SOURCE): Update description of default features.
17310         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17311         with _GNU_SOURCE.
17312         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17313         (S_ISVTX): Likewise.
17314         * manual/math.texi (Mathematical Constants): Likewise.
17315         * manual/signal.texi (Interrupted Primitives): Likewise.
17316         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17317         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17318         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17319         Don't refer to _SVID_SOURCE in warning text.
17321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17323         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17324         already defined.
17325         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17326         * sysdeps/mips/dl-lookup.c: Remove.
17327         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17329 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17331         [BZ #16447]
17332         * math/auto-libm-test-in: Add testcase for expl.
17333         * math/auto-libm-test-out: Regenerate.
17334         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17335         calculation of unsafe.
17336         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17338 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17340         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17341         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17342         ports/sysdeps/unix/sysv/linux/aarch64.
17343         * README: Update listing for aarch64*-*-linux-gnu.
17345 2014-02-11  Will Newton  <will.newton@linaro.org>
17347         * manual/probes.texi (Mathematical Function Probes): Use
17348         "triggered" instead of "hit".
17350         * manual/probes.texi (Internal Probes): Add documentation
17351         of setjmp, longjmp and longjmp_target probes.
17353         * include/stap-probe.h: Add comment about probe argument
17354         format.
17356         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17357         definition.  (tr_where, tr_freehook, tr_mallochook,
17358         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17360 2014-02-11  David S. Miller  <davem@davemloft.net>
17362         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17363         processing int_tests.
17365 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17367         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17368         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17369         * sysdeps/unix/sysv/linux/mips: Move directory from
17370         ports/sysdeps/unix/sysv/linux/mips.
17371         * README: Update listing for mips-*-linux-gnu and
17372         mips64-*-linux-gnu.
17374 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17376         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17377         * sysdeps/unix/sysv/linux/m68k: Move directory from
17378         ports/sysdeps/unix/sysv/linux/m68k.
17379         * README: Update listing for m68k-*-linux-gnu.
17381 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17383         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17384         * sysdeps/unix/sysv/linux/generic: Move directory from
17385         ports/sysdeps/unix/sysv/linux/generic.
17386         * sysdeps/unix/sysv/linux/tile: Move directory from
17387         ports/sysdeps/unix/sysv/linux/tile.
17388         * README: Update listing for tile*-*-linux-gnu.
17390 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17392         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17393         __builtin_expect.
17394         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17395         * catgets/open_catalog.c (__open_catalog): Likewise.
17396         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17397         * debug/confstr_chk.c: Likewise.
17398         * debug/fread_chk.c (__fread_chk): Likewise.
17399         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17400         * debug/getgroups_chk.c: Likewise.
17401         * debug/mbsnrtowcs_chk.c: Likewise.
17402         * debug/mbsrtowcs_chk.c: Likewise.
17403         * debug/mbstowcs_chk.c: Likewise.
17404         * debug/memcpy_chk.c: Likewise.
17405         * debug/memmove_chk.c: Likewise.
17406         * debug/mempcpy_chk.c: Likewise.
17407         * debug/memset_chk.c: Likewise.
17408         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17409         * debug/strcat_chk.c (__strcat_chk): Likewise.
17410         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17411         * debug/strncat_chk.c (__strncat_chk): Likewise.
17412         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17413         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17414         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17415         * debug/wcpncpy_chk.c: Likewise.
17416         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17417         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17418         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17419         * debug/wcsncpy_chk.c: Likewise.
17420         * debug/wcsnrtombs_chk.c: Likewise.
17421         * debug/wcsrtombs_chk.c: Likewise.
17422         * debug/wcstombs_chk.c: Likewise.
17423         * debug/wmemcpy_chk.c: Likewise.
17424         * debug/wmemmove_chk.c: Likewise.
17425         * debug/wmempcpy_chk.c: Likewise.
17426         * debug/wmemset_chk.c: Likewise.
17427         * dirent/scandirat.c (SCANDIRAT): Likewise.
17428         * dlfcn/dladdr1.c (dladdr1): Likewise.
17429         * dlfcn/dladdr.c (dladdr): Likewise.
17430         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17431         * dlfcn/dlerror.c (__dlerror): Likewise.
17432         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17433         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17434         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17435         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17436         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17437         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17438         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17439         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17440         Likewise.
17441         * elf/dl-conflict.c: Likewise.
17442         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17443         * elf/dl-dst.h: Likewise.
17444         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17445         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17446         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17447         * elf/dl-init.c (call_init, _dl_init): Likewise.
17448         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17449         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17450         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17451         Likewise.
17452         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17453         Likewise.
17454         * elf/dl-minimal.c (__libc_memalign): Likewise.
17455         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17456         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17457         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17458         * elf/dl-sym.c (do_sym): Likewise.
17459         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17460         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17461         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17462         * elf/dl-writev.h (_dl_writev): Likewise.
17463         * elf/ldconfig.c (search_dir): Likewise.
17464         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17465         (dl_main): Likewise.
17466         * elf/setup-vdso.h (setup_vdso): Likewise.
17467         * grp/compat-initgroups.c (compat_call): Likewise.
17468         * grp/fgetgrent.c (fgetgrent): Likewise.
17469         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17470         * grp/putgrent.c (putgrent): Likewise.
17471         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17472         Likewise.
17473         * hurd/hurdinit.c: Likewise.
17474         * iconvdata/8bit-gap.c (struct): Likewise.
17475         * iconvdata/ansi_x3.110.c : Likewise.
17476         * iconvdata/big5.c : Likewise.
17477         * iconvdata/big5hkscs.c : Likewise.
17478         * iconvdata/cp1255.c: Likewise.
17479         * iconvdata/cp1258.c : Likewise.
17480         * iconvdata/cp932.c : Likewise.
17481         * iconvdata/euc-cn.c: Likewise.
17482         * iconvdata/euc-jisx0213.c : Likewise.
17483         * iconvdata/euc-jp.c: Likewise.
17484         * iconvdata/euc-jp-ms.c : Likewise.
17485         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17486         * iconvdata/gb18030.c : Likewise.
17487         * iconvdata/gbbig5.c (const): Likewise.
17488         * iconvdata/gbgbk.c: Likewise.
17489         * iconvdata/gbk.c : Likewise.
17490         * iconvdata/ibm1364.c : Likewise.
17491         * iconvdata/ibm930.c : Likewise.
17492         * iconvdata/ibm932.c: Likewise.
17493         * iconvdata/ibm933.c : Likewise.
17494         * iconvdata/ibm935.c : Likewise.
17495         * iconvdata/ibm937.c : Likewise.
17496         * iconvdata/ibm939.c : Likewise.
17497         * iconvdata/ibm943.c: Likewise.
17498         * iconvdata/iso_11548-1.c: Likewise.
17499         * iconvdata/iso-2022-cn.c : Likewise.
17500         * iconvdata/iso-2022-cn-ext.c : Likewise.
17501         * iconvdata/iso-2022-jp-3.c: Likewise.
17502         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17503         * iconvdata/iso-2022-kr.c : Likewise.
17504         * iconvdata/iso646.c (gconv_end): Likewise.
17505         * iconvdata/iso_6937-2.c : Likewise.
17506         * iconvdata/iso_6937.c : Likewise.
17507         * iconvdata/iso8859-1.c: Likewise.
17508         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17509         * iconvdata/shift_jisx0213.c : Likewise.
17510         * iconvdata/sjis.c : Likewise.
17511         * iconvdata/t.61.c : Likewise.
17512         * iconvdata/tcvn5712-1.c : Likewise.
17513         * iconvdata/tscii.c: Likewise.
17514         * iconvdata/uhc.c : Likewise.
17515         * iconvdata/unicode.c (gconv_end): Likewise.
17516         * iconvdata/utf-16.c (gconv_end): Likewise.
17517         * iconvdata/utf-32.c (gconv_end): Likewise.
17518         * iconvdata/utf-7.c (base64): Likewise.
17519         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17520         * iconv/gconv_close.c (__gconv_close): Likewise.
17521         * iconv/gconv_open.c (__gconv_open): Likewise.
17522         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17523         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17524         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17525         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17526         (ucs4le_internal_loop_single): Likewise.
17527         * iconv/iconv.c (iconv): Likewise.
17528         * iconv/iconv_close.c: Likewise.
17529         * iconv/loop.c (SINGLE): Likewise.
17530         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17531         * include/atomic.h: Likewise.
17532         * inet/inet6_option.c (option_alloc): Likewise.
17533         * intl/bindtextdom.c (set_binding_values): Likewise.
17534         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17535         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17536         * intl/localealias.c (read_alias_file): Likewise.
17537         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17538         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17539         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17540         * libio/fmemopen.c (fmemopen): Likewise.
17541         * libio/iofgets.c (_IO_fgets): Likewise.
17542         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17543         * libio/iofgetws.c (fgetws): Likewise.
17544         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17545         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17546         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17547         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17548         * locale/findlocale.c (_nl_find_locale): Likewise.
17549         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17550         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17551         Likewise.
17552         * locale/setlocale.c (setlocale): Likewise.
17553         * login/programs/pt_chown.c (main): Likewise.
17554         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17555         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17556         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17557         (mmap, mmap64, mremap, munmap): Likewise.
17558         * math/e_exp2l.c: Likewise.
17559         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17560         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17561         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17562         * math/s_catan.c (__catan): Likewise.
17563         * math/s_catanf.c (__catanf): Likewise.
17564         * math/s_catanh.c (__catanh): Likewise.
17565         * math/s_catanhf.c (__catanhf): Likewise.
17566         * math/s_catanhl.c (__catanhl): Likewise.
17567         * math/s_catanl.c (__catanl): Likewise.
17568         * math/s_ccosh.c (__ccosh): Likewise.
17569         * math/s_ccoshf.c (__ccoshf): Likewise.
17570         * math/s_ccoshl.c (__ccoshl): Likewise.
17571         * math/s_cexp.c (__cexp): Likewise.
17572         * math/s_cexpf.c (__cexpf): Likewise.
17573         * math/s_cexpl.c (__cexpl): Likewise.
17574         * math/s_clog10.c (__clog10): Likewise.
17575         * math/s_clog10f.c (__clog10f): Likewise.
17576         * math/s_clog10l.c (__clog10l): Likewise.
17577         * math/s_clog.c (__clog): Likewise.
17578         * math/s_clogf.c (__clogf): Likewise.
17579         * math/s_clogl.c (__clogl): Likewise.
17580         * math/s_csin.c (__csin): Likewise.
17581         * math/s_csinf.c (__csinf): Likewise.
17582         * math/s_csinh.c (__csinh): Likewise.
17583         * math/s_csinhf.c (__csinhf): Likewise.
17584         * math/s_csinhl.c (__csinhl): Likewise.
17585         * math/s_csinl.c (__csinl): Likewise.
17586         * math/s_csqrt.c (__csqrt): Likewise.
17587         * math/s_csqrtf.c (__csqrtf): Likewise.
17588         * math/s_csqrtl.c (__csqrtl): Likewise.
17589         * math/s_ctan.c (__ctan): Likewise.
17590         * math/s_ctanf.c (__ctanf): Likewise.
17591         * math/s_ctanh.c (__ctanh): Likewise.
17592         * math/s_ctanhf.c (__ctanhf): Likewise.
17593         * math/s_ctanhl.c (__ctanhl): Likewise.
17594         * math/s_ctanl.c (__ctanl): Likewise.
17595         * math/w_pow.c: Likewise.
17596         * math/w_powf.c: Likewise.
17597         * math/w_powl.c: Likewise.
17598         * math/w_scalb.c (sysv_scalb): Likewise.
17599         * math/w_scalbf.c (sysv_scalbf): Likewise.
17600         * math/w_scalbl.c (sysv_scalbl): Likewise.
17601         * misc/error.c (error_tail): Likewise.
17602         * misc/pselect.c (__pselect): Likewise.
17603         * nis/nis_callback.c (__nis_create_callback): Likewise.
17604         * nis/nis_call.c (__nisfind_server): Likewise.
17605         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17606         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17607         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17608         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17609         * nis/nis_lookup.c (nis_lookup): Likewise.
17610         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17611         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17612         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17613         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17614         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17615         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17616         * nis/nss_compat/compat-initgroups.c (add_group)
17617         (internal_getgrent_r): Likewise.
17618         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17619         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17620         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17621         (internal_getspnam_r): Likewise.
17622         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17623         (_nss_nis_getaliasbyname_r): Likewise.
17624         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17625         (_nss_nis_getntohost_r): Likewise.
17626         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17627         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17628         (_nss_nis_getgrgid_r): Likewise.
17629         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17630         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17631         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17632         (_nss_nis_gethostbyname4_r): Likewise.
17633         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17634         (initgroups_netid): Likewise.
17635         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17636         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17637         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17638         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17639         (_nss_nis_getprotobynumber_r): Likewise.
17640         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17641         (_nss_nis_getsecretkey): Likewise.
17642         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17643         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17644         (_nss_nis_getpwuid_r): Likewise.
17645         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17646         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17647         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17648         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17649         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17650         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17651         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17652         Likewise.
17653         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17654         (_nss_nisplus_getntohost_r): Likewise.
17655         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17656         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17657         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17658         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17659         Likewise.
17660         * nis/nss_nisplus/nisplus-initgroups.c
17661         (_nss_nisplus_initgroups_dyn): Likewise.
17662         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17663         (_nss_nisplus_getnetbyaddr_r): Likewise.
17664         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17665         (_nss_nisplus_getprotobynumber_r): Likewise.
17666         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17667         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17668         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17669         Likewise.
17670         * nis/nss_nisplus/nisplus-service.c
17671         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17672         (_nss_nisplus_getservbyport_r): Likewise.
17673         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17674         (_nss_nisplus_getspnam_r): Likewise.
17675         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17676         Likewise.
17677         * nscd/aicache.c (addhstaiX): Likewise.
17678         * nscd/cache.c (cache_search, prune_cache): Likewise.
17679         * nscd/connections.c (register_traced_file, send_ro_fd)
17680         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17681         (main_loop_epoll): Likewise.
17682         * nscd/grpcache.c (addgrbyX): Likewise.
17683         * nscd/hstcache.c (addhstbyX): Likewise.
17684         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17685         * nscd/mem.c (gc, mempool_alloc): Likewise.
17686         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17687         (addinnetgrX): Likewise.
17688         * nscd/nscd-client.h (__nscd_acquire_maplock)
17689         (__nscd_drop_map_ref): Likewise.
17690         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17691         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17692         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17693         Likewise.
17694         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17695         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17696         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17697         (__nscd_get_map_ref): Likewise.
17698         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17699         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17700         Likewise.
17701         * nscd/pwdcache.c (addpwbyX): Likewise.
17702         * nscd/selinux.c (preserve_capabilities): Likewise.
17703         * nscd/servicescache.c (addservbyX): Likewise.
17704         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17705         * posix/fnmatch.c (fnmatch): Likewise.
17706         * posix/getopt.c (_getopt_internal_r): Likewise.
17707         * posix/glob.c (glob, glob_in_dir): Likewise.
17708         * posix/wordexp.c (exec_comm_child): Likewise.
17709         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17710         (getanswer_r, gaih_getanswer_slice): Likewise.
17711         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17712         * resolv/res_init.c: Likewise.
17713         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17714         * resolv/res_query.c (__libc_res_nquery): Likewise.
17715         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17716         Likewise.
17717         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17718         * stdio-common/perror.c (perror): Likewise.
17719         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17720         * stdio-common/tmpnam.c (tmpnam): Likewise.
17721         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17722         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17723         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17724         Likewise.
17725         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17726         * stdlib/putenv.c (putenv): Likewise.
17727         * stdlib/setenv.c (__add_to_environ): Likewise.
17728         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17729         * stdlib/strtol_l.c (INTERNAL): Likewise.
17730         * string/memmem.c (memmem): Likewise.
17731         * string/strerror.c (strerror): Likewise.
17732         * string/strnlen.c (__strnlen): Likewise.
17733         * string/test-memmem.c (simple_memmem): Likewise.
17734         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17735         * sunrpc/pm_getport.c (__get_socket): Likewise.
17736         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17737         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17738         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17739         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17740         Likewise.
17741         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17742         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17743         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17744         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17745         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17746         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17747         Likewise.
17748         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17749         Likewise.
17750         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17751         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17752         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17753         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17754         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17755         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17756         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17757         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17758         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17759         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17760         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17761         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17762         Likewise.
17763         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17764         Likewise.
17765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17766         Likewise.
17767         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17768         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17769         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17770         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17771         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17772         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17773         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17775         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17776         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17777         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17779         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17780         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17782         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17783         Likewise.
17784         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17785         Likewise.
17786         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17787         Likewise.
17788         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17789         Likewise.
17790         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17792         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17793         Likewise.
17794         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17795         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17796         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17797         * sysdeps/posix/sleep.c: Likewise.
17798         * sysdeps/posix/tempname.c: Likewise.
17799         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17800         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17801         Likewise.
17802         * sysdeps/powerpc/powerpc32/dl-machine.h
17803         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17804         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17805         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17806         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17807         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17808         Likewise.
17809         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17810         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17811         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17812         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17813         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17814         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17815         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17816         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17817         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17818         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17819         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17820         (elf_machine_lazy_rel): Likewise.
17821         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17823         (elf_machine_lazy_rel): Likewise.
17824         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17825         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17826         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17827         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17828         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17829         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17830         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17832         Likewise.
17833         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17834         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17835         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17836         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17837         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17838         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17839         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17840         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17841         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17842         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17843         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17844         Likewise.
17845         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17846         (__posix_fallocate64_l64): Likewise.
17847         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17848         (posix_fallocate): Likewise.
17849         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17850         Likewise.
17851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17852         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17853         (getifaddrs_internal): Likewise.
17854         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17855         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17856         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17857         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17858         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17859         (__posix_fallocate64_l64): Likewise.
17860         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17861         Likewise.
17862         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17863         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17864         (__get_clockfreq): Likewise.
17865         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17866         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17867         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17870         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17871         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17872         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17873         Likewise.
17874         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17875         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17876         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17877         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17878         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17879         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17880         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17881         Likewise.
17882         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17883         (posix_fallocate): Likewise.
17884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17885         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17886         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17887         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17888         (elf_machine_rela, elf_machine_rela_relative)
17889         (elf_machine_lazy_rel): Likewise.
17890         * time/asctime.c (asctime_internal): Likewise.
17891         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17892         * time/tzset.c (__tzset_parse_tz): Likewise.
17893         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17894         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17895         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17896         * wcsmbs/wcsmbsload.h: Likewise.
17898         [BZ #15894]
17899         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17901         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17902         (arena_get2): Remove THREAD_STATS conditionals.
17903         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17904         (__malloc_stats, int): Likewise.
17906 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17908         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17909         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17911         * manual/setjmp.texi: Fix typos/grammar errors.
17913         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17914         Only return early when n is <= 0.  Delete unused return statement.
17916         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17917         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17918         * debug/tst-longjmp_chk3.c: New file.
17920         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17921         (test_main): Replace code with set_fortify_handler call.
17922         * debug/test-strcpy_chk.c: Likewise.
17923         * debug/tst-chk1.c: Likewise.
17924         * debug/tst-longjmp_chk.c: Likewise.
17925         * test-skeleton.c: Include fcntl.h & paths.h
17926         (set_fortify_handler): Define.
17928         * debug/tst-longjmp_chk.c: Add header comment and include
17929         ../test-skeleton.c.
17930         (do_test): Mark static.
17931         (TEST_FUNCTION): Define.
17933         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17934         (IP_PMTUDISC_INTERFACE): Likewise.
17935         (IP_MULTICAST_IF): Likewise.
17936         (IP_MULTICAST_TTL): Likewise.
17937         (IP_MULTICAST_LOOP): Likewise.
17938         (IP_ADD_MEMBERSHIP): Likewise.
17939         (IP_DROP_MEMBERSHIP): Likewise.
17940         (IP_UNBLOCK_SOURCE): Likewise.
17941         (IP_BLOCK_SOURCE): Likewise.
17942         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17943         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17944         (IP_MSFILTER): Likewise.
17945         (MCAST_JOIN_GROUP): Likewise.
17946         (MCAST_BLOCK_SOURCE): Likewise.
17947         (MCAST_UNBLOCK_SOURCE): Likewise.
17948         (MCAST_LEAVE_GROUP): Likewise.
17949         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17950         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17951         (MCAST_MSFILTER): Likewise.
17952         (IP_MULTICAST_ALL): Likewise.
17953         (IP_UNICAST_IF): Likewise.
17955         * timezone/Makefile: Delete $(have-ksh) check.
17956         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17957         * timezone/tzselect.ksh: Add +x mode bits.
17959         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17960         (ANON_INODE_FS_MAGIC): Likewise.
17961         (BDEVFS_MAGIC): Likewise.
17962         (BINFMTFS_MAGIC): Likewise.
17963         (BTRFS_TEST_MAGIC): Likewise.
17964         (CRAMFS_MAGIC_WEND): Likewise.
17965         (DEBUGFS_MAGIC): Likewise.
17966         (ECRYPTFS_SUPER_MAGIC): Likewise.
17967         (EXT3_SUPER_MAGIC): Likewise.
17968         (EXT4_SUPER_MAGIC): Likewise.
17969         (FUTEXFS_SUPER_MAGIC): Likewise.
17970         (HOSTFS_SUPER_MAGIC): Likewise.
17971         (HUGETLBFS_MAGIC): Likewise.
17972         (MINIX3_SUPER_MAGIC): Likewise.
17973         (MTD_INODE_FS_MAGIC): Likewise.
17974         (NILFS_SUPER_MAGIC): Likewise.
17975         (OPENPROM_SUPER_MAGIC): Likewise.
17976         (PIPEFS_MAGIC): Likewise.
17977         (PSTOREFS_MAGIC): Likewise.
17978         (QNX6_SUPER_MAGIC): Likewise.
17979         (RAMFS_MAGIC): Likewise.
17980         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17981         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17982         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17983         (SECURITYFS_MAGIC): Likewise.
17984         (SELINUX_MAGIC): Likewise.
17985         (SMACK_MAGIC): Likewise.
17986         (SOCKFS_MAGIC): Likewise.
17987         (SQUASHFS_MAGIC): Likewise.
17988         (STACK_END_MAGIC): Likewise.
17989         (TMPFS_MAGIC): Likewise.
17990         (USBDEVICE_SUPER_MAGIC): Likewise.
17991         (V9FS_MAGIC): Likewise.
17992         (XENFS_SUPER_MAGIC): Likewise.
17993         (CRAMFS_MAGIC): Fix typo in comment.
17994         (EXT2_SUPER_MAGIC): Update comment.
17995         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17997 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17999         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18000         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18001         * sysdeps/unix/sysv/linux/arm: Move directory from
18002         ports/sysdeps/unix/sysv/linux/arm.
18003         * README: Update listing for arm-*-linux-gnueabi.
18005         * README: Remove mention of am33.
18007 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18009         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18010         than the comma operator, to avoid "rhs of comma has no effect"
18011         compiler warnings.
18012         (__sigfillset, __sigandset, __sigorset): Likewise.
18013         * include/signal.h (__sigemptyset): Likewise.
18014         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18016 2014-02-07  Allan McRae  <allan@archlinux.org>
18018         * version.h (RELEASE): Set to "development".
18019         (VERSION): Set to "2.19.90"
18020         * NEWS: Add 2.20 section.
18022 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18024         [BZ #16529]
18025         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18027 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18029         * manual/contrib.texi: Update entry for Carlos O'Donell,
18030         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18032 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18034         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18036         * sysdeps/unix/sysv/linux/kernel-features.h
18037         [__LINUX_KERNEL_VERSION >= 0x020621]
18038         (__ASSUME_PROC_PID_TASK_COMM): Define.
18040 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18042         [BZ #16398]
18043         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18044         conversion when destination buffer does not have enough space.
18045         * libio/tst-ftell-partial-wide.c: New test case.
18046         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18048         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18049         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18050         Leonard and Allan McRae.
18052 2014-02-04  David S. Miller  <davem@davemloft.net>
18054         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18055         32-bit.
18057 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18060         New file
18061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18062         New file
18063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18064         New file.
18065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18066         New file.
18067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18068         New file.
18069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18070         New file.
18071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18072         New file.
18073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18074         New file.
18075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18076         New file.
18077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18078         New file.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18080         New file.
18081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18082         New file.
18083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18084         New file.
18086 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18088         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18089         * shlib-versions: Likewise.
18091 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18092             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18094         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18095         (abilist-pattern): New variable, set to %-le.abilist.
18097         * Makerules (abilist-pattern): New variable.
18098         (vpath): Use $(abilist-pattern) in place of %.abilist.
18099         (check-abi-% pattern rule): Likewise.
18100         (check-abi, update-abi): Likewise.
18102 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18106 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18108         * manual/startup.texi: Add next, previous, and top entries for
18109         the `Program Arguments' and `Environment Variables' nodes.
18111 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18113         * manual/macros.texi: Add comments before MTASC-safety macros.
18115         * manual/users.texi: Document MTASC-safety properties.
18117         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18118         (pthread_getspecific, pthread_setspecific): Format with
18119         @deftypefun, and add @safety note.
18120         * manual/signal.texi: Move comments that analyze the above
18121         functions to their home place.
18123 2014-02-03  Allan McRae  <allan@archlinux.org>
18125         * po/sl.po: Update Slovenian translation from translation project.
18127 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18129         * manual/time.texi (timegm): Add missing blank after @c.
18130         Reported by Joseph Myers <joseph@codesourcery.com>.
18132 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18134         * manual/check-safety.sh: New.
18135         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18137         * manual/terminal.texi: Document MTASC-safety properties.
18139         * manual/filesys.texi: Document MTASC-safety properties.
18141         * manual/errno.texi: Document MTASC-safety properties.
18143         * manual/intro.texi: Document safety identifiers and
18144         conditionals.
18146         * manual/string.texi (wcstok): Fix prototype.
18147         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18149         * manual/time.texi: Document MTASC-safety properties.
18151         * manual/string.texi: Document MTASC-safety properties.
18153         * manual/threads.texi: Document MTASC-safety properties.
18155         * manual/stdio.texi: Document MTASC-safety properties.
18157         * manual/syslog.texi: Document MTASC-safety properties.
18159         * manual/sysinfo.texi: Document MTASC-safety properties.
18161         * manual/startup.texi: Document MTASC-safety properties.
18163         * manual/socket.texi: Document MTASC-safety properties.
18165         * manual/signal.texi: Document MTASC-safety properties.
18167 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18169         * manual/setjmp.texi: Document MTASC-safety properties.
18171         * manual/search.texi: Document MTASC-safety properties.
18173         * manual/resource.texi: Document MTASC-safety properties.
18175         * manual/process.texi: Document MTASC-safety properties.
18177         * manual/platform.texi: Document MTASC-safety properties.
18179         * manual/pipe.texi: Document MTASC-safety properties.
18181         * manual/pattern.texi: Document MTASC-safety properties.
18183         * manual/message.texi: Document MTASC-safety properties.
18185         [BZ #12751]
18186         * manual/memory.texi: Document MTASC-safety properties.
18188         * manual/math.texi: Document MTASC-safety properties.
18190         * manual/locale.texi: Document MTASC-safety properties.
18192         * manual/llio.texi: Document MTASC-safety properties.
18194         * manual/libdl.texi: New.
18196         * manual/lang.texi: Document MTASC-safety properties.
18198         * manual/job.texi: Document MTASC-safety properties.
18200         * manual/getopt.texi: Document MTASC-safety properties.
18202         * manual/ctype.texi: Document MTASC-safety properties.
18204 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18206         [BZ #16046]
18207         * csu/libc-tls.c (static_map): Remove variable.
18208         (__libc_setup_tls): Use main executable's link map for TLS data.
18209         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18210         casing for LM_ID_BASE and GL(dl_nns).
18211         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18212         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18213         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18214         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18215         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18216         member.
18217         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18218         l_phnum members.
18220 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18222         * manual/debug.texi: Document MTASC-safety properties.
18224 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18226         [BZ #16510]
18227         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18228         of __x86_64__ when disabling x87 inline functions.
18230 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18232         * manual/charset.texi: Document MTASC-safety properties.
18234         * manual/crypt.texi: Document MTASC-safety properties.
18236         * manual/conf.texi: Document MTASC-safety properties.
18238         * manual/arith.texi: Document MTASC-safety properties.
18240         * manual/argp.texi: Document MTASC-safety properties.
18242         * manual/macros.texi: Introduce macros to document multi
18243         thread, asynchronous signal and asynchronous cancellation
18244         safety properties.
18245         * manual/intro.texi: Introduce the properties themselves.
18247 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18249         * sysdeps/sh/sh4/Makefile: New file.
18251 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18253         * math/gen-libm-test.pl ($srcdir): New variable.
18254         ($auto_input): Use it.
18256 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18258         [BZ #16506]
18259         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18260         access beyond array bounds when parsing netgroups file.
18262         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18263         the old buffer before realloc.
18265 2014-01-27  Allan McRae  <allan@archlinux.org>
18267         * po/fr.po: Update French translation from translation project.
18269 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18271         * sysdeps/sh/libm-test-ulps: Regenerate.
18273 2014-01-24  David S. Miller  <davem@davemloft.net>
18275         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18277 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18279         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18280         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18282 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18284         [BZ #16474]
18285         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18286         string pointers after reallocation.
18288 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18290         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18291         __SH4A__ instead of __SH_FPU_ANY__.
18293 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18295         * sysdeps/sh/fpu_control.h: New file.
18296         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18297         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18298         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18299         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18300         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18301         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18302         * sysdeps/sh/sys/ucontext.h: Remove.
18303         * sysdeps/sh/sys: Remove directory.
18305 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18307         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18308         s390/sys/ucontext.h.
18309         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18310         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18312 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18314         [BZ #15605]
18315         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18317 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18319         [BZ#16431]
18320         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18321         Adjust the vDSO correctly for internal calls.
18322         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18324 2014-01-20  Allan McRae  <allan@archlinux.org>
18326         * po/ca.po: Update Catalan translation from translation project.
18328 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18330         * sysdeps/s390/sotruss-lib.c: New file.
18332 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18334         [BZ#16430]
18335         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18336         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18337         local calls issues by not having a PLT stub required for IFUNC calls.
18338         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18340 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18342         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18343         * math/test-fpucw-static.c: Likewise.
18345 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18347         [BZ #16453]
18348         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18350 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18352         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18353         implementation for powerpc.
18355 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18357         [BZ #14782]
18358         * sysdeps/posix/system.c (__libc_system): Do not enable
18359         asynchronous cancellation.
18361 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18363         [BZ #16427]
18364         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18365         handling only for numbers special also in the IEEE case.
18367 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18369         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18371 2014-01-11  Allan McRae  <allan@archlinux.org>
18373         * po/bg.po: Update Bulgarian translation from translation project.
18375         * po/de.po: Update German translation from translation project.
18377 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18379         * sysdeps/generic/gcc-compat.h: New file.
18381 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18383         * benchtests/asin-inputs: Correct slow inputs.
18384         * benchtests/acos-inputs: Likewise.
18386 2014-01-10  Allan McRae  <allan@archlinux.org>
18388         * po:sv.po: Update Swedish translation from translation project.
18390         * po/vi.po: Update Vietnamese translation from translation project.
18392         * po/eo.po: Update Esperanto translation from translation project.
18394         * po/cs.po: Update Czech translation from translation project.
18396         * po/nl.po: Update Dutch translation from translation project.
18398         * po/pl.po: Update Polish translation from translation project.
18400         * po/ru.po: Update Russian translation from translation project.
18402         * po/uk.po: Update Ukrainian translation from translation project.
18404 2014-01-08  Brooks Moses  <bmoses@google.com>
18406         * elf/dl-load.c: Fix comment typo.
18408 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18410         * po/header.pot: Rename to...
18411         * po/pot.header: ... this.
18412         * po/Makefile: Use pot.header.
18414 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18415             Maxim Kuvyrkov  <maxim@kugelworks.com>
18417         [BZ #16394]
18418         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18419         SRC and DEST against LEN.
18421 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18423         [BZ #16414]
18424         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18425         implementation.
18426         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18428 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18432 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18434         [BZ #16408]
18435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18436         for large positive arguments.
18438 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18440         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18442         * math/auto-libm-test-in: Mark various tests with
18443         xfail-rounding:ldbl-128ibm.
18444         * math/auto-libm-test-out: Regenerated.
18446         [BZ #16407]
18447         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18448         Increase overflow threshold.
18450 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18452         [BZ #14286]
18453         * stdio-common/vfprintf.c: Check for integer overflow.
18455 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18457         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18458         the first argument and return value of __tls_get_addr_internal.
18460 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18462         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18463         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18465 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18467         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18468         * sysdeps/s390/rtld-global-offsets.sym: New file.
18469         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18470         GLIBC_2.19 symbol.
18471         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18472         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18473         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18474         ... this.
18475         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18476         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18477         ... this.
18478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18479         Regenerate.
18480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18481         Regenerate.
18482         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18483         halfs of GPRs for high_gprs contexts.
18484         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18485         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18486         field.
18487         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18488         uc_flags field.
18489         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18490         64 bit versions:
18491         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18492         for high GPRs (uc_high_gprs) and for future extensions
18493         (__reserved).
18494         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18495         for future extensions (__reserved).
18496         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18497         64 bit versions:
18498         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18499         SC_HIGHGPRS offset definition.
18500         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18501         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18503         * Versions.def: Add GLIBC_2.19 for libpthread.
18504         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18505         siglongjmp for libpthread with GLIBC_2.19 symver.
18506         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18507         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18508         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18509         * sysdeps/s390/__longjmp.c: New file.
18510         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18511         * sysdeps/s390/longjmp.c: New file.
18512         * sysdeps/s390/setjmp.S: New file.
18513         * sysdeps/s390/sigjmp.S: New file.
18514         * sysdeps/s390/v1-longjmp.c: New file.
18515         * sysdeps/s390/v1-setjmp.h: New file.
18516         * sysdeps/s390/v1-sigjmp.c: New file.
18517         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18518         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18519         GLIBC_2.19 version.
18520         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18521         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18522         versioned symbols for ____longjmp_chk.
18523         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18524         Likewise.
18525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18526         Regenerate.
18527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18528         Regenerate.
18529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18530         Regenerate.
18531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18532         Regenerate.
18533         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18534         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18535         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18536         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18537         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18538         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18539         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18540         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18541         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18542         * sysdeps/s390/rtld-__longjmp.c: New file.
18543         * sysdeps/s390/rtld-setjmp.S: New file.
18545 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18547         [BZ #16400]
18548         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18549         Return -__logl (x) for small positive arguments without evaluating
18550         a polynomial.
18552 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18554         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18555         Rename to ...
18556         (__ptrace_peeksiginfo_args): ... this.
18557         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18558         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18559         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18561 2014-01-06  Allan McRae  <allan@archlinux.org>
18563         * inet/netinet/in.h: Fix typo in comment.
18565 2014-01-05  Andreas Jaeger  <aj@suse.de>
18567         * sysdeps/i386/fpu/libm-test-ulps: Update.
18569 2014-01-05  Allan McRae  <allan@archlinux.org>
18571         * po/libc.pot: Regenerated.
18573         * malloc/memusagestat.c: Fix gettext call formatting.
18575 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18577         * nscd/nscd.c: Improve usage() output.
18579 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18581         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18582         * sysdeps/unix/sysv/linux/configure: Regenerated.
18583         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18584         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18586 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18588         [BZ #16390]
18589         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18590         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18592 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18594         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18595         extra tokens at end of #undef directive.
18596         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18597         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18598         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18600 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18602         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18604         * math/auto-libm-test-in: Mark various tests with
18605         xfail-rounding:ldbl-128ibm.
18606         * math/auto-libm-test-out: Regenerated.
18608 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18610         [BZ #16386]
18611         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18612         numbers with subnormal high part when calculating exponent.
18614         [BZ #16385]
18615         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18616         fabs.
18618         [BZ #16384]
18619         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18620         M_LN2l.
18621         (__ieee754_acoshl): Use __log1pl not __log1p.
18623 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18625         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18626         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18627         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18628         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18629         (reused_arena, arena_get2): Convert to GNU style.
18630         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18631         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18632         (memalign_check, __malloc_set_state): Likewise.
18633         * malloc/mallocbug.c (main): Likewise.
18634         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18635         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18636         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18637         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18638         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18639         (__posix_memalign, malloc_info): Likewise.
18640         * malloc/malloc.h: Likewise.
18641         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18642         (mallochook, memalignhook, reallochook, mabort): Likewise.
18643         * malloc/mcheck.h: Likewise.
18644         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18645         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18646         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18647         * malloc/morecore.c (__default_morecore): Likewise.
18648         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18649         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18650         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18651         (print_and_abort): Likewise.
18652         * malloc/obstack.h: Likewise.
18653         * malloc/set-freeres.c (__libc_freeres): Likewise.
18654         * malloc/tst-mallocstate.c (main): Likewise.
18655         * malloc/tst-mtrace.c (main): Likewise.
18656         * malloc/tst-realloc.c (do_test): Likewise.
18658 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18660         [BZ #16366]
18661         * nscd/netgroupcache.c (do_notfound): New function.
18662         (addgetnetgrentX): Use it.
18664         [BZ # 16365]
18665         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18666         NSS_STATUS_NOTFOUND.
18668 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18670         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18673 2014-01-01  Allan McRae  <allan@archlinux.org>
18675         * scripts/update-copyrights: Update configure input file suffix.
18677         * NEWS: Update copyright year.
18678         * catgets/gencat.c: Likewise.
18679         * csu/version.c: Likewise.
18680         * debug/catchsegv.sh: Likewise.
18681         * debug/pcprofiledump.c: Likewise.
18682         * debug/xtrace.sh: Likewise.
18683         * elf/ldconfig.c: Likewise.
18684         * elf/ldd.bash.in: Likewise.
18685         * elf/pldd.c: Likewise.
18686         * elf/sotruss.ksh: Likewise.
18687         * elf/sprof.c: Likewise.
18688         * iconv/iconv_prog.c: Likewise.
18689         * iconv/iconvconfig.c: Likewise.
18690         * locale/programs/locale.c: Likewise.
18691         * locale/programs/localedef.c: Likewise.
18692         * login/programs/pt_chown.c: Likewise.
18693         * malloc/memusage.sh: Likewise.
18694         * malloc/memusagestat.c: Likewise.
18695         * malloc/mtrace.pl: Likewise.
18696         * manual/libc.texinfo: Likewise.
18697         * nscd/nscd.c: Likewise.
18698         * nss/getent.c: Likewise.
18699         * nss/makedb.c: Likewise.
18700         * posix/getconf.c: Likewise.
18701         * scripts/test-installation.pl: Likewise.
18703         * All files with FSF copyright notices: Update copyright dates
18704         using scripts/update-copyrights.
18705         * intl/plural.c: Regenerated.
18706         * locale/programs/charmap-kw.h: Likewise.
18707         * locale/programs/locfile-kw.h: Likewise.
18709 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18711         * sysdeps/unix/sysv/linux/configure: Regenerated.
18712         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18713         the linux/fanotify.h header.
18714         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18715         HAVE_LINUX_FANOTIFY_H is defined.
18717 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18719         * benchtests/cos-inputs: New inputs.
18720         * benchtests/sin-inputs: Likewise.
18722         * benchtests/atan-inputs: New inputs. Fix name of multiple
18723         precision fallback inputs.
18725         * benchtests/atanh-inputs: New inputs.
18726         * benchtests/tanh-inputs: Likewise.
18728         * benchtests/acosh-inputs: New inputs.
18729         * benchtests/asinh-inputs: Likewise.
18731         * benchtests/cosh-inputs: New inputs.
18732         * benchtests/sinh-inputs: Likewise.
18734         * benchtests/acos-inputs: Add more inputs.
18735         * benchtests/asin-inputs: Likewise.
18737 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18739         [BZ #16375]
18740         * manual/arith.texi: Fix spelling.
18741         * manual/charset.texi: Likewise.
18742         * manual/errno.texi: Likewise.
18743         * manual/filesys.texi: Likewise.
18744         * manual/lang.texi: Likewise.
18745         * manual/llio.texi: Likewise.
18746         * manual/locale.texi: Likewise.
18747         * manual/message.texi: Likewise.
18748         * manual/resource.texi: Likewise.
18749         * manual/search.texi: Likewise.
18750         * manual/setjmp.texi: Likewise.
18751         * manual/stdio.texi: Likewise.
18752         * manual/string.texi: Likewise.
18753         * manual/sysinfo.texi: Likewise.
18754         * manual/time.texi: Likewise.
18756 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18758         * po/sl.po: New file.
18760 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18762         * .gitignore: Add core/.gdbinit/.gdb_history.
18764 2013-12-27  Allan McRae  <allan@archlinux.org>
18766         [BZ #16369]
18767         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18768         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18770 2013-12-24  Brooks Moses  <bmoses@google.com>
18772         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18773         all compilers that claim C++98 compliance, not just GCC.
18774         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18775         Likewise.
18777 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18779         * NEWS: Restore accidentally deleted bug-fix entries.
18781 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18782             Ondřej Bílka  <neleai@seznam.cz>
18784         [BZ #15073]
18785         * malloc/malloc.c (_int_free): Perform sanity check only if we
18786         have_lock.
18788 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18790         [BZ #12986]
18791         * manual/stdio.texi (String Input Conversions): Clarify that character
18792         classes are not supported.
18794 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18798 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18800         [BZ #16337]
18801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18802         Calculate results for small negative arguments directly rather
18803         than using reflection formula with special underflow handling.
18805         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18806         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18807         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18808         (fchflags): Likewise.
18809         (revoke): Likewise.
18810         (setlogin): Likewise.
18811         (sigaltstack): Likewise.
18812         (wait4): Likewise.
18813         (sigblock): Remove.
18814         (sigsetmask): Likewise.
18815         (wait3): Likewise.
18816         (waitpid): Likewise.
18817         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18818         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18819         file.
18820         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18821         * sysdeps/unix/bsd/Makefile: ... here.
18822         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18823         * sysdeps/unix/bsd/Versions: ... here.
18824         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18825         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18826         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18827         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18828         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18829         * sysdeps/unix/bsd/sigblock.c: ... here.
18830         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18831         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18832         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18833         * sysdeps/unix/bsd/sigvec.c: ... here.
18834         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18835         * sysdeps/unix/bsd/tcdrain.c: ... here.
18836         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18837         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18838         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18839         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18840         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18841         * sysdeps/unix/bsd/wait.c: ... here.
18842         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18843         * sysdeps/unix/bsd/wait3.c: ... here.
18844         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18845         * sysdeps/unix/bsd/waitpid.c: ... here.
18847 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18849         [BZ #16356]
18850         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18851         round-to-nearest for [!USE_AS_EXPM1L].
18852         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18853         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18854         more tests of exp and exp10.  Expect some exp10 tests to miss
18855         exceptions or fail in directed rounding modes.
18856         * math/auto-libm-test-out: Regenerated.
18857         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18858         (exp10_test_tonearest): New function.
18859         (exp10_towardzero_test_data): New array.
18860         (exp10_test_towardzero): New function.
18861         (exp10_downward_test_data): New array.
18862         (exp10_test_downward): New function.
18863         (exp10_upward_test_data): New array.
18864         (exp10_test_upward): New function.
18865         (main): Call the new functions.
18866         * sysdeps/i386/fpu/libm-test-ulps: Update.
18867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18869 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18871         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18872         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18873         * math/auto-libm-test-out: Regenerated.
18874         * math/libm-test.inc (acosh_test_data): Add more tests.
18875         (atanh_test_data): Likewise.
18876         (ceil_test_data): Likewise.
18877         (copysign_test_data): Likewise.
18878         * sysdeps/i386/fpu/libm-test-ulps: Update.
18879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18881         * timezone/checktab.awk: Update from tzcode 2013i.
18882         * timezone/private.h: Likewise.
18883         * timezone/scheck.c: Likewise.
18884         * timezone/tzfile.h: Likewise.
18885         * timezone/tzselect.ksh: Likewise.
18886         * timezone/zdump.c: Likewise.
18887         * timezone/zic.c: Likewise.
18889         * math/auto-libm-test-in: Add tests of cpow.
18890         * math/auto-libm-test-out: Regenerated.
18891         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18892         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18893         mpc_cc_c.
18894         (func_calc_desc): Add mpc_cc_c union field.
18895         (test_functions): Add cpow.
18896         (special_fill_2pi): New function.
18897         (special_real_inputs): Add 2pi.
18898         (calc_generic_results): Handle mpc_cc_c.
18899         * sysdeps/i386/fpu/libm-test-ulps: Update.
18900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18902         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18903         csqrt, ctan and ctanh.
18904         * math/auto-libm-test-out: Regenerated.
18905         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18906         (TEST_COND_x86): Likewise.
18907         (ccos_test_data): Use AUTO_TESTS_c_c.
18908         (ccosh_test_data): Likewise.
18909         (cexp_test_data): Likewise.
18910         (clog_test_data): Likewise.
18911         (csqrt_test_data): Likewise.
18912         (ctan_test_data): Likewise.
18913         (ctan_tonearest_test_data): Likewise.
18914         (ctan_towardzero_test_data): Likewise.
18915         (ctan_downward_test_data): Likewise.
18916         (ctan_upward_test_data): Likewise.
18917         (ctanh_test_data): Likewise.
18918         (ctanh_tonearest_test_data): Likewise.
18919         (ctanh_towardzero_test_data): Likewise.
18920         (ctanh_downward_test_data): Likewise.
18921         (ctanh_upward_test_data): Likewise.
18922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18923         mpc_c_c.
18924         (func_calc_desc): Add mpc_c_c union field.
18925         (FUNC_mpc_c_c): New macro.
18926         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18927         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18928         ctanh.
18929         (special_fill_min_subnorm_p120): New function.
18930         (special_real_inputs): Add min_subnorm_p120.
18931         (calc_generic_results): Handle mpc_c_c.
18932         * sysdeps/i386/fpu/libm-test-ulps: Update.
18933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18935 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18937         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18938         (do_sin_slow): New functions.
18939         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18940         (cslow2, csloww1, csloww2): Use the new functions.
18942         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18943         Use M to change sign of result instead of X.  Assume X is
18944         positive.
18945         (csloww1): Likewise.
18946         (__sin): Adjust.
18947         (__cos): Adjust.
18949         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18950         arguments A and DA.
18951         (__sin): Adjust.
18952         (__cos): Likewise.
18954         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18955         (__cos): Likewise.
18956         (sloww1): Don't adjust sign of DX.
18957         (csloww1): Likewise.
18958         (sloww2): Use X directly and don't adjust sign of DX.
18959         (csloww2): Likewise.
18961 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18963         * math/auto-libm-test-in: Add tests of cabs and carg.
18964         * math/auto-libm-test-out: Regenerated.
18965         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18966         (carg_test_data): Likewise.
18967         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18968         mpc_c_f.
18969         (func_calc_desc): Add mpc_c_f union field.
18970         (test_functions): Add cabs and carg.
18971         (calc_generic_results): Handle mpc_c_f.
18973         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18974         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18975         as a macro and a compat symbol.
18976         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18977         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18978         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18979         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18980         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18981         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18982         not use .hidden.
18983         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18984         Likewise.
18985         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18986         Likewise.
18987         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18988         Likewise.
18989         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18990         Likewise.
18991         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18992         Likewise.
18993         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18994         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18995         from GLIBC_2.3.2.
18997 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19001 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19003         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19004         trailing whitespace removed.
19005         * scripts/config.guess: Update to version 2013-11-29.
19006         * scripts/config.sub: Update to version 2013-10-01.
19008         * math/auto-libm-test-in: Add tests of sincos.
19009         * math/auto-libm-test-out: Regenerated.
19010         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19012         mpfr_f_11.
19013         (func_calc_desc): Add mpfr_f_11 union field.
19014         (test_functions): Add sincos.
19015         (calc_generic_results): Handle mpfr_f_11.
19016         * sysdeps/i386/fpu/libm-test-ulps: Update.
19017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19019 2013-12-19  Andreas Schwab  <schwab@suse.de>
19021         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19022         CALL_MCOUNT.
19023         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19024         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19025         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19027 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19029         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19030         * sysdeps/i386/fpu/libm-test-ulps: Update.
19031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19033         [BZ #16293]
19034         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19035         round-to-nearest mode when using frndint.
19036         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19037         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19039         Likewise.
19040         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19041         sinh test to fail.
19042         * math/auto-libm-test-out: Regenerated.
19043         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19044         (TEST_COND_x86): Likewise.
19045         (expm1_tonearest_test_data): New array.
19046         (expm1_test_tonearest): New function.
19047         (expm1_towardzero_test_data): New array.
19048         (expm1_test_towardzero): New function.
19049         (expm1_downward_test_data): New array.
19050         (expm1_test_downward): New function.
19051         (expm1_upward_test_data): New array.
19052         (expm1_test_upward): New function.
19053         (main): Run the new test functions.
19054         * sysdeps/i386/fpu/libm-test-ulps: Update.
19055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19057         * include/features.h: Update comment documenting feature test
19058         macros.  Mention _DEFAULT_SOURCE in comment.
19059         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19060         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19061         _BSD_SOURCE and _SVID_SOURCE.
19062         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19063         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19064         !_SVID_SOURCE]: Likewise.
19065         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19066         (__USE_POSIX_IMPLICITLY): Define.
19067         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19068         (_POSIX_SOURCE): Undefine and redefine.
19069         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19070         (_POSIX_C_SOURCE): Likewise.
19071         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19072         (Feature Test Macros): Update documentation of default features.
19074 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19076         * benchtests/Makefile: Add bench-strtok.
19077         * benchtests/bench-strtok.c: New file: strtok benchtest.
19079 2013-12-19  Allan McRae  <allan@archlinux.org>
19081         * manual/install.texi: Suppress menu for plain text output.
19082         * INSTALL: Regenerated.
19084 2013-12-18  Brooks Moses  <bmoses@google.com>
19086         [BZ #15846]
19087         * misc/getauxval.c: Include errno.h.
19088         (__getauxval): Set errno to ENOENT if the requested type is not
19089         found.
19090         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19091         don't declare with __attribute_const__.
19092         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19093         * manual/startup.texi: Document that getauxval sets errno.
19095 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19097         * math/auto-libm-test-in: Add tests of jn and yn.
19098         * math/auto-libm-test-out: Regenerated.
19099         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19100         (yn_test_data): Likewise.
19101         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19102         mpfr_if_f.
19103         (func_calc_desc): Add mpfr_if_f union field.
19104         (FUNC_mpfr_if_f): New macro.
19105         (test_functions): Add jn and yn.
19106         (calc_generic_results): Assert type of second input for
19107         mpfr_ff_f.  Handle mpfr_if_f.
19108         (output_for_one_input_case): Disable all checking for arguments
19109         fitting floating-point types in case of an integer argument.
19110         * sysdeps/i386/fpu/libm-test-ulps: Update.
19111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19114         Don't expect fegetround reference in libm.so.
19116 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19118         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19119         $(config-cflags-nofma).
19121 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19123         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19124         * math/auto-libm-test-out: Regenerated.
19126         [BZ #16338]
19127         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19128         to determine exponent and adjust argument to have exponent of -1.
19129         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19130         log2.
19131         * math/auto-libm-test-out: Regenerated.
19132         * sysdeps/i386/fpu/libm-test-ulps: Update.
19133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19137         * manual/probes.texi: Remove cases when per-thread arenas are
19138         disabled.
19140 2013-12-18  Andreas Schwab  <schwab@suse.de>
19142         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19143         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19144         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19145         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19146         * sysdeps/i386/i686/multiarch/Makefile: Update.
19147         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19149 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19151         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19152         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19154 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19156         [BZ #15968]
19157         Support TZ transition times < 00:00:00.
19158         This is needed for version-3 tz-format files; it supports time
19159         stamps past 2037 for America/Godthab (the only entry in the tz
19160         database for which this change is relevant).
19161         * manual/time.texi (TZ Variable): Document transition times
19162         from -167:59:59 through -00:00:01.
19163         * time/tzset.c (tz_rule): Time of day is now signed.
19164         (__tzset_parse_tz): Parse negative time of day.
19166         Document TZ transition times >= 25:00:00.
19167         * manual/time.texi (TZ Variable): Document transition times from
19168         25:00:00 through 167:59:59.  These are already supported, and this
19169         support will help with version-3 tz-format files.
19171         * manual/time.texi (TZ Variable): Modernize North America example
19172         to reflect current (i.e., 2007-and-later) daylight saving rules.
19174         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19176 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19178         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19179         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19182         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19183         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19184         * sysdeps/unix/bsd/clock.c: Likewise.
19185         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19186         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19187         * sysdeps/unix/bsd/init-posix.c: Likewise.
19188         * sysdeps/unix/bsd/poll.c: Likewise.
19189         * sysdeps/unix/bsd/ptsname.c: Likewise.
19190         * sysdeps/unix/bsd/seekdir.c: Likewise.
19191         * sysdeps/unix/bsd/setegid.c: Likewise.
19192         * sysdeps/unix/bsd/seteuid.c: Likewise.
19193         * sysdeps/unix/bsd/setgid.c: Likewise.
19194         * sysdeps/unix/bsd/setrgid.c: Likewise.
19195         * sysdeps/unix/bsd/setruid.c: Likewise.
19196         * sysdeps/unix/bsd/setsid.c: Likewise.
19197         * sysdeps/unix/bsd/setuid.c: Likewise.
19198         * sysdeps/unix/bsd/sigaction.c: Likewise.
19199         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19200         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19201         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19202         * sysdeps/unix/bsd/telldir.c: Likewise.
19203         * sysdeps/unix/bsd/times.c: Likewise.
19204         * sysdeps/unix/bsd/usleep.c: Likewise.
19206         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19207         ($(objpfx)libbsd-compat.a): Remove rule.
19209         * include/features.h (__FAVOR_BSD): Do not define.
19210         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19211         features conflicting with POSIX.
19212         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19213         (_BSD_SOURCE): Remove description of not being a subset of other
19214         feature test macros.
19215         * manual/job.texi (getpgrp): Do not document BSD version.
19216         (getpgid): Do not document by reference to BSD getpgrp.
19217         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19218         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19219         * signal/signal.h [__FAVOR_BSD]: Likewise.
19220         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19221         instead of making contents conditional on [__FAVOR_BSD].
19222         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19224 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19228 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19230         [BZ #16314]
19231         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19232         values below 2**-450, not 2**-500.
19233         * math/auto-libm-test-in: Don't allow spurious underflow from
19234         hypot.
19235         * math/auto-libm-test-out: Regenerated.
19237         [BZ #16316]
19238         [BZ #16330]
19239         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19240         values of ha and hb and sort them after adjusting subnormal
19241         arguments.
19242         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19243         Likewise.
19244         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19245         values of ea and eb and sort them after adjusting subnormal
19246         arguments.
19247         * math/auto-libm-test-in: Do not expect some hypot tests of
19248         subnormals to fail.  Add more hypot tests.
19249         * math/auto-libm-test-out: Regenerated.
19251 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19253         [BZ #13304]
19254         * sysdeps/sh/s_fma.c: New file.
19255         * sysdeps/sh/s_fmaf.c: New file.
19256         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19257         version.
19258         * sysdeps/sh/Implies: Add sh/soft-fp.
19260 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19262         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19263         level of indirection to members `objname', `errstring', `malloced'.
19264         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19265         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19266         it as the __longjmp argument (just pass 1 instead).
19267         (_dl_catch_error): Initialize C with argument pointers and address of
19268         volatile local ERRCODE rather than copying values out of C at return.
19270 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19272         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19273         * math/auto-libm-test-out: Regenerated.
19274         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19275         (hypot_test_data): Likewise.
19276         (pow_test_data): Likewise.
19277         (pow_tonearest_test_data): Likewise.
19278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19279         mpfr_ff_f.
19280         (func_calc_desc): Add mpfr_ff_f union field.
19281         (FUNC_mpfr_ff_f): New macro.
19282         (test_functions): Add atan2, hypot and pow.
19283         (special_fill_min): New function.
19284         (special_fill_minus_min): Likewise.
19285         (special_fill_min_subnorm): Likewise.
19286         (special_fill_minus_min_subnorm): Likewise.
19287         (special_real_inputs): Add min, -min, min_subnorm and
19288         -min_subnorm.
19289         (calc_generic_results): Handle mpfr_ff_f.
19290         * sysdeps/i386/fpu/libm-test-ulps: Update.
19291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293 2013-12-16  Will Newton  <will.newton@linaro.org>
19295         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19296         (Aligned Memory Blocks): Add documentation for aligned_alloc
19297         and suggest it as an alternative to posix_memalign.
19298         (Hooks for Malloc): Document __memalign_hook is also called
19299         for aligned_alloc.  (Summary of Malloc): Add summary for
19300         aligned alloc.  Document __memalign_hook is also called
19301         for aligned_alloc.
19303 2013-12-16  Will Newton  <will.newton@linaro.org>
19305         * manual/memory.texi (Malloc Examples): Clarify default
19306         alignment documentation.  Suggest posix_memalign rather
19307         than memalign or valloc.
19308         (Aligned Memory Blocks): Remove suggestion to use memalign
19309         or valloc.  Remove obsolete comment about BSD.
19310         Document memalign errno values and mark the function obsolete.
19311         Document posix_memalign returned error codes.  Mark valloc
19312         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19313         called for posix_memalign and valloc.
19314         (Summary of Malloc): Add posix_memalign to function summary.
19315         __memalign_hook is also called for posix_memalign and valloc.
19317 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19319         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19320         TAYLOR_SIN.
19321         (__sin): Adjust.
19322         (__cos): Likewise.
19323         (sloww): Use mynumber union.  Expand ternary operator into
19324         if-else statements.
19325         (cslow): use mynumber union.
19327 2013-12-16  Allan McRae  <allan@archlinux.org>
19329         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19330         * configure: Regenerated.
19332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19334         [BZ #14120]
19335         * configure.ac: Added --enable-maintainer-mode. Check for
19336         autoconf when enabled.
19337         * configure: Regenerated.
19339         * nscd/nscd.service: New file.
19340         * nscd/nscd.tmpfiles: New file.
19342 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19344         [BZ #12100]
19345         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19346         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19347         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19348         (strstr): Add __strstr_sse2_unaligned ifunc.
19349         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19350         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19351         (strcasestr): Remove __strcasestr_sse42 ifunc.
19352         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19356 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19358         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19359         * sysdeps/sh/bits/fenv.h: ... here.
19360         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19364         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19367         hypotf multiarch implementations.
19368         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19369         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19371         multiarch hypot for PPC64.
19372         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19373         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19374         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19375         multiarch hypotf for PPC64.
19377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19378         modff multiarch implementations.
19379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19382         multiarch modf for PPC64.
19383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19386         multiarch modff for PPC64.
19388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19389         and logl multiarch implementations.
19390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19393         multiarch logb for PPC64.
19394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19397         multiarch logb for PPC64.
19398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19401         multiarch logb for PPC64.
19403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19404         isinff multiarch implementation.
19405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19406         file.
19407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19409         multiarch isinf for PPC64.
19410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19411         file.
19412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19413         multiarch isinff for PPC64.
19415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19416         finitef multiarch implementation.
19417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19418         file.
19419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19421         multiarch finite for PPC64.
19422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19423         file.
19424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19425         multiarch finitef for PPC64.
19427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19428         lrint multiarch implementation.
19429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19430         file.
19431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19433         multiarch llrint for PPC64.
19434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19435         multiarch lrint for PPC64.
19437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19438         copysignf multiarch implementation.
19439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19440         file.
19441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19442         file.
19443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19444         multiarch copysign for PPC64.
19445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19446         multiarch copysignf for PPC64.
19448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19449         multiarch implementation.
19450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19451         file.
19452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19453         file.
19454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19455         file.
19456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19457         file.
19458         multiarch llround for PPC64.
19459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19460         multiarch trunc for PPC64.
19461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19462         multiarch truncf for PPC64.
19464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19465         multiarch implementation.
19466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19467         file.
19468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19469         file.
19470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19471         file.
19472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19473         file.
19474         multiarch llround for PPC64.
19475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19476         multiarch round for PPC64.
19477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19478         multiarch roundf for PPC64.
19480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19481         multiarch implementation.
19482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19483         file.
19484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19485         file.
19486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19487         file.
19488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19489         file.
19490         multiarch llround for PPC64.
19491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19492         multiarch floor for PPC64.
19493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19494         multiarch floorf for PPC64.
19496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19497         multiarch implementation.
19498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19499         file.
19500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19501         file.
19502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19503         file.
19504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19505         file.
19506         multiarch llround for PPC64.
19507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19508         multiarch ceil for PPC64.
19509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19510         multiarch ceilf for PPC64.
19512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19513         multiarch implementation.
19514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19515         file.
19516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19517         file.
19518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19519         file.
19520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19521         multiarch llround for PPC64.
19522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19523         multiarch lround for PPC64.
19525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19526         multiarch implementation.
19527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19530         file.
19531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19534         multiarch isnan for PPC64.
19535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19536         multiarch isnanf for PPC64.
19538         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19539         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19540         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19541         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19542         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19545         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19546         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19547         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19548         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19551         multiarch implementations.
19552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19553         (__libc_ifunc_impl_list): Likewise.
19554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19557         multiarch stpcpy for PPC64.
19559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19560         multiarch implementations.
19561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19562         (__libc_ifunc_impl_list): Likewise.
19563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19564         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19565         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19566         multiarch strcpy for PPC64.
19568         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19569         redefine function name.
19570         (_wordcopy_fwd_dest_aligned): Likewise.
19571         (_wordcopy_bwd_aligned): Likewise.
19572         (_wordcopy_bwd_dest_aligned): Likewise.
19573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19574         multiarch implementations.
19575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19576         (__libc_ifunc_impl_list): Likewise.
19577         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19578         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19580         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19581         multiarch wcscpy for PPC64.
19583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19584         multiarch implementations.
19585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19586         (__libc_ifunc_impl_list): Likewise.
19587         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19588         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19590         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19591         multiarch wcscpy for PPC64.
19593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19594         multiarch implementations.
19595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19596         (__libc_ifunc_impl_list): Likewise.
19597         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19598         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19599         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19600         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19601         multiarch wcsrchr for PPC64.
19603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19604         multiarch implementations.
19605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19606         (__libc_ifunc_impl_list): Likewise.
19607         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19608         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19609         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19610         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19611         multiarch wcschr for PPC64.
19613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19614         multiarch implementations.
19615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19616         (__libc_ifunc_impl_list): Likewise.
19617         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19618         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19619         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19620         multiarch strchrnul for PPC64.
19622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19623         implementations.
19624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19625         (__libc_ifunc_impl_list): Likewise.
19626         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19627         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19628         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19629         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19630         strchr for PPC64.
19632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19633         implementations.
19634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19635         (__libc_ifunc_impl_list): Likewise.
19636         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19637         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19638         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19639         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19640         strncmp for PPC64.
19642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19643         multiarch implementations.
19644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19645         (__libc_ifunc_impl_list): Likewise.
19646         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19647         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19648         strncasecmp for PPC64.
19649         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19650         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19651         multiarch strncasecmp_l for PPC64.
19653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19654         multiarch implementations.
19655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19656         (__libc_ifunc_impl_list): Likewise.
19657         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19658         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19659         multiarch strcasecmp for PPC64.
19660         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19661         file.
19662         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19663         multiarch strcasecmp_l for PPC64.
19665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19666         implementations.
19667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19668         (__libc_ifunc_impl_list): Likewise.
19669         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19670         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19671         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19672         strnlen for PPC64.
19674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19675         implementations.
19676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19677         (__libc_ifunc_impl_list): Likewise.
19678         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19679         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19680         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19681         strlen for PPC64.
19683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19684         implementations.
19685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19686         (__libc_ifunc_impl_list): Likewise.
19687         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19688         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19689         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19690         rawmemrchr for PPC64.
19692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19693         implementation.
19694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19695         (__libc_ifunc_impl_list): Likewise.
19696         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19697         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19698         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19699         memrchr for PPC64.
19701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19702         implementation.
19703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19704         (__libc_ifunc_impl_list): Likewise.
19705         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19706         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19707         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19708         memchr for PPC64.
19710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19711         implementation.
19712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19713         (__libc_ifunc_impl_list): Likewise.
19714         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19715         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19716         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19717         mempcpy for PPC64.
19719         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19720         avoid cretion of __bzero symbol.
19721         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19722         Likewise.
19723         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19724         Likewise.
19725         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19726         Likewise.
19727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19728         multiarch implementations.
19729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19730         (__libc_ifunc_impl_list): Likewise.
19731         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19732         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19734         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19735         bzero for PPC32.
19736         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19737         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19738         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19739         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19740         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19741         memset for PPC64.
19742         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19744         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19746         implementations.
19747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19748         (__libc_ifunc_impl_list): Likewise.
19749         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19750         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19752         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19753         memcmp for PPC64.
19755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19756         multiarch for POWER/PPC64.
19757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19758         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19759         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19760         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19765         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19766         memcpy for PPC64.
19768         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19769         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19770         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19771         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19772         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19773         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19774         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19775         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19776         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19777         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19778         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19779         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19780         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19781         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19782         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19791 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19795 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19797         * benchtests/Makefile (bench): Add exp2 and log2.
19798         (LDLIBS-bench-exp2): Add -lm.
19799         (LDLIBS-bench-log2): Likewise.
19800         * benchtests/exp2-inputs: New inputs file.
19801         * benchtests/log2-inputs: New inputs file.
19802         * benchtests/log-inputs: Add new inputs.
19803         * benchtests/tan-inputs: Likewise.
19805 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19807         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19808         definition...
19809         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19810         (csloww2): ... from here.
19812         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19813         instead of structures.
19814         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19815         (POLYNOMIAL): Likewise.
19816         (TAYLOR_SLOW): Likewise.
19817         (__sin): Likewise.
19818         (__cos): Likewise.
19819         (slow1): Likewise.
19820         (slow2): Likewise.
19821         (sloww): Likewise.
19822         (sloww1); Likewise.
19823         (sloww2): Likewise.
19824         (bsloww1): Likewise.
19825         (bsloww2): Likewise.
19826         (cslow2): Likewise.
19827         (csloww): Likewise.
19828         (csloww1): Likewise.
19829         (csloww2): Likewise.
19831 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19833         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19834         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19835         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19836         * malloc/hooks.c (realloc_check): Likewise.
19838         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19839         * malloc/arena.c: Remove PER_THREAD conditional.
19840         [!PER_THREAD]: Remove code.
19841         (ptmalloc_unlock_all2): Likewise.
19842         (ptmalloc_init): Likewise.
19843         (_int_new_arena): Likewise.
19844         (arena_get2): Likewise.
19845         * malloc/hooks.c (__malloc_get_state): Likewise.
19846         (__malloc_set_state): Likewise.
19847         * malloc/malloc.c: Likewise.
19848         (struct malloc_state): Likewise.
19849         (struct malloc_par): Likewise.
19850         (__libc_realloc): Likewise.
19851         (__libc_mallopt): Likewise.
19853 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19855         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19857 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19859         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19860         macro to a function.  Check for zero perturb_byte.
19861         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19863         * malloc/malloc.c: (force_reg): Remove.
19864         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19865         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19866         force_reg by atomic_forced_read.
19867         * malloc/arena.c (ptmalloc_init): Likewise.
19868         * malloc/hooks.c (top_check): Likewise.
19870 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19874 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19878 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19880         * math/auto-libm-test-in: Add tests of lgamma.
19881         * math/auto-libm-test-out: Regenerated.
19882         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19883         (M_LOG_2_SQRT_PIl): Likewise.
19884         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19885         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19886         mpfr_f_f1.
19887         (func_calc_desc): Add mpfr_f_f1 union field.
19888         (ARGS1): New macro.
19889         (ARGS2): Likewise.
19890         (ARGS3): Likewise.
19891         (ARGS4): Likewise.
19892         (RET1): Likewise.
19893         (RET2): Likewise.
19894         (CALC): Likewise.
19895         (FUNC): Likewise.
19896         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19897         (test_functions): Add lgamma.
19898         (calc_generic_results): Handle mpfr_f_f1.
19899         * sysdeps/i386/fpu/libm-test-ulps: Update.
19900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19904         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19905         __mpn_add_n for PowerPC64/POWER7.
19906         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19907         __mpn_sub_n for PowerPC64/POWER7.
19909         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19910         __mpn_addmul_1 for PowerPC64.
19911         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19912         __mpn_submul_1 for PowerPC64.
19913         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19914         for PowerPC64.
19915         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19916         for PowerPC64.
19918 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19920         [BZ #15089]
19921         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19923 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19925         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19927         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19928         add multiarch folders.
19929         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19930         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19931         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19932         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19933         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19934         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19935         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19936         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19937         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19938         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19939         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19948         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19950         New file.
19951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19952         New file.
19953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19954         multiarch __ieee754_hypot for PowerPC32.
19955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19956         New file.
19957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19958         New file.
19959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19960         multiarch __ieee754_hypotf for PowerPC32.
19962         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19963         long_double_symbol only if __logbl is defined.
19964         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19965         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19967         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19969         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19970         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19971         path for implementation.
19972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19973         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19975         logb, and logbl multiarch implementations for PowerPC32.
19976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19977         file.
19978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19979         file.
19980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19981         multiarch logb for PowerPC32.
19982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19983         file.
19984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19985         file.
19986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19987         multiarch logbf for PowerPC32.
19988         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19990         file.
19991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19992         multiarch logbl implementation for PowerPC32.
19994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19995         and modff multiarch implementations.
19996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19997         New file.
19998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19999         New file.
20000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20001         multiarch modf for PowerPC32.
20002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20003         New file.
20004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20005         New file.
20006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20007         multiarch modff for PowerPC32.
20009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20010         and lrintf multiarch implementations.
20011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20012         New file.
20013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20014         New file.
20015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20016         multiarch lrint for PowerPC32.
20017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20018         file: multiarch lrintf for PowerPC32.
20020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20021         and lroundf multiarch implementations.
20022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20023         New file.
20024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20025         New file.
20026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20027         New file.
20028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20029         multiarch lround for PowerPC32.
20030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20031         file: multiarch lroundf for PowerPC32.
20033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20034         copysign and copysignf multiarch implementations.
20035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20036         New file.
20037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20038         New file.
20039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20040         file: multiarch copysign for PowerPC32.
20041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20042         file: multiarch copysignf for PowerPC32.
20044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20045         and truncf multiarch implementations.
20046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20047         New file.
20048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20049         file.
20050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20051         multiarch trunc for PowerPC32.
20052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20053         New file.
20054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20055         New file.
20056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20057         multiarch truncf for PowerPC32.
20059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20060         and roundf multiarch implementations.
20061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20062         New file.
20063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20064         file.
20065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20066         multiarch round for PowerPC32.
20067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20068         New file.
20069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20070         New file.
20071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20072         multiarch roundf for PowerPC32.
20074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20075         and floorf multiarch implementations.
20076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20077         New file.
20078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20079         file.
20080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20081         multiarch floor for PowerPC32.
20082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20083         New file.
20084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20085         New file.
20086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20087         multiarch floorf for PowerPC32.
20089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20090         and ceilf multiarch implementations.
20091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20092         New file.
20093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20094         file.
20095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20096         multiarch ceil for PowerPC32.
20097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20098         New file.
20099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20100         file.
20101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20102         multiarch ceilf for PowerPC32.
20104         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20105         is defined.
20106         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20107         FINITEF is defined.
20108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20109         and finitef multiarch implementations.
20110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20111         New file.
20112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20113         file.
20114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20115         multiarch finite for PowerPC32.
20116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20117         New file.
20118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20119         file: multiarch finitef for PowerPC32.
20121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20122         and isinff multiarch implementations.
20123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20124         file.
20125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20126         file.
20127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20128         multiarch isinf for PowerPC32.
20129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20130         New file.
20131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20132         multiarch isinff for PowerPC32.
20134         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20135         alias when __isnan is defined.
20136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20137         and isnanf multiarch implementations.
20138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20139         file.
20140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20141         file.
20142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20143         file.
20144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20145         file.
20146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20147         multiarch isnan for PowerPC32.
20148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20149         New file.
20150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20151         New file.
20152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20153         multiarch isnanf for PowerPC32.
20155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20156         and sqrtf multiarch implementations.
20157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20158         file.
20159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20160         file.
20161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20162         multiarch sqrt for PowerPC32.
20163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20164         file.
20165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20166         file.
20167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20168         multiarch sqrtf for PowerPC32.
20170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20171         and llroundf multiarch implementations.
20172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20173         New file.
20174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20175         New file.
20176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20177         New file.
20178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20179         file: multiarch llround for PowerPC32.
20180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20181         file: multiarch llroundf for PowerPC32.
20183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20184         multiarch PowerPC32 fpu implementations.
20185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20186         New file.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20188         New file.
20189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20190         multiarch llrint for PowerPC32.
20191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20192         New file.
20193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20194         New file.
20195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20196         file.
20198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20200         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20201         file.
20202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20203         file.
20204         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20205         file.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20207         multiarch wordcopy for PPC32.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20209         wordcopy objects.
20210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20211         (__libc_ifunc_impl_list): Likewise.
20212         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20213         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20214         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20215         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20216         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20217         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20219         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20221         file.
20222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20223         file.
20224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20225         file.
20226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20227         multiarch wcscpy for PPC32.
20228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20229         multiarch objects.
20230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20231         (__libc_ifunc_impl_list): Likewise.
20232         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20233         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20234         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20235         sysdeps/powerpc/power6/wcscpy.c.
20237         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20239         file.
20240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20241         file.
20242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20243         file.
20244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20245         multiarch wcsrchr for PPC32.
20246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20247         multiarch objects.
20248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20249         (__libc_ifunc_impl_list): Likewise.
20250         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20251         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20252         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20253         sysdeps/powerpc/power6/wcsrchr.c.
20255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20256         file.
20257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20258         file.
20259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20261         multiarch wcschr for PPc32.
20262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20263         multiarch objects.
20264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20265         (__libc_ifunc_impl_list): Likewise.
20266         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20267         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20268         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20269         sysdeps/powerpc/power6/wcschr.c.
20271         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20272         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20273         file.
20274         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20275         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20276         file: multiarch strchr for PPC32.
20277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20278         multiarch objects.
20279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20280         (__libc_ifunc_impl_list): Likewise.
20282         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20283         name.
20284         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20285         file.
20286         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20287         file.
20288         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20289         multiarch strchrnul for PPC32.
20290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20291         multiarch objects.
20292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20293         (__libc_ifunc_impl_list): Likewise.
20295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20296         file.
20297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20298         multiarch strncasecmp for PPC32.
20299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20300         file.
20301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20302         multiarch strncasecmp_l for PPC32.
20303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20304         strncasecmp multiarch objects.
20305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20306         (__libc_ifunc_impl_list): Likewise.
20308         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20309         file.
20310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20311         multiarch strncasecmp for PPC32.
20312         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20313         New file.
20314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20315         multiarch strcasecmp_l for PPC32.
20316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20317         multiarch objects.
20318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20319         (__libc_ifunc_impl_list): Likewise.
20321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20322         file.
20323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20324         file.
20325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20326         multiarch strncmp for PPC32.
20327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20328         multiarch objects.
20329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20330         (__libc_ifunc_impl_list): Likewise.
20332         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20333         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20334         file.
20335         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20336         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20338         multiarch objects.
20339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20340         (__libc_ifunc_impl_list): Likewise.
20342         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20343         file.
20344         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20345         file.
20346         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20348         multiarch objects.
20349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20350         (__libc_ifunc_impl_list): Likewise.
20352         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20353         file.
20354         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20355         file.
20356         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20357         multiarch rawmemchr for PPC32.
20358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20359         multiarch objects.
20360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20361         (__libc_ifunc_impl_list): Likewise.
20363         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20364         file.
20365         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20366         file.
20367         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20368         file: memrchr multiarch for PPC32.
20369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20370         multiarch objects.
20371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20372         (__libc_ifunc_impl_list): Likewise.
20374         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20375         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20376         file.
20377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20378         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20379         multiarch memchr for PPC32.
20380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20381         multiarch objects.
20382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20383         (__libc_ifunc_impl_list): Likewise.
20385         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20386         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20387         file.
20388         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20389         file.
20390         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20391         file: multiarch mempcpy for PPC32.
20392         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20393         multiarch objects.
20394         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20395         (__libc_ifunc_impl_list): Likewise.
20397         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20398         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20399         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20400         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20401         multiarch bzero for PPC32.
20402         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20403         file.
20404         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20405         file.
20406         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20407         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20408         file: multiarch memset for PPC32.
20409         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20411         memset multiarch objects.
20412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20413         (__libc_ifunc_impl_list): Likewise.
20415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20416         file.
20417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20419         memcmp for PPC32.
20420         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20422         multiarch objects.
20423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20424         (__libc_ifunc_impl_list): Likewise.
20426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20429         file.
20430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20431         file.
20432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20433         file.
20434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20435         multiarch memcpy for PPC32.
20436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20437         multiarch objects.
20438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20439         (__libc_ifunc_impl_list): Likewise.
20441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20442         support multiarch for POWER/PPC32.
20443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20444         Likewise.
20445         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20447         Implies file to make multiarch folder appers before the fpu and
20448         default folder for power4 configuration.
20450 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20452         * scripts/bench.pl: Append volatile keyword to type.
20454 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20456         * sysdeps/sh/sotruss-lib.c: New file.
20457         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20459 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20463 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20465         [BZ #6810]
20466         * math/w_tgamma.c: Include <errno.h>.
20467         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20468         * math/w_tgammaf.c: Include <errno.h>.
20469         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20470         * math/w_tgammal.c: Include <errno.h>.
20471         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20472         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20473         underflow.  Add more tgamma tests.
20474         * math/auto-libm-test-out: Regenerated.
20475         * sysdeps/i386/fpu/libm-test-ulps: Update.
20476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20478         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20479         sin, sinh, tan, tanh, tgamma, y0 and y1.
20480         * math/auto-libm-test-out: Regenerated.
20481         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20482         (TEST_COND_x86): Likewise.
20483         (M_E2l): Remove macro.
20484         (M_E3l): Likewise.
20485         (M_2_SQRT_PIl): Likewise.
20486         (M_SQRT_PIl): Likewise.
20487         (M_1_DIV_El): Likewise.
20488         (log_test_data): Use AUTO_TESTS_f_f.
20489         (log10_test_data): Likewise.
20490         (log1p_test_data): Likewise.
20491         (log2_test_data): Likewise.
20492         (sin_test_data): Likewise.
20493         (sin_tonearest_test_data): Likewise.
20494         (sin_towardzero_test_data): Likewise.
20495         (sin_downward_test_data): Likewise.
20496         (sin_upward_test_data): Likewise.
20497         (sinh_test_data): Likewise.
20498         (sinh_tonearest_test_data): Likewise.
20499         (sinh_towardzero_test_data): Likewise.
20500         (sinh_downward_test_data): Likewise.
20501         (sinh_upward_test_data): Likewise.
20502         (tan_test_data): Likewise.
20503         (tan_tonearest_test_data): Likewise.
20504         (tan_towardzero_test_data): Likewise.
20505         (tan_downward_test_data): Likewise.
20506         (tan_upward_test_data): Likewise.
20507         (tanh_test_data): Likewise.
20508         (tgamma_test_data): Likewise.
20509         (y0_test_data): Likewise.
20510         (y1_test_data): Likewise.
20511         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20512         (special_real_inputs): Add pi/4.
20513         * sysdeps/i386/fpu/libm-test-ulps: Update.
20514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20516 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20518         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20519         "longjmp_target" static probes.
20520         (__longjmp): Rename to __longjmp_symbol.
20521         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20522         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20523         on which longjmp to generate.
20524         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20526         probe.
20527         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20528         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20529         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20530         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20531         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20532         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20534         __longjmp_symbol based on which __longjmp to generate.
20535         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20536         probe.
20537         (setjmp): Rename to setjmp_symbol.
20538         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20539         (_setjmp): Rename to _setjmp_symbol.
20540         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20541         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20542         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20543         which setjmp to generate.
20544         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20545         "longjmp_target" static probes.
20547 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20549         * benchtests/README: Add note about output arguments.
20550         * benchtests/bench-sincos.c: Remove file.
20551         * benchtests/sincos-inputs: New file.
20552         * scripts/bench.pl: Identify output arguments and define
20553         static variables for them.
20555         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20557         [BZ #15941]
20558         * Makefile (INSTALL): Add install-plain.texi as the primary
20559         dependency.
20560         * manual/install-plain.texi: New file.
20561         * manual/install.texi: Include node directive only for
20562         non-plaintext output.
20564 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20566         * stdlib/longlong.h: Update from GCC.
20568         [BZ #6807]
20569         [BZ #15901]
20570         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20571         * math/w_j0f.c (y0f): Likewise.
20572         * math/w_j0l.c (__y0l): Likewise.
20573         * math/w_j1.c (y1): Likewise.
20574         * math/w_j1f.c (y1f): Likewise.
20575         * math/w_j1l.c (__y1l): Likewise
20576         * math/w_jn.c (yn): Likewise.
20577         * math/w_jnf.c (ynf): Likewise.
20578         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20579         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20580         value for Bessel function domain errors outside _SVID_ mode.
20581         Adjust sign of return value for yn (negative integer, 0).
20582         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20583         by zero in return for negative x and set sign appropriately for
20584         negative n.
20585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20586         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20587         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20588         expectations in error cases.
20589         (y1_test_data): Likewise.
20590         (yn_test_data): Likewise.
20591         * sysdeps/i386/fpu/libm-test-ulps: Update.
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20596         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20597         "64" to "64-v1".  Add "64-v2".
20598         (abi-64-options): Rename to ...
20599         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20600         (abi-64-condition): Rename to ...
20601         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20602         (abi-64-ld-soname): Rename to ...
20603         (abi-64-v1-ld-soname): ... this.
20604         (abi-64-v2-options): Define.
20605         (abi-64-v2-condition): Likewise.
20606         (abi-64-v2-ld-soname): Likewise.
20607         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20608         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20613 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20614             Alan Modra  <amodra@gmail.com>
20616         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20617         New versions for use with the ELFv2 ABI.
20618         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20619         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20620         declaration.
20621         (struct La_ppc64v2_retval): Likewise.
20622         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20623         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20624         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20625         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20626         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20627         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20628         Do not save or restore CR.
20629         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20630         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20631         return values for ELFv2 ABI.  Fix location of FPR return registers.
20632         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20633         updated values for _CALL_ELF == 2.
20634         (La_regs, La_retval, int_retval): Likewise.
20636 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20638         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20639         (FRAME_MIN_SIZE_PARM): Likewise.
20640         (FRAME_BACKCHAIN): Likewise.
20641         (FRAME_CR_SAVE): Likewise.
20642         (FRAME_LR_SAVE): Likewise.
20643         (FRAME_TOC_SAVE): Likewise.
20644         (FRAME_PARM_SAVE): Likewise.
20645         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20646         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20647         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20648         (call_mcount_parm_offset): New macro.
20649         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20650         (PROF): Use symbolic stack frame offsets.
20651         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20652         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20653         Redefine in terms of FRAME_MIN_SIZE.
20654         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20655         (_dl_profile_resolve): Likewise.  Update comment.
20656         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20657         symbols stack frame offsets.
20658         (__sigsetjmp): Likewise.
20659         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20660         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20661         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20662         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20665         (FRAME_BACKCHAIN): Remove.
20666         (FRAME_CR_SAVE): Likewise.
20667         (FRAME_LR_SAVE): Likewise.
20668         (FRAME_COMPILER_DW): Likewise.
20669         (FRAME_LINKER_DW): Likewise.
20670         (FRAME_TOC_SAVE): Likewise.
20671         (FRAME_PARM_SAVE): Likewise.
20672         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20673         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20674         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20676         (CHECK_SP): Use symbolic stack frame offsets.
20677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20678         zone" instead of caller's parameter save area for temp storage.
20679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20680         Likewise.  Also, use symbolic stack frame offsets.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20682         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20683         our own stack frame instead of the caller's.
20684         (__socket): Use symbolic stack frame offsets.
20686 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20687             Alan Modra  <amodra@gmail.com>
20689         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20690         Define.
20691         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20692         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20693         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20694         New function.
20695         (elf_machine_fixup_plt): Call it.
20696         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20697         reloc arguments.
20698         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20699         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20700         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20701         r2 before calling target.
20703 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20704             Alan Modra  <amodra@gmail.com>
20706         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20707         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20708         versions of macros to support ELFv2 ABI.
20709         (LOCALENTRY): New macro.
20710         (ENTRY, EALIGN): Use it.
20711         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20712         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20713         fall through into ENTRY entry point.
20714         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20715         Only define if _CALL_ELF != 2.
20717         (elf_machine_matches_host): Verify ABI version matches.
20718         (RTLD_START): Use LOCALENTRY.
20719         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20720         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20721         (PLT_ENTRY_WORDS): New macro.
20722         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20723         (elf_machine_runtime_setup): Support ELFv2 ABI.
20724         (elf_machine_fixup_plt): Likewise.
20725         (elf_machine_plt_conflict): Likewise.
20726         (resolve_ifunc): Likewise.
20727         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20728         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20729         Likewise.
20730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20731         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20733         (makecontext): Support ELFv2 ABI.
20734         * elf/elf.h (EF_PPC64_ABI): Define.
20736 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20738         * sysdeps/powerpc/powerpc64/sysdep.h
20739         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20740         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20741         (ENTRY) [ASSEMBLER]: ... but instead here ...
20742         (EALIGN) [ASSEMBLER]: ... and here.
20743         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20744         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20745         (ENTRY_2) [!ASSEMBLER]: Use it.
20746         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20747         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20748         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20749         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20750         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20752         Use PPC64_LOAD_FUNCPTR.
20754         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20756 2013-12-04  Alan Modra  <amodra@gmail.com>
20758         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20759         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20760         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20761         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20763         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20764         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20765         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20766         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20767         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20768         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20770 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20773         (__makecontext): Fix incorrect CFI when backtracing out of
20774         context created via makecontext.
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20776         (__setcontext): Fix incorrect CFI during switch to new context.
20777         (__novec_setcontext): Likewise.
20779 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20781         [BZ #4772]
20782         * time/strptime_l.c (__strptime_internal): Allow modifiers
20783         in strptime.
20784         * time/tst-strptime.c (day_tests): Add testcase.
20786 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20788         * scripts/bench.pl: Skip over blank lines.
20790 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20792         [BZ #926]
20793         * manual/time.texi (Calendar Time): Clarify what timezone functions
20794         use.
20796 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20800 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20802         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20803         implementation.
20804         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20805         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20806         * debug/memset_chk.c (__memset_chk): Likewise.
20807         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20808         * debug/strncpy_chk.c: Likewise.
20810 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #15268]
20813         [BZ #15425]
20814         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20815         (__ieee754_exp): For possibly underflowing results, check size of
20816         result and force underflow exception if required.
20817         * math/auto-libm-test-in: Add more tests of exp.
20818         * math/auto-libm-test-out: Regenerated.
20819         * sysdeps/i386/fpu/libm-test-ulps: Update.
20820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20822         [BZ #16283]
20823         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20824         * math/w_exp2f.c (__exp2f): Likewise.
20825         * math/w_exp2l.c (__exp2l): Likewise.
20826         * math/auto-libm-test-in: Do not allow missing errno on exp2
20827         underflow.
20828         * math/auto-libm-test-out: Regenerated.
20830 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20832         [BZ #16274]
20833         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20834         handle filename validation.
20835         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20836         (do_open): Delete.
20838 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20840         [BZ #6786]
20841         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20842         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20843         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20844         <float.h>.
20845         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20846         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20847         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20849         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20850         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20851         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20852         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20853         Add more erfc tests.
20854         * math/auto-libm-test-out: Regenerated.
20855         * sysdeps/i386/fpu/libm-test-ulps: Update.
20856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20858         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20859         exp2, expm1, j0 and j1.
20860         * math/auto-libm-test-out: Regenerated.
20861         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20862         (erfc_test_data): Likewise.
20863         (exp_test_data): Likewise.
20864         (exp_tonearest_test_data): Likewise.
20865         (exp_towardzero_test_data): Likewise.
20866         (exp_downward_test_data): Likewise.
20867         (exp_upward_test_data): Likewise.
20868         (exp10_test_data): Likewise.
20869         (exp2_test_data): Likewise.
20870         (expm1_test_data): Likewise.
20871         (j0_test_data): Likewise.
20872         (j1_test_data): Likewise.
20873         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20874         (input_flag_type): Add flag_xfail_rounding.
20875         (input_flags): Add xfail-rounding.
20876         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20877         (output_for_one_input_case): Handle flag_xfail_rounding.
20878         * sysdeps/i386/fpu/libm-test-ulps: Update.
20879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20881 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20883         [BZ #16289]
20884         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20885         division by 0.
20887 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20889         [BZ #16195]
20890         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20891         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20892         (STAP_PROBE0): New macro.
20893         (STAP_PROBE1): Likewise.
20894         (STAP_PROBE2): Likewise.
20895         (STAP_PROBE3): Likewise.
20896         (STAP_PROBE4): Likewise.
20898 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20900         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20902 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20904         * benchtests/Makefile (bench): Add sqrt.
20905         (LDLIBS-bench-sqrt): New.
20906         * benchtests/sqrt-input: New.
20908 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20910         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20911         (GAIH_EAI): Likewise.
20912         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20913         (gaih_inet): Likewise.
20914         (getaddrinfo): Don't use GAIH_EAI.
20916         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20917         (struct gaih): Remove definition.
20919 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20921         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20922         Use HERRNOP directly.
20924 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20928 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20930         * math/gen-auto-libm-tests.c (test_functions): Add more
20931         single-argument functions.
20932         (special_fill_pi_2): New function.
20933         (special_fill_minus_pi_2): Likewise.
20934         (special_fill_pi_6): Likewise.
20935         (special_fill_minus_pi_6): Likewise.
20936         (special_fill_pi_3): Likewise.
20937         (special_fill_2pi_3): Likewise.
20938         (special_fill_e): Likewise.
20939         (special_fill_1_e): Likewise.
20940         (special_fill_e_minus_1): Likewise.
20941         (special_real_inputs): Add more special inputs.
20942         (output_for_one_input_case): Do not require ERANGE on underflow to
20943         zero if round-to-nearest result does not underflow to zero, unless
20944         exact results required.
20945         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20946         atan, atanh, cbrt, cos and cosh.
20947         * math/auto-libm-test-out: Regenerated.
20948         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20949         (acos_tonearest_test_data): Likewise.
20950         (acos_towardzero_test_data): Likewise.
20951         (acos_downward_test_data): Likewise.
20952         (acos_upward_test_data): Likewise.
20953         (acosh_test_data): Likewise.
20954         (asin_test_data): Likewise.
20955         (asin_tonearest_test_data): Likewise.
20956         (asin_towardzero_test_data): Likewise.
20957         (asin_upward_test_data): Likewise.
20958         (asinh_test_data): Likewise.
20959         (atan_test_data): Likewise.
20960         (atanh_test_data): Likewise.
20961         (cbrt_test_data): Likewise.
20962         (cos_test_data): Likewise.
20963         (cos_tonearest_test_data): Likewise.
20964         (cos_towardzero_test_data): Likewise.
20965         (cos_downward_test_data): Likewise.
20966         (cos_upward_test_data): Likewise.
20967         (cosh_test_data): Likewise.
20968         (cosh_tonearest_test_data): Likewise.
20969         (cosh_towardzero_test_data): Likewise.
20970         (cosh_downward_test_data): Likewise.
20971         (cosh_upward_test_data): Likewise.
20972         * sysdeps/i386/fpu/libm-test-ulps: Update.
20973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20975 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20977         [BZ #6787]
20978         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20979         * math/w_exp10f.c (__exp10f): Likewise.
20980         * math/w_exp10l.c (__exp10l): Likewise.
20981         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20982         errno settings in existing tests.
20984         [BZ #14032]
20985         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20986         precision control set to double precision.
20987         * sysdeps/i386/fpu/w_sqrt.c: New file.
20988         * math/auto-libm-test-in: Add more tests.
20989         * math/auto-libm-test-out: Update.
20991         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20992         (sqrt_test_tonearest): New function.
20993         (sqrt_towardzero_test_data): New variable.
20994         (sqrt_test_towardzero): New function.
20995         (sqrt_downward_test_data): New variable.
20996         (sqrt_test_downward): New function.
20997         (sqrt_upward_test_data): New variable.
20998         (sqrt_test_upward): New function.
20999         (main): Call the new functions.
21001         * math/gen-auto-libm-tests.c: New file.
21002         * math/auto-libm-test-in: Likewise.
21003         * math/auto-libm-test-out: New generated file.
21004         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21005         variables.
21006         (%beautify): Add generated representations of zero.
21007         (top level): Set $auto_input and call parse_auto_input.
21008         (beautify): Remove trailing "f" from hex float constants.
21009         (parse_args): Handle XFAIL_TEST.
21010         (convert_condition): New function.
21011         (or_value): Likewise.
21012         (or_cond_value): Likewise.
21013         (generate_testfile): Handle AUTO_TESTS_* lines.
21014         (parse_auto_input): New function.
21015         * math/libm-test.inc (XFAIL_TEST): New macro.
21016         (ERRNO_UNCHANGED): Update value.
21017         (ERRNO_EDOM): Likewise.
21018         (ERRNO_ERANGE): Likewise.
21019         (IGNORE_RESULT): Likewise.
21020         (TEST_COND_flt_32): New macro.
21021         (TEST_COND_dbl_64): Likewise.
21022         (TEST_COND_ldbl_96_intel): Likewise.
21023         (TEST_COND_ldbl_96_m68k): Likewise.
21024         (TEST_COND_ldbl_128): Likewise.
21025         (TEST_COND_ldbl_128ibm): Likewise.
21026         (TEST_COND_long32): Likewise.
21027         (TEST_COND_long64): Likewise.
21028         (TEST_COND_before_rounding): Likewise.
21029         (TEST_COND_after_rounding): Likewise.
21030         (enable_test): Handle XFAIL_TEST flag.
21031         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21032         with finite results.
21033         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21034         auto-libm-test-out.
21036 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21037             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21039         [BZ #16214]
21040         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21041         __tls_get_addr_internal instead of __tls_get_offset in order to
21042         avoid GOT pointer dependency.  Make rtld export
21043         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21044         __tls_get_addr since we are a __tls_get_offset platform.
21045         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21046         GOT pointer being set up before.
21047         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21049 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21051         * manual/math.texi (Errors in Math Functions): Document accuracy
21052         goals.
21054         [BZ #15004]
21055         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21056         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21057         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21058         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21059         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21060         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21061         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21062         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21063         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21064         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21065         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21067         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21068         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21069         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21070         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21072         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21073         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21074         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21075         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21076         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21077         Likewise.
21078         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21079         Likewise.
21080         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21081         Likewise.
21082         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21083         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21084         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21085         atomic-feupdateenv and flt-rounds.
21086         * sysdeps/powerpc/nofpu/Versions (libc): Add
21087         __atomic_feholdexcept, __atomic_feclearexcept,
21088         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21089         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21090         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21091         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21092         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21093         here.
21094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21095         Update.
21097         * manual/arith.texi (FP Exceptions): Document that exceptions may
21098         not be raised when matherr is used.
21099         (Math Error Reporting): Document overflow in directed rounding
21100         modes.  Document that errno may not be set when finite values are
21101         returned on overflow.  Document intent to set errno on underflow
21102         only for underflow to zero.
21104         [BZ #16271]
21105         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21106         round-to-nearest then adjust result for other rounding modes.
21107         * include/fenv.h (fegetround): Use libm_hidden_proto.
21108         * math/fegetround.c (fegetround): Use libm_hidden_def.
21109         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21110         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21111         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21113         Likewise.
21114         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21115         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21116         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21117         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21119 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21121         [BZ #16077]
21122         * nss/Versions (libnss_files): Add
21123         _nss_files_gethostbyname3_r.
21124         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21125         New function.
21126         (HOST_DB_LOOKUP): Remove macro.
21127         (_nss_files_gethostbyname_r): Implement function without the
21128         HOST_DB_LOOKUP macro.
21129         (_nss_files_gethostbyname2_r): Likewise.
21131 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21133         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21135 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21137         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21138         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21139         warning.
21141 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21143         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21144         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21145         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21146         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21147         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21148         __fe_nomask_env_priv and attribute_hidden.
21149         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21150         (libc_feupdateenv_test_ppc): Likewise.
21151         (libc_feresetround_ppc): Likewise.
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21153         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21154         compat_symbol macro.
21155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21156         (__fe_nomask_env): Likewise.
21157         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21159 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21161         * string/Makefile: Remove ifunc tests.
21162         * string/test-string.h: Define TEST_IFUNC.
21163         * string/test-bcopy-ifunc.c: Remove.
21164         * string/test-bzero-ifunc.c: Likewise.
21165         * string/test-memccpy-ifunc.c: Likewise.
21166         * string/test-memchr-ifunc.c: Likewise.
21167         * string/test-memcmp-ifunc.c: Likewise.
21168         * string/test-memcpy-ifunc.c: Likewise.
21169         * string/test-memmem-ifunc.c: Likewise.
21170         * string/test-memmove-ifunc.c: Likewise.
21171         * string/test-mempcpy-ifunc.c: Likewise.
21172         * string/test-memrchr-ifunc.c: Likewise.
21173         * string/test-memset-ifunc.c: Likewise.
21174         * string/test-rawmemchr-ifunc.c: Likewise.
21175         * string/test-stpcpy-ifunc.c: Likewise.
21176         * string/test-stpncpy-ifunc.c: Likewise.
21177         * string/test-strcasecmp-ifunc.c: Likewise.
21178         * string/test-strcasestr-ifunc.c: Likewise.
21179         * string/test-strcat-ifunc.c: Likewise.
21180         * string/test-strchr-ifunc.c: Likewise.
21181         * string/test-strchrnul-ifunc.c: Likewise.
21182         * string/test-strcmp-ifunc.c: Likewise.
21183         * string/test-strcpy-ifunc.c: Likewise.
21184         * string/test-strcspn-ifunc.c: Likewise.
21185         * string/test-strlen-ifunc.c: Likewise.
21186         * string/test-strncasecmp-ifunc.c: Likewise.
21187         * string/test-strncat-ifunc.c: Likewise.
21188         * string/test-strncmp-ifunc.c: Likewise.
21189         * string/test-strncpy-ifunc.c: Likewise.
21190         * string/test-strnlen-ifunc.c: Likewise.
21191         * string/test-strpbrk-ifunc.c: Likewise.
21192         * string/test-strrchr-ifunc.c: Likewise.
21193         * string/test-strspn-ifunc.c: Likewise.
21194         * string/test-strstr-ifunc.c: Likewise.
21196 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21198         * benchtests/Makefile: Remove ifunc tests.
21199         * benchtests/bench-string.h: Define TEST_IFUNC.
21200         * benchtests/bench-bcopy-ifunc.c: Remove.
21201         * benchtests/bench-bzero-ifunc.c: Likewise.
21202         * benchtests/bench-memccpy-ifunc.c: Likewise.
21203         * benchtests/bench-memchr-ifunc.c: Likewise.
21204         * benchtests/bench-memcmp-ifunc.c: Likewise.
21205         * benchtests/bench-memcpy-ifunc.c: Likewise.
21206         * benchtests/bench-memmem-ifunc.c: Likewise.
21207         * benchtests/bench-memmove-ifunc.c: Likewise.
21208         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21209         * benchtests/bench-memrchr-ifunc.c: Likewise.
21210         * benchtests/bench-memset-ifunc.c: Likewise.
21211         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21212         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21213         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21214         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21215         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21216         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21217         * benchtests/bench-strcat-ifunc.c: Likewise.
21218         * benchtests/bench-strchr-ifunc.c: Likewise.
21219         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21220         * benchtests/bench-strcmp-ifunc.c: Likewise.
21221         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21222         * benchtests/bench-strcpy-ifunc.c: Likewise.
21223         * benchtests/bench-strcspn-ifunc.c: Likewise.
21224         * benchtests/bench-strlen-ifunc.c: Likewise.
21225         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21226         * benchtests/bench-strncat-ifunc.c: Likewise.
21227         * benchtests/bench-strncmp-ifunc.c: Likewise.
21228         * benchtests/bench-strncpy-ifunc.c: Likewise.
21229         * benchtests/bench-strnlen-ifunc.c: Likewise.
21230         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21231         * benchtests/bench-strrchr-ifunc.c: Likewise.
21232         * benchtests/bench-strsep-ifunc.c: Likewise.
21233         * benchtests/bench-strspn-ifunc.c: Likewise.
21234         * benchtests/bench-strstr-ifunc.c: Likewise.
21236 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21238         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21240 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21242         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21243         * rt/aio.h: Likewise.
21244         * sysdeps/gnu/bits/utmp.h: Likewise.
21245         * sysdeps/gnu/bits/utmpx.h: Likewise.
21246         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21247         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21248         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21249         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21250         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21251         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21252         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21253         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21254         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21255         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21256         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21257         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21258         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21260         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21261         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21262         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21263         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21264         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21265         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21266         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21267         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21268         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21269         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21270         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21272         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21273         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21274         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21275         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21276         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21277         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21278         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21279         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21280         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21281         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21282         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21283         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21284         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21285         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21286         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21287         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21289 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21291         [BZ #16245]
21292         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21293         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21295 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21297         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21298         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21299         Likewise.
21301 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21303         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21304         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21305         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21306         (__fesetround): Remove define.
21307         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21308         rounding and exceptions handling.
21309         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21310         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21311         (__fe_nomask_env): Likewise.
21312         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21313         __fegetround instead of fegetround.
21314         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21315         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21317 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21319         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21320         it's there.
21322         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21324 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21326         [BZ #11157]
21327         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21328         (encrypt_r): Likewise.
21329         * malloc/obstack.h (obstack_free): Likewise.
21330         * posix/unistd.h (encrypt): Likewise.
21332 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21334         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21335         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21336         DL_CALL_DT_FINI() that call the functions directly.
21337         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21338         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21339         * elf/dl-fini.c: Likewise.
21341 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21343         * malloc/hooks.c (memalign_check): Add alignment rounding.
21344         * malloc/malloc.c (_mid_memalign): New function.
21345         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21346         Implement by calling _mid_memalign.
21347         * manual/probes.texi (Memory Allocation Probes): Remove
21348         memory_valloc_retry and memory_pvalloc_retry.
21350 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21352         * locale/programs/locarchive.c (open_archive): Add const
21353         qualifier to ARCHIVEFNAME and copy default fname to
21354         DEFAULT_FNAME.
21356         [BZ #15601]
21357         * libio/tst-widetext.input: Rename Oriya to Odia.
21358         * locale/iso-639.def: Likewise.
21360         * manual/probes.texi (Mathematical Function Probes): Add
21361         documentation for sin, cos, asin and acos probes.
21362         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21363         (__sin32): Add slowasin probe.
21364         (__cos32): Add slowacos probe.
21365         (__mpsin): Add slowsin probe.
21366         (__mpcos): Add slowcos probe.
21368 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21370         [BZ #15483]
21371         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21372         thread-local __sim_exceptions_thread and global
21373         __sim_exceptions_global.
21374         (__sim_disabled_exceptions): Change to thread-local
21375         __sim_disabled_exceptions_thread and global
21376         __sim_disabled_exceptions_global.
21377         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21378         and global __sim_round_mode_global.
21379         (__simulate_exceptions): Use thread-local floating-point state and
21380         set global state from it as needed.
21381         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21382         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21383         __sim_round_mode_thread.
21384         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21385         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21386         and global __sim_exceptions_global.
21387         (__sim_disabled_exceptions): Change to thread-local
21388         __sim_disabled_exceptions_thread and global
21389         __sim_disabled_exceptions_global.
21390         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21391         and global __sim_round_mode_global.
21392         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21393         (SIM_SET_GLOBAL): Likewise.
21394         * sysdeps/powerpc/soft-fp/sfp-machine.h
21395         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21396         __sim_round_mode_thread.
21397         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21398         __sim_disabled_exceptions_thread.
21399         (__sim_exceptions): Change to __sim_exceptions_thread.
21400         (__sim_disabled_exceptions): Change to
21401         __sim_disabled_exceptions_thread.
21402         (__sim_round_mode): Change to __sim_round_mode_thread.
21403         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21404         thread-local floating-point state and set global state from it as
21405         needed.
21406         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21407         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21408         (__sim_disabled_exceptions): Remove extern declaration.
21409         (feenableexcept): Use thread-local floating-point state and set
21410         global state from it as needed.
21411         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21412         extern declaration.
21413         (__sim_disabled_exceptions): Likewise.
21414         (__sim_round_mode): Likewise.
21415         (__fegetenv): Use thread-local floating-point state.
21416         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21417         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21418         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21419         floating-point state and set global state from it as needed.
21420         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21421         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21422         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21423         Likewise.
21424         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21425         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21426         Likewise.
21427         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21428         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21429         Use __sim_round_mode_thread.
21430         * math/test-fenv-tls.c: New file.
21431         * math/Makefile (tests): Add test-fenv-tls.
21432         ($(objpfx)test-fenv-tls): Depend on
21433         $(common-objpfx)nptl/libpthread.so.
21435 2013-11-19  Andreas Schwab  <schwab@suse.de>
21437         * locale/programs/locale.c (show_info): Decode wordarray elements.
21438         * locale/categories.def (LC_MONETARY): Add element for
21439         _NL_MONETARY_CRNCYSTR.
21440         * locale/C-monetary.c (conversion_rate): New variable.
21441         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21442         element.
21444 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21446         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21447         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21449 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21451         * elf/Makefile (tst-auxv): New test.
21452         * elf/tst-auxv.c: New
21453         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21455 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21457         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21458         (hidden_proto): Caller changed.
21459         (hidden_tls_proto): New macro.
21460         (libc_hidden_tls_proto): Likewise.
21461         (rtld_hidden_tls_proto): Likewise.
21462         (libm_hidden_tls_proto): Likewise.
21463         (libresolv_hidden_tls_proto): Likewise.
21464         (librt_hidden_tls_proto): Likewise.
21465         (libdl_hidden_tls_proto): Likewise.
21466         (libnss_files_hidden_tls_proto): Likewise.
21467         (libnsl_hidden_tls_proto): Likewise.
21468         (libnss_nisplus_hidden_tls_proto): Likewise.
21469         (libutil_hidden_tls_proto): Likewise.
21471 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21473         [BZ #10253]
21474         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21475         (decompose_rpath): Defer expansion to fillin_rpath.
21476         (_dl_init_paths): Pass linkmap to fillin_rpath.
21478 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21480         * benchtests/Makefile: Add strsep.
21481         * benchtests/bench-strsep.c: New file: strsep benchtest.
21482         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21484 2013-11-18  Andreas Schwab  <schwab@suse.de>
21486         * locale/programs/locale.c (show_info) [case byte]: Check for
21487         '\377' instead of '\177'.
21488         * locale/C-monetary.c (not_available): Always use "\377".
21489         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21490         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21491         detect unavailable sign_posn locale elements.
21492         * locale/localeconv.c (__localeconv): For grouping and
21493         mon_grouping handle "\177" and "\377" like no grouping.
21494         (INT_ELEM): New macro.  Use it to set all numeric members.
21495         * locale/programs/ld-monetary.c (monetary_read)
21496         <tok_mon_grouping>: Normalize single -1 to the empty string.
21497         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21498         Likewise.
21500 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21502         [BZ #16055]
21503         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21504         when we match (nil).
21505         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21507 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21509         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21510         (NO_TEST_INLINE): Update value.
21511         (ERRNO_UNCHANGED): Likewise.
21512         (ERRNO_EDOM): Likewise.
21513         (ERRNO_ERANGE): Likewise.
21514         (IGNORE_RESULT): Likewise.
21515         (check_float_internal): Check signs of NaN results if
21516         TEST_NAN_SIGN used.
21517         (check_complex): Pass TEST_NAN_SIGN flag through to second
21518         check_float_internal call.
21519         (copysign_test_data): Add tests with quiet NaNs as second
21520         argument.  Use TEST_NAN_SIGN.
21521         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21522         TEST_NAN_SIGN.
21523         (signbit_test_data): Add tests of quiet NaN argument.
21524         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21526         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21527         $ignore_result.
21528         (parse_args): Handle function results specified as IGNORE.
21529         * math/libm-test.inc (IGNORE_RESULT): New macro.
21530         (check_float_internal): Do not check numerical result if flag
21531         IGNORE_RESULT set.
21532         (check_complex): Pass through IGNORE_RESULT to second
21533         check_float_internal call.
21534         (check_int): Do not check numerical result if flag IGNORE_RESULT
21535         set.
21536         (check_long): Likewise.
21537         (check_bool): Likewise.
21538         (check_longlong): Likewise.
21539         (lrint_test_data): Add tests of infinite and NaN arguments.
21540         (lrint_tonearest_test_data): Likewise.
21541         (lrint_towardzero_test_data): Likewise.
21542         (lrint_downward_test_data): Likewise.
21543         (lrint_upward_test_data): Likewise.
21544         (llrint_test_data): Likewise.
21545         (llrint_tonearest_test_data): Likewise.
21546         (llrint_towardzero_test_data): Likewise.
21547         (llrint_downward_test_data): Likewise.
21548         (llrint_upward_test_data): Likewise.
21549         (lround_test_data): Likewise.
21550         (llround_test_data): Likewise.
21552         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21553         (ERRNO_UNCHANGED): Update value.
21554         (ERRNO_EDOM): Likewise.
21555         (ERRNO_ERANGE): Likewise.
21556         (NO_TEST_INLINE_FLOAT): New macro.
21557         (NO_TEST_INLINE_DOUBLE): Likewise.
21558         (enable_test): New function.
21559         (RUN_TEST_f_f): Check enable_test before running test.
21560         (RUN_TEST_2_f): Likewise.
21561         (RUN_TEST_fff_f): Likewise.
21562         (RUN_TEST_c_f): Likewise.
21563         (RUN_TEST_f_f1): Likewise.
21564         (RUN_TEST_fF_f1): Likewise.
21565         (RUN_TEST_fI_f1): Likewise.
21566         (RUN_TEST_ffI_f1): Likewise.
21567         (RUN_TEST_c_c): Likewise.
21568         (RUN_TEST_cc_c): Likewise.
21569         (RUN_TEST_f_i): Likewise.
21570         (RUN_TEST_f_i_tg): Likewise.
21571         (RUN_TEST_ff_i_tg): Likewise.
21572         (RUN_TEST_f_b): Likewise.
21573         (RUN_TEST_f_b_tg): Likewise.
21574         (RUN_TEST_f_l): Likewise.
21575         (RUN_TEST_f_L): Likewise.
21576         (RUN_TEST_fFF_11): Likewise.
21577         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21578         conditionals.
21579         (cosh_test_data): Likewise.
21580         (exp_test_data): Likewise.
21581         (expm1_test_data): Likewise.
21582         (hypot_test_data): Likewise.
21583         (pow_test_data): Likewise.
21584         (sinh_test_data): Likewise.
21585         (tanh_test_data): Likewise.
21586         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21587         flags argument.
21589         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21590         tests with quiet NaN input and output.
21591         (acosh_test_data): Likewise.
21592         (asin_test_data): Likewise.
21593         (asinh_test_data): Likewise.
21594         (atan_test_data): Likewise.
21595         (atanh_test_data): Likewise.
21596         (atan2_test_data): Likewise.
21597         (cbrt_test_data): Likewise.
21598         (cos_test_data): Likewise.
21599         (cosh_test_data): Likewise.
21600         (erf_test_data): Likewise.
21601         (erfc_test_data): Likewise.
21602         (exp_test_data): Likewise.
21603         (exp10_test_data): Likewise.
21604         (exp2_test_data): Likewise.
21605         (expm1_test_data): Likewise.
21606         (hypot_test_data): Likewise.
21607         (j0_test_data): Likewise.
21608         (j1_test_data): Likewise.
21609         (jn_test_data): Likewise.
21610         (lgamma_test_data): Likewise.
21611         (log_test_data): Likewise.
21612         (log10_test_data): Likewise.
21613         (log1p_test_data): Likewise.
21614         (log2_test_data): Likewise.
21615         (pow_test_data): Likewise.
21616         (scalb_test_data): Likewise.
21617         (sin_test_data): Likewise.
21618         (sincos_test_data): Likewise.
21619         (sinh_test_data): Likewise.
21620         (tan_test_data): Likewise.
21621         (tanh_test_data): Likewise.
21622         (tgamma_test_data): Likewise.
21623         (y0_test_data): Likewise.
21624         (y1_test_data): Likewise.
21625         (yn_test_data): Likewise.
21627         [BZ #16167]
21628         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21629         argument being NaN and avoid computations with second argument in
21630         that case.
21631         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21632         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21633         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21635 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21637         * locale/iso-639.def: Add Chitwani Tharu (the).
21639 2013-11-14  Andreas Schwab  <schwab@suse.de>
21641         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21642         word instead of empty string.
21644 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21647         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21649         (__fe_nomask_env): Likewise.
21651 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21653         * benchtests/bench-timing.h: Include time.h.
21655 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21657         [BZ #15997]
21658         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21659         to 3.4.0 for x32.
21660         * sysdeps/unix/sysv/linux/configure: Regenerated.
21662 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21664         [BZ #16151]
21665         * stdlib/strtod_l.c (round_and_return): Do not consider
21666         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21667         exponent one less than half the least subnormal exponent.
21668         * stdlib/test-strtod-round-data: Add more tests.
21669         * stdlib/tst-strtod-round.c (tests): Regenerated.
21671 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21673         [BZ #14143]
21674         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21675         (__fe_mask_env): Likewise.
21676         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21677         libm_hidden_proto and add function prototype.
21678         (__fe_mask_env): Add function prototype.
21679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21680         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21682         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21684         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21686 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21688         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21689         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21691 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21693         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21694         of htab_find_slot().
21696 2013-11-11  David S. Miller  <davem@davemloft.net>
21698         [BZ #16150]
21699         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21700         symbol in the non-vis3 case in static builds.
21701         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21702         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21703         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21704         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21706 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21708         [BZ #387]
21709         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21710         it is empty.
21712 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21714         * benchtests/Makefile: Add bench-strtod.
21715         * benchtests/bench-strtod.c: New file: strtod benchtest
21717 2013-11-11  Andreas Schwab  <schwab@suse.de>
21719         [BZ #16153]
21720         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21721         terminating NUL in key length.
21723 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21725         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21726         Add artificial ODP entry for vDSO symbol for PPC64.
21727         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21728         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21730 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21732         [BZ #15374]
21733         * nss/getent.c (services_keys): Recognize services starting with digit.
21735 2013-11-06  David S. Miller  <davem@davemloft.net>
21737         [BZ #15985]
21738         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21739         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21741 2013-11-06  Will Newton  <will.newton@linaro.org>
21743         * manual/memory.texi (Malloc Examples): Remove register
21744         keyword from examples.
21746 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21748         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21750 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21752         [BZ #6981]
21753         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21754         depending on [__GCC_IEC_559 > 0].
21755         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21756         depending on [__GCC_IEC_559_COMPLEX > 0].
21758 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21760         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21761         to iso-639.def.
21763 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21765         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21767 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21769         [BZ #16112]
21770         * malloc/malloc (malloc_info): Do not handle first bin as
21771         special case.
21773 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21775         * locale/iso-639.def: Add Central Nahuatl (nhn).
21777 2013-11-01  Bruno Haible  <bruno@clisp.org>
21779         [BZ #7003]
21780         * manual/math.texi (BSD Random): Specify range upper bound as
21781         in POSIX.
21783 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21785         * locale/iso-639.def: Add Meadow Mari (mhr).
21787 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21789         [BZ #14752], [BZ #15763]
21790         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21791         Validate name.
21792         * rt/tst_shm.c: Add test for escaping directory.
21794 2013-10-31  Andreas Schwab  <schwab@suse.de>
21796         [BZ #15917]
21797         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21798         followed by 'x' as part of digit sequence.
21799         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21801 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21803         [BZ #16037]
21804         * configure.ac: allow GNU Make 4.0 and greater.
21805         * configure: Regenerated.
21807 2013-10-30  Will Newton  <will.newton@linaro.org>
21809         [BZ #16038]
21810         * malloc/hooks.c (memalign_check): Limit alignment to the
21811         maximum representable power of two.
21812         * malloc/malloc.c (__libc_memalign): Likewise.
21813         * malloc/tst-memalign.c (do_test): Add test for very
21814         large alignment values.
21815         * malloc/tst-posix_memalign.c (do_test): Likewise.
21817 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21819         [BZ #11087]
21820         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21821         (munmap_chunk): Likewise.
21822         (mremap_chunk): Likewise.
21824 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21826         [BZ #15799]
21827         * stdlib/div.c (div): Remove obsolete code.
21828         * stdlib/ldiv.c (ldiv): Likewise.
21829         * stdlib/lldiv.c (lldiv): Likewise.
21831 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21833         [BZ #16071]
21834         * nss/nss_files/files-XXX.c (get_contents_ret): New
21835         enumerator.
21836         (get_contents): New function.
21837         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21839 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21841         * configure.in: Moved to ...
21842         * configure.ac: ... here. Change reference to configure.in
21843         to configure.ac.
21844         * sysdeps/arm/preconfigure.ac: ... here.
21845         configure.in to configure.ac.
21846         * sysdeps/gnu/configure.in: Moved to ...
21847         * sysdeps/gnu/configure.ac: ... here.
21848         * sysdeps/i386/configure.in: Moved to ...
21849         * sysdeps/i386/configure.ac: ... here.
21850         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21851         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21852         * sysdeps/mach/configure.in: Moved to ...
21853         * sysdeps/mach/configure.ac: ... here.
21854         * sysdeps/mach/hurd/configure.in: Moved to ...
21855         * sysdeps/mach/hurd/configure.ac: ... here.
21856         * sysdeps/powerpc/configure.in: Moved to ...
21857         * sysdeps/powerpc/configure.ac: ... here.
21858         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21859         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21860         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21861         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21862         * sysdeps/s390/s390-32/configure.in: Moved to ...
21863         * sysdeps/s390/s390-32/configure.ac: ... here.
21864         * sysdeps/s390/s390-64/configure.in: Moved to ...
21865         * sysdeps/s390/s390-64/configure.ac: ... here.
21866         * sysdeps/sh/configure.in: Moved to ...
21867         * sysdeps/sh/configure.ac: ... here.
21868         * sysdeps/sparc/configure.in: Moved to ...
21869         * sysdeps/sparc/configure.ac: ... here.
21870         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21871         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21872         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21873         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21874         * sysdeps/x86_64/configure.in: Moved to ...
21875         * sysdeps/x86_64/configure.ac: ... here.
21876         * sysdeps/x86_64/preconfigure.in: Moved to ...
21877         * sysdeps/x86_64/preconfigure.ac: ... here.
21878         * aclocal.m4: Change reference to configure.in to configure.ac.
21879         * config.h.in: Likewise.
21880         * manual/install.texi: Likewise.
21881         * manual/maint.texi: Likewise.
21882         * Makefile: Likewise.
21883         * malloc/Makefile: Likewise.
21884         * nscd/Makefile: Likewise.
21885         * Makeconfig: Change reference to configure.in and
21886         preconfigure.in to configure.ac and preconfigure.ac
21887         respectively.
21888         * INSTALL: Regenerated.
21889         * configure: Likewise.
21890         * sysdeps/gnu/configure: Likewise.
21891         * sysdeps/i386/configure: Likewise.
21892         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21893         * sysdeps/mach/configure: Likewise.
21894         * sysdeps/mach/hurd/configure: Likewise.
21895         * sysdeps/powerpc/configure: Likewise.
21896         * sysdeps/powerpc/powerpc32/configure: Likewise.
21897         * sysdeps/powerpc/powerpc64/configure: Likewise.
21898         * sysdeps/s390/s390-32/configure: Likewise.
21899         * sysdeps/s390/s390-64/configure: Likewise.
21900         * sysdeps/sh/configure: Likewise.
21901         * sysdeps/sparc/configure: Likewise.
21902         * sysdeps/unix/sysv/linux/configure: Likewise.
21903         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21904         * sysdeps/x86_64/configure: Likewise.
21905         * sysdeps/x86_64/preconfigure: Likewise.
21907 2013-10-29  Andreas Schwab  <schwab@suse.de>
21909         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21911 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21913         * benchtests/pow-inputs: Add new inputs.
21915         * benchtests/exp-inputs: Add new inputs.
21917         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21918         conditional check for return value.
21919         (__cos32): Likewise.
21921 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21923         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21924         to provide a boost for large inputs with word alignment.
21925         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21926         implementation based on optimized PPC64 strcpy.
21927         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21928         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21929         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21930         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21932 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21934         [BZ #2801]
21935         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21937 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21939         [BZ #14876]
21940         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21941         * time/tst-strptime.c (day_tests): Add testcase.
21943 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21945         [BZ #14029]
21946         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21948 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21950         [BZ #16074]
21951         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21952         MAP_FAILED on error.
21954 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21956         [BZ #16072]
21957         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21958         heap for large requests.
21960 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21962         [BZ #9954]
21963         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21964         result if the result has no associated interface.
21965         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21966         interface for all 127.X.Y.Z addresses.
21968 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21970         * locale/iso-639.def: Add Ligurian (lij)
21972 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21974         [BZ #15825]
21975         * sunrpc/rpc_main.c: Document rpcgen -5.
21977 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21979         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21981 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21983         [BZ #10278]
21984         * posix/glob.c: Match only directories when trailing slash is present.
21985         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21986         (main): Add testcase.
21988 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21990         [BZ #15670]
21991         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21993 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21995         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21996         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21997         AUTH_DES and cindex for FIPS 140-2.
21998         (DES Encryption): Add cindex FIPS 46-3.
22000         * locale/locarchive.h (struct locarhandle): Add fname.
22001         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22002         if an optional argument was specified to --list-archive,
22003         otherwise NULL.
22004         * locale/programs/locarchive.c (show_archive_content): Take new
22005         argument fname and pass it via ah.fname to open_archive.
22006         * locale/programs/localedef.h: Update decl.
22007         (open_archive): If AH->fname is non-null, open that file
22008         rather than the default file name, and don't ignore ENOENT.
22009         (create_archive): Set AH.fname to NULL.
22010         (delete_locales_from_archive): Likewise.
22011         (add_locales_to_archive): Likewise.
22012         * locale/programs/locfile.c (write_all_categories): Likewise.
22014 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22015             Aldy Hernandez  <aldyh@redhat.com>
22017         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22018         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22019         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22020         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22021         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22022         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22023         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22025         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22026         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22027         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22028         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22029         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22030         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22031         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22032         Likewise.
22033         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22034         Likewise.
22035         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22036         Likewise.
22037         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22038         Likewise.
22039         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22040         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22041         Likewise.
22042         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22043         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22044         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22045         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22046         Likewise.
22047         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22048         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22049         * sysdeps/powerpc/preconfigure: Likewise.
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22051         Likewise.
22052         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22053         Replace contents of file by #include of <fenv_libc.h>.
22054         * sysdeps/powerpc/soft-fp/sfp-machine.h
22055         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22056         and <sys/prctl.h>.
22057         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22058         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22059         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22062         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22065         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22068         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22070         Allow copysignl PLT reference to be missing.
22072 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22073             Joseph Myers  <joseph@codesourcery.com
22075         [BZ #15948]
22076         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22077         single character.
22078         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22080 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22082         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22083         * elf/tst-tls1.c: Likewise.
22084         * elf/tst-tls10.h: Likewise.
22085         * elf/tst-tls14.c: Likewise.
22086         * elf/tst-tls2.c: Likewise.
22087         * elf/tst-tls3.c: Likewise.
22088         * elf/tst-tls4.c: Likewise.
22089         * elf/tst-tls5.c: Likewise.
22090         * elf/tst-tls6.c: Likewise.
22091         * elf/tst-tls7.c: Likewise.
22092         * elf/tst-tls8.c: Likewise.
22093         * elf/tst-tls9.c: Likewise.
22094         * elf/tst-tlsmod1.c: Likewise.
22095         * elf/tst-tlsmod13.c: Likewise.
22096         * elf/tst-tlsmod13a.c: Likewise.
22097         * elf/tst-tlsmod14a.c: Likewise.
22098         * elf/tst-tlsmod16a.c: Likewise.
22099         * elf/tst-tlsmod16b.c: Likewise.
22100         * elf/tst-tlsmod2.c: Likewise.
22101         * elf/tst-tlsmod3.c: Likewise.
22102         * elf/tst-tlsmod4.c: Likewise.
22103         * elf/tst-tlsmod5.c: Likewise.
22104         * elf/tst-tlsmod6.c: Likewise.
22106 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22108         [BZ #12486]
22109         * malloc/malloc.c: remove checks for statistics.
22111 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22113         [BZ #15277]
22114         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22115         * inet/tst-network.c: Add testcase.
22117 2013-10-17  Andreas Schwab  <schwab@suse.de>
22119         [BZ #15218]
22120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22121         to determine canonical name.
22123 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22125         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22126         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22128         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22130         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22131         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22132         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22133         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22134         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22138         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22139         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22140         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22142         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22143         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22144         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22147         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22148         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22149         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22150         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22151         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22152         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22154         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22155         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22156         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22157         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22158         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22159         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22160         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22161         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22162         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22163         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22164         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22165         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22166         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22167         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22168         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22169         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22170         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22171         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22172         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22173         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22174         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22175         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22176         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22177         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22178         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22179         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22181         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22182         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22184 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22186         [BZ #16041]
22187         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22188         make result into a quiet NaN.
22190 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22192         * soft-fp/adddf3.c: Fix horizontal whitespace.
22193         * soft-fp/addsf3.c: Likewise.
22194         * soft-fp/addtf3.c: Likewise.
22195         * soft-fp/divdf3.c: Likewise.
22196         * soft-fp/divsf3.c: Likewise.
22197         * soft-fp/divtf3.c: Likewise.
22198         * soft-fp/double.h: Likewise.
22199         * soft-fp/eqdf2.c: Likewise.
22200         * soft-fp/eqsf2.c: Likewise.
22201         * soft-fp/eqtf2.c: Likewise.
22202         * soft-fp/extenddftf2.c: Likewise.
22203         * soft-fp/extended.h: Likewise.
22204         * soft-fp/extendsfdf2.c: Likewise.
22205         * soft-fp/extendsftf2.c: Likewise.
22206         * soft-fp/extendxftf2.c: Likewise.
22207         * soft-fp/fixdfdi.c: Likewise.
22208         * soft-fp/fixdfsi.c: Likewise.
22209         * soft-fp/fixdfti.c: Likewise.
22210         * soft-fp/fixsfdi.c: Likewise.
22211         * soft-fp/fixsfsi.c: Likewise.
22212         * soft-fp/fixsfti.c: Likewise.
22213         * soft-fp/fixtfdi.c: Likewise.
22214         * soft-fp/fixtfsi.c: Likewise.
22215         * soft-fp/fixtfti.c: Likewise.
22216         * soft-fp/fixunsdfdi.c: Likewise.
22217         * soft-fp/fixunsdfsi.c: Likewise.
22218         * soft-fp/fixunsdfti.c: Likewise.
22219         * soft-fp/fixunssfdi.c: Likewise.
22220         * soft-fp/fixunssfsi.c: Likewise.
22221         * soft-fp/fixunssfti.c: Likewise.
22222         * soft-fp/fixunstfdi.c: Likewise.
22223         * soft-fp/fixunstfsi.c: Likewise.
22224         * soft-fp/fixunstfti.c: Likewise.
22225         * soft-fp/floatdidf.c: Likewise.
22226         * soft-fp/floatdisf.c: Likewise.
22227         * soft-fp/floatditf.c: Likewise.
22228         * soft-fp/floatsidf.c: Likewise.
22229         * soft-fp/floatsisf.c: Likewise.
22230         * soft-fp/floatsitf.c: Likewise.
22231         * soft-fp/floattidf.c: Likewise.
22232         * soft-fp/floattisf.c: Likewise.
22233         * soft-fp/floattitf.c: Likewise.
22234         * soft-fp/floatundidf.c: Likewise.
22235         * soft-fp/floatundisf.c: Likewise.
22236         * soft-fp/floatunditf.c: Likewise.
22237         * soft-fp/floatunsidf.c: Likewise.
22238         * soft-fp/floatunsisf.c: Likewise.
22239         * soft-fp/floatunsitf.c: Likewise.
22240         * soft-fp/floatuntidf.c: Likewise.
22241         * soft-fp/floatuntisf.c: Likewise.
22242         * soft-fp/floatuntitf.c: Likewise.
22243         * soft-fp/fmadf4.c: Likewise.
22244         * soft-fp/fmasf4.c: Likewise.
22245         * soft-fp/fmatf4.c: Likewise.
22246         * soft-fp/gedf2.c: Likewise.
22247         * soft-fp/gesf2.c: Likewise.
22248         * soft-fp/getf2.c: Likewise.
22249         * soft-fp/ledf2.c: Likewise.
22250         * soft-fp/lesf2.c: Likewise.
22251         * soft-fp/letf2.c: Likewise.
22252         * soft-fp/muldf3.c: Likewise.
22253         * soft-fp/mulsf3.c: Likewise.
22254         * soft-fp/multf3.c: Likewise.
22255         * soft-fp/negdf2.c: Likewise.
22256         * soft-fp/negsf2.c: Likewise.
22257         * soft-fp/negtf2.c: Likewise.
22258         * soft-fp/op-1.h: Likewise.
22259         * soft-fp/op-2.h: Likewise.
22260         * soft-fp/op-4.h: Likewise.
22261         * soft-fp/op-8.h: Likewise.
22262         * soft-fp/op-common.h: Likewise.
22263         * soft-fp/quad.h: Likewise.
22264         * soft-fp/single.h: Likewise.
22265         * soft-fp/soft-fp.h: Likewise.
22266         * soft-fp/sqrtdf2.c: Likewise.
22267         * soft-fp/sqrtsf2.c: Likewise.
22268         * soft-fp/sqrttf2.c: Likewise.
22269         * soft-fp/subdf3.c: Likewise.
22270         * soft-fp/subsf3.c: Likewise.
22271         * soft-fp/subtf3.c: Likewise.
22272         * soft-fp/truncdfsf2.c: Likewise.
22273         * soft-fp/trunctfdf2.c: Likewise.
22274         * soft-fp/trunctfsf2.c: Likewise.
22275         * soft-fp/trunctfxf2.c: Likewise.
22276         * soft-fp/unorddf2.c: Likewise.
22277         * soft-fp/unordsf2.c: Likewise.
22278         * soft-fp/unordtf2.c: Likewise.
22280 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22282         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22283         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22285 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22287         * elf/dl-libc.c: Clear initfini list after freeing.
22289 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22291         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22292         * soft-fp/addsf3.c: Likewise.
22293         * soft-fp/addtf3.c: Likewise.
22294         * soft-fp/divdf3.c: Likewise.
22295         * soft-fp/divsf3.c: Likewise.
22296         * soft-fp/divtf3.c: Likewise.
22297         * soft-fp/double.h: Likewise.
22298         * soft-fp/eqdf2.c: Likewise.
22299         * soft-fp/eqsf2.c: Likewise.
22300         * soft-fp/eqtf2.c: Likewise.
22301         * soft-fp/extenddftf2.c: Likewise.
22302         * soft-fp/extended.h: Likewise.
22303         * soft-fp/extendsfdf2.c: Likewise.
22304         * soft-fp/extendsftf2.c: Likewise.
22305         * soft-fp/extendxftf2.c: Likewise.
22306         * soft-fp/fixdfdi.c: Likewise.
22307         * soft-fp/fixdfsi.c: Likewise.
22308         * soft-fp/fixdfti.c: Likewise.
22309         * soft-fp/fixsfdi.c: Likewise.
22310         * soft-fp/fixsfsi.c: Likewise.
22311         * soft-fp/fixsfti.c: Likewise.
22312         * soft-fp/fixtfdi.c: Likewise.
22313         * soft-fp/fixtfsi.c: Likewise.
22314         * soft-fp/fixtfti.c: Likewise.
22315         * soft-fp/fixunsdfdi.c: Likewise.
22316         * soft-fp/fixunsdfsi.c: Likewise.
22317         * soft-fp/fixunsdfti.c: Likewise.
22318         * soft-fp/fixunssfdi.c: Likewise.
22319         * soft-fp/fixunssfsi.c: Likewise.
22320         * soft-fp/fixunssfti.c: Likewise.
22321         * soft-fp/fixunstfdi.c: Likewise.
22322         * soft-fp/fixunstfsi.c: Likewise.
22323         * soft-fp/fixunstfti.c: Likewise.
22324         * soft-fp/floatdidf.c: Likewise.
22325         * soft-fp/floatdisf.c: Likewise.
22326         * soft-fp/floatditf.c: Likewise.
22327         * soft-fp/floatsidf.c: Likewise.
22328         * soft-fp/floatsisf.c: Likewise.
22329         * soft-fp/floatsitf.c: Likewise.
22330         * soft-fp/floattidf.c: Likewise.
22331         * soft-fp/floattisf.c: Likewise.
22332         * soft-fp/floattitf.c: Likewise.
22333         * soft-fp/floatundidf.c: Likewise.
22334         * soft-fp/floatundisf.c: Likewise.
22335         * soft-fp/floatunsidf.c: Likewise.
22336         * soft-fp/floatunsisf.c: Likewise.
22337         * soft-fp/floatuntidf.c: Likewise.
22338         * soft-fp/floatuntisf.c: Likewise.
22339         * soft-fp/floatuntitf.c: Likewise.
22340         * soft-fp/fmadf4.c: Likewise.
22341         * soft-fp/fmasf4.c: Likewise.
22342         * soft-fp/fmatf4.c: Likewise.
22343         * soft-fp/gedf2.c: Likewise.
22344         * soft-fp/gesf2.c: Likewise.
22345         * soft-fp/getf2.c: Likewise.
22346         * soft-fp/ledf2.c: Likewise.
22347         * soft-fp/lesf2.c: Likewise.
22348         * soft-fp/letf2.c: Likewise.
22349         * soft-fp/muldf3.c: Likewise.
22350         * soft-fp/mulsf3.c: Likewise.
22351         * soft-fp/multf3.c: Likewise.
22352         * soft-fp/negdf2.c: Likewise.
22353         * soft-fp/negsf2.c: Likewise.
22354         * soft-fp/negtf2.c: Likewise.
22355         * soft-fp/op-1.h: Likewise.
22356         * soft-fp/op-2.h: Likewise.
22357         * soft-fp/op-4.h: Likewise.
22358         * soft-fp/op-8.h: Likewise.
22359         * soft-fp/op-common.h: Likewise.
22360         * soft-fp/quad.h: Likewise.
22361         * soft-fp/single.h: Likewise.
22362         * soft-fp/soft-fp.h: Likewise.
22363         * soft-fp/sqrtdf2.c: Likewise.
22364         * soft-fp/sqrtsf2.c: Likewise.
22365         * soft-fp/sqrttf2.c: Likewise.
22366         * soft-fp/subdf3.c: Likewise.
22367         * soft-fp/subsf3.c: Likewise.
22368         * soft-fp/subtf3.c: Likewise.
22369         * soft-fp/truncdfsf2.c: Likewise.
22370         * soft-fp/trunctfdf2.c: Likewise.
22371         * soft-fp/trunctfsf2.c: Likewise.
22372         * soft-fp/trunctfxf2.c: Likewise.
22373         * soft-fp/unorddf2.c: Likewise.
22374         * soft-fp/unordsf2.c: Likewise.
22375         * soft-fp/unordtf2.c: Likewise.
22377 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22379         [BZ #15672]
22380         * misc/error.c (error_tail): Fix possible buffer overflow.
22382 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22384         [BZ #13028]
22385         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22386         address.
22388 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22390         [BZ #832]
22391         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22392         testing pipefail option.
22394 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22396         * soft-fp/double.h: Indent preprocessor directives inside #if.
22397         * soft-fp/extended.h: Likewise.
22398         * soft-fp/op-2.h: Likewise.
22399         * soft-fp/op-4.h: Likewise.
22400         * soft-fp/op-common.h: Likewise.
22401         * soft-fp/quad.h: Likewise.
22402         * soft-fp/single.h: Likewise.
22403         * soft-fp/soft-fp.h: Likewise.
22405 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22407         * iconv/iconv_prog.c: Fix typos.
22408         * stdio-common/psiginfo-data.h: Likewise.
22410 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22412         [BZ #15764]
22413         * locale/setlocale.c: Fix typo.
22415 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22417         [BZ #16036]
22418         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22419         signaling NaN arguments.
22420         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22421         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22423         [BZ #14910]
22424         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22425         unordered operands.
22426         * soft-fp/gesf2.c (__gesf2): Likewise.
22427         * soft-fp/getf2.c (__getf2): Likewise.
22428         * soft-fp/ledf2.c (__ledf2): Likewise.
22429         * soft-fp/lesf2.c (__lesf2): Likewise.
22430         * soft-fp/letf2.c (__letf2): Likewise.
22432         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22433         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22434         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22435         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22436         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22437         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22438         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22439         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22440         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22441         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22442         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22443         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22444         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22445         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22446         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22447         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22448         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22449         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22450         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22451         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22452         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22453         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22454         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22455         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22456         * soft-fp/floattidf.c (__floattidf): Likewise.
22457         * soft-fp/floattisf.c (__floattisf): Likewise.
22458         * soft-fp/floattitf.c (__floattitf): Likewise.
22459         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22460         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22461         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22462         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22463         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22464         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22465         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22466         * soft-fp/gesf2.c (__gesf2): Likewise.
22467         * soft-fp/getf2.c (__getf2): Likewise.
22468         * soft-fp/ledf2.c (__ledf2): Likewise.
22469         * soft-fp/lesf2.c (__lesf2): Likewise.
22470         * soft-fp/letf2.c (__letf2): Likewise.
22472         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22473         Undefine and redefine.
22474         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22475         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22476         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22477         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22478         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22479         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22480         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22481         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22482         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22483         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22484         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22485         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22486         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22487         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22488         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22490         [BZ #16032]
22491         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22492         without decrementing exponent if mantissa >= that for the
22493         denominator, not >.
22494         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22495         denominator, not >.  Decrement exponent in < case instead of
22496         incrementing in >= case.
22497         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22498         without decrementing exponent if mantissa >= that for the
22499         denominator, not >.
22501         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22502         computing saturated result for unsigned overflow.
22504 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22505             Jeff Law  <law@redhat.com>
22507         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22508         (atan2Mp): Add systemtap probe marker.
22509         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22510         (__ieee754_log): Add systemtap probe marker.
22511         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22512         (atanMp): Add systemtap probe marker.
22513         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22514         (tanMp): Add systemtap probe marker.
22515         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22516         (__slowexp): Add systemtap probe marker.
22517         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22518         (__slowpow): Add systemtap probe marker.
22519         * manual/probes.texi: Document probes.
22521 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22523         [BZ #15362]
22524         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22525         written.
22526         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22527         written.
22528         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22529         written to buffer but not flushed.
22530         * libio/iofwrite_u.c:  Likewise.
22531         * libio/iopadn.c:  Return bytes returned even if EOF was
22532         encountered.
22533         * libio/iowpadn.c:  Likewise.
22534         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22535         if _IO_padn does not write the whole buffer.
22536         [!COMPILE_WPRINTF] (PAD): Likewise.
22538 2013-10-10  David S. Miller  <davem@davemloft.net>
22540         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22541         directory block.
22543 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22545         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22546         instead of FSF address.
22547         * soft-fp/fixdfti.c: Likewise.
22548         * soft-fp/fixsfti.c: Likewise.
22549         * soft-fp/fixtfti.c: Likewise.
22550         * soft-fp/fixunsdfti.c: Likewise.
22551         * soft-fp/fixunssfti.c: Likewise.
22552         * soft-fp/fixunstfti.c: Likewise.
22553         * soft-fp/floattidf.c: Likewise.
22554         * soft-fp/floattisf.c: Likewise.
22555         * soft-fp/floattitf.c: Likewise.
22556         * soft-fp/floatuntidf.c: Likewise.
22557         * soft-fp/floatuntisf.c: Likewise.
22558         * soft-fp/floatuntitf.c: Likewise.
22559         * soft-fp/trunctfxf2.c: Likewise.
22561         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22562         * soft-fp/fixdfti.c: Likewise.
22563         * soft-fp/fixsfti.c: Likewise.
22564         * soft-fp/fixtfti.c: Likewise.
22565         * soft-fp/fixunsdfti.c: Likewise.
22566         * soft-fp/fixunssfti.c: Likewise.
22567         * soft-fp/fixunstfti.c: Likewise.
22568         * soft-fp/floattidf.c: Likewise.
22569         * soft-fp/floattisf.c: Likewise.
22570         * soft-fp/floattitf.c: Likewise.
22571         * soft-fp/floatuntidf.c: Likewise.
22572         * soft-fp/floatuntisf.c: Likewise.
22573         * soft-fp/floatuntitf.c: Likewise.
22574         * soft-fp/trunctfxf2.c: Likewise.
22576 2013-10-10  David S. Miller  <davem@davemloft.net>
22578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22580 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22582         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22583         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22584         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22585         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22586         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22587         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22588         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22590         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22591         for NaNs before doing comparisons on argument.
22592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22593         Likewise.
22595 2013-10-10  Will Newton  <will.newton@linaro.org>
22597         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22598         passed to _int_memalign does not overflow.
22600 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22602         * scripts/bench.pl: Add include-sources directive.
22603         * benchtests/README: Update documentation.
22605 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22607         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22608         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22609         instead of FP_INIT_ROUNDMODE.
22610         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22611         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22613         [BZ #16034]
22614         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22615         copy class of input value.
22616         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22617         not handle exceptions.
22618         * soft-fp/negsf2.c (__negsf2): Likewise.
22619         * soft-fp/negtf2.c (__negtf2): Likewise.
22620         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22622 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22624         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22625         semicolon.  From Linux kernel.
22627 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22629         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22631 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22633         [BZ #156]
22634         * manual/socket.texi: Added statement about buffer
22635         for gethostbyname2_r.
22637 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22639         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22640         Use .p2align directive instead, throughout.
22641         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22642         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22643         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22644         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22645         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22646         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22647         * sysdeps/x86_64/strchr.S: Likewise.
22648         * sysdeps/x86_64/strrchr.S: Likewise.
22650 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22652         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22654         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22656         * sysdeps/generic/math_private.h (__mpsin1): Remove
22657         declaration.
22658         (__mpcos1): Likewise.
22659         (__mpsin): New argument __range_reduce.
22660         (__mpcos): Likewise.
22661         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22662         (slow): Use __mpsin and __mpcos.
22663         (slow1): Likewise.
22664         (slow2): Likewise.
22665         (sloww): Likewise.
22666         (sloww1): Likewise.
22667         (sloww2): Likewise.
22668         (bsloww): Likewise.
22669         (bsloww1): Likewise.
22670         (bsloww2): Likewise.
22671         (cslow2): Likewise.
22672         (csloww): Likewise.
22673         (csloww1): Likewise.
22674         (csloww2): Likewise.
22675         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22676         range_reduce.  Merge in __mpsin1.
22677         (__mpcos): Likewise.
22678         (__mpsin1): Remove.
22679         (__mpcos1): Likewise.
22681 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22683         * locale/loadlocale.c (_nl_intern_locale_data): Use
22684         LOCFILE_ALIGNED_P.
22685         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22686         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22687         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22688         obstack data is appropriately aligned.
22689         (obstack_int32_grow_fast): Likewise.
22690         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22691         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22692         (add_locale_uint32_array): Likewise.
22694 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22696         * benchtests/Makefile: Remove ARGLIST and RET variables.
22697         ($(objpfx)bench-%.c): Pass only function name to the script.
22698         * benchtests/README: Update documentation.
22699         * benchtests/acos-inputs: Add new directives.
22700         * benchtests/acosh-inputs: Likewise.
22701         * benchtests/asin-inputs: Likewise.
22702         * benchtests/asinh-inputs: Likewise.
22703         * benchtests/atan-inputs: Likewise.
22704         * benchtests/atanh-inputs: Likewise.
22705         * benchtests/cos-inputs: Likewise.
22706         * benchtests/cosh-inputs: Likewise.
22707         * benchtests/exp-inputs: Likewise.
22708         * benchtests/log-inputs: Likewise.
22709         * benchtests/pow-inputs: Likewise.
22710         * benchtests/rint-inputs: Likewise.
22711         * benchtests/sin-inputs: Likewise.
22712         * benchtests/sinh-inputs: Likewise.
22713         * benchtests/tan-inputs: Likewise.
22714         * benchtests/tanh-inputs: Likewise.
22715         * scripts/bench.pl: Add support for new directives.
22717 2013-10-07  Alan Modra  <amodra@gmail.com>
22719         * README: Fix careless merge.
22721 2013-10-05  Alan Modra  <amodra@gmail.com>
22723         * NEWS: Mention powerpc64le support and bugs fixed.
22724         * README: Both big-endian and little-endian powerpc64 supported.
22726 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22728         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22729         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22730         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22731         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22733 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22735         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22736         match prototype.
22738 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22740         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22741         Move -mhard-float appending from
22742         ports/sysdeps/powerpc/powerpc32/Makefile.
22743         [$(with-fp) = yes] (ASFLAGS): Likewise.
22744         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22745         * sysdeps/powerpc/nofpu: Move directory from
22746         ports/sysdeps/powerpc/nofpu.
22747         * sysdeps/powerpc/soft-fp: Move directory from
22748         ports/sysdeps/powerpc/soft-fp.
22749         * sysdeps/powerpc/powerpc32/405: Move directory from
22750         ports/sysdeps/powerpc/powerpc32/405.
22751         * sysdeps/powerpc/powerpc32/440: Move directory from
22752         ports/sysdeps/powerpc/powerpc32/440.
22753         * sysdeps/powerpc/powerpc32/464: Move directory from
22754         ports/sysdeps/powerpc/powerpc32/464.
22755         * sysdeps/powerpc/powerpc32/476: Move directory from
22756         ports/sysdeps/powerpc/powerpc32/476.
22757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22758         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22760         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22762         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22764         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22766         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22767         * README: Update for powerpc-*-linux-gnu software floating point
22768         support in libc.
22770         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22771         case to powerpc/powerpc32*.
22772         * sysdeps/unix/sysv/linux/configure: Regenerated.
22774         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22775         (_FPU_MASK_OM): Define as 0x04.
22776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22778         0x00c10080.
22779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22780         0x0000003c.
22781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22784         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22785         getcontext_e500.
22786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22787         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22788         setcontext_e500.
22789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22790         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22791         and setcontext_e500.
22793 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22795         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22797 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22799         * manual/threads.texi (Default Thread Attributes): Fix typo.
22801 2013-10-04  Will Newton  <will.newton@linaro.org>
22803         * malloc/Makefile: Add tst-memalign.
22804         * malloc/tst-memalign.c: New file.
22806         * malloc/tst-posix_memalign.c: Add comments.
22807         (do_test): Add comments and call free on all potentially
22808         allocated pointers. Add space after cast.
22810         * malloc/tst-pvalloc.c: Add comments.
22811         (do_test): Add comments and call free on all potentially
22812         allocated pointers. Remove duplicate check for NULL pointer.
22813         Add space after cast.
22815         * malloc/tst-valloc.c: Add comments.
22816         (do_test): Add comments and call free on all potentially
22817         allocated pointers. Remove duplicate check for NULL pointer.
22818         Add space after cast.
22820 2013-10-04  Alan Modra  <amodra@gmail.com>
22822         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22823         Use stdint types in rather than __attribute__((mode())).
22824         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22826 2013-10-04  Alan Modra  <amodra@gmail.com>
22828         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22829         Correct handling of unaligned relocs for little-endian.
22830         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22832 2013-10-04  Alan Modra  <amodra@gmail.com>
22834         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22835         * configure: Regenerate.
22836         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22837         * shlib-versions: Likewise.
22839 2013-10-04  Alan Modra  <amodra@gmail.com>
22841         * string/tester.c (test_memrchr): Increment reported test cycle.
22843 2013-10-04  Alan Modra  <amodra@gmail.com>
22845         * string/test-memcpy.c (do_one_test): When reporting errors, print
22846         string address and don't overrun end of string.
22848 2013-10-04  Alan Modra  <amodra@gmail.com>
22850         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22851         insrdi.  Make better use of reg selection to speed exit slightly.
22852         Schedule entry path a little better.  Remove useless "are we done"
22853         checks on entry to main loop.  Handle wrapping around zero address.
22854         Correct main loop count.  Handle single left-over word from main
22855         loop inline rather than by using loop_small.  Remove extra word
22856         case in loop_small caused by wrong loop count.  Add little-endian
22857         support.
22858         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22859         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22860         cache hint.
22861         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22862         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22863         support.  Avoid rlwimi.
22864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22866 2013-10-04  Alan Modra  <amodra@gmail.com>
22868         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22869         insrdi.  Formatting.
22870         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22871         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22872         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22873         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22874         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22875         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22877 2013-10-04  Alan Modra  <amodra@gmail.com>
22879         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22880         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22881         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22882         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22883         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22884         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22885         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22886         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22887         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22888         use of regs.  Use power7 mtocrf.  Tidy function tails.
22890 2013-10-04  Alan Modra  <amodra@gmail.com>
22892         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22893         Formatting.  Consistently use rXXX register defines or rN defines.
22894         Use early exit labels that avoid restoring unused non-volatile regs.
22895         Make cr field use more consistent with rWORDn compares.  Rename
22896         regs used as shift registers for unaligned loop, using rN defines
22897         for short lifetime/multiple use regs.
22898         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22899         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22900         addi 1,1,64 to pop stack frame.  Simplify return value code.
22901         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22903 2013-10-04  Alan Modra  <amodra@gmail.com>
22905         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22906         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22907         rather than rlwimi.
22908         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22909         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22910         little-endian support.  Correct typos.
22911         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22912         rather than rlwimi.
22913         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22914         in loop and entry code to keep "and." results.
22915         (strchr): Add little-endian support.  Comment.  Move cntlzd
22916         earlier in tail.
22917         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22919 2013-10-04  Alan Modra  <amodra@gmail.com>
22921         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22922         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22923         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22924         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22926 2013-10-04  Alan Modra  <amodra@gmail.com>
22928         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22929         (rTMP): Define as r11.
22930         (strcmp): Add little-endian support.  Optimise tail.
22931         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22932         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22933         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22934         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22935         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22936         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22937         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22939 2013-10-04  Alan Modra  <amodra@gmail.com>
22941         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22942         little-endian support.  Remove unnecessary "are we done" tests.
22943         Handle "s" wrapping around zero and extremely large "size".
22944         Correct main loop count.  Handle single left-over word from main
22945         loop inline rather than by using small_loop.  Correct comments.
22946         Delete "zero" tail, use "end_max" instead.
22947         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22949 2013-10-04  Alan Modra  <amodra@gmail.com>
22951         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22952         support.  Don't branch over align.
22953         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22954         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22955         support.  Rearrange tmp reg use to suit.  Comment.
22956         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22958 2013-10-04  Alan Modra  <amodra@gmail.com>
22960         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22962 2013-10-04  Alan Modra  <amodra@gmail.com>
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22965         conditional form of branch and link when obtaining pc.
22966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22968 2013-10-04  Alan Modra  <amodra@gmail.com>
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22971         HIWORD/LOWORD.
22972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22975 2013-10-04  Alan Modra  <amodra@gmail.com>
22977         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22978         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22979         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22980         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22981         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22982         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22983         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22984         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22985         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22986         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22988 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22989             Alistair Popple <alistair@ozlabs.au.ibm.com>
22990             Alan Modra <amodra@gmail.com>
22992         [BZ #15723]
22993         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22994         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22995         _dl_hwcap access for little-endian.
22996         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22997         destroy vmx regs when saving unaligned.
22998         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22999         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23000         destroy vmx regs when saving unaligned.
23002 2013-10-04  Alan Modra  <amodra@gmail.com>
23004         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23005         Don't use a union to pack hi/low value.
23007 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23009         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23010         for little-endian.
23011         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23012         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23013         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23014         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23015         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23017 2013-10-04  Alan Modra  <amodra@gmail.com>
23019         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23020         constants to usual value for .cst8 section, and remove redundant
23021         high address load.
23022         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23023         constant for 0x1p52.  Load little-endian words of double from
23024         correct stack offsets.
23026 2013-10-04  Alan Modra  <amodra@gmail.com>
23028         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23029         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23030         words of double from correct stack offsets.
23031         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23032         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23033         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23034         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23035         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23036         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23037         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23038         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23039         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23040         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23041         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23043         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23044         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23045         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23046         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23047         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23049 2013-10-04  Alan Modra  <amodra@gmail.com>
23051         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23052         64-bit int/double union.
23053         (_FPU_SETCW): Likewise.
23054         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23055         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23057 2013-10-04  Alan Modra  <amodra@gmail.com>
23059         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23060         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23062 2013-10-04  Alan Modra  <amodra@gmail.com>
23064         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23065         use vector int constants.
23066         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23068 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23070         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23071         array with long long.
23072         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23073         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23074         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23075         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23076         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23077         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23078         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23079         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23080         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23081         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23082         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23083         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23084         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23086 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23088         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23089         (__signbit): Likewise.  Correct for little-endian.
23090         (__signbitl): Call __signbit.
23091         (lrint): Correct for little-endian.
23092         (lrintf): Call lrint.
23094 2013-10-04  Alan Modra  <amodra@gmail.com>
23096         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23097         union 32-bit int array member with 64-bit int array.
23098         (t515, tm256): Double rather than long double.
23099         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23101 2013-10-04  Alan Modra  <amodra@gmail.com>
23103         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23104         Delete.
23105         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23106         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23107         version of math_ldbl.h.
23109 2013-10-04  Alan Modra  <amodra@gmail.com>
23111         [BZ #15734], [BZ #15735]
23112         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23113         all uses of ieee875 long double macros and unions.  Simplify test
23114         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23115         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23116         normalize after ldbl_extract_mantissa, and don't add hidden bit
23117         already handled.  Don't treat low word of ieee854 mantissa like
23118         low word of IBM long double and mask off bit when testing for
23119         zero.
23120         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23121         all uses of ieee875 long double macros and unions.  Simplify tests
23122         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23123         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23124         two1022, instead use their values.  Recognise that tests for large
23125         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23126         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23127         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23128         test for 0.0L and nan.  Correct negation.
23129         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23130         ieee875 long double macros and unions.  Correct output for large
23131         magnitude x.  Correct absolute value calculation.
23132         (__erfcl): Likewise.
23133         * math/libm-test.inc: Add tests for errors discovered in IBM long
23134         double versions of fmodl, remainderl, erfl and erfcl.
23136 2013-10-04  Alan Modra  <amodra@gmail.com>
23138         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23139         all uses of ieee854 long double macros and unions.  Simplify tests
23140         for long doubles that are fully specified by the high double.
23141         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23142         Likewise.
23143         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23144         Remove dead code too.
23145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23146         (__ieee754_ynl): Likewise.
23147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23148         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23150         Remove dead code too.
23151         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23152         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23153         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23154         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23155         Simplify.
23156         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23157         Simplify.
23158         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23159         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23161         Comment on variable precision.
23162         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23163         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23164         Likewise.
23165         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23166         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23167         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23168         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23169         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23171 2013-10-04  Alan Modra  <amodra@gmail.com>
23173         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23174         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23175         all uses of ieee854 long double macros and unions.
23176         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23177         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23181         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23182         Likewise.
23183         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23184         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23185         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23186         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23187         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23188         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23189         Simplify sign and nan test too.
23190         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23191         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23192         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23193         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23194         Likewise.
23195         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23196         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23197         Likewise.
23198         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23199         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23200         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23201         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23202         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23205 2013-10-04  Alan Modra  <amodra@gmail.com>
23207         * stdio-common/printf_size.c (__printf_size): Don't use
23208         union ieee854_long_double in fpnum union.
23209         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23210         signbit macro to retrieve sign from long double.
23211         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23212         retrieve sign from long double.
23213         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23214         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23215         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23216         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23217         * math/test-misc.c (main): Don't use union ieee854_long_double.
23219 2013-10-04  Alan Modra  <amodra@gmail.com>
23221         [BZ #15680]
23222         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23223         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23224         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23225         calculation.  Remove unnecessary test for denormal exponent.
23226         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23227         Correct handling of denormals.  Avoid undefined shift behaviour.
23228         Correct normalisation of low mantissa when low double is denormal.
23229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23230         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23231         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23232         Correct normalisation of low mantissa.  Test for overflow of high
23233         mantissa and normalise.
23234         (ldbl_nearbyint): Use more readable constant for two52.
23235         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23236         (__mpn_construct_long_double): Fix test for overflow of high
23237         mantissa and correct normalisation.  Avoid undefined shift.
23239 2013-10-04  Alan Modra  <amodra@gmail.com>
23241         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23242         (union ibm_extended_long_double): Define as an array of ieee754_double.
23243         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23244         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23245         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23246         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23247         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23248         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23250         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23251         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23252         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23253         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23255 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23257         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23258         page size instead of calling getpagesize.
23260         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23261         (LOCFILE_ALIGN_MASK): Likewise.
23262         (LOCFILE_ALIGN_UP): Likewise.
23263         (LOCFILE_ALIGNED_P): Likewise.
23264         * locale/programs/ld-collate.c (collate_output): Use the new
23265         macros instead of __alignof__ (int32_t).
23266         * locale/weight.h (findidx): Likewise.
23268 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23270         [BZ #431]
23271         * manual/string.texi: Fix strncat and wcsncat.
23273 2013-10-03  Brooks Moses  <bmoses@google.com>
23275         [BZ #15915]
23276         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23277         * Makerules: ...here, and adjust associated comments.
23279 2013-10-02  Will Newton  <will.newton@linaro.org>
23281         * malloc/Makefile: Add tst-pvalloc.
23282         * malloc/tst-pvalloc.c: New file.
23284 2013-10-02  Will Newton  <will.newton@linaro.org>
23286         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23287         improve test coverage.
23289 2013-10-02  Will Newton  <will.newton@linaro.org>
23291         * malloc/Makefile: Add tst-posix_memalign.
23292         * malloc/tst-posix_memalign.c: New file.
23294 2013-10-01  Eric Blake  <eblake@redhat.com>
23296         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23297         Use __THROWNL rather than __THROW on static functions.
23299 2013-09-30  Petr Machata  <pmachata@redhat.com>
23301         * elf/elf.h (R_AARCH64_ABS16): New macro.
23302         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23303         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23304         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23305         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23306         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23307         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23308         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23309         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23310         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23311         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23312         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23313         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23314         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23315         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23316         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23317         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23318         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23319         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23320         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23321         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23322         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23323         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23324         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23325         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23326         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23327         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23328         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23329         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23330         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23331         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23332         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23333         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23334         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23335         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23336         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23337         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23338         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23339         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23340         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23341         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23342         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23343         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23344         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23345         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23346         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23347         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23348         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23349         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23350         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23351         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23352         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23353         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23354         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23355         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23356         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23357         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23358         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23359         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23360         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23361         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23362         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23363         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23364         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23365         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23366         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23367         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23368         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23369         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23370         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23371         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23372         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23373         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23374         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23375         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23376         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23377         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23378         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23379         (R_AARCH64_TLSDESC_LDR): Likewise.
23380         (R_AARCH64_TLSDESC_ADD): Likewise.
23381         (R_AARCH64_TLSDESC_CALL): Likewise.
23383 2013-09-30  Andreas Schwab  <schwab@suse.de>
23385         [BZ #15048]
23386         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23387         the nss database lookup.
23388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23391 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23393         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23395 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23397         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23398         ${Bash-specific parameter/pattern/string} parameter expansion.
23399         * sysdeps/unix/make-syscalls.sh: Likewise.
23401 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23403         * sysdeps/sh/stackguard-macros.h: New file.
23405 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23408         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23409         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23410         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23411         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23412         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23414 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23416         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23417         Fix thread ID register.
23419 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23421         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23422         [POSIX || UNIX98]: Require rather than permitting all symbols from
23423         <time.h>.
23424         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23425         element of struct sched_param.
23426         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23427         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23428         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23429         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23430         constant.
23432 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23434         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23435         argument calculation.
23437 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23439         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23440         Expect macro.
23441         [POSIX] (pthread_attr_t): Do not require type.
23442         [POSIX] (pthread_cond_t): Likewise.
23443         [POSIX] (pthread_condattr_t): Likewise.
23444         [POSIX] (pthread_key_t): Likewise.
23445         [POSIX] (pthread_mutex_t): Likewise.
23446         [POSIX] (pthread_mutexattr_t): Likewise.
23447         [POSIX] (pthread_once_t): Likewise.
23448         [POSIX] (pthread_t): Likewise.
23449         [POSIX-based standards] (pthread_atfork): Expect function.
23451 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23452             Richard Sandiford  <richard@codesourcery.com>
23454         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23455         (swap_endianness_p): New extern variable.
23456         (set_big_endian): New inline function.
23457         (maybe_swap_uint32): Likewise.
23458         (maybe_swap_uint32_array): Likewise.
23459         (maybe_swap_uint32_obstack): Likewise.
23460         * locale/programs/locfile.c: Include <stdbool.h>.
23461         (swap_endianness_p): New variable.
23462         (add_locale_uint32): Call maybe_swap_uint32.
23463         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23464         (write_locale_data): Call maybe_swap_uint32_array.
23465         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23466         maybe_swap_uint32.
23467         (obstack_int32_grow_fast): Likewise.
23468         (output_weightwc): Call maybe_swap_uint32_obstack.
23469         (collate_output): Likewise.
23470         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23471         (OPT_LITTLE_ENDIAN): Likewise.
23472         (options): Add --little-endian and --big-endian options.
23473         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23474         * locale/programs/locarchive.c: Include "locfile.h".
23475         (GET): New macro.
23476         (SET): Likewise.
23477         (INC): Likewise.
23478         (create_archive): Use the new macros to access fields of
23479         structures directly mapped from or written to locale archives.
23480         (oldlocrecentcmp): Likewise.
23481         (enlarge_archive): Likewise.
23482         (insert_name): Likewise.
23483         (add_alias): Likewise.
23484         (add_locale): Likewise.
23485         (delete_locales_from_archive): Likewise.
23486         (show_archive_content): Likewise.
23487         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23488         locale data.
23490 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23492         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23493         http://www.gnu.org/doc/freemanuals.texi.
23494         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23496 2013-09-24  Will Newton  <will.newton@linaro.org>
23498         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23499         macro.
23501 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23503         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23504         unsigned char.
23506 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23508         * manual/threads.texi (POSIX Threads): Fix a typo.
23510 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23512         [BZ #14547]
23513         * string/tst-strcoll-overflow.c: New test case.
23514         * string/Makefile (xtests): Add tst-strcoll-overflow.
23515         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23516         cache if string sizes may cause integer overflow.
23518         [BZ #14547]
23519         * string/strcoll_l.c (coll_seq): New members rule, idx,
23520         save_idx and back_us.
23521         (get_next_seq_nocache): New function.
23522         (do_compare_nocache): New function.
23523         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23524         when malloc fails.
23526 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23528         [BZ #15754]
23529         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23530         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23531         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23533         [BZ #15754]
23534         * elf/Makefile (tests): Add tst-ptrguard1.
23535         (tests-static): Add tst-ptrguard1-static.
23536         (tst-ptrguard1-ARGS): Define.
23537         (tst-ptrguard1-static-ARGS): Define.
23538         * elf/tst-ptrguard1.c: New file.
23539         * elf/tst-ptrguard1-static.c: New file.
23540         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23541         * sysdeps/i386/stackguard-macros.h: Likewise.
23542         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23543         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23544         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23545         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23546         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23547         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23549 2013-09-23  Hector Marco  <hecmargi@upv.es>
23550             Ismael Ripoll  <iripoll@disca.upv.es>
23551             Carlos O'Donell  <carlos@redhat.com>
23553         [BZ #15754]
23554         * sysdeps/generic/stackguard-macros.h: Define
23555         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23556         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23557         Define __pointer_chk_guard_local.
23558         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23559         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23561 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23563         [BZ #15859]
23564         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23566 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23568         * include/string.h (__ffs): Declare as hidden.
23569         * string/ffs.c (__ffs): Define as hidden.
23570         * sysdeps/i386/ffs.c (__ffs): Likewise.
23571         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23572         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23573         * sysdeps/s390/ffs.c (__ffs): Likewise.
23574         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23576 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23578         * NEWS: Mention malloc probes.
23580         * malloc/arena.c (new_heap): New memory_heap_new probe.
23581         (grow_heap): New memory_heap_more probe.
23582         (shrink_heap): New memory_heap_less probe.
23583         (heap_trim): New memory_heap_free probe.
23584         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23585         (systrim): New memory_sbrk_less probe.
23586         * manual/probes.texi: Document them.
23588         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23589         * manual/probes.texi: Document it.
23591         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23592         (__libc_realloc): Add memory_realloc_retry probe.
23593         (__libc_memalign): Add memory_memalign_retry probe.
23594         (__libc_valloc): Add memory_valloc_retry probe.
23595         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23596         (__libc_calloc): Add memory_calloc_retry probe.
23597         * manual/probes.texi: Document them.
23599         * malloc/arena.c (get_free_list): Add probe
23600         memory_arena_reuse_free_list.
23601         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23602         and memory_arena_reuse.
23603         (arena_get2) [!PER_THREAD]: Likewise.
23604         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23605         memory_arena_reuse_realloc.
23606         * manual/probes.texi: Document them.
23608         * malloc/malloc.c (__libc_free): Add
23609         memory_mallopt_free_dyn_thresholds probe.
23610         (__libc_mallopt): Add multiple memory_mallopt probes.
23611         * manual/probes.texi: Document them.
23613         * malloc/malloc.c: Include stap-probe.h.
23614         (__libc_mallopt): Add memory_mallopt probe.
23615         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23616         * manual/probes.texi: New.
23617         * manual/Makefile (chapters): Add probes.
23618         * manual/threads.texi: Set next node.
23620 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23622         [BZ #15963, #13985]
23623         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23624         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23625         Add `Chinese' to `nan' entry name.
23627 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23629         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23630         (POLYNOMIAL): Likewise.
23631         (TAYLOR_SINCOS): Likewise.
23632         (TAYLOR_SLOW): Likewise.
23633         (__sin): Use TAYLOR_SINCOS.
23634         (__cos): Likewise.
23635         (slow): Use TAYLOR_SLOW.
23636         (sloww): Likewise.
23637         (bsloww): Likewise.
23638         (csloww): Likewise.
23640 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23642         * stdlib/strtod_l.c: Fix buffer overrun.
23644 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23646         * benchtests/Makefile (bench): Add sincos.
23647         * benchtests/bench-sincos.c: New file.
23649         * math/libm-test.inc (cos_test_data): New test inputs.
23650         (sin_test_data): Likewise.
23652         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23653         macro.
23654         (__sin): Use it.
23655         (__cos): Likewise.
23656         (slow1): Likewise.
23657         (slow2): Likewise.
23658         (sloww1): Likewise.
23659         (sloww2): Likewise.
23660         (bsloww1): Likewise.
23661         (bsloww2): Likewise.
23662         (cslow2): Likewise.
23663         (csloww1): Likewise.
23664         (csloww2): Likewise.
23666         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23667         function.
23668         (__sin): Use it.
23669         (__cos): Likewise.
23671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23672         gotos.
23673         (__cos): Likewise.
23675 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23677         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23678         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23679         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23680         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23681         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23682         * elf/cache.c (print_entry): Handle the new cache flags.
23684 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23685             Aldy Hernandez  <aldyh@redhat.com>
23687         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23688         Change condition to [_SOFT_FLOAT].
23689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23701         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23704         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23705         declaration.
23707 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23709         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23710         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23711         (__longjmp): Use LOAD_GP to load saved GPRs.
23712         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23713         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23714         (__sigsetjmp): Use SAVE_GP to save GPRs.
23716         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23717         Do not append -msoft-float.
23718         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23720 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23722         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23724 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23726         [BZ #15966]
23727         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23728         (_FPU_GETCW): Use initial "__" on variable and field names but not
23729         on macro parameter name.
23730         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23731         parentheses around reference to macro parameter.
23733 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23735         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23736         prototype.
23737         (ctype_startup): Use uint32_t in cast and sizeof for
23738         ctype->charnames.
23740 2013-09-11  Jia Liu  <proljc@gmail.com>
23742         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23743         __daddr_t_defined.
23744         [__FreeBSD__]: Likewise.
23746 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23748         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23749         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23750         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23751         (strchr): Remove __strchr_sse42 ifunc selection.
23752         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23753         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23755 2013-09-11  Will Newton  <will.newton@linaro.org>
23757         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23758         parameter to RES. Remove hardcoded 1000 value.
23759         * benchtests/bench-skeleton.c (main): Pass RES parameter
23760         to TIMING_INIT and multiply result by 1000.
23762 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23766 2013-09-11  Andreas Schwab  <schwab@suse.de>
23768         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23769         if not defined.
23770         (O_TMPFILE) [__USE_GNU]: Define.
23771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23772         Define.
23774 2013-09-11  Will Newton  <will.newton@linaro.org>
23776         [BZ #15857]
23777         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23778         does not overflow.
23780 2013-09-11  Will Newton  <will.newton@linaro.org>
23782         [BZ #15856]
23783         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23784         does not overflow.
23786 2013-09-11  Will Newton  <will.newton@linaro.org>
23788         [BZ #15855]
23789         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23790         does not overflow.
23792 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23794         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23795         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23796         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23797         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23798         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23800 2013-09-10  Allan McRae  <allan@archlinux.org>
23802         [BZ #15748]
23803         * manual/arith.texi (Parsing of Floats): Clarify
23804         cross-reference.
23806         [BZ #15849]
23807         * manual/install.texi (Running make install): Mention
23808         --enable-pt-chown.
23809         * INSTALL: Regenerated.
23811 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23813         * csu/init-first.c (_init): Remove the !SHARED condition around
23814         FPU control word initialization.
23815         * elf/dl-support.c (_dl_fpu_control): New variable.
23816         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23817         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23818         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23819         * math/test-fpucw-static.c: New file.
23820         * math/test-fpucw-ieee.c: New file.
23821         * math/test-fpucw-ieee-static.c: New file.
23822         * math/Makefile (tests): Add `test-fpucw-ieee' and
23823         `$(tests-static)'.
23824         (tests-static): New variable.
23825         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23826         dependency to...
23827         [($(build-shared),yes)]
23828         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23829         ... this.
23830         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23831         New dependency.
23833 2013-09-09  Allan McRae  <allan@archlinux.org>
23835         [BZ #15939]
23836         * manual/string.texi (Collation Functions): Fix typo in
23837         strcoll example.
23838         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23840         [BZ #15893]
23841         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23843         [BZ #15892]
23844         * libio/memstream.c (open_memstream): Fix memory leak.
23845         * libio/wmemstream.c (open_wmemstream): Likewise.
23847         [BZ #15895]
23848         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23850 2013-09-09  Will Newton  <will.newton@linaro.org>
23852         * malloc/Makefile: Add tst-realloc to tests.
23853         * malloc/tst-realloc.c: New file.
23855 2013-09-09  Allan McRae  <allan@archlinux.org>
23857         [BZ #15844]
23858         * COPYING: Update from GNU website to fix FSF address.
23859         * COPYING.LIB: Likewise.
23861 2013-09-06  David S. Miller  <davem@davemloft.net>
23863         * po/zh_TW.po: Update Chinese (traditional) translation from
23864         translation project.
23866 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23867             Joseph Myers  <joseph@codesourcery.com>
23869         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23870         "localeinfo.h".
23871         (obstack_chunk_alloc): New macro.
23872         (obstack_chunk_free): Likewise.
23873         (record_offset): New function.
23874         (init_locale_data): Likewise.
23875         (align_locale_data): Likewise.
23876         (add_locale_empty): Likewise.
23877         (add_locale_raw_data): Likewise.
23878         (add_locale_raw_obstack): Likewise.
23879         (add_locale_string): Likewise.
23880         (add_locale_wstring): Likewise.
23881         (add_locale_uint32): Likewise.
23882         (add_locale_uint32_array): Likewise.
23883         (add_locale_char): Likewise.
23884         (start_locale_structure): Likewise.
23885         (end_locale_structure): Likewise.
23886         (start_locale_prelude): Likewise.
23887         (end_locale_prelude): Likewise.
23888         (write_locale_data): Take locale_file structure rather than an
23889         iovec.
23890         * locale/programs/locfile.h: Include "obstack.h".
23891         (struct locale_file): Change to store locale file contents instead
23892         of header.
23893         (init_locale_data): New prototype.
23894         (align_locale_data): Likewise.
23895         (add_locale_empty): Likewise.
23896         (add_locale_raw_data): Likewise.
23897         (add_locale_raw_obstack): Likewise.
23898         (add_locale_string): Likewise.
23899         (add_locale_wstring): Likewise.
23900         (add_locale_uint32): Likewise.
23901         (add_locale_uint32_array): Likewise.
23902         (add_locale_char): Likewise.
23903         (start_locale_structure): Likewise.
23904         (end_locale_structure): Likewise.
23905         (start_locale_prelude): Likewise.
23906         (end_locale_prelude): Likewise.
23907         (write_locale_data): Update prototype.
23908         * locale/programs/3level.h (struct TABLE): Remove result field.
23909         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23910         Use new locale_file interface.
23911         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23912         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23913         * locale/programs/ld-address.c (address_output): Use new
23914         locale_file interface.
23915         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23916         NO_ADD_LOCALE.
23917         (collate_finish): Don't call collseq_table_finalize.
23918         (collate_output): Use new locale_file interface.
23919         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23920         in file.
23921         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23922         (TABLE): Move defines earlier in file.
23923         (ELEMENT): Likewise.
23924         (DEFAULT): Likewise.
23925         (wctrans_table_add): Move macro and inline function earlier in
23926         file.
23927         (struct wctype_table): Move type earlier in file.
23928         (add_locale_wctype_table): New static prototype.
23929         (struct locale_ctype_t): Use logical types instead of struct iovec
23930         pointers for members.
23931         (ctype_output): Use new locale_file interface.
23932         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23933         new locale_file interface.
23934         (allocate_arrays): Update for use of new locale_file interface.
23935         * locale/programs/ld-identification.c (identification_output): Use
23936         new locale_file interface.
23937         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23938         * locale/programs/ld-messages.c (messages_output): Likewise.
23939         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23940         * locale/programs/ld-name.c (name_output): Likewise.
23941         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23942         * locale/programs/ld-paper.c (paper_output): Likewise.
23943         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23944         * locale/programs/ld-time.c (time_output): Likewise.
23946 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23948         * benchtests/Makefile: Add memrchr benchmark.
23949         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23950         benchmark as memrchr.
23951         * benchtests/bench-memrchr-ifunc.c: New file.
23952         * benchtests/bench-memrchr.c: New file.
23954 2013-09-06   Will Newton  <will.newton@linaro.org>
23956         * benchtests/Makefile (string-bench): Add memcpy.
23958 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23959             Cong Wang  <amwang@redhat.com>
23961         [BZ #15850]
23962         * sysdeps/unix/sysv/linux/bits/in.h
23963         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23964         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23965         before __USE_KERNEL_IPV6_DEFS uses.
23966         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23967         IPPROTO_BEETPH.
23968         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23969         sockaddr_in6, or ipv6_mreq.
23971 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23973         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23974         memory access for final bytes in some large inputs.
23975         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23977 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23979         * string/test-memrchr.c: New file.
23980         * string/test-memrchr-ifunc.c: New file.
23981         * string/Makefile: Add new memrchr testcase.
23983 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23985         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23986         fanotify_init returns EPERM.
23988 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23990         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23991         errors.
23992         (top level): Treat second token from macro or constant entries for
23993         allowed headers as allowed.
23994         * include/complex.h: Condition internal declarations on
23995         [!_ISOMAC].
23996         * include/fenv.h: Condition include of <stdbool.h> and internal
23997         declarations on [!_ISOMAC].
23999 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24001         [BZ #15923]
24002         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24004 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24006         * configure.in (--enable-versioning): Remove configure option.
24007         (libc_cv_asm_symver_directive): Remove configure test.
24008         (libc_cv_ld_version_script_option): Likewise.
24009         (VERSIONING): Remove variable and AC_SUBST.
24010         (DO_VERSIONING): Remove AC_DEFINE.
24011         * configure: Regenerated.
24012         * config.h.in (DO_VERSIONING): Remove macro.
24013         * Makerules [$(versioning) = yes]: Change conditionals to
24014         [$(build-shared) = yes].
24015         * config.make.in (versioning): Remove variable.
24016         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24017         [$(build-shared) = yes].
24018         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24019         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24020         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24021         [$(build-shared) = yes].
24022         * extra-lib.mk [$(versioning) = yes]: Likewise.
24023         * hurd/Makefile [$(versioning) = yes]: Likewise.
24024         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24025         [SHARED].
24026         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24027         [SHARED].
24028         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24029         [SHARED && !NO_HIDDEN].
24030         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24031         [SHARED].
24032         [SHARED && DO_VERSIONING]: Likewise..
24033         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24034         [$(build-shared) = yes].
24035         * manual/install.texi (--disable-versioning): Remove
24036         documentation.
24037         * INSTALL: Regenerated.
24038         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24039         to [SHARED].
24040         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24041         [$(build-shared) = yes].
24042         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24043         * sysdeps/i386/i686/multiarch/strstr-c.c
24044         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24045         [SHARED && !NO_HIDDEN].
24046         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24047         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24048         * sysdeps/powerpc/powerpc32/dl-machine.c
24049         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24050         * sysdeps/powerpc/powerpc32/sysdep.h
24051         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24052         to [SHARED && PIC && !NO_HIDDEN].
24053         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24054         conditional to [SHARED].
24056 2013-09-04   Will Newton  <will.newton@linaro.org>
24058         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24059         * benchtests/bench-string.h: Include bench-timing.h instead
24060         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24061         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24062         call to HP_TIMING_DIFF_INIT.
24063         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24064         instead of hp-timing.h macros.
24065         * benchtests/bench-memchr.c: Likewise.
24066         * benchtests/bench-memcmp.c: Likewise.
24067         * benchtests/bench-memcpy.c: Likewise.
24068         * benchtests/bench-memmem.c: Likewise.
24069         * benchtests/bench-memmove.c: Likewise.
24070         * benchtests/bench-memset.c: Likewise.
24071         * benchtests/bench-rawmemchr.c: Likewise.
24072         * benchtests/bench-strcasecmp.c: Likewise.
24073         * benchtests/bench-strcasestr.c: Likewise.
24074         * benchtests/bench-strcat.c: Likewise.
24075         * benchtests/bench-strchr.c: Likewise.
24076         * benchtests/bench-strcmp.c: Likewise.
24077         * benchtests/bench-strcpy.c: Likewise.
24078         * benchtests/bench-strcpy_chk.c: Likewise.
24079         * benchtests/bench-strlen.c: Likewise.
24080         * benchtests/bench-strncasecmp.c: Likewise.
24081         * benchtests/bench-strncat.c: Likewise.
24082         * benchtests/bench-strncmp.c: Likewise.
24083         * benchtests/bench-strncpy.c: Likewise.
24084         * benchtests/bench-strnlen.c: Likewise.
24085         * benchtests/bench-strpbrk.c: Likewise.
24086         * benchtests/bench-strrchr.c: Likewise.
24087         * benchtests/bench-strspn.c: Likewise.
24088         * benchtests/bench-strstr.c: Likewise.
24090 2013-09-04  Will Newton  <will.newton@linaro.org>
24092         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24094 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24096         [BZ #15427]
24097         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24098         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24099         * math/libm-test.inc (lgamma_test_data): Add more tests.
24100         * sysdeps/i386/fpu/libm-test-ulps: Update.
24101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24103 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24105         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24107         Add ifunc.
24108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24109         Add strcmp-sse2-unaligned
24110         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24112 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24114         * Versions.def (libc): Add GLIBC_2.19.
24116 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24118         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24119         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24121 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24123         [BZ #14155]
24124         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24125         intermediate calculations in recurrence.
24126         (__ieee754_ynf): Likewise.
24127         * math/libm-test.inc (jn_test_data): Do not allow spurious
24128         underflow exception.  Add more tests.
24129         (yn_test_data): Add more tests.
24130         * sysdeps/i386/fpu/libm-test-ulps: Update.
24131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24133 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24135         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24137 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24139         * csu/init-first.c: Fix then/than typos.
24140         * locale/programs/ld-collate.c: Likewise.
24141         * locale/programs/linereader.h: Likewise.
24142         * manual/charset.texi: Likewise.
24143         * manual/filesys.texi: Likewise.
24144         * manual/stdio.texi: Likewise.
24145         * manual/string.texi: Likewise.
24146         * stdlib/fmtmsg.c: Likewise.
24147         * sysdeps/i386/stpncpy.S: Likewise.
24148         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24149         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24150         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24151         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24153 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24155         * elf/dl-open.c: Fix typos.
24156         * iconvdata/gbbig5.c: Likewise.
24157         * iconvdata/iso-2022-jp.c: Likewise.
24158         * iconv/gconv_int.h: Likewise.
24159         * iconv/loop.c: Likewise.
24160         * nis/rpcsvc/nis.h: Likewise.
24161         * resolv/ns_name.c: Likewise.
24162         * stdio-common/vfscanf.c: Likewise.
24163         * streams/stropts.h: Likewise.
24164         * sunrpc/rpc_thread.c: Likewise.
24165         * sysdeps/i386/strpbrk.S: Likewise.
24166         * sysdeps/ieee754/k_standard.c: Likewise.
24167         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24169         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24170         * sysdeps/mach/hurd/profil.c: Likewise.
24171         * sysdeps/s390/dl-procinfo.h: Likewise.
24172         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24173         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24174         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24175         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24176         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24178 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24180         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24183 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24185         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24186         aix specific files.
24187         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24188         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24189         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24190         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24191         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24192         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24193         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24194         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24196 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24197             Roland McGrath  <roland@hack.frob.com>
24199         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24200         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24202 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24204         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24205         __executable_start symbol instead of _start.
24207 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24209         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24210         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24211         Move macros to...
24212         * sysdeps/gnu/ldsodefs.h: ... this new file.
24214         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24215         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24216         instead of ELFOSABI_LINUX.
24218         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24219         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24220         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24221         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24222         Likewise.
24223         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24224         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24225         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24226         Likewise.
24227         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24228         (ibm_extended_long_double): Add ieee_nan member.
24229         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24230         (do_test): New function.
24232         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24233         TEST_TRUNC.
24234         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24235         functions, renamed from truncdfsf_test, trunctfsf_test,
24236         trunctfdf_test.
24237         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24238         functions.
24239         (do_test): Run all these.
24241 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24243         * argp/argp-help.c: Fix typos.
24244         * argp/argp-parse.c: Likewise.
24245         * debug/backtracesyms.c: Likewise.
24246         * elf/elf.h: Likewise.
24247         * malloc/malloc.c: Likewise.
24248         * nis/nis_print.c: Likewise.
24249         * resolv/res_comp.c: Likewise.
24250         * stdlib/stdlib.h: Likewise.
24251         * sunrpc/clnt_tcp.c: Likewise.
24252         * sunrpc/clnt_udp.c: Likewise.
24253         * sunrpc/clnt_unix.c: Likewise.
24254         * sysdeps/unix/bsd/ptsname.c: Likewise.
24255         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24256         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24258         Likewise.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24260         Likewise.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24262         Likewise.
24263         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24265 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24267         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24270 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24272         [BZ #15897]
24273         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24274         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24275         ($(objpfx)bug-dl-leaf): New rule.
24276         ($(objpfx)bug-dl-leaf.so): Likewise.
24277         ($(objpfx)bug-dl-leaf.out): Likewise.
24278         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24279         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24280         * dlfcn/bug-dl-leaf.c: New test.
24281         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24282         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24283         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24284         (dlclose): Likewise.
24285         (dlmopen): Likewise.
24287 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24289         * include/netdb.h [!_ISOMAC]:
24290         Don't include <tls.h>.
24291         (h_errno, __libc_h_errno): Move declaration and macros out of
24292         [_LIBC_REENTRANT].
24294         * include/resolv.h [_RESOLV_H_]:
24295         Don't include <tls.h>.
24296         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24297         * resolv/res_libc.c: Don't include <tls.h>.
24298         (_res): Use __attribute__ ((nocommon)) in place of
24299         __attribute__ ((section (".bss"))).
24301         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24302         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24304         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24306         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24307         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24309         * resolv/res_mkquery.c: Include <sys/time.h>.
24311         * inet/ifreq.c: Moved to ...
24312         * sysdeps/unix/ifreq.c: ... here.
24313         * inet/ifreq.c: New file, true stub version.
24315         * socket/sa_len.c: New file.
24316         * socket/Makefile (aux): Add it.
24317         * sysdeps/unix/sysv/linux/Makefile
24318         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24319         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24320         and #include <socket/sa_len.c>.
24321         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24322         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24324         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24325         * bits/socket.h: ... here.
24327         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24328         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24329         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24331 2013-08-27  Andreas Schwab  <schwab@suse.de>
24333         [BZ #15736]
24334         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24335         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24336         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24337         * string/test-strcasecmp.c (test_main): Run tests in several
24338         locales.
24339         * string/test-strncasecmp.c (test_main): Likewise.
24341         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24342         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24343         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24344         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24345         (__strncasecmp_ssse3) [PIC]: Likewise.
24347 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24349         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24351         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24352         instead of explicitly declaring xdecrypt.
24353         * nis/nss_nis/nis-publickey.c: Likewise.
24355 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24357         [BZ #15890]
24358         * nscd/aicache.c: Include res_hconf.h.
24359         (addhstaiX): Initialize res_hconf.
24361 2013-08-26  Andreas Schwab  <schwab@suse.de>
24363         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24364         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24366 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24368         * nscd/aicache.c (addhstaiX): Fix indentation.
24370 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24372         * configure.ac: Quote $build_pt_chown test.
24373         * configure: Regenerated.
24375 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24377         [BZ #15532]
24378         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24379         * math/s_cexpf.c (__cexpf): Likewise.
24380         * math/s_cexpl.c (__cexpl): Likewise.
24381         * math/libm-test.inc (cexp_test_data): Correct expected return
24382         value for NaN + i0.  Add another test.
24384 2013-08-22  David S. Miller  <davem@davemloft.net>
24386         * po/ca.po: Update Catalan translation from translation project.
24387         * po/uk.po: Add Ukrainian translations from translation project.
24389 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24391         [BZ #15797]
24392         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24393         is infinite, not alongside NaN test.
24394         * math/s_fdimf.c (__fdimf): Likewise.
24395         * math/s_fdiml.c (__fdiml): Likewise.
24396         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24397         errno is unchanged.
24399 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24401         * argp/argp-help.c: Fix typos.
24402         * crypt/speeds.c: Likewise.
24403         * csu/check_fds.c: Likewise.
24404         * elf/dl-load.c: Likewise.
24405         * elf/dl-open.c: Likewise.
24406         * elf/reldep3.c: Likewise.
24407         * elf/reldep.c: Likewise.
24408         * elf/sprof.c: Likewise.
24409         * iconv/iconv_charmap.c: Likewise.
24410         * iconv/skeleton.c: Likewise.
24411         * iconv/strtab.c: Likewise.
24412         * io/lockf64.c: Likewise.
24413         * libio/libioP.h: Likewise.
24414         * resolv/gai_notify.c: Likewise.
24415         * resolv/ns_name.c: Likewise.
24416         * resolv/ns_samedomain.c: Likewise.
24417         * resolv/res_send.c: Likewise.
24418         * stdlib/random.c: Likewise.
24419         * sunrpc/rpc/xdr.h: Likewise.
24420         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24421         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24422         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24423         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24424         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24427         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24428         * sysdeps/mach/hurd/check_fds.c: Likewise.
24429         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24430         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24431         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24433         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24434         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24435         * sysdeps/pthread/aio_notify.c: Likewise.
24436         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24437         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24438         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24439         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24440         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24442 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24444         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24445         version if bit_Slow_SSE4_2 is set.
24446         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24449 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24451         [BZ #15867]
24452         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24453         trampoline stack frame information.
24454         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24455         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24456         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24457         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24458         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24459         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24460         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24461         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24462         sa_flags value.
24463         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24464         interrupting a syscall and set with option SA_SIGINFO.
24466 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24468         [BZ #15531]
24469         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24470         argument is infinite.
24471         * math/s_cprojf.c (__cprojf): Likewise.
24472         * math/s_cprojl.c (__cprojl): Likewise.
24473         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24474         * math/libm-test.inc (cproj_test_data): Add more tests.
24476         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24478         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24479         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24480         size.  Use __ffs to determine corresponding shift.
24482 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24483             Roland McGrath  <roland@hack.frob.com>
24485         * Makefile (INSTALL): Remove trailing blank lines from output of
24486         makeinfo.
24488 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24490         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24491         Align 32 bit compat elf_greg to 8 bytes.
24493 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24495         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24497 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24499         * string/strcoll_l.c (coll_seq): New structure.
24500         (get_next_seq_cached): New function.
24501         (get_next_seq): New function.
24502         (do_compare): New function.
24503         (STRCOLL): Use GNU style definition.  Simplify implementation
24504         by using get_next_seq, get_next_seq_cached and do_compare.
24506 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24508         [BZ #14699]
24509         CVE-2013-4237
24510         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24511         member.
24512         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24513         member.
24514         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24515         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24516         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24517         conditional.
24518         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24519         GETDENTS_64BIT_ALIGNED.
24520         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24521         * manual/filesys.texi (Reading/Closing Directory): Document
24522         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24523         strongly.
24524         * manual/conf.texi (Limits for Files): Add portability note to
24525         NAME_MAX, PATH_MAX.
24526         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24528 2013-08-13  Andreas Schwab  <schwab@suse.de>
24530         [BZ #15749]
24531         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24532         of fabs.
24533         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24534         LDBL_MAX_EXP >= 16384]: Add tests for it.
24536 2013-08-12  David S. Miller  <davem@davemloft.net>
24538         * version.h (RELEASE): Set to "development".
24539         (VERSION): Set to "2.18.90".
24540         * NEWS: Add 2.19 section.
24542 2013-08-03  David S. Miller  <davem@davemloft.net>
24544         * po/ko.po: Update Korean translation from translation project.
24546 2013-08-01  David S. Miller  <davem@davemloft.net>
24548         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24549         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24550         Bilka.
24552 2013-07-30  David S. Miller  <davem@davemloft.net>
24554         * po/fr.po: Update French translation from translation project.
24556 2013-07-28  David S. Miller  <davem@davemloft.net>
24558         * po/cs.po: Update Czech translation from translation project.
24560         * po/sv.po: Update Swedish translation from translation project.
24562 2013-07-27  David S. Miller  <davem@davemloft.net>
24564         * po/eo.po: Update Esperanto translation from translation project.
24566         * po/vi.po: Update Vietnamese translation from translation project.
24568         * po/de.po: Update German translation from translation project.
24570 2013-07-26  David S. Miller  <davem@davemloft.net>
24572         * po/bg.po: Update Bulgarian translation from translation project.
24574         * po/nl.po: Update Dutch translation from translation project.
24575         * po/pl.po: Update Polish translation from translation project.
24576         * po/ru.po: Update Russian translation from translation project.
24578 2013-07-24  David S. Miller  <davem@davemloft.net>
24580         * po/libc.pot: Update.
24582 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24584         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24585         variable page size.
24586         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24587         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24588         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24590 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24592         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24594 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24595             Andreas Schwab  <schwab@suse.de>
24596             Roland McGrath  <roland@hack.frob.com>
24597             Joseph Myers  <joseph@codesourcery.com>
24598             Carlos O'Donell  <carlos@redhat.com>
24600         [BZ #15755]
24601         * config.h.in: Define HAVE_PT_CHOWN.
24602         * config.make.in (build-pt-chown): New variable.
24603         * configure.in (--enable-pt_chown): New configure option.
24604         * configure: Regenerate.
24605         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24606         build-pt-chown is enabled.
24607         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24608         pt_chown to fix pty ownership.
24609         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24610         CLOSE_ALL_FDS.
24611         * manual/install.texi (Configuring and compiling): Mention
24612         --enable-pt_chown. Add @findex for grantpt.
24613         * INSTALL: Regenerate.
24615 2013-07-20  David S. Miller  <davem@davemloft.net>
24617         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24618         difference between 32-bit and 64-bit.
24620 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24622         [BZ #15711]
24623         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24624         Avoid system header dependency with -ffreestanding.
24625         ($(objpfx)bits/syscall%d): Likewise.
24627 2013-07-13  David S. Miller  <davem@davemloft.net>
24629         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24630         underflows from atanl/atan2l due to bug 15319.
24631         (casinh_test_data): Likewise.
24633 2013-07-07  David S. Miller  <davem@davemloft.net>
24635         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24637 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24639         * sysdeps/i386/fpu/libm-test-ulps: Update.
24640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24642 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24644         * configure.in (--enable-lock-elision): Fix message text.
24645         * INSTALL: Regenerate.
24646         * configure: Regenerate.
24648 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24652 2013-07-03  Andreas Jaeger  <aj@suse.de>
24654         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24655         define.
24656         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24657         (ptrace_peeksiginfo_args): Add.
24658         (__ptrace_peeksiginfo_flags): Add.
24659         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24661         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24663 2013-07-03  Allan McRae  <allan@archlinux.org>
24665         * sysdeps/i386/fpu/libm-test-ulps: Update.
24667 2013-07-02  David S. Miller  <davem@davemloft.net>
24669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24671 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24675 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24677         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24680 2013-07-02  Andi Kleen <ak@linux.intel.com>
24682         * config.h.in (ENABLE_LOCK_ELISION): Add.
24683         * configure.in (--enable-lock-elision): Add option.
24684         * manual/install.texi: Document --enable lock elision.
24685         * configure: Regenerate
24686         * INSTALL: Regenerate.
24688 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24690         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24691         SSE4.2 strcasecmp for libc.a.
24692         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24694 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24696         [BZ #13304]
24697         * soft-fp/op-common.h (_FP_FMA): New macro.
24698         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24699         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24700         (_FP_MUL_MEAT_1_imm): ... here.
24701         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24702         (_FP_MUL_MEAT_1_wide): ... here.
24703         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24704         (_FP_MUL_MEAT_1_hard): ... here.
24705         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24706         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24707         (_FP_MUL_MEAT_2_wide): ... here.
24708         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24709         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24710         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24711         (_FP_MUL_MEAT_2_gmp): ... here.
24712         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24713         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24714         (_FP_MUL_MEAT_4_wide): ... here.
24715         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24716         (_FP_MUL_MEAT_4_gmp): ... here.
24717         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24718         (_FP_WFRACBITS_DW_S): Likewise.
24719         (_FP_WFRACXBITS_DW_S): Likewise.
24720         (_FP_HIGHBIT_DW_S): Likewise.
24721         (FP_FMA_S): Likewise.
24722         (_FP_FRAC_HIGH_DW_S): Likewise.
24723         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24724         (_FP_WFRACBITS_DW_D): Likewise.
24725         (_FP_WFRACXBITS_DW_D): Likewise.
24726         (_FP_HIGHBIT_DW_D): Likewise.
24727         (FP_FMA_D): Likewise.
24728         (_FP_FRAC_HIGH_DW_D): Likewise.
24729         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24730         (_FP_WFRACBITS_DW_E): Likewise.
24731         (_FP_WFRACXBITS_DW_E): Likewise.
24732         (_FP_HIGHBIT_DW_E): Likewise.
24733         (FP_FMA_E): Likewise.
24734         (_FP_FRAC_HIGH_DW_E): Likewise.
24735         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24736         (_FP_WFRACBITS_DW_Q): Likewise.
24737         (_FP_WFRACXBITS_DW_Q): Likewise.
24738         (_FP_HIGHBIT_DW_Q): Likewise.
24739         (FP_FMA_Q): Likewise.
24740         (_FP_FRAC_HIGH_DW_Q): Likewise.
24741         * soft-fp/fmasf4.c: New file.
24742         * soft-fp/fmadf4.c: Likewise.
24743         * soft-fp/fmatf4.c: Likewise.
24745 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24748         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24749         Silvermont.
24750         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24751         macro.
24752         (index_Slow_SSE4_2): Likewise.
24753         (index_Prefer_PMINUB_for_stringop): Likewise.
24754         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24755         bit_Slow_SSE4_2 is set.
24756         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24757         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24759 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24761         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24762         rtld_global._dl_hwcap2.
24763         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24764         POWER8.
24765         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24766         POWER8 feature descriptions defined in _dl_hwcap2.
24767         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24768         string handling for POWER8 feature bits.
24769         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24770         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24771         _dl_powerpc_cap_flags.
24772         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24773         * sysdeps/powerpc/rtld-global-offsets.sym
24774         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24775         _dl_hwcap2 in the rtld_global_ro structure.
24777 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24779         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24780         hardware capabilities in support of AT_HWCAP2.
24781         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24782         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24783         GLRO(dl_hwcap2).
24784         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24785         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24786         explicitly the unknown a_type display mechanism is used.
24787         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24788         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24789         struct member.
24790         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24791         to macro prototype for AT_HWCAP2 support.
24792         * sysdeps/i386/dl-procinfo.h: Likewise.
24793         * sysdeps/s390/dl-procinfo.h: Likewise.
24794         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24795         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24796         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24797         return -1 for unknown a_type display fallback.
24798         * sysdeps/sparc/dl-procinfo.h: Likewise.
24799         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24800         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24802 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24804         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24805         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24807 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24809         [BZ #12492]
24810         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24811         mprotect making __stack_prot writable.
24813 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24814             Joseph Myers  <joseph@codesourcery.com>
24816         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24817         as being properly aligned.
24819 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24821         * dlfcn/modstatic5.c: New file.
24822         * dlfcn/tststatic5.c: New file.
24823         * dlfcn/Makefile (tests): Add tststatic5.
24824         (tests-static): Likewise.
24825         (modules-names): Add modstatic5.
24826         (tststatic5-ENV): New variable.
24827         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24829         [BZ #15022]
24830         * elf/dl-support.c (_dl_main_map): New variable.
24831         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24832         (_dl_nns, _dl_load_adds): Set to 1.
24833         (_dl_initial_searchlist): Refer to _dl_main_map.
24834         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24835         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24836         call to _dl_get_origin.
24837         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24838         around call_map.
24839         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24840         * dlfcn/modstatic3.c: New file.
24841         * dlfcn/tststatic3.c: New file.
24842         * dlfcn/tststatic4.c: New file.
24843         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24844         (tests-static): Likewise.
24845         (modules-names): Add modstatic3.
24846         (tststatic3-ENV, tststatic4-ENV): New variables.
24847         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24848         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24850 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24852         * configure.in (CC): Require GCC version 4.4 or later.
24853         * configure: Regenerated.
24854         * manual/install.texi (Tools for Compilation): Update GCC version
24855         requirement.
24856         * INSTALL: Regenerated.
24858 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24860         [BZ #15674]
24861         * string/test-memcmp.c (check2): New.
24862         (main): Call check2.
24864         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24866 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24868         [BZ #15022]
24869         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24870         over to...
24871         (dl_open_worker) [!SHARED]: ... here.
24873 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24875         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24877 2013-06-25  Richard Henderson  <rth@redhat.com>
24879         * locale/programs/locarchive.c: Include <libc-internal.h>
24881 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24883         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24884         trailing whitespace removed.
24886 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24888         [BZ #10283]
24889         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24890         * locale/programs/locarchive.c: Include libc-mmap.h.
24891         (prepare_address_space): Take two new outputs (the mmap base and len).
24892         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24893         values.
24894         (create_archive): Declare new mmap base and len values for
24895         prepare_address_space, and store the result in ah.
24896         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24897         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24898         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24899         Declare new mmap base and len values for
24900         prepare_address_space, and store the result in new_ah.
24901         (open_archive): Declare new mmap base and len values for
24902         prepare_address_space, and store the result in ah.
24903         (close_archive): If ah->mmap_base is not NULL, use that and
24904         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24905         * sysdeps/generic/libc-mmap.h: New file.
24907 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24909         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24910         (ALIGN_UP): Likewise.
24911         (PTR_ALIGN_DOWN): Likewise.
24912         (PTR_ALIGN_UP): Likewise.
24914 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24916         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24917         entry mapped to PPC_PLATFORM_POWER8.
24918         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24919         POWER8.
24920         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24921         (_dl_string_platform): Add case for exporting platform position for
24922         POWER8.
24923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24924         search path to sysdeps/powerpc/powerpc32/power8 directory.
24925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24926         search path to sysdeps/powerpc/powerpc64/power8 directory.
24927         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24928         power7 directories.
24929         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24930         power7 directories.
24932 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934         * INSTALL: Regenerate.
24936         * nscd/connections.c (nscd_init): Fix comment.
24938 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24940         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24942         [BZ #15667]
24943         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24944         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24946 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24948         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24949         DL_DST_REQ_STATIC.
24950         (DL_DST_REQ_STATIC): Remove macro.
24952 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24954         [BZ #7006]
24955         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24956         with a shift of 0 bits.
24958 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24960         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24961         $(tststatic-ENV).
24963 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24965         [BZ #15655]
24966         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24968 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24970         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24971         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24972         accepts -fno-tree-loop-distribute-patterns.
24973         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24974         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24975         recursive call.
24976         * string/memset.c (memset): Likewise.
24977         * string/test-memmove.c (simple_memmove): Disable loop transformation
24978         to library calls.
24979         * string/test-memset.c (simple_memset): Likewise.
24980         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24981         * benchtests/bench-memset.c (simple_memset): Likewise.
24982         * configure: Regenerated.
24984 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24986         * math/test-misc.c (main): Ignore fesetround failure when failures
24987         of subsequent rounding tests would be ignored.
24989         [BZ #15654]
24990         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24991         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24992         * math/fegetenv.c (__fegetenv): Return 0.
24993         * math/fegetexcept.c (fegetexcept): Return 0.
24994         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24995         FE_TONEAREST.
24996         * math/feholdexcpt.c (feholdexcept): Return 0.
24997         * math/fesetenv.c (__fesetenv): Return 0.
24998         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24999         argument FE_TONEAREST.
25000         * math/feupdateenv.c (__feupdateenv): Return 0.
25001         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25003 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25005         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25006         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25007         ($(objpfx)rtld-%.os rules): Use them.
25009 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25011         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25012         fields.
25014 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25016         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25017         length of target pattern, then descending length of dependency pattern.
25018         * configure.in (AWK): Require gawk 3.1.2 or newer.
25019         * manual/install.texi (Tools for Compilation): Say that we do.
25020         * configure: Regenerated.
25022         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25023         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25024         * scripts/sysd-rules.awk: ... this new script.
25025         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25026         than a glob-style pattern.
25028 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25030         * math/test-misc.c (main): Do not treat incorrectly rounded
25031         conversions as failure unless ROUNDING_TESTS passes.
25033 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25035         [BZ #15631]
25036         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25037         restore exception state around main square root computation, then
25038         check for inexactness explicitly.
25040         * math/libm-test.inc (fma_test_data): Add another test.
25042 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25044         * manual/threads.texi (Non-POSIX Extensions): New document
25045         node.  Document pthread_getattr_default_np and
25046         pthread_setattr_default_np.
25048         * Versions.def (libpthread): Add GLIBC_2.18.
25049         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25051         Likewise.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25053         Likewise.
25054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25055         Likewise.
25056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25057         Likewise.
25058         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25059         Likewise.
25060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25061         Likewise.
25062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25063         Likewise.
25064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25065         Likewise.
25066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25067         Likewise.
25069 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25072         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25074 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25075             H.J. Lu  <hjl.tools@gmail.com>
25077         [BZ #15627]
25078         * sysdeps/x86_64/rtld-memset.c: Remove file.
25079         * sysdeps/x86_64/rtld-memset.S: New file.
25081 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25083         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25084         (test_in_one_mode): Take arguments for whether the rounding mode
25085         is supported for each floating-point type.
25086         (do_test): Pass new arguments to test_in_one_mode using
25087         ROUNDING_TESTS.
25089 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25091         * posix/tst-waitid.c (do_test): Distinguish different instances of
25092         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25093         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25094         before entering the kernel for waitpid.
25096 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25098         * NEWS: Fix note on clock function precision.  Text by Roland
25099         McGrath.
25101 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25103         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25104         it into place only when and if the sanity check passes.
25106 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25108         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25109         output for whether conversion result is exact.  Take argument
25110         indicating whether type is IBM long double.
25111         (round_for_all): Change need_exact field to ibm_ld.
25112         * stdlib/tst-strtod-round.c (struct exactness): New type.
25113         (struct test): Change bool ld_ok field to struct exactness exact.
25114         (TEST): Update all definitions for change to field.
25115         (tests): Regenerate array contents.
25116         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25117         field value.  Check for IBM long double here.
25118         (do_test): Update calls to test_in_one_mode.
25120 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25122         [BZ #12515]
25123         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25124         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25126 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25128         [BZ #15605]
25129         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25130         generated by the compiler on loop optimizations.
25131         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25132         general definitions.
25134 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25136         * math/bug-nextafter.c: Include <math-tests.h>.
25137         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25138         the relevant type.
25139         * math/bug-nexttoward.c: Include <math-tests.h>.
25140         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25141         the relevant type.
25142         * math/test-misc.c: Include <math-tests.h>.
25143         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25144         the relevant type.
25146 2013-06-12  Andreas Jaeger  <aj@suse.de>
25148         * po/ia.po: Update Interlingua translation from translation
25149         project.
25151 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25153         * include/fenv.h: Include stdbool.h.
25154         (struct rm_ctx): New structure.
25155         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25156         Define macro.
25157         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25158         (SET_RESTORE_ROUNDF): Likewise.
25159         (SET_RESTORE_ROUNDL): Likewise.
25160         (SET_RESTORE_ROUND_NOEX): Likewise.
25161         (SET_RESTORE_ROUND_NOEXF): Likewise.
25162         (SET_RESTORE_ROUND_NOEXL): Likewise.
25163         (SET_RESTORE_ROUND_53BIT): Likewise.
25164         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25165         (libc_feresetround_noexf_ctx): Likewise.
25166         (libc_feresetround_noexl_ctx): Likewise.
25167         (libc_feholdsetround_53bit_ctx): Likewise.
25168         (libc_feresetround_53bit_ctx): Likewise.
25169         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25170         (libc_feholdexcept_setround_sse_ctx): New function.
25171         (libc_fesetenv_sse_ctx): Likewise.
25172         (libc_feupdateenv_sse_ctx): Likewise.
25173         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25174         (libc_feholdexcept_setround_387_ctx): Likewise.
25175         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25176         (libc_feholdsetround_387_prec_ctx): Likewise.
25177         (libc_feholdsetround_387_ctx): Likewise.
25178         (libc_feholdsetround_387_53bit_ctx): Likewise.
25179         (libc_feholdsetround_sse_ctx): Likewise.
25180         (libc_feresetround_sse_ctx): Likewise.
25181         (libc_feresetround_387_ctx): Likewise.
25182         (libc_feupdateenv_387_ctx): Likewise.
25183         (libc_feholdexcept_setroundf_ctx): Define macro.
25184         (libc_fesetenvf_ctx): Likewise.
25185         (libc_feupdateenvf_ctx): Likewise.
25186         (libc_feholdsetroundf_ctx): Likewise.
25187         (libc_feresetroundf_ctx): Likewise.
25188         (libc_feholdexcept_setround_ctx): Likewise.
25189         (libc_fesetenv_ctx): Likewise.
25190         (libc_feupdateenv_ctx): Likewise.
25191         (libc_feholdsetround_ctx): Likewise.
25192         (libc_feresetround_ctx): Likewise.
25193         (libc_feholdexcept_setroundl_ctx): Likewise.
25194         (libc_feupdateenvl_ctx): Likewise.
25195         (libc_feholdsetroundl_ctx): Likewise.
25196         (libc_feresetroundl_ctx): Likewise.
25197         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25198         (libc_feresetround_53bit_ctx): Likewise.
25200 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25202         * locale/iso-639.def: Convert to UTF-8.
25204 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25206         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25207         (EXCEPTION_TESTS_double): Likewise.
25208         (EXCEPTION_TESTS_long_double): Likewise.
25209         (EXCEPTION_TESTS): Likewise.
25210         * math/libm-test.inc (test_exceptions): Only test exceptions if
25211         EXCEPTION_TESTS (FLOAT).
25213 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25215         * benchtests/Makefile (string-bench): Add strcpy_chk and
25216         stpcpy_chk.
25217         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25218         * benchtests/bench-stpcpy_chk.c: New file.
25219         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25220         * benchtests/bench-strcpy_chk.c: New file.
25221         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25222         code.
25223         (do_test): Likewise.
25225 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25228         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25229         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25230         with tabs where appropriate.
25231         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25232         dl-procinfo.h.
25233         [PPC_PLATFORM_PPC440]: Likewise.
25234         [PPC_PLATFORM_PPC464]: Likewise.
25235         [PPC_PLATFORM_PPC476]: Likewise.
25236         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25237         ppc464, and ppc476 platform strings merging from ports/
25238         dl-procinfo.h.
25240 2013-06-11  Andreas Schwab  <schwab@suse.de>
25242         [BZ #14991]
25243         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25244         (from_ucs4_idx): Regenerate.
25245         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25246         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25247         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25248         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25249         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25250         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25251         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25252         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25253         from FROM_LOOP and TO_LOOP specific macros.
25254         (BODY): Handle combining characters.
25255         * iconvdata/BIG5HKSCS.irreversible: Update.
25256         * iconvdata/BIG5HKSCS.precomposed: New file.
25257         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25258         characters.
25259         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25261 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25263         * include/sys/time.h: Fix indentation and add copyright header.
25265         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25266         (do_test): Likewise.
25267         * string/test-memchr.c (do_one_test): Likewise.
25268         (do_test): Likewise.
25269         * string/test-memcmp.c (do_one_test): Likewise.
25270         (do_test): Likewise.
25271         * string/test-memcpy.c (do_one_test): Likewise.
25272         (do_test): Likewise.
25273         * string/test-memmem.c (do_one_test): Likewise.
25274         (do_test): Likewise.
25275         (do_random_tests): Likewise.
25276         * string/test-memmove.c (do_one_test): Likewise.
25277         (do_test): Likewise.
25278         * string/test-memset.c (do_one_test): Likewise.
25279         (do_test): Likewise.
25280         * string/test-rawmemchr.c (do_one_test): Likewise.
25281         (do_test): Likewise.
25282         * string/test-strcasecmp.c (do_one_test): Likewise.
25283         (do_test): Likewise.
25284         * string/test-strcasestr.c (do_one_test): Likewise.
25285         (do_test): Likewise.
25286         * string/test-strcat.c (do_one_test): Likewise.
25287         (do_test): Likewise.
25288         * string/test-strchr.c (do_one_test): Likewise.
25289         (do_test): Likewise.
25290         * string/test-strcmp.c (do_one_test): Likewise.
25291         (do_test): Likewise.
25292         * string/test-strcpy.c (do_one_test): Likewise.
25293         (do_test): Likewise.
25294         * string/test-string.h: Likewise.
25295         (test_init): Likewise.
25296         * string/test-strlen.c (do_one_test): Likewise.
25297         (do_test): Likewise.
25298         * string/test-strncasecmp.c (do_one_test): Likewise.
25299         (do_test): Likewise.
25300         * string/test-strncat.c (do_one_test): Likewise.
25301         (do_test): Likewise.
25302         * string/test-strncmp.c (do_one_test): Likewise.
25303         (do_test_limit): Likewise.
25304         (do_test): Likewise.
25305         * string/test-strncpy.c (do_one_test): Likewise.
25306         (do_test): Likewise.
25307         * string/test-strnlen.c (do_one_test): Likewise.
25308         (do_test): Likewise.
25309         * string/test-strpbrk.c (do_one_test): Likewise.
25310         (do_test): Likewise.
25311         * string/test-strrchr.c (do_one_test): Likewise.
25312         (do_test): Likewise.
25313         * string/test-strspn.c (do_one_test): Likewise.
25314         (do_test): Likewise.
25315         * string/test-strstr.c (do_one_test): Likewise.
25316         (do_test): Likewise.
25318         * benchtests/Makefile (string-bench): Add string benchmarks.
25319         * benchtests/bench-bcopy-ifunc.c: New file.
25320         * benchtests/bench-bcopy.c: New file.
25321         * benchtests/bench-bzero-ifunc.c: New file.
25322         * benchtests/bench-bzero.c: New file.
25323         * benchtests/bench-memccpy-ifunc.c: New file.
25324         * benchtests/bench-memccpy.c: New file.
25325         * benchtests/bench-memchr-ifunc.c: New file.
25326         * benchtests/bench-memchr.c: New file.
25327         * benchtests/bench-memcmp-ifunc.c: New file.
25328         * benchtests/bench-memcmp.c: New file.
25329         * benchtests/bench-memmem-ifunc.c: New file.
25330         * benchtests/bench-memmem.c: New file.
25331         * benchtests/bench-memmove-ifunc.c: New file.
25332         * benchtests/bench-memmove.c: New file.
25333         * benchtests/bench-mempcpy-ifunc.c: New file.
25334         * benchtests/bench-mempcpy.c: New file.
25335         * benchtests/bench-memset-ifunc.c: New file.
25336         * benchtests/bench-memset.c: New file.
25337         * benchtests/bench-rawmemchr-ifunc.c: New file.
25338         * benchtests/bench-rawmemchr.c: New file.
25339         * benchtests/bench-stpcpy-ifunc.c: New file.
25340         * benchtests/bench-stpcpy.c: New file.
25341         * benchtests/bench-stpncpy-ifunc.c: New file.
25342         * benchtests/bench-stpncpy.c: New file.
25343         * benchtests/bench-strcasecmp-ifunc.c: New file.
25344         * benchtests/bench-strcasecmp.c: New file.
25345         * benchtests/bench-strcasestr-ifunc.c: New file.
25346         * benchtests/bench-strcasestr.c: New file.
25347         * benchtests/bench-strcat-ifunc.c: New file.
25348         * benchtests/bench-strcat.c: New file.
25349         * benchtests/bench-strchr-ifunc.c: New file.
25350         * benchtests/bench-strchr.c: New file.
25351         * benchtests/bench-strchrnul-ifunc.c: New file.
25352         * benchtests/bench-strchrnul.c: New file.
25353         * benchtests/bench-strcmp-ifunc.c: New file.
25354         * benchtests/bench-strcmp.c: New file.
25355         * benchtests/bench-strcpy-ifunc.c: New file.
25356         * benchtests/bench-strcpy.c: New file.
25357         * benchtests/bench-strcspn-ifunc.c: New file.
25358         * benchtests/bench-strcspn.c: New file.
25359         * benchtests/bench-strlen-ifunc.c: New file.
25360         * benchtests/bench-strlen.c: New file.
25361         * benchtests/bench-strncasecmp-ifunc.c: New file.
25362         * benchtests/bench-strncasecmp.c: New file.
25363         * benchtests/bench-strncat-ifunc.c: New file.
25364         * benchtests/bench-strncat.c: New file.
25365         * benchtests/bench-strncmp-ifunc.c: New file.
25366         * benchtests/bench-strncmp.c: New file.
25367         * benchtests/bench-strncpy-ifunc.c: New file.
25368         * benchtests/bench-strncpy.c: New file.
25369         * benchtests/bench-strnlen-ifunc.c: New file.
25370         * benchtests/bench-strnlen.c: New file.
25371         * benchtests/bench-strpbrk-ifunc.c: New file.
25372         * benchtests/bench-strpbrk.c: New file.
25373         * benchtests/bench-strrchr-ifunc.c: New file.
25374         * benchtests/bench-strrchr.c: New file.
25375         * benchtests/bench-strspn-ifunc.c: New file.
25376         * benchtests/bench-strspn.c: New file.
25377         * benchtests/bench-strstr-ifunc.c: New file.
25378         * benchtests/bench-strstr.c: New file.
25380         * benchtests/Makefile: Disable parallel execution of targets.
25381         (string-bench): Add memcpy.
25382         (benchset): New variable to store a list of benchmark sets.
25383         (bench-func): Renamed from bench.
25384         (bench-set): New target.
25385         (bench): Depend on bench-func and bench-set.
25386         * benchtests/README: Add section on benchmark sets.
25387         * benchtests/bench-memcpy-ifunc.c: New file.
25388         * benchtests/bench-memcpy.c: New file.
25389         * benchtests/bench-string.h: New file.
25391 2013-06-11  Andreas Schwab  <schwab@suse.de>
25393         [BZ #15577]
25394         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25395         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25396         values in the triple.
25397         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25398         terminator in the group key.
25400 2013-06-11  Andreas Jaeger  <aj@suse.de>
25402         * po/zh_TW.po: Update Chinese (traditional) translation from
25403         translation project.
25405 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25407         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25408         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25409         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25410         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25411         (clock_getcpuclockid): Likewise.
25412         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25413         Add weak_alias and libc_hidden_def.
25414         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25415         * rt/clock_gettime.c (clock_gettime): Rename to
25416         __clock_gettime.  Add weak_alias and libc_hidden_def.
25417         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25418         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25419         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25420         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25421         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25422         Likewise.
25423         * rt/clock_settime.c (clock_settime): Rename to
25424         __clock_settime.  Add weak_alias and libc_hidden_def.
25425         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25427 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25429         * mach/err_boot.sub: Remove trailing whitespace.
25430         * mach/err_ipc.sub: Likewise.
25431         * mach/err_mach.sub: Likewise.
25433         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25434         (ROUNDING_TESTS_double): Likewise.
25435         (ROUNDING_TESTS_long_double): Likewise.
25436         (ROUNDING_TESTS): Likewise.
25437         * math/libm-test.inc: Include <math-tests.h>.
25438         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25439         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25440         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25441         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25443 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25445         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25446         of assigning.
25448 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25450         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25451         otherwise empty TRANS lines.
25452         * sysdeps/gnu/errlist.c: Regenerated.
25454         * catgets/gencat.c (error_print): Use (void) in function
25455         definition.
25456         * crypt/crypt_util.c (__init_des): Likewise.
25457         * crypt/speeds.c (Stop): Likewise.
25458         (main): Likewise.
25459         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25460         * inet/ruserpass.c (token): Likewise.
25461         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25462         * intl/localealias.c (extend_alias_table): Likewise.
25463         * intl/plural-exp.c (init_germanic_plural): Likewise.
25464         * libio/fcloseall.c (__fcloseall): Likewise.
25465         * libio/genops.c (_IO_flush_all): Likewise.
25466         (_IO_flush_all_linebuffered): Likewise.
25467         (_IO_cleanup): Likewise.
25468         (_IO_iter_begin): Likewise.
25469         (_IO_iter_end): Likewise.
25470         (_IO_list_lock): Likewise.
25471         (_IO_list_unlock): Likewise.
25472         (_IO_list_resetlock): Likewise.
25473         * libio/getchar.c (getchar): Likewise.
25474         * libio/getchar_u.c (getchar_unlocked): Likewise.
25475         * libio/getwchar.c (getwchar): Likewise.
25476         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25477         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25478         * login/getpt.c (__getpt): Likewise.
25479         * login/tst-utmp.c (main): Likewise.
25480         * malloc/hooks.c (__malloc_check_init): Likewise.
25481         * malloc/malloc.c (__malloc_stats): Likewise.
25482         * malloc/mtrace.c (tr_break): Likewise.
25483         (mtrace): Likewise.
25484         (muntrace): Likewise.
25485         * misc/fstab.c (endfsent): Likewise.
25486         * misc/getclktck.c (__getclktck): Likewise.
25487         * misc/getdtsz.c (__getdtablesize): Likewise.
25488         * misc/gethostid.c (gethostid): Likewise.
25489         * misc/getpagesize.c (__getpagesize): Likewise.
25490         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25491         (__get_nprocs): Likewise.
25492         (__get_phys_pages): Likewise.
25493         (__get_avphys_pages): Likewise.
25494         * misc/getttyent.c (getttyent): Likewise.
25495         (setttyent): Likewise.
25496         (endttyent): Likewise.
25497         * misc/getusershell.c (getusershell): Likewise.
25498         (endusershell): Likewise.
25499         (setusershell): Likewise.
25500         (initshells): Likewise.
25501         * misc/hsearch.c (__hdestroy): Likewise.
25502         * misc/sync.c (sync): Likewise.
25503         * misc/syslog.c (closelog_internal): Likewise.
25504         (closelog): Likewise.
25505         * misc/ttyslot.c (ttyslot): Likewise.
25506         * misc/vhangup.c (vhangup): Likewise.
25507         * posix/fork.c (__fork): Likewise.
25508         * posix/getegid.c (__getegid): Likewise.
25509         * posix/geteuid.c (__geteuid): Likewise.
25510         * posix/getgid.c (__getgid): Likewise.
25511         * posix/getpid.c (__getpid): Likewise.
25512         * posix/getppid.c (__getppid): Likewise.
25513         * posix/getuid.c (__getuid): Likewise.
25514         * posix/pause.c (pause): Likewise.
25515         * posix/setpgrp.c (setpgrp): Likewise.
25516         * posix/setsid.c (__setsid): Likewise.
25517         * posix/test-vfork.c (noop): Likewise.
25518         * resolv/gethnamaddr.c (_endhtent): Likewise.
25519         (_gethtent): Likewise.
25520         (ht_endhostent): Likewise.
25521         (gethostent): Likewise.
25522         (dns_service): Likewise.
25523         * stdlib/drand48.c (drand48): Likewise.
25524         * stdlib/lrand48.c (lrand48): Likewise.
25525         * stdlib/mrand48.c (mrand48): Likewise.
25526         * stdlib/rand.c (rand): Likewise.
25527         * stdlib/random.c (__random): Likewise.
25528         * stdlib/setenv.c (clearenv): Likewise.
25529         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25530         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25531         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25532         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25533         (__get_nprocs): Likewise.
25534         (__get_phys_pages): Likewise.
25535         (__get_avphys_pages): Likewise.
25536         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25537         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25538         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25539         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25540         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25541         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25542         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25543         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25544         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25545         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25546         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25547         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25548         * sysdeps/posix/clock.c (clock): Likewise.
25549         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25550         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25551         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25552         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25553         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25554         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25555         (__get_nprocs_conf): Likewise.
25556         (__get_phys_pages): Likewise.
25557         (__get_avphys_pages): Likewise.
25558         * time/clock.c (clock): Likewise.
25559         * time/tzset.c (__tzname_max): Likewise.
25561 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25563         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25564         (__bswap_32): Do not use "register".
25565         * crypt/crypt.c (_ufc_doit_r): Likewise.
25566         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25567         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25568         * gmon/gmon.c (__monstartup): Likewise.
25569         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25570         * hurd/hurdmalloc.c (more_memory): Likewise.
25571         (malloc): Likewise.
25572         (free): Likewise.
25573         (realloc): Likewise.
25574         (malloc_fork_prepare): Likewise.
25575         (malloc_fork_parent): Likewise.
25576         (malloc_fork_child): Likewise.
25577         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25578         (_svcauth_des): Likewise.
25579         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25580         * inet/inet_net.c (inet_network): Likewise.
25581         * inet/inet_netof.c (inet_netof): Likewise.
25582         * inet/rcmd.c (__validuser2_sa): Likewise.
25583         * io/fts.c (fts_open): Likewise.
25584         (fts_load): Likewise.
25585         (fts_close): Likewise.
25586         (fts_read): Likewise.
25587         (fts_children): Likewise.
25588         (fts_build): Likewise.
25589         (fts_stat): Likewise.
25590         (fts_sort): Likewise.
25591         (fts_alloc): Likewise.
25592         (fts_lfree): Likewise.
25593         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25594         (_IO_file_xsgetn): Likewise.
25595         (_IO_file_xsgetn_mmap): Likewise.
25596         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25597         (_IO_cookie_write): Likewise.
25598         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25599         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25600         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25601         * malloc/obstack.c (_obstack_begin): Likewise.
25602         (_obstack_begin_1): Likewise.
25603         (_obstack_newchunk): Likewise.
25604         (_obstack_allocated_p): Likewise.
25605         (obstack_free): Likewise.
25606         (_obstack_memory_used): Likewise.
25607         * misc/getttyent.c (getttynam): Likewise.
25608         (getttyent): Likewise.
25609         (skip): Likewise.
25610         (value): Likewise.
25611         * misc/getusershell.c (initshells): Likewise.
25612         * misc/syslog.c (__vsyslog_chk): Likewise.
25613         * misc/ttyslot.c (ttyslot): Likewise.
25614         * nis/nis_hash.c (__nis_hash): Likewise.
25615         * posix/fnmatch_loop.c (FCT): Likewise.
25616         * posix/getconf.c (print_all): Likewise.
25617         (main): Likewise.
25618         * posix/getopt.c (exchange): Likewise.
25619         * posix/glob.c (globfree): Likewise.
25620         (prefix_array): Likewise.
25621         (__glob_pattern_type): Likewise.
25622         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25623         (NS_GET32): Likewise.
25624         (NS_PUT16): Likewise.
25625         (NS_PUT32): Likewise.
25626         * resolv/gethnamaddr.c (getanswer): Likewise.
25627         (gethostbyname2): Likewise.
25628         (gethostbyaddr): Likewise.
25629         (_gethtent): Likewise.
25630         (_gethtbyname2): Likewise.
25631         (_gethtbyaddr): Likewise.
25632         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25633         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25634         * resolv/res_init.c (__res_vinit): Likewise.
25635         (net_mask): Likewise.
25636         * resolv/res_mkquery.c (outchar): Likewise.
25637         (PRINT): Likewise.
25638         * stdio-common/printf_fp.c (outchar): Likewise.
25639         (PRINT): Likewise.
25640         * stdio-common/printf_fphex.c (outchar): Likewise.
25641         (PRINT): Likewise.
25642         * stdio-common/printf_size.c (outchar): Likewise.
25643         (PRINT): Likewise.
25644         * stdio-common/test_rdwr.c (main): Likewise.
25645         * stdio-common/tfformat.c (matches): Likewise.
25646         * stdio-common/vfprintf.c (outchar): Likewise.
25647         (printf_unknown): Likewise.
25648         (buffered_vfprintf): Likewise.
25649         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25650         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25651         (ReadFile): Likewise.
25652         * stdlib/qsort.c (SWAP): Likewise.
25653         (_quicksort): Likewise.
25654         * stdlib/setenv.c (__add_to_environ): Likewise.
25655         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25656         * stdlib/strtol_l.c (__strtol_l): Likewise.
25657         * stdlib/tst-strtod.c (main): Likewise.
25658         * stdlib/tst-strtol.c (main): Likewise.
25659         * stdlib/tst-strtoll.c (main): Likewise.
25660         * string/bits/string2.h (__strcmp_cc): Likewise.
25661         (__strcmp_cg): Likewise.
25662         (__strcspn_c1): Likewise.
25663         (__strcspn_c2): Likewise.
25664         (__strcspn_c3): Likewise.
25665         (__strspn_c1): Likewise.
25666         (__strspn_c2): Likewise.
25667         (__strspn_c3): Likewise.
25668         (__strsep_1c): Likewise.
25669         (__strsep_2c): Likewise.
25670         (__strsep_3c): Likewise.
25671         * string/memccpy.c (__memccpy): Likewise.
25672         * string/stpcpy.c (__stpcpy): Likewise.
25673         * string/strcmp.c (strcmp): Likewise.
25674         * string/strrchr.c (strrchr): Likewise.
25675         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25676         Likewise.
25677         * sysdeps/mach/hurd/getcwd.c
25678         (_hurd_canonicalize_directory_name_internal): Likewise.
25679         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25680         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25681         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25682         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25683         Likewise, in both definitions.
25684         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25685         definitions.
25686         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25687         64] (__bswap_64): Likewise.
25688         * time/test_time.c (main): Likewise.
25689         * time/tzfile.c (__tzfile_read): Likewise.
25690         (__tzfile_compute): Likewise.
25691         * time/tzset.c (__tzset_parse_tz): Likewise.
25692         (tzset_internal): Likewise.
25693         (compute_change): Likewise.
25694         * wcsmbs/wcscat.c (__wcscat): Likewise.
25695         * wcsmbs/wcschr.c (wcschr): Likewise.
25696         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25697         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25698         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25699         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25700         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25701         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25702         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25703         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25704         * wcsmbs/wmemset.c (wmemset): Likewise.
25706 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25708         * scripts/config.guess: Update to version 2013-05-16.
25709         * scripts/config.sub: Update to version 2013-04-24.
25710         * scripts/install-sh: Update to version 2011-11-20.07.
25711         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25712         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25714 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25716         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25717         * elf/sln.c: Likewise.
25718         * hurd/hurd/ioctl.h: Likewise.
25719         * hurd/hurdmalloc.c: Likewise.
25720         * hurd/xattr.c: Likewise.
25721         * include/shlib-compat.h: Likewise.
25722         * inet/ruserpass.c: Likewise.
25723         * libio/iofgets_u.c: Likewise.
25724         * libio/iofgetws_u.c: Likewise.
25725         * locale/programs/ld-identification.c: Likewise.
25726         * locale/programs/ld-time.c: Likewise.
25727         * mach/msg-destroy.c: Likewise.
25728         * nss/nss_files/files-netgrp.c: Likewise.
25729         * resolv/res_data.c: Likewise.
25730         * soft-fp/op-1.h: Likewise.
25731         * soft-fp/op-2.h: Likewise.
25732         * soft-fp/op-4.h: Likewise.
25733         * soft-fp/op-common.h: Likewise.
25734         * stdio-common/printf_fphex.c: Likewise.
25735         * stdlib/strtod_l.c: Likewise.
25736         * sunrpc/rpc/clnt.h: Likewise.
25737         * sysdeps/generic/framestate.c: Likewise.
25738         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25739         * sysdeps/i386/bsd-setjmp.S: Likewise.
25740         * sysdeps/i386/__longjmp.S: Likewise.
25741         * sysdeps/i386/setjmp.S: Likewise.
25742         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25743         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25744         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25745         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25746         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25747         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25751         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25752         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25753         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25754         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25755         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25756         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25757         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25758         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25759         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25760         * sysdeps/ieee754/support.c: Likewise.
25761         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25762         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25763         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25764         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25765         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25766         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25767         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25768         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25769         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25770         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25771         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25772         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25773         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25774         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25775         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25776         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25777         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25780 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25782         * posix/transbug.c: Remove executable mode.
25784 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25786         * crypt/speeds.c: Remove trailing whitespace.
25787         * dlfcn/default.c: Likewise.
25788         * elf/ifuncdep2.c: Likewise.
25789         * elf/ifuncmain1.c: Likewise.
25790         * elf/ifuncmain1vis.c: Likewise.
25791         * elf/testobj.h: Likewise.
25792         * elf/tst-stackguard1.c: Likewise.
25793         * gmon/sys/gmon.h: Likewise.
25794         * hurd/hurdmsg.c: Likewise.
25795         * hurd/new-fd.c: Likewise.
25796         * hurd/ports-get.c: Likewise.
25797         * iconvdata/ibm1008_420.c: Likewise.
25798         * inet/tst-getni1.c: Likewise.
25799         * inet/tst-getni2.c: Likewise.
25800         * libio/ioungetc.c: Likewise.
25801         * libio/wfiledoalloc.c: Likewise.
25802         * manual/libm-err-tab.pl: Likewise.
25803         * math/w_dremf.c: Likewise.
25804         * misc/ftruncate.c: Likewise.
25805         * posix/bug-glob2.c: Likewise.
25806         * posix/tst-pcre.c: Likewise.
25807         * posix/wait4.c: Likewise.
25808         * resolv/README: Likewise.
25809         * resolv/res_debug.h: Likewise.
25810         * resolv/tst-inet_ntop.c: Likewise.
25811         * setjmp/bug269-setjmp.c: Likewise.
25812         * soft-fp/extended.h: Likewise.
25813         * soft-fp/op-1.h: Likewise.
25814         * soft-fp/op-2.h: Likewise.
25815         * soft-fp/op-4.h: Likewise.
25816         * soft-fp/op-8.h: Likewise.
25817         * soft-fp/testit.c: Likewise.
25818         * stdio-common/bug16.c: Likewise.
25819         * stdlib/random.c: Likewise.
25820         * sunrpc/rpcsvc/rquota.x: Likewise.
25821         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25822         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25824         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25825         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25826         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25827         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25828         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25829         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25830         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25831         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25832         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25833         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25834         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25835         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25837         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25838         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25839         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25840         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25841         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25843         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25844         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25845         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25846         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25849         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25850         * sysdeps/ieee754/s_lib_version.c: Likewise.
25851         * sysdeps/mach/hurd/check_fds.c: Likewise.
25852         * sysdeps/mach/hurd/getsockname.c: Likewise.
25853         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25854         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25855         * sysdeps/powerpc/bits/link.h: Likewise.
25856         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25857         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25858         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25859         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25860         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25861         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25862         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25863         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25864         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25865         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25866         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25867         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25868         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25869         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25870         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25871         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25872         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25873         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25875         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25876         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25877         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25878         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25879         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25880         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25881         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25882         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25883         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25884         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25885         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25886         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25888         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25889         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25890         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25891         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25892         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25893         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25894         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25895         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25896         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25897         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25898         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25899         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25900         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25901         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25902         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25903         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25904         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25905         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25908         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25909         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25910         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25911         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25912         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25913         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25915         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25916         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25917         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25918         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25919         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25920         * sysdeps/powerpc/sysdep.h: Likewise.
25921         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25922         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25923         * sysdeps/sh/dl-trampoline.S: Likewise.
25924         * sysdeps/sh/memset.S: Likewise.
25925         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25926         * sysdeps/sh/strlen.S: Likewise.
25927         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25928         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25929         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25930         * sysdeps/sparc/sparc32/rem.S: Likewise.
25931         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25932         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25933         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25934         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25935         * sysdeps/sparc/sparc32/urem.S: Likewise.
25936         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25937         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25938         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25939         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25940         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25941         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25942         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25943         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25944         * sysdeps/unix/bsd/times.c: Likewise.
25945         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25946         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25950         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25951         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25952         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25954         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25955         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25956         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25957         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25958         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25959         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25960         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25961         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25962         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25963         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25964         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25965         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25966         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25967         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25968         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25969         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25970         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25971         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25972         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25973         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25974         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25975         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25976         * sysdeps/x86_64/strcspn.S: Likewise.
25978 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25980         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25981         generated file.  Regenerate properly from gen-translit.pl.
25982         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25983         locale/C-translit.h.
25985 2013-06-05  Andreas Schwab  <schwab@suse.de>
25987         [BZ #15100]
25988         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25989         week as 6 instead of -1.
25990         * time/tst-strptime.c (day_tests): Add test case.
25992 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25994         * sysdeps/generic/math_private.h
25995         (libc_feholdexcept_setround_53bit): Replace with
25996         libc_feholdsetround_53bit.
25997         (libc_feupdateenv_53bit): Replace with
25998         libc_feresetround_53bit.
25999         (SET_RESTORE_ROUND_53BIT): Adjust.
26001 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26003         * string/test-strchrnul.c: Add copyright header.
26005         * posix/tst-getaddrinfo4.c: Increase test timeout.
26007 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26009         [BZ #15536]
26010         * math/libm-test.inc (MAX_EXP): Remove
26011         (MIN_EXP): Define.
26012         (ulp): Use MIN_EXP - MANT_DIG.
26013         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26015 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26017         * po/be.po: Revert last change.
26018         * po/zh_CN.po: Likewise.
26019         * po/header.pot: Likewise.
26021 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26023         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26024         link-libc-deps to empty as target-specific variable.
26025         * Makerules (link-libc-args): New variable.
26026         (libc-for-link): Likewise.
26027         (link-libc-deps): Likewise.
26028         (lib%.so): Depend on $(link-libc-deps).  Link with
26029         $(link-libc-args).
26030         (build-module): Link with $(link-libc-args).
26031         (build-module-asneeded): Likewise.
26032         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26033         list of objects.
26034         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26035         target-specific variable.
26036         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26037         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26038         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26039         libc.
26040         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26041         libc and ld.so.
26042         ($(objpfx)libpcprofile.so): Likewise.
26043         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26044         libc_nonshared.a.
26045         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26046         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26047         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26048         $(link-libc-deps).
26049         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26050         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26051         * login/Makefile ($(objpfx)libutil.so): Likewise.
26052         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26053         * math/Makefile ($(objpfx)libm.so): Likewise.
26054         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26055         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26056         variable instead of depending directly on libc.
26057         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26058         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26059         $(link-libc-deps).
26060         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26061         libc.
26062         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26063         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26064         ($(objpfx)libanl.so): Likewise.
26065         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26066         ld.so.
26067         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26068         $(link-libc-deps).
26069         * sysdeps/i386/fpu/Makefile: Remove file.
26070         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26071         ($(objpfx)libm.so): Remove dependency on ld.so.
26073 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26075         [BZ # 15553]
26076         * nis/yp_xdr.c (XDRMAXNAME): Define.
26077         (XDRMAXRECORD): Define.
26078         (xdr_domainname): Use XDRMAXNAME.
26079         (xdr_mapname): Likewise.
26080         (xdr_peername): Likewise.
26081         (xdr_keydat): Use XDRMAXRECORD.
26082         (xdr_valdat): Likewise.
26084 2013-05-30  Jeff Law  <law@redhat.com>
26086         [BZ #14256]
26087         * manual/errno.texi (ESTALE): Update to account for more than
26088         just NFS file systems.
26089         * sysdeps/gnu/errlist.c: Regenerated.
26091 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26093         [BZ #15465]
26094         * elf/Makefile (tests): Add tst-null-argv.
26095         (modules-names):  Add tst-null-argv-lib.
26096         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26097         (tst-null-argv-ENV): Set environment for tst-null-argv.
26098         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26099         (RTLD_PROGNAME): New macro.
26100         * elf/tst-null-argv.c: New test case.
26101         * elf/tst-null-argv-lib.c: Library for test case.
26102         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26103         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26104         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26105         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26106         * elf/dl-init.c (call_init): Likewise.
26107         (_dl_init): Likewise.
26108         * elf/dl-load.c (print_search_path): Likewise.
26109         (_dl_map_object): Likewise.
26110         * elf/dl-lookup.c (do_lookup_x): Likewise.
26111         (add_dependency): Likewise.
26112         (_dl_lookup_symbol_x): Likewise.
26113         (_dl_debug_bindings): Likewise.
26114         * elf/dl-open.c (_dl_show_scope): Likewise.
26115         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26116         * elf/dl-version.c (match_symbol): Likewise.
26117         (_dl_check_map_versions): Likewise.
26118         * elf/rtld.c (dl_main): Likewise.
26119         (print_unresolved): Use RTLD_PROGNAME.
26120         (print_missing_version): Likewise.
26121         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26122         (elf_machine_rela): Likewise.
26123         * sysdeps/powerpc/powerpc32/dl-machine.c
26124         (__process_machine_rela): Likewise.
26125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26126         Likewise.
26127         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26128         Likewise.
26129         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26130         Likewise.
26131         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26132         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26133         Likewise.
26134         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26135         Likewise.
26136         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26138 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26140         * po/be.po: Add descriptive title.
26141         * po/zh_CN.po: Likewise.
26142         * po/header.pot: Likewise.
26144 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26146         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26147         error message.
26148         (enlarge_archive): Likewise.
26150 2013-05-28  Ben North  <ben@redfrontdoor.org>
26152         * manual/arith.texi (frexp): It is the magnitude of the return
26153         value which lies in [0.5, 1), not the return value itself.
26155 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26159 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26161         * stdio-common/bug26.c (main): Correct fscanf template.
26163         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26164         declare _dl_skip_args.
26166         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26167         Don't declare.
26169         * manual/platform.texi: Add missing @end deftypefun.
26171 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26173         [BZ #15529]
26174         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26175         bit of mantissa of 2^16382.
26176         * math/libm-test.inc (hypot_test_data): Add more tests.
26178         * math/libm-test.inc: Add drem and pow10 to list of tested
26179         functions.
26180         (pow10_test): New function.
26181         (drem_test): Likewise.
26182         (drem_test_tonearest): Likewise.
26183         (drem_test_towardzero): Likewise.
26184         (drem_test_downward): Likewise.
26185         (drem_test_upward): Likewise.
26186         (main): Call the new functions.
26188         * math/libm-test.inc (finite_test_data): Remove.
26189         (finite_test): Run tests from isfinite_test_data.
26190         (gamma_test_data): Remove.
26191         (gamma_test): Run tests from lgamma_test_data.
26192         * sysdeps/i386/fpu/libm-test-ulps: Update.
26193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26195 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26197         * manual/platform.texi: Add PowerPC PPR function set documentation.
26198         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26199         implementation.
26201 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26203         * math/libm-test.inc (MAX_EXP): Define.
26204         (ULPDIFF): Define.
26205         (ulp): New function.
26206         (check_float_internal): Use ULPDIFF.
26207         (cpow_test): Disable failing test.
26208         (check_ulp): Test ulp() implemetnation.
26209         (main): Call check_ulp before starting tests.
26211 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26213         * math/gen-libm-test.pl (generate_testfile): Do not handle
26214         START_DATA and END_DATA.
26215         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26216         END_DATA.
26217         (acos_tonearest_test_data): Likewise.
26218         (acos_towardzero_test_data): Likewise.
26219         (acos_downward_test_data): Likewise.
26220         (acos_upward_test_data): Likewise.
26221         (acosh_test_data): Likewise.
26222         (asin_test_data): Likewise.
26223         (asin_tonearest_test_data): Likewise.
26224         (asin_towardzero_test_data): Likewise.
26225         (asin_downward_test_data): Likewise.
26226         (asin_upward_test_data): Likewise.
26227         (asinh_test_data): Likewise.
26228         (atan_test_data): Likewise.
26229         (atanh_test_data): Likewise.
26230         (atan2_test_data): Likewise.
26231         (cabs_test_data): Likewise.
26232         (cacos_test_data): Likewise.
26233         (cacosh_test_data): Likewise.
26234         (carg_test_data): Likewise.
26235         (casin_test_data): Likewise.
26236         (casinh_test_data): Likewise.
26237         (catan_test_data): Likewise.
26238         (catanh_test_data): Likewise.
26239         (cbrt_test_data): Likewise.
26240         (ccos_test_data): Likewise.
26241         (ccosh_test_data): Likewise.
26242         (ceil_test_data): Likewise.
26243         (cexp_test_data): Likewise.
26244         (cimag_test_data): Likewise.
26245         (clog_test_data): Likewise.
26246         (clog10_test_data): Likewise.
26247         (conj_test_data): Likewise.
26248         (copysign_test_data): Likewise.
26249         (cos_test_data): Likewise.
26250         (cos_tonearest_test_data): Likewise.
26251         (cos_towardzero_test_data): Likewise.
26252         (cos_downward_test_data): Likewise.
26253         (cos_upward_test_data): Likewise.
26254         (cosh_test_data): Likewise.
26255         (cosh_tonearest_test_data): Likewise.
26256         (cosh_towardzero_test_data): Likewise.
26257         (cosh_downward_test_data): Likewise.
26258         (cosh_upward_test_data): Likewise.
26259         (cpow_test_data): Likewise.
26260         (cproj_test_data): Likewise.
26261         (creal_test_data): Likewise.
26262         (csin_test_data): Likewise.
26263         (csinh_test_data): Likewise.
26264         (csqrt_test_data): Likewise.
26265         (ctan_test_data): Likewise.
26266         (ctan_tonearest_test_data): Likewise.
26267         (ctan_towardzero_test_data): Likewise.
26268         (ctan_downward_test_data): Likewise.
26269         (ctan_upward_test_data): Likewise.
26270         (ctanh_test_data): Likewise.
26271         (ctanh_tonearest_test_data): Likewise.
26272         (ctanh_towardzero_test_data): Likewise.
26273         (ctanh_downward_test_data): Likewise.
26274         (ctanh_upward_test_data): Likewise.
26275         (erf_test_data): Likewise.
26276         (erfc_test_data): Likewise.
26277         (exp_test_data): Likewise.
26278         (exp_tonearest_test_data): Likewise.
26279         (exp_towardzero_test_data): Likewise.
26280         (exp_downward_test_data): Likewise.
26281         (exp_upward_test_data): Likewise.
26282         (exp10_test_data): Likewise.
26283         (exp2_test_data): Likewise.
26284         (expm1_test_data): Likewise.
26285         (fabs_test_data): Likewise.
26286         (fdim_test_data): Likewise.
26287         (finite_test_data): Likewise.
26288         (floor_test_data): Likewise.
26289         (fma_test_data): Likewise.
26290         (fma_towardzero_test_data): Likewise.
26291         (fma_downward_test_data): Likewise.
26292         (fma_upward_test_data): Likewise.
26293         (fmax_test_data): Likewise.
26294         (fmin_test_data): Likewise.
26295         (fmod_test_data): Likewise.
26296         (fpclassify_test_data): Likewise.
26297         (frexp_test_data): Likewise.
26298         (gamma_test_data): Likewise.
26299         (hypot_test_data): Likewise.
26300         (ilogb_test_data): Likewise.
26301         (isfinite_test_data): Likewise.
26302         (isgreater_test_data): Likewise.
26303         (isgreaterequal_test_data): Likewise.
26304         (isinf_test_data): Likewise.
26305         (isless_test_data): Likewise.
26306         (islessequal_test_data): Likewise.
26307         (islessgreater_test_data): Likewise.
26308         (isnan_test_data): Likewise.
26309         (isnormal_test_data): Likewise.
26310         (issignaling_test_data): Likewise.
26311         (isunordered_test_data): Likewise.
26312         (j0_test_data): Likewise.
26313         (j1_test_data): Likewise.
26314         (jn_test_data): Likewise.
26315         (ldexp_test_data): Likewise.
26316         (lgamma_test_data): Likewise.
26317         (lrint_test_data): Likewise.
26318         (lrint_tonearest_test_data): Likewise.
26319         (lrint_towardzero_test_data): Likewise.
26320         (lrint_downward_test_data): Likewise.
26321         (lrint_upward_test_data): Likewise.
26322         (llrint_test_data): Likewise.
26323         (llrint_tonearest_test_data): Likewise.
26324         (llrint_towardzero_test_data): Likewise.
26325         (llrint_downward_test_data): Likewise.
26326         (llrint_upward_test_data): Likewise.
26327         (log_test_data): Likewise.
26328         (log10_test_data): Likewise.
26329         (log1p_test_data): Likewise.
26330         (log2_test_data): Likewise.
26331         (logb_test_data): Likewise.
26332         (logb_downward_test_data): Likewise.
26333         (lround_test_data): Likewise.
26334         (llround_test_data): Likewise.
26335         (modf_test_data): Likewise.
26336         (nearbyint_test_data): Likewise.
26337         (nextafter_test_data): Likewise.
26338         (nexttoward_test_data): Likewise.
26339         (pow_test_data): Likewise.
26340         (pow_tonearest_test_data): Likewise.
26341         (pow_towardzero_test_data): Likewise.
26342         (pow_downward_test_data): Likewise.
26343         (pow_upward_test_data): Likewise.
26344         (remainder_test_data): Likewise.
26345         (remainder_tonearest_test_data): Likewise.
26346         (remainder_towardzero_test_data): Likewise.
26347         (remainder_downward_test_data): Likewise.
26348         (remainder_upward_test_data): Likewise.
26349         (remquo_test_data): Likewise.
26350         (rint_test_data): Likewise.
26351         (rint_tonearest_test_data): Likewise.
26352         (rint_towardzero_test_data): Likewise.
26353         (rint_downward_test_data): Likewise.
26354         (rint_upward_test_data): Likewise.
26355         (round_test_data): Likewise.
26356         (scalb_test_data): Likewise.
26357         (scalbn_test_data): Likewise.
26358         (scalbln_test_data): Likewise.
26359         (signbit_test_data): Likewise.
26360         (sin_test_data): Likewise.
26361         (sin_tonearest_test_data): Likewise.
26362         (sin_towardzero_test_data): Likewise.
26363         (sin_downward_test_data): Likewise.
26364         (sin_upward_test_data): Likewise.
26365         (sincos_test_data): Likewise.
26366         (sinh_test_data): Likewise.
26367         (sinh_tonearest_test_data): Likewise.
26368         (sinh_towardzero_test_data): Likewise.
26369         (sinh_downward_test_data): Likewise.
26370         (sinh_upward_test_data): Likewise.
26371         (sqrt_test_data): Likewise.
26372         (tan_test_data): Likewise.
26373         (tan_tonearest_test_data): Likewise.
26374         (tan_towardzero_test_data): Likewise.
26375         (tan_downward_test_data): Likewise.
26376         (tan_upward_test_data): Likewise.
26377         (tanh_test_data): Likewise.
26378         (tgamma_test_data): Likewise.
26379         (trunc_test_data): Likewise.
26380         (y0_test_data): Likewise.
26381         (y1_test_data): Likewise.
26382         (yn_test_data): Likewise.
26383         (significand_test_data): Likewise.
26385         * math/gen-libm-test.pl (@functions): Remove variable.
26386         (generate_testfile): Don't handle START and END lines.
26387         * math/libm-test.inc (START): New macro.
26388         (END): Likewise.
26389         (END_COMPLEX): Likewise.
26390         (acos_test): Use END macro without arguments.
26391         (acos_test_tonearest): Likewise.
26392         (acos_test_towardzero): Likewise.
26393         (acos_test_downward): Likewise.
26394         (acos_test_upward): Likewise.
26395         (acosh_test): Likewise.
26396         (asin_test): Likewise.
26397         (asin_test_tonearest): Likewise.
26398         (asin_test_towardzero): Likewise.
26399         (asin_test_downward): Likewise.
26400         (asin_test_upward): Likewise.
26401         (asinh_test): Likewise.
26402         (atan_test): Likewise.
26403         (atanh_test): Likewise.
26404         (atan2_test): Likewise.
26405         (cabs_test): Likewise.
26406         (cacos_test): Use END_COMPLEX macro without arguments.
26407         (cacosh_test): Likewise.
26408         (carg_test): Use END macro without arguments.
26409         (casin_test): Use END_COMPLEX macro without arguments.
26410         (casinh_test): Likewise.
26411         (catan_test): Likewise.
26412         (catanh_test): Likewise.
26413         (cbrt_test): Use END macro without arguments.
26414         (ccos_test): Use END_COMPLEX macro without arguments.
26415         (ccosh_test): Likewise.
26416         (ceil_test): Use END macro without arguments.
26417         (cexp_test): Use END_COMPLEX macro without arguments.
26418         (cimag_test): Use END macro without arguments.
26419         (clog_test): Use END_COMPLEX macro without arguments.
26420         (clog10_test): Likewise.
26421         (conj_test): Likewise.
26422         (copysign_test): Use END macro without arguments.
26423         (cos_test): Likewise.
26424         (cos_test_tonearest): Likewise.
26425         (cos_test_towardzero): Likewise.
26426         (cos_test_downward): Likewise.
26427         (cos_test_upward): Likewise.
26428         (cosh_test): Likewise.
26429         (cosh_test_tonearest): Likewise.
26430         (cosh_test_towardzero): Likewise.
26431         (cosh_test_downward): Likewise.
26432         (cosh_test_upward): Likewise.
26433         (cpow_test): Use END_COMPLEX macro without arguments.
26434         (cproj_test): Likewise.
26435         (creal_test): Use END macro without arguments.
26436         (csin_test): Use END_COMPLEX macro without arguments.
26437         (csinh_test): Likewise.
26438         (csqrt_test): Likewise.
26439         (ctan_test): Likewise.
26440         (ctan_test_tonearest): Likewise.
26441         (ctan_test_towardzero): Likewise.
26442         (ctan_test_downward): Likewise.
26443         (ctan_test_upward): Likewise.
26444         (ctanh_test): Likewise.
26445         (ctanh_test_tonearest): Likewise.
26446         (ctanh_test_towardzero): Likewise.
26447         (ctanh_test_downward): Likewise.
26448         (ctanh_test_upward): Likewise.
26449         (erf_test): Use END macro without arguments.
26450         (erfc_test): Likewise.
26451         (exp_test): Likewise.
26452         (exp_test_tonearest): Likewise.
26453         (exp_test_towardzero): Likewise.
26454         (exp_test_downward): Likewise.
26455         (exp_test_upward): Likewise.
26456         (exp10_test): Likewise.
26457         (exp2_test): Likewise.
26458         (expm1_test): Likewise.
26459         (fabs_test): Likewise.
26460         (fdim_test): Likewise.
26461         (finite_test): Likewise.
26462         (floor_test): Likewise.
26463         (fma_test): Likewise.
26464         (fma_test_towardzero): Likewise.
26465         (fma_test_downward): Likewise.
26466         (fma_test_upward): Likewise.
26467         (fmax_test): Likewise.
26468         (fmin_test): Likewise.
26469         (fmod_test): Likewise.
26470         (fpclassify_test): Likewise.
26471         (frexp_test): Likewise.
26472         (gamma_test): Likewise.
26473         (hypot_test): Likewise.
26474         (ilogb_test): Likewise.
26475         (isfinite_test): Likewise.
26476         (isgreater_test): Likewise.
26477         (isgreaterequal_test): Likewise.
26478         (isinf_test): Likewise.
26479         (isless_test): Likewise.
26480         (islessequal_test): Likewise.
26481         (islessgreater_test): Likewise.
26482         (isnan_test): Likewise.
26483         (isnormal_test): Likewise.
26484         (issignaling_test): Likewise.
26485         (isunordered_test): Likewise.
26486         (j0_test): Likewise.
26487         (j1_test): Likewise.
26488         (jn_test): Likewise.
26489         (ldexp_test): Likewise.
26490         (lgamma_test): Likewise.
26491         (lrint_test): Likewise.
26492         (lrint_test_tonearest): Likewise.
26493         (lrint_test_towardzero): Likewise.
26494         (lrint_test_downward): Likewise.
26495         (lrint_test_upward): Likewise.
26496         (llrint_test): Likewise.
26497         (llrint_test_tonearest): Likewise.
26498         (llrint_test_towardzero): Likewise.
26499         (llrint_test_downward): Likewise.
26500         (llrint_test_upward): Likewise.
26501         (log_test): Likewise.
26502         (log10_test): Likewise.
26503         (log1p_test): Likewise.
26504         (log2_test): Likewise.
26505         (logb_test): Likewise.
26506         (logb_test_downward): Likewise.
26507         (lround_test): Likewise.
26508         (llround_test): Likewise.
26509         (modf_test): Likewise.
26510         (nearbyint_test): Likewise.
26511         (nextafter_test): Likewise.
26512         (nexttoward_test): Likewise.
26513         (pow_test): Likewise.
26514         (pow_test_tonearest): Likewise.
26515         (pow_test_towardzero): Likewise.
26516         (pow_test_downward): Likewise.
26517         (pow_test_upward): Likewise.
26518         (remainder_test): Likewise.
26519         (remainder_test_tonearest): Likewise.
26520         (remainder_test_towardzero): Likewise.
26521         (remainder_test_downward): Likewise.
26522         (remainder_test_upward): Likewise.
26523         (remquo_test): Likewise.
26524         (rint_test): Likewise.
26525         (rint_test_tonearest): Likewise.
26526         (rint_test_towardzero): Likewise.
26527         (rint_test_downward): Likewise.
26528         (rint_test_upward): Likewise.
26529         (round_test): Likewise.
26530         (scalb_test): Likewise.
26531         (scalbn_test): Likewise.
26532         (scalbln_test): Likewise.
26533         (signbit_test): Likewise.
26534         (sin_test): Likewise.
26535         (sin_test_tonearest): Likewise.
26536         (sin_test_towardzero): Likewise.
26537         (sin_test_downward): Likewise.
26538         (sin_test_upward): Likewise.
26539         (sincos_test): Likewise.
26540         (sinh_test): Likewise.
26541         (sinh_test_tonearest): Likewise.
26542         (sinh_test_towardzero): Likewise.
26543         (sinh_test_downward): Likewise.
26544         (sinh_test_upward): Likewise.
26545         (sqrt_test): Likewise.
26546         (tan_test): Likewise.
26547         (tan_test_tonearest): Likewise.
26548         (tan_test_towardzero): Likewise.
26549         (tan_test_downward): Likewise.
26550         (tan_test_upward): Likewise.
26551         (tanh_test): Likewise.
26552         (tgamma_test): Likewise.
26553         (trunc_test): Likewise.
26554         (y0_test): Likewise.
26555         (y1_test): Likewise.
26556         (yn_test): Likewise.
26557         (significand_test): Likewise.
26559 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26561         [BZ #15381]
26562         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26564 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26566         [BZ #14894]
26567         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26568         __ppc_mdoio and __ppc_mdoom.
26569         * manual/platform.texi: Document new functions __ppc_yield,
26570         __ppc_mdoio and __ppc_mdoom.
26572 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26574         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26575         (main): Mention "tls" pseudo-hwcap is legacy.
26576         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26578 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26580         * math/gen-libm-test.pl (parse_args): Output only string of
26581         arguments as text for test name, not full call or descriptions of
26582         tests for extra outputs.
26583         (generate_testfile): Do not pass function name to parse_args.
26584         Generate this_func variable from START.
26585         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26586         field to arg_str.
26587         (struct test_ff_f_data): Likewise.
26588         (test_ff_f_data_nexttoward): Likewise.
26589         (struct test_fi_f_data): Likewise.
26590         (struct test_fl_f_data): Likewise.
26591         (struct test_if_f_data): Likewise.
26592         (struct test_fff_f_data): Likewise.
26593         (struct test_c_f_data): Likewise.
26594         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26595         (struct test_fF_f1_data): Likewise.
26596         (struct test_ffI_f1_data): Likewise.
26597         (struct test_c_c_data): Rename test_name field to arg_str.
26598         (struct test_cc_c_data): Likewise.
26599         (struct test_f_i_data): Likewise.
26600         (struct test_ff_i_data): Likewise.
26601         (struct test_f_l_data): Likewise.
26602         (struct test_f_L_data): Likewise.
26603         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26604         and extra2_name.
26605         (COMMON_TEST_SETUP): New macro.
26606         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26607         (COMMON_TEST_CLEANUP): Likewise.
26608         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26609         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26610         macros.
26611         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26612         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26613         macros.
26614         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26615         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26616         cleanup macros.
26617         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26618         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26619         macros.
26620         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26621         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26622         macros.
26623         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26624         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26625         cleanup macros.
26626         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26627         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26628         cleanup macros.
26629         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26630         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26631         cleanup macros.
26632         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26633         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26634         macros.
26635         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26636         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26637         macros.
26638         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26639         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26640         macros.
26641         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26642         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26643         cleanup macros.
26644         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26645         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26646         cleanup macros.
26647         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26648         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26649         macros.
26650         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26651         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26652         cleanup macros.
26653         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26654         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26655         macros.
26656         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26657         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26658         macros.
26659         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26660         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26661         cleanup macros.
26662         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26664 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26666         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26667         to _sifields.sigfault.
26668         (si_addr_lsb): Define new macro.
26669         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26671         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26673 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26675         [BZ #15441]
26676         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26677         returns -1.
26678         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26679         null return -1.
26680         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26681         loading the domain.
26683 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26685         * math/gen-libm-test.pl (parse_args): Do not include expected
26686         result in test name.
26687         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26688         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26689         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26690         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26691         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26694 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26696         * benchtests/Makefile: Sort function entries.
26698         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26699         tanh, asinh, acosh, atanh.
26700         * benchtests/acos-inputs: New file.
26701         * benchtests/acosh-inputs: New file.
26702         * benchtests/asin-inputs: New file.
26703         * benchtests/asinh-inputs: New file.
26704         * benchtests/atanh-inputs: New file.
26705         * benchtests/cosh-inputs: New file.
26706         * benchtests/log-inputs: New file.
26707         * benchtests/sinh-inputs: New file.
26708         * benchtests/tanh-inputs: New file.
26710 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26712         [BZ #15339]
26713         * posix/tst-getaddrinfo4.c: New test.
26714         * posix/Makefile (tests): Add it.
26716 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26718         [BZ #15339]
26719         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26720         when no services were used.
26721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26722         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26724 2013-05-21  Andreas Schwab  <schwab@suse.de>
26726         [BZ #15014]
26727         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26728         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26729         successful.
26730         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26731         redundant variable declarations and reallocation of buffer when
26732         parsing as IPv6 address.  Always set NSS status when called from
26733         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26734         buffer too small.  Correct computation of needed size.
26735         * nss/Makefile (tests): Add test-digits-dots.
26736         * nss/test-digits-dots.c: New test.
26738 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26740         * benchtests/Makefile: Remove instructions for adding
26741         benchmark tests.
26742         * benchtests/README: New file to explain how to execute and
26743         enhance the benchmark tests.
26745 2013-05-21  Andreas Schwab  <schwab@suse.de>
26747         [BZ #15493]
26748         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26749         * setjmp/tst-sigsetjmp.c: New test.
26751 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26753         * sysdeps/x86_64/memset.S (memset): New implementation.
26754         (__bzero): Likewise.
26755         (__memset_tail): New function.
26757 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26759         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26760         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26761         __memcpy_sse2_unaligned ifunc selection.
26762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26763         Add memcpy-sse2-unaligned.S.
26764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26765         Add: __memcpy_sse2_unaligned.
26767 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26769         [BZ #15490]
26770         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26771         math_force_eval before restoring floating-point envrionment.
26772         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26773         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26774         Likewise.
26775         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26776         <math_private.h>.
26777         (__nearbyintl): Use math_force_eval before restoring
26778         floating-point environment.
26779         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26781         * math/gen-libm-test.pl (special_functions): Remove.
26782         (parse_args): Don't handle TEST_extra.  Handle functions with no
26783         return value.
26784         * math/libm-test.inc (struct test_sincos_data): Replace with
26785         struct test_fFF_11_data.
26786         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26787         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26788         (sincos_test_data): Change element type to struct
26789         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26790         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26791         RUN_TEST_LOOP_sincos.
26792         * math/README.libm-test: Don't mention special handling of
26793         individual functions.
26794         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26795         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26796         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26797         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26798         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26801         * math/gen-libm-test.pl (get_variable): Remove function.
26802         (parse_args): Don't show pointer parameters to call in test
26803         names.  Use "extra output N" in test names for extra outputs
26804         rather than naming variables.
26806 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26808         [BZ #15488]
26809         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26810         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26811         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26812         double tests.
26813         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26814         disable.
26815         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26816         check_long_double.
26818         * math/gen-libm-test.pl (@tests): Remove variable.
26819         ($count): Likewise.
26820         (new_test): Remove function.
26821         (show_exceptions): New function.
26822         (special_functions): Use show_exceptions instead of new_test.
26823         (parse_args): Likewise.
26824         (generate_testfile): Pass only function name in generated call to
26825         print_max_error or print_complex_max_error.
26826         (get_ulps): Do not handle complex tests specially.
26827         (output_test): Rename to ...
26828         (get_all_ulps_for_test): ... this.  Return a string rather than
26829         printing to a file.  Require ulps to be present.
26830         (output_ulps): Generate arrays rather than #defines.
26831         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26832         (struct ulp_data): New type.
26833         (BUILD_COMPLEX_ULP): Remove macro.
26834         (compare_ulp_data): New function.
26835         (find_ulps): Likewise.
26836         (find_test_ulps): Likewise.
26837         (find_function_ulps): Likewise.
26838         (find_complex_function_ulps): Likewise.
26839         (print_max_error): Determine allowed ulps using
26840         find_function_ulps.
26841         (print_complex_max_error): Determine allowed ulps using
26842         find_complex_function_ulps.
26843         (check_float_internal): Determine max ulps using find_test_ulps.
26844         (check_float): Do not take max_ulp parameter.  Update call to
26845         check_float_internal.
26846         (check_complex): Likewise.
26847         (check_int): Do not take max_ulp parameter.
26848         (check_long): Likewise.
26849         (check_bool): Likewise.
26850         (check_longlong): Likewise.
26851         (struct test_f_f_data): Remove max_ulp field.
26852         (struct test_ff_f_data): Likewise.
26853         (struct test_ff_f_data_nexttoward): Likewise.
26854         (struct test_fi_f_data): Likewise.
26855         (struct test_fl_f_data): Likewise.
26856         (struct test_if_f_data): Likewise.
26857         (struct test_fff_f_data): Likewise.
26858         (struct test_c_f_data): Likewise.
26859         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26860         (struct test_fF_f1_data): Likewise.
26861         (struct test_ffI_f1_data): Likewise.
26862         (struct test_c_c_data): Remove max_ulp field.
26863         (struct test_cc_c_data): Likewise.
26864         (struct test_f_i_data): Likewise.
26865         (struct test_ff_i_data): Likewise.
26866         (struct test_f_l_data): Likewise.
26867         (struct test_f_L_data): Likewise.
26868         (struct test_sincos_data): Likewise.
26869         (RUN_TEST_f_f): Do not handle ulps.
26870         (RUN_TEST_LOOP_f_f): Likewise.
26871         (RUN_TEST_2_f): Likewise.
26872         (RUN_TEST_LOOP_2_f): Likewise.
26873         (RUN_TEST_fff_f): Likewise.
26874         (RUN_TEST_LOOP_fff_f): Likewise.
26875         (RUN_TEST_c_f): Likewise.
26876         (RUN_TEST_LOOP_c_f): Likewise.
26877         (RUN_TEST_f_f1): Likewise.
26878         (RUN_TEST_LOOP_f_f1): Likewise.
26879         (RUN_TEST_fF_f1): Likewise.
26880         (RUN_TEST_LOOP_fF_f1): Likewise.
26881         (RUN_TEST_fI_f1): Likewise.
26882         (RUN_TEST_LOOP_fI_f1): Likewise.
26883         (RUN_TEST_ffI_f1): Likewise.
26884         (RUN_TEST_LOOP_ffI_f1): Likewise.
26885         (RUN_TEST_c_c): Likewise.
26886         (RUN_TEST_LOOP_c_c): Likewise.
26887         (RUN_TEST_cc_c): Likewise.
26888         (RUN_TEST_LOOP_cc_c): Likewise.
26889         (RUN_TEST_f_i): Likewise.
26890         (RUN_TEST_LOOP_f_i): Likewise.
26891         (RUN_TEST_f_i_tg): Likewise.
26892         (RUN_TEST_LOOP_f_i_tg): Likewise.
26893         (RUN_TEST_ff_i_tg): Likewise.
26894         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26895         (RUN_TEST_f_b): Likewise.
26896         (RUN_TEST_LOOP_f_b): Likewise.
26897         (RUN_TEST_f_b_tg): Likewise.
26898         (RUN_TEST_LOOP_f_b_tg): Likewise.
26899         (RUN_TEST_f_l): Likewise.
26900         (RUN_TEST_LOOP_f_l): Likewise.
26901         (RUN_TEST_f_L): Likewise.
26902         (RUN_TEST_LOOP_f_L): Likewise.
26903         (RUN_TEST_sincos): Likewise.
26904         (RUN_TEST_LOOP_sincos): Likewise.
26906 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26908         [BZ #15480]
26909         [BZ #15485]
26910         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26911         main case of finite arguments, set rounding mode to FE_TONEAREST
26912         and discard exceptions.
26913         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26914         exceptions.
26915         (remainder_tonearest_test_data): New variable.
26916         (remainder_test_tonearest): New function.
26917         (remainder_towardzero_test_data): New variable.
26918         (remainder_test_towardzero): New function.
26919         (remainder_downward_test_data): New variable.
26920         (remainder_test_downward): New function.
26921         (remainder_upward_test_data): New variable.
26922         (remainder_test_upward): New function.
26923         (main): Call the new test functions.
26925         * math/libm-test.inc (struct test_f_f1_data): Remove field
26926         extra_init.
26927         (struct test_fF_f1_data): Likewise.
26928         (struct test_ffI_f1_data): Likewise.
26929         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26930         based on value of EXTRA_EXPECTED.
26931         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26932         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26933         EXTRA_VAR based on value of EXTRA_EXPECTED.
26934         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26935         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26936         EXTRA_VAR based on value of EXTRA_EXPECTED.
26937         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26938         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26939         EXTRA_VAR based on value of EXTRA_EXPECTED.
26940         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26941         * math/gen-libm-test.pl (parse_args): Don't output initializers
26942         for extra output values.
26944         * math/libm-test.inc (check_int): Expect result to be exactly
26945         equal to expected value and do not handle ulps.
26946         (check_long): Likewise.
26947         (check_longlong): Likewise.
26949         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26950         exceptions.
26951         (cimag_test_data): Likewise.
26952         (conj_test_data): Likewise.
26953         (copysign_test_data): Likewise.
26954         (cproj_test_data): Likewise.
26955         (creal_test_data): Likewise.
26956         (fabs_test_data): Likewise.
26957         (fdim_test_data): Likewise.
26958         (finite_test_data): Likewise.
26959         (floor_test_data): Likewise.
26960         (fmax_test_data): Likewise.
26961         (fmin_test_data): Likewise.
26962         (fmod_test_data): Likewise.
26963         (fpclassify_test_data): Likewise.
26964         (frexp_test_data): Likewise.
26965         (ilogb_test_data): Likewise.
26966         (isfinite_test_data): Likewise.
26967         (isgreater_test_data): Likewise.
26968         (isgreaterequal_test_data): Likewise.
26969         (isinf_test_data): Likewise.
26970         (isless_test_data): Likewise.
26971         (islessequal_test_data): Likewise.
26972         (islessgreater_test_data): Likewise.
26973         (isnan_test_data): Likewise.
26974         (isnormal_test_data): Likewise.
26975         (issignaling_test_data): Likewise.
26976         (isunordered_test_data): Likewise.
26977         (ldexp_test_data): Likewise.
26978         (lrint_test_data): Likewise.
26979         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26980         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26981         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26982         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26983         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26984         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26985         test input.
26986         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26987         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26988         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26989         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26990         that test input.
26991         (lrint_downward_test_data): Test for "inexact" exceptions.
26992         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26993         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26994         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26995         test input.
26996         (lrint_upward_test_data): Test for "inexact" exceptions.
26997         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26998         test input.
26999         (llrint_test_data): Test for "inexact" exceptions.
27000         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27001         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27002         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27003         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27004         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27005         (llrint_downward_test_data): Test for "inexact" exceptions.
27006         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27007         (llrint_upward_test_data): Test for "inexact" exceptions.
27008         (logb_test_data): Likewise.
27009         (logb_downward_test_data): Likewise.
27010         (nextafter_test_data): Likewise.
27011         (nexttoward_test_data): Likewise.
27012         (remainder_test_data): Likewise.
27013         (remquo_test_data): Likewise.
27014         (scalbn_test_data): Likewise.
27015         (scalbln_test_data): Likewise.
27016         (signbit_test_data): Likewise.
27017         (sqrt_test_data): Likewise.
27018         (significand_test_data): Likewise.
27020 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27022         [BZ #15424]
27023         * benchtests/bench-modf.c (struct args): Mark arg0 as
27024         volatile.
27025         * scripts/bench.pl: Mark members of struct args as volatile.
27027 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27029         [BZ # 15497]
27030         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27031         negative infinity on POWER6 or lower.
27032         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27034 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27036         [BZ #15442]
27037         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27038         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27039         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27040         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27041         (_FP_SETQNAN): New macro.
27042         (_FP_SETQNAN_SEMIRAW): Likewise.
27043         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27044         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27045         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27046         (FP_EXTEND): Use _FP_FRAC_SNANP.
27047         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27048         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27049         into account.
27050         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27051         New macro.
27052         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27053         Likewise.
27055 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27057         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27058         with DIVIDE_BY_ZERO_EXCEPTION.
27059         (gamma_test_data): Likewise.
27060         (lgamma_test_data): Likewise.
27061         (log_test_data): Likewise.
27062         (log10_test_data): Likewise.
27063         (log2_test_data): Likewise.
27064         (tgamma_test_data): Likewise.
27066         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27067         (acos_test_tonearest): Likewise.
27068         (acos_test_towardzero): Likewise.
27069         (acos_test_downward): Likewise.
27070         (acos_test_upward): Likewise.
27071         (acosh_test): Likewise.
27072         (asin_test): Likewise.
27073         (asin_test_tonearest): Likewise.
27074         (asin_test_towardzero): Likewise.
27075         (asin_test_downward): Likewise.
27076         (asin_test_upward): Likewise.
27077         (asinh_test): Likewise.
27078         (atan_test): Likewise.
27079         (atanh_test): Likewise.
27080         (atan2_test): Likewise.
27081         (cabs_test): Likewise.
27082         (cacos_test): Likewise.
27083         (cacosh_test): Likewise.
27084         (casin_test): Likewise.
27085         (casinh_test): Likewise.
27086         (catan_test): Likewise.
27087         (catanh_test): Likewise.
27088         (cbrt_test): Likewise.
27089         (ccos_test): Likewise.
27090         (ccosh_test): Likewise.
27091         (cexp_test): Likewise.
27092         (clog_test): Likewise.
27093         (clog10_test): Likewise.
27094         (cos_test): Likewise.
27095         (cos_test_tonearest): Likewise.
27096         (cos_test_towardzero): Likewise.
27097         (cos_test_downward): Likewise.
27098         (cos_test_upward): Likewise.
27099         (cosh_test): Likewise.
27100         (cosh_test_tonearest): Likewise.
27101         (cosh_test_towardzero): Likewise.
27102         (cosh_test_downward): Likewise.
27103         (cosh_test_upward): Likewise.
27104         (cpow_test): Likewise.
27105         (csin_test): Likewise.
27106         (csinh_test): Likewise.
27107         (csqrt_test): Likewise.
27108         (ctan_test): Likewise.
27109         (ctan_test_tonearest): Likewise.
27110         (ctan_test_towardzero): Likewise.
27111         (ctan_test_downward): Likewise.
27112         (ctan_test_upward): Likewise.
27113         (ctanh_test): Likewise.
27114         (ctanh_test_tonearest): Likewise.
27115         (ctanh_test_towardzero): Likewise.
27116         (ctanh_test_downward): Likewise.
27117         (ctanh_test_upward): Likewise.
27118         (erf_test): Likewise.
27119         (erfc_test): Likewise.
27120         (exp_test): Likewise.
27121         (exp_test_tonearest): Likewise.
27122         (exp_test_towardzero): Likewise.
27123         (exp_test_downward): Likewise.
27124         (exp_test_upward): Likewise.
27125         (exp10_test): Likewise.
27126         (exp2_test): Likewise.
27127         (expm1_test): Likewise.
27128         (fmod_test): Likewise.
27129         (gamma_test): Likewise.
27130         (hypot_test): Likewise.
27131         (j0_test): Likewise.
27132         (j1_test): Likewise.
27133         (jn_test): Likewise.
27134         (lgamma_test): Likewise.
27135         (log_test): Likewise.
27136         (log10_test): Likewise.
27137         (log1p_test): Likewise.
27138         (log2_test): Likewise.
27139         (logb_test_downward): Likewise.
27140         (pow_test): Likewise.
27141         (pow_test_tonearest): Likewise.
27142         (pow_test_towardzero): Likewise.
27143         (pow_test_downward): Likewise.
27144         (pow_test_upward): Likewise.
27145         (remainder_test): Likewise.
27146         (remquo_test): Likewise.
27147         (sin_test): Likewise.
27148         (sin_test_tonearest): Likewise.
27149         (sin_test_towardzero): Likewise.
27150         (sin_test_downward): Likewise.
27151         (sin_test_upward): Likewise.
27152         (sincos_test): Likewise.
27153         (sinh_test): Likewise.
27154         (sinh_test_tonearest): Likewise.
27155         (sinh_test_towardzero): Likewise.
27156         (sinh_test_downward): Likewise.
27157         (sinh_test_upward): Likewise.
27158         (sqrt_test): Likewise.
27159         (tan_test): Likewise.
27160         (tan_test_tonearest): Likewise.
27161         (tan_test_towardzero): Likewise.
27162         (tan_test_downward): Likewise.
27163         (tan_test_upward): Likewise.
27164         (tanh_test): Likewise.
27165         (tgamma_test): Likewise.
27166         (y0_test): Likewise.
27167         (y1_test): Likewise.
27168         (yn_test): Likewise.
27170         * math/gen-libm-test.pl (adjust_arg): Remove function.
27171         (special_function): Remove argument $in_func.  Only handle
27172         generating output for tables of tests, not inside functions.
27173         (parse_args): Likewise.
27174         (generate_testfile): Remove variable $in_func.  Update call to
27175         parse_args.
27176         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27177         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27178         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27179         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27180         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27181         (MAX_VALUE_INIT): Rename macro to max_value.
27182         (MIN_VALUE_INIT): Rename macro to min_value.
27183         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27184         (plus_zero): Remove variable.
27185         (minus_zero): Likewise.
27186         (plus_infty): Likewise.
27187         (minus_infty): Likewise.
27188         (qnan_value): Likewise.
27189         (max_value): Likewise.
27190         (min_value): Likewise.
27191         (min_subnorm_value): Likewise.
27193 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27195         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27196         uint64_t or uint32_t usage.
27197         * crypt/sha256-block.c: Likewise.
27198         * crypt/sha256-crypt.c: Likewise.
27199         * crypt/sha256.c: Likewise.
27200         * crypt/sha512-block.c: Likewise.
27201         * crypt/sha512-crypt.c: Likewise.
27202         * crypt/sha512.c: Likewise.
27203         * debug/backtrace-tst.c: Likewise.
27204         * debug/pcprofiledump.c: Likewise.
27205         * elf/cache.c: Likewise.
27206         * elf/dl-cache.c: Likewise.
27207         * elf/dl-misc.c: Likewise.
27208         * elf/dl-profile.c: Likewise.
27209         * elf/dl-support.c: Likewise.
27210         * elf/ldconfig.c: Likewise.
27211         * elf/sprof.c: Likewise.
27212         * iconv/dummy-repertoire.c: Likewise.
27213         * iconv/iconv_charmap.c: Likewise.
27214         * iconv/skeleton.c: Likewise.
27215         * iconvdata/8bit-generic.c: Likewise.
27216         * iconvdata/cp737.h: Likewise.
27217         * iconvdata/cp775.h: Likewise.
27218         * iconvdata/ibm1008.h: Likewise.
27219         * iconvdata/ibm1025.h: Likewise.
27220         * iconvdata/ibm1046.h: Likewise.
27221         * iconvdata/ibm1097.h: Likewise.
27222         * iconvdata/ibm1112.h: Likewise.
27223         * iconvdata/ibm1122.h: Likewise.
27224         * iconvdata/ibm1123.h: Likewise.
27225         * iconvdata/ibm1124.h: Likewise.
27226         * iconvdata/ibm1129.h: Likewise.
27227         * iconvdata/ibm1130.h: Likewise.
27228         * iconvdata/ibm1132.h: Likewise.
27229         * iconvdata/ibm1133.h: Likewise.
27230         * iconvdata/ibm1137.h: Likewise.
27231         * iconvdata/ibm1140.h: Likewise.
27232         * iconvdata/ibm1141.h: Likewise.
27233         * iconvdata/ibm1142.h: Likewise.
27234         * iconvdata/ibm1143.h: Likewise.
27235         * iconvdata/ibm1144.h: Likewise.
27236         * iconvdata/ibm1145.h: Likewise.
27237         * iconvdata/ibm1146.h: Likewise.
27238         * iconvdata/ibm1147.h: Likewise.
27239         * iconvdata/ibm1148.h: Likewise.
27240         * iconvdata/ibm1149.h: Likewise.
27241         * iconvdata/ibm1153.h: Likewise.
27242         * iconvdata/ibm1154.h: Likewise.
27243         * iconvdata/ibm1155.h: Likewise.
27244         * iconvdata/ibm1156.h: Likewise.
27245         * iconvdata/ibm1157.h: Likewise.
27246         * iconvdata/ibm1158.h: Likewise.
27247         * iconvdata/ibm1160.h: Likewise.
27248         * iconvdata/ibm1161.h: Likewise.
27249         * iconvdata/ibm1162.h: Likewise.
27250         * iconvdata/ibm1163.h: Likewise.
27251         * iconvdata/ibm1164.h: Likewise.
27252         * iconvdata/ibm1166.h: Likewise.
27253         * iconvdata/ibm1167.h: Likewise.
27254         * iconvdata/ibm12712.h: Likewise.
27255         * iconvdata/ibm1390.h: Likewise.
27256         * iconvdata/ibm1399.h: Likewise.
27257         * iconvdata/ibm16804.h: Likewise.
27258         * iconvdata/ibm4517.h: Likewise.
27259         * iconvdata/ibm4899.h: Likewise.
27260         * iconvdata/ibm4909.h: Likewise.
27261         * iconvdata/ibm4971.h: Likewise.
27262         * iconvdata/ibm5347.h: Likewise.
27263         * iconvdata/ibm803.h: Likewise.
27264         * iconvdata/ibm856.h: Likewise.
27265         * iconvdata/ibm901.h: Likewise.
27266         * iconvdata/ibm902.h: Likewise.
27267         * iconvdata/ibm9030.h: Likewise.
27268         * iconvdata/ibm9066.h: Likewise.
27269         * iconvdata/ibm921.h: Likewise.
27270         * iconvdata/ibm922.h: Likewise.
27271         * iconvdata/ibm9448.h: Likewise.
27272         * iconvdata/isiri-3342.h: Likewise.
27273         * iconvdata/jis0201.h: Likewise.
27274         * include/link.h: Likewise.
27275         * include/netdb.h: Likewise.
27276         * inet/check_native.c: Likewise.
27277         * inet/check_pf.c: Likewise.
27278         * inet/getipv4sourcefilter.c: Likewise.
27279         * inet/getnameinfo.c: Likewise.
27280         * inet/getsourcefilter.c: Likewise.
27281         * inet/htonl.c: Likewise.
27282         * inet/setipv4sourcefilter.c: Likewise.
27283         * inet/setsourcefilter.c: Likewise.
27284         * inet/test-inet6_opt.c: Likewise.
27285         * inet/tst-network.c: Likewise.
27286         * locale/C-collate.c: Likewise.
27287         * locale/C-ctype.c: Likewise.
27288         * locale/C-time.c: Likewise.
27289         * locale/C-translit.h: Likewise.
27290         * locale/loadarchive.c: Likewise.
27291         * locale/programs/3level.h: Likewise.
27292         * locale/programs/charmap.c: Likewise.
27293         * locale/programs/charmap.h: Likewise.
27294         * locale/programs/ld-address.c: Likewise.
27295         * locale/programs/ld-collate.c: Likewise.
27296         * locale/programs/ld-ctype.c: Likewise.
27297         * locale/programs/ld-identification.c: Likewise.
27298         * locale/programs/ld-measurement.c: Likewise.
27299         * locale/programs/ld-messages.c: Likewise.
27300         * locale/programs/ld-monetary.c: Likewise.
27301         * locale/programs/ld-name.c: Likewise.
27302         * locale/programs/ld-numeric.c: Likewise.
27303         * locale/programs/ld-paper.c: Likewise.
27304         * locale/programs/ld-telephone.c: Likewise.
27305         * locale/programs/ld-time.c: Likewise.
27306         * locale/programs/linereader.c: Likewise.
27307         * locale/programs/locale.c: Likewise.
27308         * locale/programs/locarchive.c: Likewise.
27309         * locale/programs/locfile.h: Likewise.
27310         * locale/programs/repertoire.c: Likewise.
27311         * locale/programs/simple-hash.c: Likewise.
27312         * locale/programs/simple-hash.h: Likewise.
27313         * malloc/memusage.c: Likewise.
27314         * malloc/memusagestat.c: Likewise.
27315         * nis/nis_defaults.c: Likewise.
27316         * nis/nis_hash.c: Likewise.
27317         * nis/nis_print.c: Likewise.
27318         * nis/nis_xdr.c: Likewise.
27319         * nscd/connections.c: Likewise.
27320         * nscd/hstcache.c: Likewise.
27321         * nscd/nscd_gethst_r.c: Likewise.
27322         * nscd/nscd_getserv_r.c: Likewise.
27323         * nscd/nscd_helper.c: Likewise.
27324         * nscd/servicescache.c: Likewise.
27325         * nss/makedb.c: Likewise.
27326         * nss/nss_db/db-XXX.c: Likewise.
27327         * nss/nss_db/db-initgroups.c: Likewise.
27328         * nss/nss_db/db-netgrp.c: Likewise.
27329         * nss/nss_files/files-network.c: Likewise.
27330         * nss/nss_files/files-parse.c: Likewise.
27331         * posix/bug-regex5.c: Likewise.
27332         * posix/fnmatch_loop.c: Likewise.
27333         * posix/regcomp.c: Likewise.
27334         * posix/regexec.c: Likewise.
27335         * posix/tst-rfc3484-2.c: Likewise.
27336         * posix/tst-rfc3484-3.c: Likewise.
27337         * posix/tst-rfc3484.c: Likewise.
27338         * resolv/nss_dns/dns-canon.c: Likewise.
27339         * resolv/nss_dns/dns-network.c: Likewise.
27340         * resolv/res_init.c: Likewise.
27341         * resolv/res_mkquery.c: Likewise.
27342         * resolv/tst-aton.c: Likewise.
27343         * stdlib/cxa_atexit.c: Likewise.
27344         * stdlib/cxa_finalize.c: Likewise.
27345         * stdlib/gen-fpioconst.c: Likewise.
27346         * stdlib/strtol_l.c: Likewise.
27347         * string/tst-endian.c: Likewise.
27348         * sunrpc/auth_des.c: Likewise.
27349         * sunrpc/clnt_udp.c: Likewise.
27350         * sunrpc/rtime.c: Likewise.
27351         * sunrpc/svcauth_des.c: Likewise.
27352         * sunrpc/xdr.c: Likewise.
27353         * sunrpc/xdr_intXX_t.c: Likewise.
27354         * sunrpc/xdr_rec.c: Likewise.
27355         * sysdeps/generic/ldconfig.h: Likewise.
27356         * sysdeps/generic/ldsodefs.h: Likewise.
27357         * sysdeps/generic/memusage.h: Likewise.
27358         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27360         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27361         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27362         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27364         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27368         * sysdeps/posix/getaddrinfo.c: Likewise.
27369         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27370         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27371         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27372         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27373         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27374         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27375         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27376         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27377         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27378         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27379         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27380         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27381         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27382         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27383         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27384         * sysdeps/x86_64/dl-tls.h: Likewise.
27385         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27386         * time/alt_digit.c: Likewise.
27387         * time/era.c: Likewise.
27388         * wcsmbs/tst-c16c32-1.c: Likewise.
27390 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27392         * math/libm-test.inc (struct test_sincos_data): New type.
27393         (RUN_TEST_LOOP_sincos): New macro.
27394         (sincos_test_data): New variable.
27395         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27397 2013-05-16  Richard Henderson  <rth@redhat.com>
27399         * math/atest-exp2.c (LIMB64): New macro.
27400         (CONSTSZ): New macro.
27401         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27402         (hexdig): Move ...
27403         (print_mpn_fp): ... to function scope.
27404         (read_mpn_hex): Remove.
27405         (get_log2): Remove.
27406         (exp2_mpn): Use mp_log2.
27407         (main): Use mp_exp1.
27409 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27411         * math/libm-test.inc: Remove comment about not testing "inexact"
27412         exceptions.
27413         (INEXACT_EXCEPTION): New macro.
27414         (NO_INEXACT_EXCEPTION): Likewise.
27415         (INVALID_EXCEPTION_OK): Update value.
27416         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27417         (OVERFLOW_EXCEPTION_OK): Likewise.
27418         (UNDERFLOW_EXCEPTION_OK): Likewise.
27419         (IGNORE_ZERO_INF_SIGN): Likewise.
27420         (ERRNO_UNCHANGED): Likewise.
27421         (ERRNO_EDOM): Likewise.
27422         (ERRNO_ERANGE): Likewise.
27423         (test_exceptions): Handle testing "inexact" exceptions.
27424         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27425         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27426         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27427         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27428         INEXACT_EXCEPTION.
27429         (rint_towardzero_test_data): Likewise.
27430         (rint_downward_test_data): Likewise.
27431         (rint_upward_test_data): Likewise.
27433         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27434         with OVERFLOW_EXCEPTION.
27435         (exp10_test_data): Likewise.
27436         (exp2_test_data): Likewise.
27437         (expm1_test_data): Likewise.
27438         (lgamma_test_data): Likewise.
27439         (pow_test_data): Likewise.
27440         (tgamma_test_data): Likewise.
27441         (yn_test_data): Remove duplicate test of overflow.
27443         * math/libm-test.inc (struct test_cc_c_data): New type.
27444         (RUN_TEST_LOOP_cc_c): New macro.
27445         (cpow_test_data): New variable.
27446         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27448         * math/libm-test.inc (struct test_f_L_data): New type.
27449         (RUN_TEST_LOOP_f_L): New macro.
27450         (llrint_test_data): New variable.
27451         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27452         (llrint_tonearest_test_data): New variable.
27453         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27454         (llrint_towardzero_test_data): New variable.
27455         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27456         (llrint_downward_test_data): New variable.
27457         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27458         (llrint_upward_test_data): New variable.
27459         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27460         (llround_test_data): New variable.
27461         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27463 2013-05-13  Peter Collingbourne  <pcc@google.com>
27465         * math/atest-exp2.c (get_log2): Remove const attribute.
27467 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27469         * math/libm-test.inc (struct test_f_l_data): New type.
27470         (RUN_TEST_LOOP_f_l): New macro.
27471         (lrint_test_data): New variable.
27472         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27473         (lrint_tonearest_test_data): New variable.
27474         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27475         (lrint_towardzero_test_data): New variable.
27476         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27477         (lrint_downward_test_data): New variable.
27478         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27479         (lrint_upward_test_data): New variable.
27480         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27481         (lround_test_data): New variable.
27482         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27484 2013-05-15  Peter Collingbourne  <pcc@google.com>
27486         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27487         (EXTRACT_WORDS64) Use where appropriate.
27488         (INSERT_WORDS64) Likewise.
27490         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27491         constraints with x constraints.
27492         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27494         * malloc/obstack.c (_obstack_compat): Add initializer.
27496 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27498         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27499         si_trapno and add si_addr_lsb to _sifields.sigfault.
27500         (si_trapno): Remove macro.
27501         (si_addr_lsb): Define new macro.
27502         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27504 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27506         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27507         instead of TEST_f_l.
27508         (llrint_test_tonearest): Likewise.
27509         (llrint_test_towardzero): Likewise.
27510         (llrint_test_downward): Likewise.
27511         (llrint_test_upward): Likewise.
27512         (llround_test): Likewise.
27514         * math/libm-test.inc (struct test_f_i_data): Add comment.
27515         (RUN_TEST_LOOP_f_b): New macro.
27516         (RUN_TEST_LOOP_f_b_tg): Likewise.
27517         (finite_test_data): New variable.
27518         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27519         (isfinite_test_data): New variable.
27520         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27521         (isinf_test_data): New variable.
27522         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27523         (isnan_test_data): New variable.
27524         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27525         (isnormal_test_data): New variable.
27526         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27527         (issignaling_test_data): New variable.
27528         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27529         (signbit_test_data): New variable.
27530         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27532         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27533         with INVALID_EXCEPTION.
27534         (acosh_test_data): Likewise.
27535         (asin_test_data): Likewise.
27536         (atanh_test_data): Likewise.
27537         (fmod_test_data): Likewise.
27538         (log_test_data): Likewise.
27539         (log10_test_data): Likewise.
27540         (log2_test_data): Likewise.
27541         (pow_test_data): Likewise.
27542         (sqrt_test_data): Likewise.
27543         (y0_test_data): Likewise.
27544         (y1_test_data): Likewise.
27545         (yn_test_data): Likewise.
27547         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27548         function contents.
27550         * math/libm-test.inc (struct test_ff_i_data): New type.
27551         (RUN_TEST_LOOP_ff_i_tg): New macro.
27552         (isgreater_test_data): New variable.
27553         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27554         (isgreaterequal_test_data): New variable.
27555         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27556         (isless_test_data): New variable.
27557         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27558         (islessequal_test_data): New variable.
27559         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27560         (islessgreater_test_data): New variable.
27561         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27562         (isunordered_test_data): New variable.
27563         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27565 2013-05-14  David S. Miller  <davem@davemloft.net>
27567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27569 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27571         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27573         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27574         extra_test to int.
27575         (struct test_f_i_data): Change type of max_ulp to int.
27577         * math/libm-test.inc (test_ffI_f1_data): New type.
27578         (RUN_TEST_LOOP_ffI_f1): New macro.
27579         (remquo_test_data): New variable.
27580         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27582         * setjmp/tst-setjmp-fp.c: New file.
27583         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27584         (link-libm): New variable.
27585         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27587         * math/libm-test.inc (struct test_f_i_data): New type.
27588         (RUN_TEST_LOOP_f_i): New macro.
27589         (RUN_TEST_LOOP_f_i_tg): Likewise.
27590         (fpclassify_test_data): New variable.
27591         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27592         (ilogb_test_data): New variable.
27593         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27595         * math/libm-test.inc (scalbln_test): Correct function name in END
27596         call.
27598         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27599         (RUN_TEST_LOOP_fI_f1): New macro.
27600         (frexp_test_data): New variable.
27601         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27603         * math/libm-test.inc (struct test_fF_f1_data): New type.
27604         (RUN_TEST_LOOP_fF_f1): New macro.
27605         (modf_test_data): New variable.
27606         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27608         * math/libm-test.inc (struct test_f_f1_data): New type.
27609         (RUN_TEST_LOOP_f_f1): New macro.
27610         (gamma_test_data): New variable.
27611         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27612         (lgamma_test_data): New variable.
27613         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27615 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27617         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27618         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27619         (main): Comment "tls" pseudo-hwcap.
27621 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27623         * math/libm-test.inc (struct test_fl_f_data): New type.
27624         (RUN_TEST_LOOP_fl_f): New variable.
27625         (scalbln_test_data): New variable.
27626         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27628         * math/libm-test.inc (struct test_fi_f_data): New type.
27629         (RUN_TEST_LOOP_fi_f): New macro.
27630         (ldexp_test_data): New variable.
27631         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27632         (scalbn_test_data): New variable.
27633         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27635         * math/libm-test.inc (struct test_c_f_data): New type.
27636         (RUN_TEST_LOOP_c_f): New macro.
27637         (cabs_test_data): New variable.
27638         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27639         (carg_test_data): New variable.
27640         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27641         (cimag_test_data): New variable.
27642         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27643         (creal_test_data): New variable.
27644         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27646         * math/libm-test.inc (struct test_if_f_data): New type.
27647         (RUN_TEST_LOOP_if_f): New macro.
27648         (jn_test_data): New variable.
27649         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27650         (yn_test_data): New variable.
27651         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27653         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27655 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27657         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27658         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27660 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27662         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27663         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27664         (bench-deps): Add bench-timing.h.
27665         * benchtests-bench-skeleton.c: Include bench-timing.h.
27666         (main): Use TIMING_* macros instead of clock_gettime.
27667         * benchtests/bench-timing.h: New file.
27669         [BZ #14582]
27670         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27671         Renamed from _LIB_VERSION.
27672         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27674 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27676         * math/libm-test.inc (struct test_fff_f_data): New type.
27677         (RUN_TEST_LOOP_fff_f): New macro.
27678         (fma_test_data): New variable.
27679         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27680         (fma_towardzero_test_data): New variable.
27681         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27682         (fma_downward_test_data): New variable.
27683         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27684         (fma_upward_test_data): New variable.
27685         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27687         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27688         (struct test_c_c_data): New type.
27689         (RUN_TEST_LOOP_c_c): New macro.
27690         (cacos_test_data): New variable.
27691         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27692         (cacosh_test_data): New variable.
27693         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27694         (casin_test_data): New variable.
27695         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27696         (casinh_test_data): New variable.
27697         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27698         (catan_test_data): New variable.
27699         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27700         (catanh_test_data): New variable.
27701         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27702         (ccos_test_data): New variable.
27703         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27704         (ccosh_test_data): New variable.
27705         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27706         (cexp_test_data): New variable.
27707         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27708         (clog_test_data): New variable.
27709         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27710         (clog10_test_data): New variable.
27711         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27712         (conj_test_data): New variable.
27713         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27714         (cproj_test_data): New variable.
27715         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27716         (csin_test_data): New variable.
27717         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27718         (csinh_test_data): New variable.
27719         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27720         (csqrt_test_data): New variable.
27721         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27722         (ctan_test_data): New variable.
27723         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27724         (ctan_tonearest_test_data): New variable.
27725         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27726         (ctan_towardzero_test_data): New variable.
27727         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27728         (ctan_downward_test_data): New variable.
27729         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27730         (ctan_upward_test_data): New variable.
27731         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27732         (ctanh_test_data): New variable.
27733         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27734         (ctanh_tonearest_test_data): New variable.
27735         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27736         (ctanh_towardzero_test_data): New variable.
27737         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27738         (ctanh_downward_test_data): New variable.
27739         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27740         (ctanh_upward_test_data): New variable.
27741         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27742         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27743         of BUILD_COMPLEX.
27745         * math/libm-test.inc (struct test_ff_f_data): New type.
27746         (struct test_ff_f_data_nexttoward): Likewise.
27747         (RUN_TEST_LOOP_2_f): New macro.
27748         (RUN_TEST_LOOP_ff_f): Likewise.
27749         (atan2_test_data): New variable.
27750         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27751         (copysign_test_data): New variable.
27752         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27753         (fdim_test_data): New variable.
27754         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27755         (fmax_test_data): New variable.
27756         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27757         (fmin_test_data): New variable.
27758         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27759         (fmod_test_data): New variable.
27760         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27761         (hypot_test_data): New variable.
27762         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27763         (nextafter_test_data): New variable.
27764         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27765         (nexttoward_test_data): New variable.
27766         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27767         (pow_test_data): New variable.
27768         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27769         (pow_tonearest_test_data): New variable.
27770         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27771         (pow_towardzero_test_data): New variable.
27772         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27773         (pow_downward_test_data): New variable.
27774         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27775         (pow_upward_test_data): New variable.
27776         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27777         (remainder_test_data): New variable.
27778         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27779         (scalb_test_data): New variable.
27780         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27781         * sysdeps/i386/fpu/libm-test-ulps: Update.
27783 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27785         * math/libm-test.inc (fma_test): Use max_value instead of local
27786         variable fltmax.
27787         (nextafter_test): Likewise.
27789         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27790         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27791         (acos_downward_test_data): New variable.
27792         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27793         (acos_upward_test_data): New variable.
27794         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27795         (acosh_test_data): New variable.
27796         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27797         (asin_test_data): New variable.
27798         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27799         (asin_tonearest_test_data): New variable.
27800         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27801         (asin_towardzero_test_data): New variable.
27802         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27803         (asin_downward_test_data): New variable.
27804         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27805         (asin_upward_test_data): New variable.
27806         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27807         (asinh_test_data): New variable.
27808         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27809         (atan_test_data): New variable.
27810         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27811         (atanh_test_data): New variable.
27812         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27813         (cbrt_test_data): New variable.
27814         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27815         (ceil_test_data): New variable.
27816         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27817         (cos_test_data): New variable.
27818         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27819         (cos_tonearest_test_data): New variable.
27820         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27821         (cos_towardzero_test_data): New variable.
27822         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27823         (cos_downward_test_data): New variable.
27824         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27825         (cos_upward_test_data): New variable.
27826         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27827         (cosh_test_data): New variable.
27828         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27829         (cosh_tonearest_test_data): New variable.
27830         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27831         (cosh_towardzero_test_data): New variable.
27832         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27833         (cosh_downward_test_data): New variable.
27834         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27835         (cosh_upward_test_data): New variable.
27836         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27837         (erf_test_data): New variable.
27838         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27839         (erfc_test_data): New variable.
27840         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27841         (exp_test_data): New variable.
27842         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27843         (exp_tonearest_test_data): New variable.
27844         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27845         (exp_towardzero_test_data): New variable.
27846         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27847         (exp_downward_test_data): New variable.
27848         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27849         (exp_upward_test_data): New variable.
27850         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27851         (exp10_test_data): New variable.
27852         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27853         (exp2_test_data): New variable.
27854         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27855         (expm1_test_data): New variable.
27856         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27857         (fabs_test_data): New variable.
27858         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27859         (floor_test_data): New variable.
27860         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27861         (j0_test_data): New variable.
27862         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27863         (j1_test_data): New variable.
27864         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27865         (log_test_data): New variable.
27866         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27867         (log10_test_data): New variable.
27868         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27869         (log1p_test_data): New variable.
27870         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27871         (log2_test_data): New variable.
27872         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27873         (logb_test_data): New variable.
27874         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27875         (logb_downward_test_data): New variable.
27876         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27877         (nearbyint_test_data): New variable.
27878         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27879         (rint_test_data): New variable.
27880         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27881         (rint_tonearest_test_data): New variable.
27882         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27883         (rint_towardzero_test_data): New variable.
27884         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27885         (rint_downward_test_data): New variable.
27886         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27887         (rint_upward_test_data): New variable.
27888         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27889         (round_test_data): New variable.
27890         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27891         (sin_test_data): New variable.
27892         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27893         (sin_tonearest_test_data): New variable.
27894         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27895         (sin_towardzero_test_data): New variable.
27896         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27897         (sin_downward_test_data): New variable.
27898         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27899         (sin_upward_test_data): New variable.
27900         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27901         (sinh_test_data): New variable.
27902         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27903         (sinh_tonearest_test_data): New variable.
27904         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27905         (sinh_towardzero_test_data): New variable.
27906         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27907         (sinh_downward_test_data): New variable.
27908         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27909         (sinh_upward_test_data): New variable.
27910         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27911         (sqrt_test_data): New variable.
27912         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27913         (tan_test_data): New variable.
27914         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27915         (tan_tonearest_test_data): New variable.
27916         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27917         (tan_towardzero_test_data): New variable.
27918         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27919         (tan_downward_test_data): New variable.
27920         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27921         (tan_upward_test_data): New variable.
27922         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27923         (tanh_test_data): New variable.
27924         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27925         (tgamma_test_data): New variable.
27926         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27927         (trunc_test_data): New variable.
27928         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27929         (y0_test_data): New variable.
27930         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27931         (y1_test_data): New variable.
27932         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27933         (significand_test_data): New variable.
27934         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27936 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27938         [BZ #12387]
27939         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27941 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27943         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27945 2013-05-10  Andreas Jaeger  <aj@suse.de>
27947         [BZ #15448]
27948         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27949         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27951 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27953         * math/gen-libm-test.pl (adjust_arg): New function.
27954         (special_functions): Handle generating output in both functions
27955         and arrays.
27956         (parse_args): Likewise.
27957         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27958         $in_func argument to parse_args.
27959         * math/libm-test.inc (struct test_f_f_data): New type.
27960         (IF_ROUND_INIT_): New macro.
27961         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27962         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27963         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27964         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27965         (ROUND_RESTORE_): Likewise.
27966         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27967         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27968         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27969         (ROUND_RESTORE_FE_UPWARD): Likewise.
27970         (RUN_TEST_LOOP_f_f): New macro.
27971         (acos_test_data): New variable.
27972         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27973         (acos_tonearest_test_data): New variable.
27974         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27976 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27978         * benchtests/bench-skeleton.c (startup): Fix coding style.
27980 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27982         [BZ #6809]
27983         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27984         negative infinity argument.
27985         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27986         negative infinity argument.
27987         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27988         negative infinity argument.
27989         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27990         domain errors.
27992 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27994         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27995         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27996         * iconv/iconv_prog.c (main): Likewise.
27997         * locale/programs/charmap-dir.c (charmap_readdir)
27998         (fopen_uncompressed): Likewise.
27999         * locale/programs/locfile.c (siblings_uncached)
28000         (write_locale_data): Use lstat64 instead of lstat.
28001         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28002         stat.
28004 2013-05-10  Andreas Jaeger  <aj@suse.de>
28006         [BZ #15395]
28007         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28008         localization.
28009         Include <locale.h>.
28011 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28013         * elf/dl-close.c (_dl_close_worker): Add comments.
28015 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28017         [BZ #15359]
28018         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28019         high part of pi/2.
28020         (__ieee754_rem_pio2l): Update comments.
28022         [BZ #15429]
28023         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28024         high part of pi/2.
28025         (__ieee754_rem_pio2l): Update comments.
28027         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28028         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28030         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28031         M_PI_4l.
28033         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28034         (M_PI_34_LOG10El): Likewise.
28035         (M_PI2_LOG10El): Likewise.
28036         (M_PI4_LOG10El): Likewise.
28037         (M_PI_LOG10El): Likewise.
28039 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28043 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28045         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28046         (MINUS_ZERO_INIT): Likewise.
28047         (PLUS_INFTY_INIT): Likewise.
28048         (MINUS_INFTY_INIT): Likewise.
28049         (QNAN_VALUE_INIT): Likewise.
28050         (MAX_VALUE_INIT): Likewise.
28051         (MIN_VALUE_INIT): Likewise.
28052         (MIN_SUBNORM_VALUE_INIT): Likewise.
28053         (plus_zero): Initialize with PLUS_ZERO_INIT.
28054         (minus_zero): Initialize with MINUS_ZERO_INIT.
28055         (plus_infty): Initialize with PLUS_INFTY_INIT.
28056         (minus_infty): Initialize with MINUS_INFTY_INIT.
28057         (qnan_value): Initialize with QNAN_VALUE_INIT.
28058         (max_value): Initialize with MAX_VALUE_INIT.
28059         (min_value): Initialize with MIN_VALUE_INIT.
28060         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28062         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28063         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28064         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28065         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28067         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28068         (RUN_TEST_2_f): Likewise.
28069         (RUN_TEST_ff_f): Likewise.
28070         (RUN_TEST_fi_f): Likewise.
28071         (RUN_TEST_fl_f): Likewise.
28072         (RUN_TEST_fff_f): Likewise.
28073         (RUN_TEST_c_f): Likewise.
28074         (RUN_TEST_f_f1): Likewise.
28075         (RUN_TEST_fF_f1): Likewise.
28076         (RUN_TEST_fI_f1): Likewise.
28077         (RUN_TEST_ffI_f1): Likewise.
28078         (RUN_TEST_c_c): Likewise.
28079         (RUN_TEST_cc_c): Likewise.
28080         (RUN_TEST_f_i): Likewise.
28081         (RUN_TEST_f_i_tg): Likewise.
28082         (RUN_TEST_ff_i_tg): Likewise.
28083         (RUN_TEST_f_b): Likewise.
28084         (RUN_TEST_f_b_tg): Likewise.
28085         (RUN_TEST_f_l): Likewise.
28086         (RUN_TEST_f_L): Likewise.
28087         (RUN_TEST_sincos): Likewise.
28088         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28089         whether to show exceptions.  Do not include ");\n" in return
28090         value.
28091         (special_functions): Output call to RUN_TEST_sincos instead of
28092         check_float calls.  Update calls to new_test.
28093         (parse_args): Output call to single RUN_TEST_* macro instead of
28094         check_* calls and other assignments.  Update calls to new_test.
28096         [BZ #2546]
28097         [BZ #2560]
28098         [BZ #5159]
28099         [BZ #15426]
28100         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28101         input to result for tgamma overflow.
28102         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28103         (gamma_coeff): New variable.
28104         (NCOEFF): New macro.
28105         (gamma_positive): New function.
28106         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28107         underflow here.  Use gamma_positive instead of exp (lgamma) for
28108         other arguments.
28109         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28110         (gamma_coeff): New variable.
28111         (NCOEFF): New macro.
28112         (gammaf_positive): New function.
28113         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28114         underflow here.  Use gamma_positive instead of exp (lgamma) for
28115         other arguments.
28116         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28117         (gamma_coeff): New variable.
28118         (NCOEFF): New macro.
28119         (gammal_positive): New function.
28120         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28121         underflow here.  Use gamma_positive instead of exp (lgamma) for
28122         other arguments.
28123         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28124         (gamma_coeff): New variable.
28125         (NCOEFF): New macro.
28126         (gammal_positive): New function.
28127         (__ieee754_gammal_r): Handle positive infinity, overflow and
28128         underflow here.  Handle NaN the same as positive infinity.  Remove
28129         check x < 0xffffffff for negative integers.  Use gamma_positive
28130         instead of exp (lgamma) for other arguments.
28131         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28132         (gamma_coeff): New variable.
28133         (NCOEFF): New macro.
28134         (gammal_positive): New function.
28135         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28136         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28137         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28138         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28139         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28140         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28141         * sysdeps/generic/math_private.h (__gamma_productf): New
28142         prototype.
28143         (__gamma_product): Likewise.
28144         (__gamma_productl): Likewise.
28145         * math/Makefile (libm-calls): Add gamma_product.
28146         * math/libm-test.inc (tgamma_test): Add more tests.
28147         * sysdeps/i386/fpu/libm-test-ulps: Update.
28148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28150 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28152         * benchtests/bench-skeleton.c (main): Preheat CPU.
28154 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28156         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28158 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28160         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28161         and _dl_skip_args_internal.
28163 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28165         * manual/message.texi (Message Translation): Talk about users.
28166         Message to key mapping impacts design.
28168 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28170         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28172         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28174         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28175         * sysdeps/wordsize-64/glob64.c: ... here.
28177         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28178         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28179         New macros.
28181         * debug/getlogin_r_chk.c: Moved to ...
28182         * login/getlogin_r_chk.c: ... here.
28183         * debug/Makefile (routines): Move getlogin_r_chk to ...
28184         * login/Makefile (routines): ... here.
28185         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28186         * login/Versions (libc: GLIBC_2.4): ... here.
28188         * io/poll.c (__poll): Renamed from poll.
28189         Add libc_hidden_def.
28190         (poll): Define as weak alias.
28192         * debug/ptsname_r_chk.c: Moved to ...
28193         * login/ptsname_r_chk.c: ... here.
28194         * debug/Makefile (routines): Move ptsname_r_chk to ...
28195         * login/Makefile (routines): ... here.
28196         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28197         * login/Versions (libc: GLIBC_2.4): ... here.
28199         * posix/getlogin.c: Moved to ...
28200         * login/getlogin.c: ... here.
28201         * posix/getlogin_r.c: Moved to ...
28202         * login/getlogin_r.c: ... here.
28203         * posix/getlogin_r.c: Moved to ...
28204         * login/getlogin_r.c: ... here.
28205         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28206         * login/Makefile (routines): ... here.
28207         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28208         * login/Versions (libc: GLIBC_2.0): ... here.
28210         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28211         (setrlimit): Define as weak alias.
28213         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28214         Call __ names for open, ftruncate, and close.
28215         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28216         (truncate): Define as weak alias.
28218 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28220         * math/gen-libm-test.pl (parse_args): Initialize x before each
28221         test of frexp, modf and remquo.
28223         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28224         test signgam value.
28226 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28228         [BZ #15418]
28229         [BZ #15419]
28230         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28231         internal tests.
28232         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28234 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28236         * elf/dl-writev.h: New file.
28237         * elf/dl-misc.c: Include it.
28238         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28239         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28241 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28243         * math/libm-test.inc (noXFails): Remove variable.
28244         (noXPasses): Likewise.
28245         (BUILD_COMPLEX_INT): Remove macro.
28246         (print_screen): Remove xfail argument.
28247         (print_screen_max_error): Likewise.
28248         (update_stats): Likewise.
28249         (print_max_error): Likewise.  Update calls to other affected
28250         functions.
28251         (print_complex_max_error): Likewise.
28252         (test_single_exception): Update calls to print_screen.
28253         (test_single_errno): Likewise.
28254         (check_float_internal): Remove xfail argument.  Update calls to
28255         other affected functions.
28256         (check_float): Likewise.
28257         (check_complex): Likewise.
28258         (check_int): Likewise.
28259         (check_long): Likewise.
28260         (check_bool): Likewise.
28261         (check_longlong): Likewise.
28262         (main): Don't print noXFails and noXPasses.
28263         * math/gen-libm-test.pl (top level): Don't mention expected
28264         failure handling in comment.
28265         (new_test): Don't handle expected failures.
28266         (parse_args): Don't mention expected failure handling in comment.
28267         (generate_testfile): Don't handle expected failures.
28268         (parse_ulps): Likewise.
28269         (print_ulps_file): Likewise.
28270         (get_failure): Remove function.
28271         (output_test): Don't handle expected failures.
28272         * make/README.libm-test: Don't mention expected failure handling.
28274         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28275         (minus_zero): Likewise.
28276         (plus_infty): Likewise.
28277         (minus_infty): Likewise.
28278         (qnan_value): Likewise.
28279         (max_value): Likewise.
28280         (min_value): Likewise.
28281         (min_subnorm_value): Likewise.
28282         (initialize): Do not initialize those variables dynamically.
28284 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28286         * io/open.c (__open_2): Moved to ...
28287         * io/open_2.c: ... this new file.
28288         * io/open64.c (__open64_2): Moved to ...
28289         * io/open64_2.c: ... this new file.
28290         * io/openat.c (__openat_2): Moved to ...
28291         * io/openat_2.c: ... this new file.
28292         * io/openat64.c (__openat64_2): Moved to ...
28293         * io/openat64_2.c: ... this new file.
28294         * io/Makefile (routines): Add them.
28295         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28296         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28297         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28298         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28299         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28300         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28301         (__openat64): Add hidden_ver.
28302         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28303         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28305         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28306         Separately conditionalize setting of GLRO(dl_sysinfo) so
28307         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28308         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28310 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28312         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28313         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28314         definition.
28315         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28316         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28317         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28318         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28319         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28321 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28323         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28324         test signgam value.
28326         * math/libm-test.inc (hypot_test): Do not use
28327         IGNORE_ZERO_INF_SIGN.
28329 2013-05-03  Andreas Jaeger  <aj@suse.de>
28331         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28332         Linux 3.9.
28333         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28334         (PF_MAX): Adjust for VSOCK change.
28336 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28340 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28342         [BZ #15264]
28343         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28344         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28345         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28347 2013-05-02  David S. Miller  <davem@davemloft.net>
28349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28351 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28353         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28355 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28357         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28359 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28361         [BZ #14952]
28362         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28363         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28364         Use __attribute__ ((__gnu_inline__)).
28365         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28366         Don't use __attribute__ ((__gnu_inline__)).
28368 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28370         [BZ #15423]
28371         * math/s_catan.c (__catan): Handle small real or imaginary part of
28372         input specially to avoid spurious underflow.
28373         * math/s_catanf.c (__catanf): Likewise.
28374         * math/s_catanh.c (__catanh): Likewise.
28375         * math/s_catanhf.c (__catanhf): Likewise.
28376         * math/s_catanhl.c (__catanhl): Likewise.
28377         * math/s_catanl.c (__catanl): Likewise.
28378         * math/libm-test.inc (catan_test): Add more tests.
28379         (catanh_test): Likewise.
28380         * sysdeps/i386/fpu/libm-test-ulps: Update.
28381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28383 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28387 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28389         [BZ #15416]
28390         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28391         accurately for denominator in atan2.
28392         * math/s_catanf.c (__catanf): Likewise.
28393         * math/s_catanh.c (__catanh): Likewise.
28394         * math/s_catanhf.c (__catanhf): Likewise.
28395         * math/s_catanhl.c (__catanhl): Likewise.
28396         * math/s_catanl.c (__catanl): Likewise.
28397         * math/libm-test.inc (catan_test): Add more tests.
28398         (catanh_test): Likewise.
28399         * sysdeps/i386/fpu/libm-test-ulps: Update.
28400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28402 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28404         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28406         * benchtests/Makefile (bench): Remove slow benchmarks.
28407         * benchtests/atan-inputs: Add slow benchmark inputs.
28408         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28409         (BENCH_FUNC): Accept variant offset.
28410         (VARIANT): Define.
28411         * benchtests/bench-skeleton.c (main): Run benchmark for each
28412         variant.
28413         * benchtests/cos-inputs: Add slow benchmark inputs.
28414         * benchtests/exp-inputs: Likewise.
28415         * benchtests/pow-inputs: Likewise.
28416         * benchtests/sin-inputs: Likewise.
28417         * benchtests/slowatan-inputs: Remove.
28418         * benchtests/slowatan.c: Remove.
28419         * benchtests/slowcos-inputs: Remove.
28420         * benchtests/slowcos.c: Remove.
28421         * benchtests/slowexp-inputs: Remove.
28422         * benchtests/slowexp.c: Remove.
28423         * benchtests/slowpow-inputs: Remove.
28424         * benchtests/slowpow.c: Remove.
28425         * benchtests/slowsin-inputs: Remove.
28426         * benchtests/slowsin.c: Remove.
28427         * benchtests/slowtan-inputs: Remove.
28428         * benchtests/slowtan.c: Remove.
28429         * benchtests/tan-inputs: Add slow benchmark inputs.
28430         * scripts/bench.pl: Parse comments and directives.
28432         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28433         in CPPFLAGS.
28434         ($(objpfx)bench-%.c): Remove *-ITER.
28435         * benchtests/bench-modf.c: Remove definition of ITER.
28436         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28437         (main): Loop for DURATION seconds instead of fixed number of
28438         iterations.
28439         * scripts/bench.pl: Don't expect iterations in parameters.
28441 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28443         * io/fchdir.c (__fchdir): Renamed from fchdir.
28444         (fchdir): Define as weak alias.
28446 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28448         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28449         (ERRNO_EDOM): Likewise.
28450         (ERRNO_ERANGE): Likewise.
28451         (noErrnoTests): New variable.
28452         (init_max_error): Set errno to 0.
28453         (test_single_errno): New function.
28454         (test_errno): Likewise.
28455         (check_float_internal): Call test_errno.  Set errno to 0.
28456         (check_complex): Refer to errno tests in comment.
28457         (check_int): Call test_errno.  Set errno to 0.
28458         (check_long): Likewise.
28459         (check_bool): Likewise.
28460         (check_longlong): Likewise.
28461         (cos_test): Use ERRNO_* flags for errno tests instead of
28462         check_int.
28463         (expm1_test): Likewise.
28464         (fmod_test): Likewise.
28465         (ilogb_test): Likewise.
28466         (lgamma_test): Likewise.
28467         (pow_test): Likewise.
28468         (remainder_test): Likewise.
28469         (sin_test): Likewise.
28470         (tan_test): Likewise.
28471         (yn_test): Likewise.
28472         (initialize): Set errno to 0.
28473         (main): Print number of errno tests.
28474         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28476 2013-04-29  Andreas Jaeger  <aj@suse.de>
28478         [BZ #15084]
28479         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28480         and RES_USEVC.
28482         [BZ #15085]
28483         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28484         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28485         unimplemented.
28487         [BZ #15380]
28488         * stdlib/random.c (__initstate): Return NULL if
28489         __initstate fails.
28491         [BZ #15086]
28492         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28493         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28494         RES_SNGLKUPREOP.
28496 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28500 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28502         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28503         of individual tests.
28504         (casin_test): Likewise.
28505         (casinh_test): Likewise.
28507 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #15409]
28510         * math/s_catan.c (__catan): Handle arguments with large real or
28511         imaginary part separately without squaring.
28512         * math/s_catanf.c (__catanf): Likewise.
28513         * math/s_catanh.c (__catanh): Likewise.
28514         * math/s_catanhf.c (__catanhf): Likewise.
28515         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28516         and redefine.
28517         (__catanhl): Handle arguments with large real or imaginary part
28518         separately without squaring.
28519         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28520         and redefine.
28521         (__catanl): Handle arguments with large real or imaginary part
28522         separately without squaring.
28523         * math/libm-test.inc (catan_test): Add more tests.
28524         (catanh_test): Likewise.
28525         * sysdeps/i386/fpu/libm-test-ulps: Update.
28526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28528 2013-04-27  Andreas Jaeger  <aj@suse.de>
28530         [BZ #15007]
28531         * stdlib/stdlib.h: Update guards for qecvt.
28532         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28533         <stdlib.h>.
28535 2013-04-27  Allan McRae  <allan@archlinux.org>
28537         * sysdeps/i386/fpu/libm-test-ulps: Update.
28539 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28541         [BZ #15406]
28542         * math/s_catan.c: Include <float.h>.
28543         (__catan): Ensure underflow exception occurs for underflowed
28544         result.
28545         * math/s_catanf.c: Include <float.h>.
28546         (__catanf): Ensure underflow exception occurs for underflowed
28547         result.
28548         * math/s_catanh.c: Include <float.h>.
28549         (__catanh): Ensure underflow exception occurs for underflowed
28550         result.
28551         * math/s_catanhf.c: Include <float.h>.
28552         (__catanhf): Ensure underflow exception occurs for underflowed
28553         result.
28554         * math/s_catanhl.c: Include <float.h>.
28555         (__catanhl): Ensure underflow exception occurs for underflowed
28556         result.
28557         * math/s_catanl.c: Include <float.h>.
28558         (__catanl): Ensure underflow exception occurs for underflowed
28559         result.
28560         * math/libm-test.inc (catan_test): Add more tests.
28561         (catanh_test): Likewise.
28563         [BZ #15405]
28564         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28565         underflowed result.
28566         * math/s_ccoshf.c (__ccoshf): Likewise.
28567         * math/s_ccoshl.c (__ccoshl): Likewise.
28568         * math/s_csin.c (__csin): Likewise.
28569         * math/s_csinf.c (__csinf): Likewise.
28570         * math/s_csinh.c (__csinh): Likewise.
28571         * math/s_csinhf.c (__csinhf): Likewise.
28572         * math/s_csinhl.c (__csinhl): Likewise.
28573         * math/s_csinl.c (__csinl): Likewise.
28574         * math/libm-test.inc (ccos_test): Add more tests.
28575         (ccosh_test): Likewise.
28576         (csin_test): Likewise.
28577         (csinh_test): Likewise.
28579 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28581         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28582         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28583         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28584         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28585         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28586         powerpc/power5+/fpu folders.
28587         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28590 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28594 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28596         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28597         additions to variable.
28598         [$(config-machine) = x86_64] (modules-names): Likewise.
28599         ($(objpfx)tst-audit3): Remove dependency.
28600         ($(objpfx)tst-audit3.out): Likewise.
28601         ($(objpfx)tst-audit4): Likewise.
28602         ($(objpfx)tst-audit4.out): Likewise.
28603         ($(objpfx)tst-audit5): Likewise.
28604         ($(objpfx)tst-audit5.out): Likewise.
28605         ($(objpfx)tst-audit6): Likewise.
28606         ($(objpfx)tst-audit6.out): Likewise.
28607         ($(objpfx)tst-audit7): Likewise.
28608         ($(objpfx)tst-audit7.out): Likewise.
28609         (tst-audit3-ENV): Remove variable.
28610         (tst-audit4-ENV): Likewise.
28611         (tst-audit5-ENV): Likewise.
28612         (tst-audit6-ENV): Likewise.
28613         (tst-audit7-ENV): Likewise.
28614         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28615         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28616         addition to variable.
28617         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28618         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28619         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28620         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28621         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28622         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28623         tst-audit3, tst-audit4 and tst-audit5.
28624         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28625         tst-audit6 and tst-audit7.
28626         [$(subdir) = elf] (modules-names): Add audit modules for those
28627         tests.
28628         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28629         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28630         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28631         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28632         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28633         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28634         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28635         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28636         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28637         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28638         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28639         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28640         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28641         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28642         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28643         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28644         Likewise.
28645         [$(subdir) = elf && $(config-cflags-avx) = yes]
28646         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28647         [$(subdir) = elf && $(config-cflags-avx) = yes]
28648         (CFLAGS-tst-auditmod4a.c): Likewise.
28649         [$(subdir) = elf && $(config-cflags-avx) = yes]
28650         (CFLAGS-tst-auditmod4b.c): Likewise.
28651         [$(subdir) = elf && $(config-cflags-avx) = yes]
28652         (CFLAGS-tst-auditmod6b.c): Likewise.
28653         [$(subdir) = elf && $(config-cflags-avx) = yes]
28654         (CFLAGS-tst-auditmod6c.c): Likewise.
28655         [$(subdir) = elf && $(config-cflags-avx) = yes]
28656         (CFLAGS-tst-auditmod7b.c): Likewise.
28657         * elf/tst-audit3.c: Move to ...
28658         * sysdeps/x86_64/tst-audit3.c: ... here.
28659         * elf/tst-audit4.c: Move to ...
28660         * sysdeps/x86_64/tst-audit4.c: ... here.
28661         * elf/tst-audit5.c: Move to ...
28662         * sysdeps/x86_64/tst-audit5.c: ... here.
28663         * elf/tst-audit6.c: Move to ...
28664         * sysdeps/x86_64/tst-audit6.c: ... here.
28665         * elf/tst-audit7.c: Move to ...
28666         * sysdeps/x86_64/tst-audit7.c: ... here.
28667         * elf/tst-auditmod3a.c: Move to ...
28668         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28669         * elf/tst-auditmod3b.c: Move to ...
28670         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28671         * elf/tst-auditmod4a.c: Move to ...
28672         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28673         * elf/tst-auditmod4b.c: Move to ...
28674         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28675         * elf/tst-auditmod5a.c: Move to ...
28676         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28677         * elf/tst-auditmod5b.c: Move to ...
28678         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28679         * elf/tst-auditmod6a.c: Move to ...
28680         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28681         * elf/tst-auditmod6b.c: Move to ...
28682         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28683         * elf/tst-auditmod6c.c: Move to ...
28684         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28685         * elf/tst-auditmod7a.c: Move to ...
28686         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28687         * elf/tst-auditmod7b.c: Move to ...
28688         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28690 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28692         [BZ #15366]
28693         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28694         define unconditionally.
28695         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28696         define unconditionally.
28697         (INT8_C, INT16_C, etc.): Likewise.
28699 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28701         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28702         __ehdr_start with hidden visibility.
28704         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28706 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28708         * math/libm-test.inc (cos_test): Use accurate hex constants.
28709         (sincost_test): Likewise.
28711 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28713         * math/libm-test.inc (catan_test): Add more tests.
28714         (catanh_test): Likewise.
28716         * math/s_catanf.c (__catanf): Use suffixed floating-point
28717         constants.
28718         * math/s_catanhf.c (__catanhf): Likewise.
28719         * math/s_catanhl.c (__catanhl): Likewise.
28720         * math/s_catanl.c (__catanl): Likewise.
28722         [BZ #15394]
28723         * math/s_catan.c (__catan): Calculate imaginary part of result
28724         with log1p not log unless computing log of number close to 0.
28725         * math/s_catanf.c (__catanf): Likewise.
28726         * math/s_catanl.c (__catanl): Likewise.
28727         * math/s_catanh.c (__catanh): Calculate real part of result with
28728         log1p not log unless computing log of number close to 0.
28729         * math/s_catanhf.c (__catanhf): Likewise.
28730         * math/s_catanhl.c (__catanhl): Likewise.
28731         * math/libm-test.inc (catan_test): Add more tests.
28732         (catanh_test): Likewise.
28733         * sysdeps/i386/fpu/libm-test-ulps: Update.
28734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28736 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28738         * benchtests/Makefile: Mention files in which fast and slow
28739         paths of math functions are implemented.
28741 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28743         * sysdeps/posix/timespec_get.c: New file.
28745 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28747         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28748         POWER.
28749         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28750         for POWER.
28751         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28752         powerpc/power5/fpu folders.
28753         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28754         * benchtests/Makefile: Add modf testcase.
28755         * benchtests/bench-modf.c: New file: Benchmark test for mo
28757 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28759         [BZ #14888]
28760         * time/Makefile (tests): Add tst-strptime-whitespace.
28761         * time/strptime_l.c (get_number): Use ISSPACE.
28762         (__strptime_internal): Likewise.
28763         * time/tst-strptime-whitespace.c: New test case.
28765 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28767         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28768         member.
28769         (_nss_files_init): Set it here.
28771 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28773         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28774         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28775         unsigned.
28777 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28779         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28781 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28783         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28784         size just once.
28786 2013-04-21  David S. Miller  <davem@davemloft.net>
28788         * po/ru.po: Update Russion translation from translation project.
28790 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28792         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28793         and setfsgid.
28795 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28797         * configure.in: Remove i386 configure warning. Remove i386 case.
28798         * configure: Regenerate.
28799         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28800         Add example to error message.
28801         * sysdeps/i386/configure: Regenerate.
28803 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28805         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28806         slowtan.
28807         * benchtests/cos-inputs: New file.
28808         * benchtests/slowcos-inputs: New file.
28809         * benchtests/slowcos.c: New file.
28810         * benchtests/slowtan-inputs: New file.
28811         * benchtests/slowtan.c: New file.
28812         * benchtests/tan-inputs: New file.
28814 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28816         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28817         considered kosher.
28819 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28821         * benchtests/Makefile: Include cppflags-iterator.mk to add
28822         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28824         * Makefile.in (bench-clean): New target.
28825         * benchtests/Makefile (bench-clean): Likewise.
28827 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28829         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28831 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28833         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28835 2013-04-15  Andreas Schwab  <schwab@suse.de>
28837         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28839         * nscd/pwdcache.c (cache_addpw): Likewise.
28840         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28841         more than recsize.
28843 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28845         * benchtests/Makefile (bench): Write all output to
28846         bench-out.tmp together.
28848 2013-04-15  Andreas Schwab  <schwab@suse.de>
28850         * nscd/nscd.c (main): Don't fork again after closing files.
28852 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28854         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28856         * benchtests/Rules (bench-deps): Collect dependencies into a
28857         single variable.  Add Makefile to dependencies.
28858         ($(objpfx)bench-%.c): Depend on bench-deps.
28860 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28861             Xavier Roche  <roche+kml2@exalead.com>
28863         [BZ #15361]
28864         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28865         just that it's a file descriptor.
28866         * manual/llio.texi (Synchronizing AIO Operations): Update description
28867         for EBADF error from aio_fsync.
28869 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28871         * Rules (bench): Move target definition...
28872         * benchtests/Makefile: ... here.
28874 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28876         * math/libm-test.inc (cos_test): Fix PI/2 test.
28877         (sincos_test): Likewise.
28878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28879         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28881 2013-04-11  Andreas Schwab  <schwab@suse.de>
28883         [BZ #13988]
28884         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28885         accept exponent character only when digits were seen.
28886         * stdio-common/Makefile (tests): Add bug26.
28887         * stdio-common/bug26.c: New file.
28889         [BZ #14293]
28890         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28891         non-freeable.
28893 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28895         * Makeconfig (rtld-prefix): Define built linker prefix.
28896         * Rules (run-bench): Use it.
28897         * math/Makefile (run-regen-ulps): Likewise.
28899         * Rules (bench): Remove eval.
28901 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28902             Roland McGrath  <roland@hack.frob.com>
28903             Ondrej Bilka  <neleai@seznam.cz>
28905         [BZ #15346]
28906         * time/getdate.c: Include ctype.h and alloca.h.
28907         (__getdate_r): Trim leading and trailing spaces of input.
28908         * time/tst-getdate.c (tests): Add tests with leading and
28909         trailing spaces.
28911 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28913         [BZ #14280]
28914         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28915         when computing value.
28917 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28919         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28920         Use testrun.sh to run libm tests.
28922         [BZ #15309]
28923         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28925 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28927         [BZ #15264]
28928         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28930 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28932         * Makefile.in (regen-ulps): New target.
28933         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28934         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28935         [ifneq (no,$(PERL)] (regen-ulps): New target.
28936         [ifeq (no,$(PERL)] (regen-ulps): New target.
28937         * math/libm-test.inc (ulps_file_name): Define.
28938         (output_dir): New variable.
28939         (options): Add "output-dir" option.
28940         (parse_opt): Handle 'o' case.
28941         (main): If output_dir is non-NULL use it as a prefix
28942         otherwise use "".
28943         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28945 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28947         [BZ #10060, #10062]
28948         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28949         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28950         fail configure if __sync_val_compare_and_swap is not inlined.
28951         * sysdeps/i386/configure: Regenerate.
28952         * configure.in: Build for i686 when configured for i386.
28953         * configure: Regenerate.
28954         * README: Remove i386 reference.
28956 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28958         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28959         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28961 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28963         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28964         (lmsnanval): New variables.
28965         (F): Add conversion tests.
28966         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28967         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28969         * stdio-common/tstdiomisc.c (F): Properly collect individual
28970         tests' results.
28972         [BZ #14686, #15336]
28973         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28974         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28975         Instead, use input NaN values or generate a qNaN by arithmetic
28976         operation.  Also fix bugs to comply with the standard.
28977         * math/libm-test.inc (remainder_test): Add more tests.
28979         [BZ #15335, #15342]
28980         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28981         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28982         input NaN values or generate a qNaN by arithmetic operation.
28984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28985         unreachable code.
28987         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28988         definitions.
28990 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28992         [BZ #14478]
28993         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28994         underflowed result.
28995         * math/s_cexpf.c (__cexpf): Likewise.
28996         * math/s_cexpl.c (__cexpl): Likewise.
28997         * math/libm-test.inc (cexp_test): Add more tests.
28999 2013-04-03  Andreas Schwab  <schwab@suse.de>
29001         [BZ #15330]
29002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29003         order arrays from heap if bigger than alloca cutoff.
29005 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29007         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29008         (SNAN_TESTS_double): Refer to GCC PR56831.
29009         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29010         GCC PR56828.
29012 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29014         * Rules (bench): Move bench.out after the run is complete.
29016         * Rules (bench): Echo currently running benchmark.
29018         * benchtests/Makefile (bench): Add atan and slowatan.
29019         * benchtests/atan-inputs: New file.
29020         * benchtests/slowatan-inputs: New file.
29021         * benchtests/slowatan.c: New file.
29023         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29024         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29025         its value.
29027         [BZ #15305]
29028         * sysdeps/unix/sysv/linux/kernel-features.h
29029         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29030         __ASSUME_XFS_RESTRICTED_CHOWN.
29031         * sysdeps/unix/sysv/linux/pathconf.c
29032         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29033         Save and restore errno.
29035 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29037         [BZ #15327]
29038         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29039         arguments using __kernel_casinh.
29040         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29041         arguments using __kernel_casinhf.
29042         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29043         arguments using __kernel_casinhl.
29044         * math/libm-test.inc (cacosh_test): Add more tests.
29045         * sysdeps/i386/fpu/libm-test-ulps: Update.
29046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29048 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29050         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29053         * bench/Makefile (bench): Add sin and slowsin.
29054         * benchtests/sin-inputs: New file.
29055         * benchtests/slowsin-inputs: New file.
29056         * benchtests/slowsin.c: New file.
29058         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29059         (bench): Add slowexp and slowpow.
29060         (exp-ITER): Increase iterations.
29061         (pow-ITER): Likewise.
29062         * benchtests/exp-inputs: Change input.
29063         * benchtests/pow-inputs: Likewise.
29064         * benchtests/slowexp-inputs: New file.
29065         * benchtests/slowexp.c: New file.
29066         * benchtests/slowpow-inputs: New file.
29067         * benchtests/slowpow.c: New file.
29069 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29071         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29072         instructions.
29073         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29074         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29075         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29076         * benchtests/Makefile: Add rint benchtest.
29077         * benchtests/rint-inputs: Input for rint benchtest.
29079 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29081         * Versions.def (libm): Add GLIBC_2.18.
29082         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29083         hidden libm prototypes.
29084         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29085         * math/Makefile (libm-calls): Add s_issignaling.
29086         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29087         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29088         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29089         declaration.
29090         * math/math.h [__USE_GNU] (issignaling): New macro.
29091         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29092         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29093         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29094         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29095         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29096         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29097         * manual/arith.texi (issignaling): New section.
29098         * manual/libm-err-tab.pl (@all_functions): Update comment.
29099         * math/gen-libm-test.pl (parse_args): Apply special handling for
29100         issignaling.
29101         * math/libm-test.inc (print_float, issignaling_test): New
29102         functions.
29103         (check_float_internal): Add issignaling checks.
29104         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29105         default definition.
29106         * sysdeps/powerpc/math-tests.h: New file.
29107         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29108         tests.
29109         * math/test-snan.c (TEST_FUNC): Likewise.
29111 2013-03-30  David S. Miller  <davem@davemloft.net>
29113         * po/de.po: Update from translation team.
29115 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29117         [BZ #10357]
29118         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29119         imaginary part less than 1.0 and real part less than 0.5
29120         specially.
29121         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29122         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29123         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29124         (cacos_test): Add more tests.
29125         (casin_test): Likewise.
29126         (casinh_test): Likewise.
29127         * sysdeps/i386/fpu/libm-test-ulps: Update.
29128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29130 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29132         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29133         ONE with its value.
29135         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29136         (__pow_mp): Replace ONE and MONE with their values.
29137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29138         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29139         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29140         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29141         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29142         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29144         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29146         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29147         (__pow_mp): Replace ZERO and MZERO with their values.
29148         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29149         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29150         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29152         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29153         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29154         (__sqr): Likewise.
29156         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29158         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29160 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29162         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29163         Declare with __attribute__ ((weak)).
29164         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29165         Call __call_tls_dtors only if it's not NULL.
29167 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29169         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29170         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29171         magic __ehdr_start linker symbol if it's defined.
29172         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29173         them up here if it was already done.
29175         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29176         (_dl_aux_init): Use const in cast when setting it.
29177         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29178         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29179         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29181         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29182         Declare them here.
29183         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29184         * csu/libc-tls.c: Nor here.
29185         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29187         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29188         (__libc_message): Never call vsyslog.
29190 2013-03-28  Alan Modra  <amodra@gmail.com>
29192         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29193         Define as empty.
29194         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29195         Likewise.
29197 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29199         [BZ #15214]
29200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29201         underflow.
29202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29204 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29206         [BZ #15304]
29207         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29208         Don't add gid passed as argument.
29210         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29212 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29214         [BZ #15307]
29215         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29216         imaginary part between 1.0 and 1.5 and real part less than 0.5
29217         specially.
29218         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29219         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29220         * math/libm-test.inc (cacos_test): Add more tests.
29221         (casin_test): Likewise.
29222         (casinh_test): Likewise.
29223         * sysdeps/i386/fpu/libm-test-ulps: Update.
29224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29226 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29228         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29229         constants.
29230         (norm): Likewise.
29231         (denorm): Likewise.
29232         (__dbl_mp): Likewise.
29233         (add_magnitudes): Likewise.
29234         (sub_magnitudes): Likewise.
29235         (__add): Likewise.
29236         (__sub): Likewise.
29237         (__mul): Likewise.
29238         (__sqr): Likewise.
29239         (__inv): Likewise.
29240         (__dvd): Likewise.
29242         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29243         commented code.
29244         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29245         (__dubcos): Likewise.
29246         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29247         (__ieee754_acos): Likewise.
29248         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29249         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29250         (__exp1): Likewise.
29251         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29253         (log1): Likewise.
29254         (my_log2): Likewise.
29255         (checkint): Likewise.
29256         * sysdeps/ieee754/dbl-64/e_remainder.c
29257         (__ieee754_remainder): Likewise.
29258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29260         (bsloww): Likewise.
29261         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29263         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29264         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29265         MANTISSA_STORE_T to store computations on mantissa.  Use
29266         macros for rounding and division.
29267         (denorm): Likewise.
29268         (__dbl_mp): Likewise.
29269         (add_magnitudes): Likewise.
29270         (sub_magnitudes): Likewise.
29271         (__mul): Likewise.
29272         (__sqr): Likewise.
29273         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29274         powers of two in terms of TWOPOW macro.
29275         (mp_no): Make type of mantissa as MANTISSA_T.
29276         [!RADIXI]: Define RADIXI.
29277         [!TWO52]: Define TWO52.
29278         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29280 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29282         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29283         llroundl symbol when building for PPC32.
29285 2013-03-24  Mark H Weaver  <mhw@netris.org>
29287         * manual/arith.texi (Normalization Functions): Fix prototypes for
29288         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29290 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29292         [BZ #13889]
29293         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29294         high value to check if expl overflow.
29295         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29296         to check for underflow and overflow.
29297         * math/libm-test.inc: Add exp test.
29299 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29301         [BZ #11120]
29302         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29303         with NOT_IN_libc.
29305 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29307         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29308         symbol.
29310 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29312         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29313         wrap blocks consisting of several statements.
29315         * sysdeps/generic/math-tests.h: New file.
29316         * sysdeps/i386/fpu/math-tests.h: Likewise.
29317         * math/test-snan.c: Include it.
29318         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29320 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #15285]
29323         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29324         (__ieee754_j0l): Do not improve calculations using cos of twice
29325         input for inputs above LDBL_MAX / 2.0L.
29326         (__ieee754_y0l): Likewise.
29327         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29328         (__ieee754_j1l): Do not improve calculations using cos of twice
29329         input for inputs above LDBL_MAX / 2.0L.
29330         (__ieee754_y1l): Likewise.
29331         * math/libm-test.inc (j0_test): Add another test.
29332         (j1_test): Likewise.
29333         (y0_test): Likewise.
29334         (y1_test): Likewise.
29335         * sysdeps/i386/fpu/libm-test-ulps: Update.
29337 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29339         * Rules ($(objpfx)bench-%.c): Include code from a C source
29340         file.
29342 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29344         [BZ #15287]
29345         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29346         imaginary part 1.0 and real part less than 0.5 specially.
29347         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29348         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29349         * math/libm-test.inc (cacos_test): Add more tests.
29350         (casin_test): Likewise.
29351         (casinh_test): Likewise.
29352         * sysdeps/i386/fpu/libm-test-ulps: Update.
29353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29355 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29357         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29358         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29360 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29362         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29363         * config.make.in (config-cflags-sse4): Remove variable.
29364         (config-cflags-avx): Likewise.
29365         (config-cflags-sse2avx): Likewise.
29366         (config-cflags-novzeroupper): Likewise.
29367         (config-asflags-i686): Likewise.
29368         (have-mfma4): Likewise.
29369         (have-as-vis3): Likewise.
29370         (MIG): Likewise.
29371         * configure.in (MIG): Do not AC_SUBST.
29372         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29373         (libc_cv_cc_sse4): Do not AC_SUBST.
29374         (libc_cv_cc_avx): Likewise.
29375         (libc_cv_cc_sse2avx): Likewise.
29376         (libc_cv_cc_novzeroupper): Likewise.
29377         (libc_cv_cc_fma4): Likewise.
29378         (libc_cv_as_i686): Likewise.
29379         (libc_cv_sparc_as_vis3): Likewise.
29380         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29381         LIBC_CONFIG_VAR.
29382         (config-asflags-i686): Likewise.
29383         (config-cflags-avx): Likewise.
29384         (config-cflags-sse2avx): Likewise.
29385         (have-mfma4): Likewise.
29386         (config-cflags-novzeroupper): Likewise.
29387         * sysdeps/mach/configure.in (MIG): Likewise.
29388         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29389         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29390         LIBC_CONFIG_VAR.
29391         (config-cflags-avx): Likewise.
29392         (config-cflags-sse2avx): Likewise.
29393         (have-mfma4): Likewise.
29394         (config-cflags-novzeroupper): Likewise.
29395         * configure: Regenerated.
29396         * sysdeps/i386/configure: Likewise.
29397         * sysdeps/mach/configure: Likewise.
29398         * sysdeps/sparc/configure: Likewise.
29399         * sysdeps/x86_64/configure: Likewise.
29401 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29403         [BZ #14812]
29404         * locale/programs/localedef.c (options): Put N_ translation marker
29405         on argument names, not just descriptions.
29407 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29409         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29411 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29413         [BZ #14176]
29414         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29416 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29418         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29419         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29420         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29421         [!BEFORE_ABORT] (before_abort): New function.
29422         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29423         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29424         (writev_for_fatal): New function.
29425         (WRITEV_FOR_FATAL): New macro; call that.
29426         (backtrace_and_maps): New function.
29427         (BEFORE_ABORT): New macro; call that.
29428         (struct str_list): Type removed.
29429         (__libc_message, __libc_fatal): Functions removed.
29430         Include <sysdeps/posix/libc_fatal.c> instead.
29432 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29434         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29435         constants.
29436         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29437         double constants.
29439 2013-03-19  Andreas Schwab  <schwab@suse.de>
29441         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29442         * sysdeps/gnu/configure: Regenerate.
29444         * configure.in: Substitute libc_cv_rtlddir.
29445         * configure: Regenerate.
29446         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29447         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29448         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29449         * elf/Makefile (install-others, CFLAGS-interp.c)
29450         (ldso_install, common-ldd-rewrite): Likewise.
29451         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29452         $(inst_slibdir)/$(rtld-installed-name).
29453         * scripts/rellns-sh: Add -p option.
29454         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29455         for source.
29457 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29459         * manual/nptl.texi: Renamed to ...
29460         * manual/threads.texi: ... this.
29461         * manual/Makefile (chapters): Update.
29463 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29465         [BZ #14812]
29466         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29467         on argument names, not just descriptions.
29468         * malloc/memusagestat.c (options): Likewise.
29469         * nss/getent.c (options): Likewise.
29471 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29473         [BZ #14812]
29474         * iconv/iconv_prog.c (options): Put N_ translation marker
29475         on argument names, not just descriptions.
29476         * iconv/iconvconfig.c (options): Likewise.
29478 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29480         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29481         implementation which is faster on all x86_64 architectures.
29482         Tested on AMD, Intel Nehalem, SNB, IVB.
29483         * sysdeps/x86_64/strnlen.S: Likewise.
29485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29486         Remove all multiarch strlen and strnlen versions.
29487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29488         Remove strlen and strnlen related parts.
29490         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29491         Inline strlen part.
29492         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29494         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29495         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29496         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29497         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29498         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29499         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29501 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29503         * manual/memory.texi (Malloc Tunable Parameters):
29504         Sort parameters alphabetically. Add comments for missing entries.
29506 2013-03-17  David S. Miller  <davem@davemloft.net>
29508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29510 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29512         [BZ #15283]
29513         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29514         for arguments at most half maximum finite value.
29515         * math/libm-test.inc (j0_test): Add more tests.
29516         (j1_test): Likewise.
29517         (y0_test): Likewise.
29518         (y1_test): Likewise.
29519         * sysdeps/i386/fpu/libm-test-ulps: Update.
29520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29522         [BZ #14155]
29523         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29524         1 / x and functions P and Q for arguments above 0x1p256L.
29525         (__ieee754_y0l): Likewise.
29526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29527         (__ieee754_y1l): Likewise.
29528         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29529         (j1_test): Likewise.
29530         (y0_test): Likewise.
29531         (y1_test): Likewise.
29533 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29535         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29536         variable.
29538 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29540         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29541         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29542         zero since it's initialized to EXEC_PAGESIZE.
29544         * sysdeps/unix/sysv/linux/ldsodefs.h
29545         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29546         * sysdeps/generic/ldsodefs.h: ... here.
29548 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29550         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29552         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29553         math/test-snan.c.
29554         * math/test-snan.c: Renamed from
29555         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29556         * math/Makefile (tests): Add test-snan.
29557         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29558         test-powerpc-snan.
29560         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29561         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29562         functions.
29563         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29564         __builtin_nan family of functions.
29565         * math/libm-test.inc (initialize): Initialize qnan_value with
29566         __builtin_nan family of functions.
29567         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29568         Remove variables.
29569         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29570         Remove functions.
29571         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29572         storage class.  Initialize qNaN_var and sNaN_var with
29573         __builtin_nan and __builtin_nans families of functions,
29574         respectively.
29576         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29577         (sqrt_test): Remove duplicate test with qNaN input.
29578         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29579         (round_test, signbit_test, significand_test): Note missing +/-Inf
29580         as well as qNaN tests.
29582         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29583         qNaN_var.  Fix a few strings, too.
29584         * math/libm-test.inc (nan_value): Rename to qnan_value.
29585         * math/gen-libm-test.pl (%beautify): Adjust to that.
29586         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29587         * math/test-misc.c (main): Likewise.
29588         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29589         to __qnan_bytes, and __qnan_union, respectively.
29590         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29591         Likewise.
29592         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29593         and lqnanval, respectively.
29594         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29595         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29596         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29597         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29599         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29600         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29601         doubles.
29603         * math/test-misc.c (main): Fix copy'n'pastos.
29604         * misc/tst-efgcvt.c (special): Likewise.
29606         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29607         Remove declarations.
29609 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29611         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29612         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29613         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29614         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29616 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29618         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29619         macro to return vdso values correctly in IFUNC implementations.
29620         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29621         Optimization by using IFUNC.
29623 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29624             Richard Henderson  <rth@redhat.com>
29625             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29627         * Makefile.in (bench): New target.
29628         * NEWS: Mention the benchmark framework.
29629         * Rules (bench): Likewise.
29630         (binaries-bench): Generate binaries for functions to
29631         benchmark.
29632         * benchtests/Makefile: New makefile for benchmark tests.
29633         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29634         programs.
29635         * benchtests/exp-inputs: New input file for EXP function.
29636         * benchtests/pow-inputs: New input file for POW function.
29637         * scripts/bench.pl: New script to generate source files for
29638         benchmark programs.
29640 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29642         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29643         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29644         computations on mantissa.  Use macros for rounding and
29645         division.
29646         (denorm): Likewise.
29647         (__dbl_mp): Likewise.
29648         (add_magnitudes): Likewise.
29649         (sub_magnitudes): Likewise.
29650         (__mul): Likewise.
29651         (__sqr): Likewise.
29652         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29653         powers of two in terms of TWOPOW macro.
29654         (mp_no): Make type of mantissa as MANTISSA_T.
29655         [!RADIXI]: Define RADIXI.
29656         [!TWO52]: Define TWO52.
29657         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29659         * manual/nptl.texi (cindex): Modify threads to pthreads.
29661 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29663         * sysdeps/x86_64/preconfigure: Regenerated.
29665 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29667         [BZ #14155]
29668         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29669         0x1p28 and above.
29670         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29671         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29672         0x1p28 and above.
29673         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29674         * math/libm-test.inc (j0_test): Do not allow one spurious
29675         underflow exception.
29676         (y1_test): Likewise.
29678 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29680         * manual/Makefile (chapters): Add nptl.
29681         * manual/debug.texi (Debugging Support): Add link to Threads
29682         chapter.
29683         * manual/nptl.texi: New file.
29685         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29687 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29689         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29690         for non-NULL pointer before the memory validity test. Pointed
29691         out by Holger Brunck <holger.brunck@keymile.com>.
29693 2013-03-13  Andreas Schwab  <schwab@suse.de>
29695         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29696         instead of .os.
29698 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29700         * timezone/zic.c: Update from tzcode 2013b.
29702 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29704         * manual/install.texi (Configuring and compiling):
29705         Mention i686 and i586.
29706         * INSTALL: Regenerate.
29708 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29710         * sysdeps/init_array/elf-init.c: New file.
29711         * csu/elf-init.c
29712         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29713         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29715         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29716         __gmon_start__ as global, but as static with a .preinit_array pointer.
29717         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29718         * sysdeps/init_array/crti.S: New file, empty except for comments.
29719         * sysdeps/init_array/crtn.S: Likewise.
29721 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29723         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29724         definining bcopy.
29725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29726         Remove Prefer_SSE_for_memop.
29727         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29728         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29729         HAS_PREFER_SSE_FOR_MEMOP.
29730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29731         memset-x86-64.
29732         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29733         Remove bzero, memset ifunc support.
29734         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29735         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29739 2013-03-11  Andreas Schwab  <schwab@suse.de>
29741         [BZ #15234]
29742         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29743         by SHLIB_COMPAT.
29744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29745         (GLIBC_2.16): Remove pthread_atfork.
29747 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29749         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29750         (ptestcases.h): Likewise.
29752 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29754         * Makeconfig ($(common-objpfx)config.status): Depend on
29755         sysdeps/*/preconfigure{,.in} too.
29757 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29759         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29760         (__free_hook): Use void * instead of __malloc_ptr_t.
29761         (__malloc_hook): Likewise.
29762         (__realloc_hook): Likewise.
29763         (__memalign_hook): Likewise.
29764         (__after_morecore_hook): Likewise.
29765         * malloc/arena.c (save_malloc_hook): Likewise.
29766         (save_free_hook): Likewise.
29767         * malloc/hooks.c (malloc_hook_ini): Likewise.
29768         (realloc_hook_ini): Likewise.
29769         (memalign_hook_ini): Likewise.
29770         * malloc/malloc.c (malloc_hook_ini): Likewise.
29771         (realloc_hook_ini): Likewise.
29772         (memalign_hook_ini): Likewise.
29773         (__free_hook): Likewise.
29774         (__malloc_hook): Likewise.
29775         (__realloc_hook): Likewise.
29776         (__memalign_hook): Likewise.
29777         (__libc_malloc): Likewise.
29778         (__libc_free): Likewise.
29779         (__libc_realloc): Likewise.
29780         (__libc_memalign): Likewise.
29781         (__libc_valloc): Likewise.
29782         (__libc_pvalloc): Likewise.
29783         (__libc_calloc): Likewise.
29784         (__posix_memalign): Likewise.
29785         * malloc/morecore.c (__sbrk): Likewise.
29786         (__default_morecore): Likewise.
29788         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29790         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29791         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29792         __malloc_ptrdiff_t.
29794         * malloc/malloc.h (__malloc_size_t): Remove macro.
29795         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29796         __malloc_size_t.
29797         (old_memalign_hook): Likewise.
29798         (old_realloc_hook): Likewise.
29799         (struct hdr): Likewise.
29800         (flood): Likewise.
29801         (mallochook): Likewise.
29802         (memalignhook): Likewise.
29803         (reallochook): Likewise.
29804         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29805         (tr_old_realloc_hook): Likewise.
29806         (tr_old_memalign_hook): Likewise.
29807         (tr_mallochook): Likewise.
29808         (tr_reallochook): Likewise.
29809         (tr_memalignhook): Likewise.
29811 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29814         default_ldbl_pack and using as default implementation.
29815         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29816         implementation.
29817         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29818         redundant definition.
29819         (ldbl_insert_mantissa): Likewise.
29820         (ldbl_canonicalize): Likewise.
29821         (ldbl_nearbyint): Likewise.
29822         (ldbl_pack): Rename to ldbl_pack_ppc.
29823         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29824         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29825         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29827 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29830         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29831         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29832         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29834         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29835         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29836         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29838 2013-03-07  Andreas Jaeger  <aj@suse.de>
29840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29841         bits/mman-linux.h.
29843 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29845         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29846         Include mpa.h and declare __MPEXP.
29847         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29848         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29849         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29850         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29851         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29852         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29853         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29855         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29856         (__slowpow): Use long double EXPL and LOGL functions to
29857         compute POW.
29858         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29859         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29860         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29861         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29862         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29863         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29866         intermediate variable to calculate exponent.
29867         (__sqr): Likewise.
29868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29869         Likewise.
29870         (__sqr): Likewise.
29872         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29873         [!NO__SQR]: Define __sqr.
29874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29875         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29876         sysdeps/ieee754/dbl-64/mpa.c.
29877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29879         [BZ #12723]
29880         * posix/Makefile (tests): Add tst-pathconf.
29881         * posix/tst-pathconf.c: New test case.
29882         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29883         _PC_PIPE_BUF.
29884         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29886 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29888         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29890 2013-03-06  Andreas Jaeger  <aj@suse.de>
29892         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29893         definition via __MAP_ANONYMOUS.
29895         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29896         it's not part of Linux headers.
29898         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29899         (MAP_HUGE_MASK): Define.
29901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29902         Define.
29903         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29905         Define.
29906         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29907         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29908         Define.
29909         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29910         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29911         Define.
29912         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29914         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29915         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29916         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29917         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29918         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29919         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29921         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29922         Handle f2fs.
29924         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29925         Handle f2fs and efivarfs.
29927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29928         f2fs.
29930         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29931         (EFIVARFS_MAGIC): Add.
29932         (F2FS_LINK_MAX): Add.
29934 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29936         * stdio-common/vfprintf.c: Replace __builtin_expect with
29937         __glibc_unlikely.
29939 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29941         [BZ #13550]
29942         * sysdeps/generic/bp-sym.h: Remove file.
29943         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29944         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29945         <bp-sym.h> and <bp-asm.h>.
29946         (__longjmp): Don't use BP_SYM.
29947         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29948         and <bp-asm.h>.
29949         (memcpy): Don't use BP_SYM.
29950         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29951         <bp-sym.h> and <bp-asm.h>.
29952         (memcpy): Don't use BP_SYM.
29953         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29954         <bp-asm.h>.
29955         (memcpy): Don't use BP_SYM.
29956         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29957         <bp-asm.h>.
29958         (memset): Don't use BP_SYM.
29959         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29960         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29961         (__bzero): Don't use BP_SYM.
29962         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29963         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29964         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29965         <bp-sym.h> and <bp-asm.h>.
29966         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29967         pointers.
29968         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29969         <bp-sym.h> and <bp-asm.h>.
29970         (memcpy): Don't use BP_SYM.
29971         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29972         <bp-sym.h> and <bp-asm.h>.
29973         (memset): Don't use BP_SYM.
29974         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29975         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29976         (__bzero): Don't use BP_SYM.
29977         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29978         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29979         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29980         <bp-sym.h> and <bp-asm.h>.
29981         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29982         pointers.
29983         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29984         <bp-sym.h> and <bp-asm.h>.
29985         (memcpy): Don't use BP_SYM.
29986         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29987         <bp-sym.h> and <bp-asm.h>.
29988         (memset): Don't use BP_SYM.
29989         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29990         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29991         (__bzero): Don't use BP_SYM.
29992         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29993         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29994         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29995         <bp-sym.h> and <bp-asm.h>.
29996         (__memchr): Don't use BP_SYM.
29997         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29998         <bp-sym.h> and <bp-asm.h>.
29999         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30000         pointers.
30001         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30002         <bp-sym.h> and <bp-asm.h>.
30003         (memcpy): Don't use BP_SYM.
30004         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30005         <bp-sym.h> and <bp-asm.h>.
30006         (__mempcpy): Don't use BP_SYM.
30007         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30008         <bp-sym.h> and <bp-asm.h>.
30009         (__memrchr): Don't use BP_SYM.
30010         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30011         <bp-sym.h> and <bp-asm.h>.
30012         (memset): Don't use BP_SYM.
30013         (__bzero): Likewise.
30014         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30015         <bp-sym.h> and <bp-asm.h>.
30016         (__rawmemchr): Don't use BP_SYM.
30017         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30018         <bp-sym.h> and <bp-asm.h>.
30019         (__STRCMP): Don't use BP_SYM.
30020         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30021         <bp-sym.h> and <bp-asm.h>.
30022         (strchr): Don't use BP_SYM.
30023         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30024         <bp-sym.h> and <bp-asm.h>.
30025         (__strchrnul): Don't use BP_SYM.
30026         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30027         <bp-sym.h> and <bp-asm.h>.
30028         (strlen): Don't use BP_SYM.
30029         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30030         <bp-sym.h> and <bp-asm.h>.
30031         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30032         pointers.
30033         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30034         <bp-sym.h> and <bp-asm.h>.
30035         (__strnlen): Don't use BP_SYM.
30036         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30037         <bp-sym.h> and <bp-asm.h>.
30038         (__GI__setjmp): Don't use BP_SYM.
30039         (_setjmp): Likewise.
30040         (__sigsetjmp): Likewise.
30041         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30042         (L(start_addresses)): Don't use BP_SYM.
30043         (_start): Likewise.
30044         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30045         <bp-asm.h>.
30046         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30047         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30048         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30049         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30050         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30051         <bp-asm.h>.
30052         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30053         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30054         about bounded pointers.
30055         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30056         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30057         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30058         <bp-asm.h>.
30059         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30060         about bounded pointers.  Remove GKM FIXME comments.
30061         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30062         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30063         <bp-asm.h>.
30064         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30065         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30066         Remove GKM FIXME comments.
30067         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30068         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30069         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30070         <bp-asm.h>.
30071         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30072         about bounded pointers.  Remove GKM FIXME comment.
30073         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30074         and <bp-asm.h>.
30075         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30076         pointers.
30077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30078         <bp-sym.h> and <bp-asm.h>.
30079         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30081         <bp-sym.h> and <bp-asm.h>.
30082         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30083         comment.
30085 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30087         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30088         call free(NULL).
30090 2013-03-05  David S. Miller  <davem@davemloft.net>
30092         * po/es.po: Update from translation team.
30094 2013-03-05  Andreas Jaeger  <aj@suse.de>
30096         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30097         <bits/mman-linux.h>.
30098         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30099         is fine.
30100         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30101         <bits/mman-linux.h> to end of file.
30102         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30103         is fine.
30104         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30105         <bits/mman-linux.h> to end of file.
30106         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30107         is fine.
30108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30109         <bits/mman-linux.h> to end of file.
30111         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30112         (MCL_CURRENT, MCL_FUTURE): Define here.
30114 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30116         [BZ #15232]
30117         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30118         attribute_hidden.
30119         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30121 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30123         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30124         fourth parameter needed for rt_sigprocmask syscall.
30125         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30126         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30127         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30128         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30129         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30130         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30132 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30134         [BZ #13550]
30135         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30136         comment about bounded pointers.
30137         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30138         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30140 2013-03-04  Andreas Jaeger  <aj@suse.de>
30142         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30143         common definitions.
30145         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30146         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30147         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30148         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30149         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30150         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30152 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30154         [BZ #15055]
30155         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30156         __ieee754_sqrl instead of __sqrl.
30158 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30160         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30161         * sysdeps/powerpc/fpu_control.h: ... here.
30162         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30163         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30164         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30165         * sysdeps/powerpc/bits/mathinline.h: ... here.
30167 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30169         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30170         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30171         to just [NEED_DL_SYSINFO_DSO].
30172         * elf/dl-support.c: Likewise.
30173         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30174         * elf/rtld.c (dl_main): Likewise.
30175         * elf/setup-vdso.h (setup_vdso): Likewise.
30176         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30177         * sysdeps/unix/sysv/linux/dl-sysdep.c
30178         (_dl_discover_osversion): Likewise.
30180 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30182         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30183         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30185 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187         * NEWS: Mention libm performance improvements and non-x86 PI
30188         futex support.
30190         * csu/libc-start.c (__pthread_initialize_minimal): Change
30191         function arguments.
30192         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30194 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30196         [BZ #13550]
30197         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30198         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30199         <bp-sym.h> and <bp-asm.h>.
30200         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30201         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30202         and <bp-asm.h>.
30203         (memcpy): Don't use BP_SYM.
30204         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30205         <bp-asm.h>.
30206         (__mpn_add_n): Don't use BP_SYM.
30207         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30208         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30209         and <bp-asm.h>.
30210         (__mpn_addmul_1): Don't use BP_SYM.
30211         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30212         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30213         <bp-sym.h>.
30214         (_setjmp): Don't use BP_SYM.
30215         (__novmx_setjmp): Likewise.
30216         (__GI__setjmp): Likewise.
30217         (__vmx_setjmp): Likewise.
30218         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30219         <bp-sym.h>.
30220         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30221         (__bzero): Don't use BP_SYM.
30222         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30223         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30224         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30225         <bp-sym.h> and <bp-asm.h>.
30226         (memcpy): Don't use BP_SYM.
30227         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30228         <bp-sym.h> and <bp-asm.h>.
30229         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30230         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30231         <bp-sym.h> and <bp-asm.h>.
30232         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30233         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30234         <bp-asm.h>.
30235         (__mpn_lshift): Don't use BP_SYM.
30236         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30237         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30238         <bp-asm.h>.
30239         (memset): Don't use BP_SYM.
30240         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30241         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30242         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30243         <bp-asm.h>.
30244         (__mpn_mul_1): Don't use BP_SYM.
30245         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30247         <bp-sym.h> and <bp-asm.h>.
30248         (memcmp): Don't use BP_SYM.
30249         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30250         <bp-sym.h> and <bp-asm.h>.
30251         (memcpy): Don't use BP_SYM.
30252         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30253         <bp-sym.h> and <bp-asm.h>.
30254         (memset): Don't use BP_SYM.
30255         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30256         <bp-sym.h> and <bp-asm.h>.
30257         (strncmp): Don't use BP_SYM.
30258         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30259         <bp-sym.h> and <bp-asm.h>.
30260         (memcpy): Don't use BP_SYM.
30261         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30262         <bp-sym.h> and <bp-asm.h>.
30263         (memset): Don't use BP_SYM.
30264         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30265         <bp-sym.h> and <bp-asm.h>.
30266         (__memchr): Don't use BP_SYM.
30267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30268         <bp-sym.h> and <bp-asm.h>.
30269         (memcmp): Don't use BP_SYM.
30270         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30271         <bp-sym.h> and <bp-asm.h>.
30272         (memcpy): Don't use BP_SYM.
30273         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30274         <bp-sym.h> and <bp-asm.h>.
30275         (__mempcpy): Don't use BP_SYM.
30276         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30277         <bp-sym.h> and <bp-asm.h>.
30278         (__memrchr): Don't use BP_SYM.
30279         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30280         <bp-sym.h> and <bp-asm.h>.
30281         (memset): Don't use BP_SYM.
30282         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30283         <bp-sym.h> and <bp-asm.h>.
30284         (__rawmemchr): Don't use BP_SYM.
30285         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30286         <bp-sym.h> and <bp-asm.h>.
30287         (__STRCMP): Don't use BP_SYM.
30288         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30289         <bp-sym.h> and <bp-asm.h>.
30290         (strchr): Don't use BP_SYM.
30291         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30292         <bp-sym.h> and <bp-asm.h>.
30293         (__strchrnul): Don't use BP_SYM.
30294         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30295         <bp-sym.h> and <bp-asm.h>.
30296         (strlen): Don't use BP_SYM.
30297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30298         <bp-sym.h> and <bp-asm.h>.
30299         (strncmp): Don't use BP_SYM.
30300         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30301         <bp-sym.h> and <bp-asm.h>.
30302         (__strnlen): Don't use BP_SYM.
30303         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30304         <bp-asm.h>.
30305         (__mpn_rshift): Don't use BP_SYM.
30306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30307         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30308         <bp-sym.h> and <bp-asm.h>.
30309         (__sigsetjmp): Don't use BP_SYM.
30310         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30311         (L(start_addresses)): Don't use BP_SYM.
30312         (_start): Likewise.
30313         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30314         <bp-asm.h>.
30315         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30316         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30317         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30318         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30319         <bp-asm.h>.
30320         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30321         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30322         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30323         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30324         <bp-asm.h>.
30325         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30326         comments.
30327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30328         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30329         <bp-asm.h>.
30330         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30331         FIXME comments.
30332         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30333         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30334         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30335         <bp-asm.h>.
30336         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30337         comment.
30338         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30339         and <bp-asm.h>.
30340         (strncmp): Don't use BP_SYM,
30341         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30342         <bp-asm.h>.
30343         (__mpn_sub_n): Don't use BP_SYM.
30344         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30345         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30346         and <bp-asm.h>.
30347         (__mpn_submul_1): Don't use BP_SYM.
30348         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30350         <bp-sym.h> and <bp-asm.h>.
30351         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30353         <bp-sym.h> and <bp-asm.h>.
30354         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30355         comment.
30357 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30360         Use ZK to minimize writes to Z.
30361         (sub_magnitudes): Simplify code a bit.
30362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30363         Use ZK to minimize writes to Z.
30364         (sub_magnitudes): Simplify code a bit.
30366 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30368         * csu/gmon-start.c: Add special exception to license text.
30370 2013-02-27  Richard Henderson  <rth@redhat.com>
30372         * scripts/config.guess: Update from config.git.
30373         * scripts/config.sub: Likewise.
30375 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30379         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30381         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30383         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30385         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30387 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30389         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30390         [$(build-shared = yes].
30392 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30394         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30395         (__mul): Reduce iterations for calculating mantissa.
30397         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30398         MPTWO.
30399         (__mpranred): Likewise.
30401         [BZ #15160]
30402         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30403         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30405 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30407         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30408         Define __attribute__.
30410 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30412         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30413         unused.
30414         * posix/regex_internal.h (__attribute): Remove.
30415         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30416         (re_string_context_at): Likewise.
30417         (bitset_not): Use __attribute__ and mark function as possibly
30418         unused.
30419         (bitset_merge): Likewise.
30420         (bitset_mask): Likewise.
30421         (re_string_char_size_at): Likewise.
30422         (re_string_wchar_at): Likewise.
30423         (re_string_elem_size_at): Likewise.
30425 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30427         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30428         code.
30429         (cc32): Likewise.
30431         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30432         (__acr): Likewise.
30433         (__cpy): Likewise.
30434         (norm): Likewise.
30435         (denorm): Likewise.
30436         (__dbl_mp): Likewise.
30437         (add_magnitudes): Likewise.
30438         (sub_magnitudes): Likewise.
30439         (__mul): Likewise.
30440         (__inv): Likewise.
30442         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30443         style.
30445         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30446         style.
30448         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30449         code.
30451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30452         up changes with default code.
30453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30454         Likewise.
30456 2013-02-24  Allan McRae  <allan@archlinux.org>
30458         * manual/socket.texi (The Internet Namespace): Order menu items
30459         to match that in the file.
30461         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30462         node listing of the info page menu.
30464 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30466         [BZ #13550]
30467         * sysdeps/i386/bp-asm.h: Remove file.
30468         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30469         (PARMS): Do not use macros from bp-asm.h.
30470         (S1): Likewise.
30471         (S2): Likewise.
30472         (SIZE): Likewise.
30473         (__mpn_add_n): Do not use BP_SYM
30474         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30475         "bp-asm.h".
30476         (PARMS): Do not use macros from bp-asm.h.
30477         (S1): Likewise.
30478         (SIZE): Likewise.
30479         (__mpn_addmul_1): Do not use BP_SYM
30480         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30481         "bp-asm.h".
30482         (PARMS): Do not use macros from bp-asm.h.
30483         (SIGMSK): Likewise.
30484         (_setjmp): Likewise.  Do not use BP_SYM.
30485         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30486         "bp-asm.h".
30487         (PARMS): Do not use macros from bp-asm.h.
30488         (SIGMSK): Likewise.
30489         (setjmp): Likewise.  Do not use BP_SYM.
30490         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30491         "bp-asm.h".
30492         (PARMS): Do not use macros from bp-asm.h.
30493         (__frexp): Do not use BP_SYM.
30494         (frexp): Likewise.
30495         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30496         "bp-asm.h".
30497         (PARMS): Do not use macros from bp-asm.h.
30498         (__frexpf): Do not use BP_SYM.
30499         (frexpf): Likewise.
30500         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30501         "bp-asm.h".
30502         (PARMS): Do not use macros from bp-asm.h.
30503         (__frexpl): Do not use BP_SYM.
30504         (frexpl): Likewise.
30505         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30506         "bp-asm.h".
30507         (PARMS): Do not use macros from bp-asm.h.
30508         (__remquo): Do not use BP_SYM.
30509         (remquo): Likewise.
30510         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30511         "bp-asm.h".
30512         (PARMS): Do not use macros from bp-asm.h.
30513         (__remquof): Do not use BP_SYM.
30514         (remquof): Likewise.
30515         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30516         "bp-asm.h".
30517         (PARMS): Do not use macros from bp-asm.h.
30518         (__remquol): Do not use BP_SYM.
30519         (remquol): Likewise.
30520         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30521         "bp-asm.h".
30522         (PARMS): Do not use macros from bp-asm.h.
30523         (DEST): Likewise.
30524         (SRC): Likewise.
30525         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30526         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30527         "bp-asm.h".
30528         (PARMS): Do not use macros from bp-asm.h.
30529         (strlen): Do not use BP_SYM.
30530         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30531         "bp-asm.h".
30532         (PARMS): Do not use macros from bp-asm.h.
30533         (S1): Likewise.
30534         (S2): Likewise.
30535         (SIZE): Likewise.
30536         (__mpn_add_n): Do not use BP_SYM.
30537         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30538         "bp-asm.h".
30539         (PARMS): Do not use macros from bp-asm.h.
30540         (S1): Likewise.
30541         (SIZE): Likewise.
30542         (__mpn_addmul_1): Do not use BP_SYM.
30543         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30544         weak_alias.
30545         (bzero): Likewise.
30546         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30547         "bp-asm.h".
30548         (PARMS): Do not use macros from bp-asm.h.
30549         (S): Likewise.
30550         (SIZE): Likewise.
30551         (__mpn_lshift): Do not use BP_SYM.
30552         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30553         "bp-asm.h".
30554         (PARMS): Do not use macros from bp-asm.h.
30555         (DEST): Likewise.
30556         (SRC): Likewise.
30557         (LEN): Likewise.
30558         (memcpy): Likewise.  Do not use BP_SYM.
30559         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30560         libc_hidden_def and weak_alias.
30561         (mempcpy): Do not use BP_SYM in weak_alias.
30562         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30563         "bp-asm.h".
30564         (PARMS): Do not use macros from bp-asm.h.
30565         (DEST): Likewise.
30566         (LEN): Likewise.
30567         [!BZERO_P] (CHR): Likewise.
30568         (memset): Likewise.  Do not use BP_SYM.
30569         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30570         "bp-asm.h".
30571         (PARMS): Do not use macros from bp-asm.h.
30572         (S1): Likewise.
30573         (SIZE): Likewise.
30574         (__mpn_mul_1): Do not use BP_SYM.
30575         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30576         "bp-asm.h".
30577         (PARMS): Do not use macros from bp-asm.h.
30578         (S): Likewise.
30579         (SIZE): Likewise.
30580         (__mpn_rshift): Do not use BP_SYM.
30581         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30582         "bp-asm.h".
30583         (PARMS): Do not use macros from bp-asm.h.
30584         (STR): Likewise.
30585         (CHR): Likewise.
30586         (strchr): Likewise.  Do not use BP_SYM.
30587         (index): Do not use BP_SYM in weak_alias.
30588         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30589         "bp-asm.h".
30590         (PARMS): Do not use macros from bp-asm.h.
30591         (DEST): Likewise.
30592         (SRC): Likewise.
30593         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30594         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30595         "bp-asm.h".
30596         (PARMS): Do not use macros from bp-asm.h.
30597         (strlen): Do not use BP_SYM.
30598         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30599         "bp-asm.h".
30600         (PARMS): Do not use macros from bp-asm.h.
30601         (S1): Likewise.
30602         (S2): Likewise.
30603         (SIZE): Likewise.
30604         (__mpn_sub_n): Do not use BP_SYM.
30605         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30606         "bp-asm.h".
30607         (PARMS): Do not use macros from bp-asm.h.
30608         (S1): Likewise.
30609         (SIZE): Likewise.
30610         (__mpn_submul_1): Do not use BP_SYM.
30611         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30612         "bp-asm.h".
30613         (PARMS): Do not use macros from bp-asm.h.
30614         (S1): Likewise.
30615         (S2): Likewise.
30616         (SIZE): Likewise.
30617         (__mpn_add_n): Do not use BP_SYM.
30618         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30619         weak_alias.
30620         (bzero): Likewise.
30621         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30622         "bp-asm.h".
30623         (PARMS): Do not use macros from bp-asm.h.
30624         (BLK2): Likewise.
30625         (LEN): Likewise.
30626         (memcmp): Do not use BP_SYM.
30627         (bcmp): Do not use BP_SYM in weak_alias.
30628         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30629         "bp-asm.h".
30630         (PARMS): Do not use macros from bp-asm.h.
30631         (DEST): Likewise.
30632         (SRC): Likewise.
30633         (LEN): Likewise.
30634         (memcpy): Likewise.  Do not use BP_SYM.
30635         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30636         "bp-asm.h".
30637         (PARMS): Do not use macros from bp-asm.h.
30638         (DEST): Likewise.
30639         (SRC): Likewise.
30640         (LEN): Likewise.
30641         (memmove): Likewise.  Do not use BP_SYM.
30642         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30643         "bp-asm.h".
30644         (PARMS): Do not use macros from bp-asm.h.
30645         (DEST): Likewise.
30646         (SRC): Likewise.
30647         (LEN): Likewise.
30648         (__mempcpy): Likewise.  Do not use BP_SYM.
30649         (mempcpy): Do not use BP_SYM in weak_alias.
30650         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30651         "bp-asm.h".
30652         (PARMS): Do not use macros from bp-asm.h.
30653         (DEST): Likewise.
30654         (LEN): Likewise.
30655         [!BZERO_P] (CHR): Likewise.
30656         (memset): Likewise.  Do not use BP_SYM.
30657         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30658         "bp-asm.h".
30659         (PARMS): Do not use macros from bp-asm.h.
30660         (STR2): Likewise.
30661         (strcmp): Do not use BP_SYM.
30662         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30663         "bp-asm.h".
30664         (PARMS): Do not use macros from bp-asm.h.
30665         (STR): Likewise.
30666         (DELIM): Likewise.
30667         [USE_AS_STRTOK_R] (SAVE): Likewise.
30668         (FUNCTION): Likewise.  Do not use BP_SYM.
30669         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30670         aliases.
30671         (strtok_r): Likewise.
30672         (__GI___strtok_r): Likewise.
30673         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30674         (PARMS): Do not use macros from bp-asm.h.
30675         (S): Likewise.
30676         (SIZE): Likewise.
30677         (__mpn_lshift): Do not use BP_SYM.
30678         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30679         (PARMS): Do not use macros from bp-asm.h.
30680         (STR): Likewise.
30681         (CHR): Likewise.
30682         (__memchr): Do not use BP_SYM.
30683         (memchr): Do not use BP_SYM in weak_alias.
30684         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30685         (PARMS): Do not use macros from bp-asm.h.
30686         (BLK2): Likewise.
30687         (LEN): Likewise.
30688         (memcmp): Do not use BP_SYM.
30689         (bcmp): Do not use BP_SYM in weak_alias.
30690         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30691         (PARMS): Do not use macros from bp-asm.h.
30692         (S1): Likewise.
30693         (SIZE): Likewise.
30694         (__mpn_mul_1): Do not use BP_SYM.
30695         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30696         "bp-asm.h".
30697         (PARMS): Do not use macros from bp-asm.h.
30698         (STR): Likewise.
30699         (CHR): Likewise.
30700         (__rawmemchr): Do not use BP_SYM.
30701         (rawmemchr): Do not use BP_SYM in weak_alias.
30702         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30703         (PARMS): Do not use macros from bp-asm.h.
30704         (S): Likewise.
30705         (SIZE): Likewise.
30706         (__mpn_rshift): Do not use BP_SYM.
30707         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30708         (PARMS): Do not use macros from bp-asm.h.
30709         (SIGMSK): Likewise.
30710         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30711         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30712         (_start): Do not use BP_SYM.
30713         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30714         (PARMS): Do not use macros from bp-asm.h.
30715         (DEST): Likewise.
30716         (SRC): Likewise.
30717         (__stpcpy): Likewise.  Do not use BP_SYM.
30718         (stpcpy): Do not use BP_SYM in weak_alias.
30719         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30720         "bp-asm.h".
30721         (PARMS): Do not use macros from bp-asm.h.
30722         (DEST): Likewise.
30723         (SRC): Likewise.
30724         (LEN): Likewise.
30725         (__stpncpy): Likewise.  Do not use BP_SYM.
30726         (stpncpy): Do not use BP_SYM in weak_alias.
30727         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30728         (PARMS): Do not use macros from bp-asm.h.
30729         (STR): Likewise.
30730         (CHR): Likewise.
30731         (strchr): Likewise.  Do not use BP_SYM.
30732         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30733         "bp-asm.h".
30734         (PARMS): Do not use macros from bp-asm.h.
30735         (STR): Likewise.
30736         (CHR): Likewise.
30737         (__strchrnul): Likewise.  Do not use BP_SYM.
30738         (strchrnul): Do not use BP_SYM in weak_alias.
30739         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30740         "bp-asm.h".
30741         (PARMS): Do not use macros from bp-asm.h.
30742         (STOP): Likewise.
30743         (strcspn): Do not use BP_SYM.
30744         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30745         "bp-asm.h".
30746         (PARMS): Do not use macros from bp-asm.h.
30747         (STR): Likewise.
30748         (STOP): Likewise.
30749         (strpbrk): Likewise.  Do not use BP_SYM.
30750         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30751         "bp-asm.h".
30752         (PARMS): Do not use macros from bp-asm.h.
30753         (STR): Likewise.
30754         (CHR): Likewise.
30755         (strrchr): Likewise.  Do not use BP_SYM.
30756         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30757         (PARMS): Do not use macros from bp-asm.h.
30758         (SKIP): Likewise.
30759         (strspn): Do not use BP_SYM.
30760         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30761         (PARMS): Do not use macros from bp-asm.h.
30762         (STR): Likewise.
30763         (DELIM): Likewise.
30764         (SAVE): Likewise.
30765         (FUNCTION): Likewise.  Do not use BP_SYM.
30766         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30767         aliases.
30768         (strtok_r): Likewise.
30769         (__GI___strtok_r): Likewise.
30770         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30771         (PARMS): Do not use macros from bp-asm.h.
30772         (S1): Likewise.
30773         (S2): Likewise.
30774         (SIZE): Likewise.
30775         (__mpn_sub_n): Do not use BP_SYM.
30776         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30777         "bp-asm.h".
30778         (PARMS): Do not use macros from bp-asm.h.
30779         (S1): Likewise.
30780         (SIZE): Likewise.
30781         (__mpn_submul_1): Do not use BP_SYM.
30782         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30783         <bp-sym.h>.
30784         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30785         and <bp-asm.h>.
30786         (PARMS): Do not use macros from bp-asm.h.
30787         (FLAGS): Likewise.
30788         (PTID): Likewise.
30789         (TLS): Likewise.
30790         (CTID): Likewise.
30791         (__clone): Do not use BP_SYM.
30792         (clone): Do not use BP_SYM in weak_alias.
30793         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30794         and <bp-asm.h>.
30795         (PARMS): Do not use macros from bp-asm.h.
30796         (LEN): Likewise.
30797         (__mmap64): Do not use BP_SYM.
30798         (mmap64): Do not use BP_SYM in weak_alias.
30799         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30800         <bp-sym.h> and <bp-asm.h>.
30801         (PARMS): Do not use macros from bp-asm.h.
30802         (__posix_fadvise64_l64): Do not use BP_SYM.
30803         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30804         (PARMS): Do not use macros from bp-asm.h.
30805         (NSOPS): Likewise.
30806         (semtimedop): Do not use BP_SYM.
30807         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30808         and <bp-asm.h>.
30810 2013-02-21  Allan McRae  <allan@archlinux.org>
30812         * manual/message.texi (Charset conversion in gettext):
30813         Move @end statement to beginning of line.
30815 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30818         static.
30819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30820         Likewise.
30822         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30823         (denorm): Likewise.
30824         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30827 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30829         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30830         tail-call to the resolved function if pltexit isn't needed.
30832 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30835         or Y being zero as being unlikely.
30836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30837         Likewise.
30839 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30841         * manual/nss.texi (System Databases and Name Service Switch):
30842         Remove frobnicate @pxref.
30844 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30846         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30847         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30849 2013-02-20  Petr Machata  <pmachata@redhat.com>
30851         * elf/elf.h (R_ARM_TARGET1): New macro.
30852         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30853         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30854         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30855         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30856         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30857         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30858         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30859         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30860         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30861         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30862         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30863         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30864         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30865         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30866         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30867         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30868         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30869         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30870         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30871         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30872         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30873         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30874         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30875         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30876         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30877         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30878         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30879         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30880         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30881         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30882         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30883         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30884         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30885         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30886         (R_ARM_THM_GOT_BREL12): Likewise.
30887         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30888         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30889         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30890         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30891         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30892         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30893         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30894         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30895         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30897 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30899         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30900         __attribute_used__ to __attribute__ ((unused)).
30902 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30904         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30905         powerpc mpa.c.
30906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30907         comment formatting.
30908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30910 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30912         [BZ #13550]
30913         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30914         Remove macro.
30915         (ENTER): Remove both macro definitions.
30916         (LEAVE): Likewise.
30917         (CHECK_BOUNDS_LOW): Likewise.
30918         (CHECK_BOUNDS_HIGH): Likewise.
30919         (CHECK_BOUNDS_BOTH): Likewise.
30920         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30921         (RETURN_BOUNDED_POINTER): Likewise.
30922         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30923         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30924         (POP_ERRNO_LOCATION_RETURN): Likewise.
30925         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30926         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30927         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30928         macros.
30929         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30930         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30931         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30932         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30933         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30934         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30935         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30936         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30937         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30938         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30939         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30940         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30941         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30942         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30943         removed macros.
30944         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30945         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30946         macros.
30947         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30948         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30949         * sysdeps/i386/i586/memset.S (memset): Likewise.
30950         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30951         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30952         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30953         macros.
30954         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30955         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30956         Change uses of L(2) to L(out).
30957         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30958         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30959         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30960         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30961         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30962         removed macros.
30963         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30964         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30965         macros.
30966         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30967         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30968         (RETURN): Do not use macro LEAVE.
30969         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30970         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30971         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30972         * sysdeps/i386/i686/memset.S (memset): Likewise.
30973         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30974         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30975         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30976         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30977         Likewise.
30978         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30979         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30980         L(1_2) and L(1_3) into L(1).
30981         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30982         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30983         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30984         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30985         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30986         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30987         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30988         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30989         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30990         macros.
30991         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30992         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30993         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30994         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30995         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30996         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30997         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30998         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30999         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31000         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31001         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31002         * sysdeps/i386/strspn.S (strspn): Likewise.
31003         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31004         conditional code.
31005         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31006         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31007         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31008         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31009         L(1_3) into L(1_1).
31010         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31011         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31012         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31013         macros.
31014         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31016 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31018         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31019         macro.
31021 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31023         * math/atest-exp.c (exp_mpn): Remove ROUND.
31024         * math/atest-exp2.c (exp_mpn): Likewise.
31025         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31027         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31028         * stdlib/tst-tls-atexit-lib.c: Likewise.
31029         * stdlib/tst-tls-atexit.c: Likewise.
31031 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31033         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31034         and __attribute_alloc_size__.
31036 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31038         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31039         __attribute_alloc_size__.
31040         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31041         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31043 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31045         * include/programs/xmalloc.h: New file.
31046         * catgets/gencat.c: Include it.
31047         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31048         * elf/pldd.c: Likewise.
31049         * iconv/iconv_charmap.c: Likewise.
31050         * iconv/iconvconfig.c: Likewise.
31051         * iconv/strtab.c: Likewise.
31052         * locale/programs/locale.c: Likewise.
31053         * locale/programs/localedef.h: Likewise.
31054         * locale/programs/simple-hash.c: Likewise.
31055         * nscd/nscd.h: Likewise.
31056         * nss/makedb.c: Likewise.
31057         * sysdeps/generic/ldconfig.h: Likewise.
31059 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31061         * Versions.def: Add GLIBC_2.18.
31062         * include/link.h (struct link_map): New member l_tls_dtor_count.
31063         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31064         (__call_tls_dtors): Likewise.
31065         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31066         __cxa_thread_atexit_impl.
31067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31068         Likewise.
31069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31070         Likewise.
31071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31072         Likewise.
31073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31074         Likewise.
31075         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31077         Likewise.
31078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31079         Likewise.
31080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31082         Likewise.
31083         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31084         (tests): Add test case tst-tls-atexit.
31085         (modules-names): Add shared library for tst-tls-atexit.
31086         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31087         (GLIBC_PRIVATE): Add __call_tls_dtors.
31088         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31089         for libstdc++.
31090         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31091         * stdlib/tst-tls-atexit.c: New test case.
31092         * stdlib/tst-tls-atexit-lib.c: New test case.
31094         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31096         * elf/Versions (ld): Add _dl_find_dso_for_object.
31097         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31098         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31099         (dl_open_worker): Use _dl_find_dso_for_object.
31100         * elf/dl-sym.c (do_sym): Likewise.
31101         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31103 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31105         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31106         Syntactic changes only.
31107         (_dl_runtime_profile): Do a tail-call to the resolved function.
31109 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31111         [BZ #13550]
31112         * sysdeps/x86_64/bp-asm.h: Remove file.
31113         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31114         <bp-sym.h> and <bp-asm.h>.
31115         (__clone): Do not use BP_SYM.
31116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31117         <bp-sym.h> and <bp-asm.h>.
31118         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31119         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31120         "bp-asm.h".
31121         (_setjmp): Do not use BP_SYM.
31122         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31123         "bp-asm.h".
31124         (setjmp): Do not use BP_SYM.
31125         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31126         libc_hidden_def.
31127         (mempcpy): Do not use BP_SYM in weak_alias.
31128         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31129         "bp-asm.h".
31130         (strchr): Do not use BP_SYM.
31131         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31132         "bp-asm.h".
31133         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31134         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31135         (_start): Do not use BP_SYM.
31136         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31137         "bp-asm.h".
31138         (strcat): Do not use BP_SYM.
31139         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31140         "bp-asm.h".
31141         (STRCMP): Do not use BP_SYM.
31142         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31143         "bp-asm.h".
31144         (STRCPY): Do not use BP_SYM.
31145         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31146         "bp-asm.h".
31147         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31148         "bp-asm.h".
31149         (FUNCTION): Do not use BP_SYM.
31150         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31151         weak_alias.
31152         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31154 2013-02-17  Andreas Jaeger  <aj@suse.de>
31156         * time/Versions: Sort entries.
31157         * string/Versions: Likewise.
31158         * resolv/Versions: Likewise.
31159         * posix/Versions: Likewise.
31160         * iconv/Versions: Likewise.
31161         * elf/Versions: Likewise.
31162         * wcsmbs/Versions: Likewise.
31164 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31166         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31167         loop termination condition.
31169         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31170         variable to calculate EZ.
31171         (__sqr): Likewise.
31173         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31174         the lower precision input.
31176 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31178         [BZ #13550]
31179         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31180         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31181         (run-via-rtld-prefix): Do not handle %-bp tests.
31182         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31183         (all-object-suffixes): Remove .ob.
31184         (bppfx): Remove variable.
31185         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31186         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31187         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31188         [$(build-bounded) = yes] (libtype.ob): Likewise.
31189         * Makerules (elide-routines.ob): Remove variable.
31190         (do-tests-clean): Do not handle *-bp.out.
31191         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31192         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31193         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31194         (tests): Do not include $(tests-bp.out).
31195         (xtests): Do not include $(xtests-bp.out).
31196         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31197         [$(build-bounded) = yes] ($(addprefix
31198         $(objpfx),$(binaries-bounded))): Remove rule.
31199         ($(objpfx)%-bp.out): Remove rule.
31200         * config.make.in (build-bounded): Remove variable.
31201         * crypt/Makefile [$(build-bounded) = yes]
31202         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31203         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31204         append to variable.
31205         [$(build-bounded) = yes] (install-lib): Likewise.
31206         [$(build-bounded) = yes] (generated): Likewise.
31207         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31208         Remove rule.
31209         * intl/Makefile [$(build-bounded) = yes]
31210         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31211         * math/Makefile [$(build-bounded) = yes]
31212         ($(tests:%=$(objpfx)%-bp): Likewise.
31213         * misc/Makefile [$(build-bounded) = yes]
31214         ($(objpfx)tst-tsearch-bp): Likewise.
31215         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31216         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31217         Remove dependency.
31218         * string/Makefile (o-objects.ob): Remove variable.
31219         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31220         (CFLAGS-.ob): Remove variable.
31221         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31222         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31223         both definitions of variable.
31224         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31225         (ASFLAGS-.ob): Remove variable.
31227 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31229         [BZ #13550]
31230         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31231         Remove __BOUNDED_POINTERS__ from condition.
31232         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31233         * string/bits/string2.h [!__NO_STRING_INLINES &&
31234         !__BOUNDED_POINTERS__]: Likewise.
31235         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31236         Likewise.
31237         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31238         Remove conditional code.
31239         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31240         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31241         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31242         condition.
31244         [BZ #13550]
31245         * csu/libc-start.c: Do not include <bp-sym.h>.
31246         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31247         * elf/dl-open.c: Do not include <bp-sym.h>.
31248         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31249         * math/fegetenv.c: Do not include <bp-sym.h>.
31250         (fegetenv): Do not use BP_SYM in versioned symbols.
31251         * nptl/sysdeps/pthread/bits/libc-lockP.h
31252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31253         <bp-sym.h>.
31254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31255         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31257         (__pthread_mutex_destroy): Likewise.
31258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31259         (__pthread_mutex_lock): Likewise.
31260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31261         (__pthread_mutex_trylock): Likewise.
31262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31263         (__pthread_mutex_unlock): Likewise.
31264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31265         (__pthread_mutexattr_init): Likewise.
31266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31267         (__pthread_mutexattr_destroy): Likewise.
31268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31269         (__pthread_mutexattr_settype): Likewise.
31270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31271         (__pthread_rwlock_init): Likewise.
31272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31273         (__pthread_rwlock_destroy): Likewise.
31274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31275         (__pthread_rwlock_rdlock): Likewise.
31276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31277         (__pthread_rwlock_tryrdlock): Likewise.
31278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31279         (__pthread_rwlock_wrlock): Likewise.
31280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31281         (__pthread_rwlock_trywrlock): Likewise.
31282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31283         (__pthread_rwlock_unlock): Likewise.
31284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31285         (__pthread_key_create): Likewise.
31286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31287         (__pthread_setspecific): Likewise.
31288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31289         (__pthread_getspecific): Likewise.
31290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31291         Likewise.
31292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31293         (_pthread_cleanup_push_defer): Likewise.
31294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31295         (_pthread_cleanup_pop_restore): Likewise.
31296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31297         (pthread_setcancelstate): Likewise.
31298         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31299         <bp-sym.h>.
31300         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31301         (memchr): Do not use BP_SYM in weak_alias.
31302         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31303         (fegetenv): Do not use BP_SYM in versioned symbols.
31304         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31305         (fesetenv): Do not use BP_SYM in versioned symbols.
31306         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31307         (feupdateenv): Do not use BP_SYM in versioned symbols.
31308         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31309         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31310         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31311         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31312         (open64): Do not use BP_SYM in weak_alias.
31313         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31314         (fegetenv): Do not use BP_SYM in versioned symbols.
31315         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31316         (fesetenv): Do not use BP_SYM in versioned symbols.
31317         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31318         (feupdateenv): Do not use BP_SYM in versioned symbols.
31319         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31320         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31321         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31322         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31323         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31324         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31325         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31326         <bp-sym.h>.
31327         (__libc_start_main): Do not use BP_SYM.
31329 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31332         redundant return line.
31333         (norm): Likewise.
31334         (denorm): Likewise.
31335         (dbl_mp): Likewise.
31336         (sub_magnitudes): Likewise.
31337         (__add): Likewise.
31338         (__sub): Likewise.
31339         (__mul): Likewise.
31340         (__inv): Likewise.
31341         (__dvd): Likewise.
31342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31343         (norm): Likewise.
31344         (denorm): Likewise.
31345         (dbl_mp): Likewise.
31346         (sub_magnitudes): Likewise.
31347         (__add): Likewise.
31348         (__sub): Likewise.
31349         (__mul): Likewise.
31350         (__inv): Likewise.
31351         (__dvd): Likewise.
31353         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31354         instead of __mul.
31355         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31356         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31357         (cc32): Likewise.
31359         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31360         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31362         of __mul for squares.
31363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31364         function
31365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31366         Likewise.
31367         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31368         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31370 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31372         [BZ #13550]
31373         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31374         code.
31375         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31376         prototype or function definition.  Rename ubp_* variables and
31377         parameters.  Remove argv definitions conditional on
31378         [__BOUNDED_POINTERS__].
31379         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31380         * elf/dl-runtime.c (_dl_fixup): Likewise.
31381         * include/set-hooks.h (RUN_HOOK): Likewise.
31382         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31383         definition.
31384         * string/strcpy.c (strcpy): Do not use __unbounded.
31385         * sysdeps/generic/frame.h (struct layout): Likewise.
31386         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31387         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31388         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31389         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31390         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31391         (__backtrace): Likewise.
31392         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31393         use __ptrvalue.
31394         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31395         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31396         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31397         Likewise.
31398         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31399         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31401         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31402         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31403         Do not use __unbounded.
31404         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31405         Rename __unboundedrlimits parameter to rlimits in prototype.
31406         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31407         Do not use __unbounded.
31408         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31409         not use __ptrvalue.
31410         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31411         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31412         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31414         __ptrvalue or __unbounded.
31415         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31416         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31417         use __unbounded.
31418         (__new_msgctl): Do not use __ptrvalue.
31419         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31420         __unbounded.
31421         (__libc_msgrcv): Do not use __ptrvalue.
31422         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31423         startup_info): Do not use __unbounded.
31424         (__libc_start_main): Likewise.  Rename ubp_* variables and
31425         parameters.  Remove argv definitions conditional on
31426         [__BOUNDED_POINTERS__].
31427         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31428         __ptrvalue.
31429         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31430         use __unbounded.
31431         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31432         or __ptrvalue.
31433         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31434         use __unbounded.
31435         (__new_shmctl): Do not use __ptrvalue.
31436         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31437         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31438         Likewise.
31439         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31440         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31441         (__libc_sigaction): Likewise.
31442         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31443         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31444         Likewise.
31445         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31447 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31449         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31451         * string/mempcpy.c: Implement by calling memcpy.
31453 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31455         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31458         evaluation.
31460         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31461         values in the mantissa.
31463         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31464         minimize writes to Z.
31465         (sub_magnitudes): Simplify code a bit.
31467 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31469         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31470         from the message.  The linker prefixes all warnings with that already.
31472 2013-02-12  Andreas Schwab  <schwab@suse.de>
31474         [BZ #15078]
31475         * posix/regexec.c (extend_buffers): Add parameter min_len.
31476         (check_matching): Pass minimum needed length.
31477         (clean_state_log_if_needed): Likewise.
31478         (get_subexp): Likewise.
31479         * posix/Makefile (tests): Add bug-regex34.
31480         (bug-regex34-ENV): Define.
31481         * posix/bug-regex34.c: New file.
31483         [BZ #11561]
31484         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31485         elements compare against the byte sequence of it, not its name.
31486         * posix/Makefile (tests): Add bug-regex35.
31487         (bug-regex35-ENV): Define.
31488         * posix/bug-regex35.c: New file.
31490 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31492         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31493         comment.
31494         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31495         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31496         (CHECK_EOL): Add undef.
31498 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31500         * bits/stdlib-bsearch.h: New file.
31501         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31502         * stdlib/stdlib.h: Likewise.
31504 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31506         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31507         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31508         declaration.
31509         * manual/search.texi (Array Search Function): Add missing const in
31510         lfind prototype.
31511         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31512         declaration to use rlim_t.
31513         (Basic Scheduling Functions): Remove erroneous const from
31514         sched_getparam prototype.  Remove erroneous * from
31515         sched_get_priority_max and sched_get_priority_min prototypes.
31516         (Resource Usage): Fix summary @comment on vtimes to refer to
31517         sys/vtimes.h rather than vtimes.h.
31518         Add missing *s in vtimes prototype.
31519         (Limits on Resources): Fix ulimit prototype to return long int.
31520         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31521         prototypes to use long int rather than double.
31522         (BSD Random): Fix initstate and setstate to use char *, not void *.
31523         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31524         prototype to make second argument 'struct aiocb64 *const[]'.
31525         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31526         (Status of AIO Operations): Remove erroneous const in aio_return and
31527         aio_return64 prototypes.
31528         (Synchronizing I/O): Fix sync prototype to return void.
31529         * manual/startup.texi (Suboptions): Remove an erroneous const in
31530         getsubopt prototype.
31531         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31532         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31533         use size_t rather than int.
31534         (Scanning All Users): Likewise for getpwent_r.
31535         (Setting Groups): Add missing const to setgroups prototype.
31536         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31537         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31538         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31539         'const void *' rather than 'const char *'.
31540         (Host Address Functions): Likewise for inet_ntop.
31541         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31542         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31543         ssize_t for return value.
31544         (Sending Data): Likewise for send, sendto, sendmsg.
31545         (Socket Option Functions): Add a missing const in setsockopt prototype.
31546         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31547         use wchar_t for the argument.
31548         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31549         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31550         take no arguments.
31551         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31552         double/float/long double for second argument.
31553         Fix return types of significand, significandf, significandl.
31554         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31555         argument in fchmod prototype.
31556         (File Owner): Use uid_t and gid_t in fchown prototype.
31557         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31558         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31559         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31560         use 'const struct dirent **' as argument types to CMP function pointer
31561         argument.
31562         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31563         (File Times): Fix summary magic @comment for struct utimbuf and utime
31564         to refer to utime.h, not time.h.
31565         * manual/string.texi (Argz Functions): Add missing const in
31566         argz_extract and argz_next prototypes.
31567         (Finding Tokens in a String): Likewise for basename.
31568         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31569         (Copying and Concatenation): Fix typo in wmemmove prototype.
31570         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31571         (Signal Stack): Remove erroneous const in sigstack prototype.
31572         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31573         prototype.
31574         (Simple Calendar Time): Likewise for stime.
31575         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31576         prototype.
31577         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31578         say sys/sysctl.h instead.
31579         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31580         and vsyslog prototypes.
31582 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31584         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31585         Remove.
31587 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31589         * misc/sys/mman.h: Fix typo in mremap comment.
31591 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31593         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31594         the '\0' terminator.
31596 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31598         [BZ #13550]
31599         * debug/segfault.c: Don't include <bp-checks.h>.
31600         * sysdeps/generic/bp-checks.h: Remove file.
31601         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31602         (__GETDENTS): Don't use CHECK_N.
31603         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31604         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31605         (__getgroups): Don't use CHECK_N.
31606         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31607         (setgroups): Don't use CHECK_N.
31608         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31609         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31610         (__libc_msgrcv): Don't use CHECK_N.
31611         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31612         (__libc_msgsnd): Don't use CHECK_N.
31613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31614         <bp-checks.h>.
31615         (__libc_pread): Don't use CHECK_N.
31616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31617         include <bp-checks.h>.
31618         (__libc_pread64): Don't use CHECK_N.
31619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31620         include <bp-checks.h>.
31621         (__libc_pwrite): Don't use CHECK_N.
31622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31623         include <bp-checks.h>.
31624         (__libc_pwrite64): Don't use CHECK_N.
31625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31626         <bp-checks.h>.
31627         (__libc_pread): Don't use CHECK_N.
31628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31629         include <bp-checks.h>.
31630         (__libc_pread64): Don't use CHECK_N.
31631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31632         include <bp-checks.h>.
31633         (__libc_pwrite): Don't use CHECK_N.
31634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31635         include <bp-checks.h>.
31636         (__libc_pwrite64): Don't use CHECK_N.
31637         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31638         (do_pread): Don't use CHECK_N.
31639         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31640         (do_pread64): Don't use CHECK_N.
31641         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31642         (do_pwrite): Don't use CHECK_N.
31643         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31644         (do_pwrite64): Don't use CHECK_N.
31645         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31646         (__libc_readv): Don't use CHECK_N.
31647         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31648         (semop): Don't use CHECK_N.
31649         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31650         <bp-checks.h>.
31651         (semtimedop): Don't use CHECK_N.
31652         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31653         (__libc_pread): Don't use CHECK_N.
31654         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31655         <bp-checks.h>.
31656         (__libc_pread64): Don't use CHECK_N.
31657         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31658         <bp-checks.h>.
31659         (__libc_pwrite): Don't use CHECK_N.
31660         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31661         <bp-checks.h>.
31662         (__libc_pwrite64): Don't use CHECK_N.
31663         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31664         <bp-checks.h>.
31665         (__libc_msgrcv): Don't use CHECK_N.
31666         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31667         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31668         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31669         (__libc_writev): Don't use CHECK_N.
31671 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31673         * string/strcpy.c: Removed unused variable.
31675         * Makeconfig (+sysdep-includes): Define with := rather than =.
31676         Use an existing include/ subdir of each sysdeps dir before it.
31678 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31680         * nscd/connection.c (register_traced_file): Comment function.
31681         [HAVE_INOTIFY] (union __inev): Define.
31682         [HAVE_INOTIFY] (inotify_check_files): New function.
31683         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31684         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31685         clear_db_cache.
31686         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31688 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31690         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31691         loaded if not already and that a failure is permanent.
31693 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31695         [BZ #15006]
31696         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31697         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31699 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31701         [BZ #13550]
31702         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31703         (CHECK_1_NULL_OK): Likewise.
31704         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31705         (__fxstat): Do not use CHECK_1.
31706         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31707         <bp-checks.h>.
31708         (___fxstat64): Do not use CHECK_1.
31709         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31710         <bp-checks.h>.
31711         (__fxstatat): Do not use CHECK_1.
31712         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31713         <bp-checks.h>.
31714         (__fxstatat64): Do not use CHECK_1.
31715         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31716         <bp-checks.h>.
31717         (__fxstat): Do not use CHECK_1.
31718         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31719         <bp-checks.h>.
31720         (__fxstatat): Do not use CHECK_1.
31721         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31722         <bp-checks.h>.
31723         (__getresgid): Do not use CHECK_1.
31724         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31725         <bp-checks.h>.
31726         (__getresuid): Do not use CHECK_1.
31727         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31728         <bp-checks.h>.
31729         (__lxstat): Do not use CHECK_1.
31730         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31731         <bp-checks.h>.
31732         (__old_msgctl): Do not use CHECK_1.
31733         (__new_msgctl): Likewise.
31734         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31735         <bp-checks.h>.
31736         (__new_setrlimit): Do not use CHECK_1.
31737         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31738         <bp-checks.h>.
31739         (__old_shmctl): Do not use CHECK_1.
31740         (__new_shmctl): Likewise.
31741         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31742         <bp-checks.h>.
31743         (__xstat): Do not use CHECK_1.
31744         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31745         (__lxstat): Do not use CHECK_1.
31746         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31747         <bp-checks.h>.
31748         (___lxstat64): Do not use CHECK_1.
31749         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31750         (__old_msgctl): Do not use CHECK_1.
31751         (__new_msgctl): Likewise.
31752         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31753         <bp-checks.h>.
31754         (__gettimeofday): Do not use CHECK_1.
31755         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31756         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31757         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31758         <bp-checks.h>.
31759         (__gettimeofday): Do not use CHECK_1.
31760         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31761         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31762         (__new_shmctl): Do not use CHECK_1.
31763         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31764         <bp-checks.h>.
31765         (do_sigtimedwait): Do not use CHECK_1.
31766         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31767         <bp-checks.h>.
31768         (do_sigwaitinfo): Do not use CHECK_1.
31769         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31770         <bp-checks.h>.
31771         (msgctl): Do not use CHECK_1.
31772         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31773         <bp-checks.h>.
31774         (shmctl): Do not use CHECK_1.
31775         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31776         (ustat): Do not use CHECK_1.
31777         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31778         <bp-checks.h>.
31779         (__fxstat): Do not use CHECK_1.
31780         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31781         <bp-checks.h>.
31782         (__fxstatat): Do not use CHECK_1.
31783         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31784         <bp-checks.h>.
31785         (__lxstat): Do not use CHECK_1.
31786         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31787         <bp-checks.h>.
31788         (__xstat): Do not use CHECK_1.
31789         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31790         (__xstat): Do not use CHECK_1.
31791         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31792         (___xstat64): Do not use CHECK_1.
31794         [BZ #13550]
31795         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31796         definitions.
31797         (CHECK_BOUNDS_HIGH): Likewise.
31798         * string/strcpy.c: Do not include <bp-checks.h>.
31799         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31801 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31803         * nscd/nscd-client.h (__nscd_drop_map_ref):
31804         Add __attribute__ ((unused)).
31805         * nis/nss-nisplus.h (niserr2nss): Likewise.
31807         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31808         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31810         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31811         Remove inline keyword.
31812         * include/rounding-mode.h (round_away): Likewise.
31813         * libio/wfileops.c (adjust_wide_data): Likewise.
31814         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31815         (__m128i_strloadu_tolower): Likewise.
31816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31817         (__m128i_strloadu_tolower): Likewise.
31818         * time/mktime.c (ydhms_diff): Likewise.
31819         * locale/elem-hash.h (elem_hash): Likewise.
31820         * locale/setlocale.c (setdata): Likewise.
31821         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31822         (re_string_wchar_at): Likewise.
31823         (bitset_not, bitset_merge, bitset_mask): Likewise.
31824         [!(__GNUC__ > 3)] (inline): Remove macro.
31825         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31826         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31827         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31828         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31829         * string/memcmp.c (memcmp_bytes): Likewise.
31830         * locale/programs/locarchive.c (compute_hashval): Likewise.
31831         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31832         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31833         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31834         * nss/getent.c (print_rpc, print_protocols): Likewise.
31835         (print_passwd, print_group, print_aliases): Likewise.
31836         * nis/nss-nisplus.h (niserr2nss): Likewise.
31837         * nscd/connections.c (restart_p): Likewise.
31838         Change return type to bool.
31840 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31842         * Makeconfig (all-Depend-files): Add existing
31843         $(sorted-subdirs:=/Depend) files.
31844         (all-subdirs): Remove nss.
31845         * sysdeps/unix/inet/Subdirs: Add it here instead.
31846         * hesiod/Depend: New file.
31848         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31849         instead of calling alloca.
31851         * io/lseek.c (__lseek): Rename to __libc_lseek.
31852         Define __lseek as an alias.
31854         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31856 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31858         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31859         else clause and remove check for non-standard endianness.
31861 2013-02-04  David S. Miller  <davem@davemloft.net>
31863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31865 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31867         [BZ #13550]
31868         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31869         (__ubp_memchr): Remove prototype.
31870         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31871         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31872         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31873         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31874         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31875         Remove alias.
31876         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31877         (__ubp_memchr): Likewise.
31878         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31879         (__ubp_memchr): Likewise.
31880         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31881         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31882         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31883         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31884         CHECK_STRING.
31885         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31886         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31887         (__getcwd): Do not use CHECK_STRING.
31888         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31889         <bp-checks.h>.
31890         (__real_chown): Do not use CHECK_STRING.
31891         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31892         <bp-checks.h>.
31893         (fchownat): Do not use CHECK_STRING.
31894         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31895         CHECK_STRING.
31896         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31897         <bp-checks.h>.
31898         (__lchown): Do not use CHECK_STRING.
31899         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31900         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31901         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31902         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31904         include <bp-checks.h>.
31905         (truncate64): Do not use CHECK_STRING.
31906         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31907         <bp-checks.h>.
31908         (__real_chown): Do not use CHECK_STRING.
31909         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31910         <bp-checks.h>.
31911         (__lchown): Do not use CHECK_STRING.
31912         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31913         <bp-checks.h>.
31914         (__chown): Do not use CHECK_STRING.
31915         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31916         <bp-checks.h>.
31917         (truncate64): Do not use CHECK_STRING.
31918         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31919         Likewise.
31920         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31921         (__xmknod): Do not use CHECK_STRING.
31922         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31923         <bp-checks.h>.
31924         (__xmknodat): Do not use CHECK_STRING.
31925         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31926         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31928 2013-02-04  Andreas Schwab  <schwab@suse.de>
31930         [BZ #14142]
31931         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31932         * include/netdb.h: Likewise for h_errno.
31933         * elf/tst-stackguard1.c: Include <tls.h>.
31935 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31937         * elf/link.h (struct link_map): Extend the l_addr comment.
31938         * include/link.h (struct link_map): Likewise.
31940 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31942         [BZ #13550]
31943         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31944         (BOUNDED_1): Remove macro.
31945         * debug/backtrace.c: Don't include <bp-checks.h>.
31946         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31947         (__backtrace): Likewise.
31948         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31949         <bp-checks.h>.
31950         (__backtrace): Don't use BOUNDED_1.
31951         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31952         <bp-checks.h>.
31953         (__backtrace): Don't use BOUNDED_1.
31954         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31955         (__backtrace): Don't use BOUNDED_1.
31956         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31957         (shmat): Don't use BOUNDED_N.
31959 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31961         [BZ #13550]
31962         * sysdeps/generic/bp-start.h: Remove file.
31963         * csu/libc-start.c: Don't include <bp-start.h>.
31964         (LIBC_START_MAIN): Set up __environ directly instead of using
31965         INIT_ARGV_and_ENVIRON.
31966         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31967         <bp-start.h>.
31969         [BZ #13550]
31970         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31971         definitions.
31972         (CHECK_FCNTL): Likewise.
31973         (CHECK_N_PAGES): Likewise.
31975         [BZ #13550]
31976         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31977         definitions.
31978         (CHECK_SIGSET_NULL_OK): Likewise.
31979         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31980         <bp-checks.h>.
31981         (sigpending): Don't use CHECK_SIGSET.
31982         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31983         <bp-checks.h>.
31984         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31985         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31986         <bp-checks.h>.
31987         (do_sigsuspend): Don't use CHECK_SIGSET.
31988         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31989         use CHECK_SIGSET.
31990         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31991         (do_sigwait): Don't use CHECK_SIGSET.
31992         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31993         use CHECK_SIGSET.
31994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31995         include <bp-checks.h>.
31996         (sigpending): Don't use CHECK_SIGSET.
31997         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31998         include <bp-checks.h>.
31999         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32000         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32001         <bp-checks.h>.
32002         (sigpending): Don't use CHECK_SIGSET.
32003         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32004         <bp-checks.h>.
32005         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32007         [BZ #13550]
32008         * sysdeps/generic/bp-semctl.h: Remove file.
32009         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32010         <bp-checks.h> and <bp-semctl.h>.
32011         (__old_semctl): Don't use CHECK_SEMCTL.
32012         (__new_semctl): Likewise.
32013         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32014         and <bp-semctl.h>.
32015         (__old_semctl): Don't use CHECK_SEMCTL.
32016         (__new_semctl): Likewise.
32017         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32018         <bp-checks.h> and <bp-semctl.h>.
32019         (__old_semctl): Don't use CHECK_SEMCTL.
32020         (__new_semctl): Likewise.
32021         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32022         <bp-checks.h> and <bp-semctl.h>.
32023         (semctl): Don't use CHECK_SEMCTL.
32025         [BZ #13550]
32026         * Makerules (elide-bp-thunks): Remove variable.
32027         (elide-routines.oS): Don't use $(elide-bp-thunks).
32028         (elide-routines.os): Likewise.
32029         (elide-routines.o): Likewise.
32030         (elide-routines.op): Likewise.
32031         (elide-routines.og): Likewise.
32032         (objects): Don't use $(bp-thunks).
32033         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32034         include.
32035         (common-generated): Do not add s-proto-bp.d.
32036         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32037         (int): Likewise.
32038         (typ): Likewise.
32039         Do not generate makefile rules for bounded-pointer thunks.
32040         * sysdeps/generic/bp-thunks.h: Remove file.
32041         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32042         * sysdeps/unix/s-proto-bp.S: Likewise.
32044         [BZ #15062]
32045         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32046         parts of result separately when argument is not close to line from
32047         -i to i and one part of argument is small.
32048         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32049         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32050         * math/libm-test.inc (cacos_test): Add more tests.
32051         (casin_test): Likewise.
32052         (casinh_test): Likewise.
32053         * sysdeps/i386/fpu/libm-test-ulps: Update.
32054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32056 2013-01-31  David S. Miller  <davem@davemloft.net>
32058         * po/de.po: Update from translation team.
32060 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32062         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32064 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32066         * configure.in (_AC_PROG_CC_C89): New definition.
32067         * configure: Regenerate.
32069         * configure.in (AC_PROG_CPP): New definition.
32070         * configure: Regenerate.
32072 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32074         * debug/tst-backtrace.h: New file.
32075         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32076         (ret): Remove variable.
32077         (x): Likewise.
32078         (FAIL): Remove macro.
32079         (NO_INLINE): Likewise.
32080         (fn1): Use match function instead of strstr.
32081         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32082         (ret): Remove variable.
32083         (x): Likewise.
32084         (FAIL): Remove macro.
32085         (NO_INLINE): Likewise.
32086         (fn): Use match function instead of strstr.
32087         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32088         (ret): Remove variable.
32089         (x): Likewise.
32090         (FAIL): Remove macro.
32091         (NO_INLINE): Likewise.
32092         (handle_signal): Use match function instead of strstr.
32093         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32094         (ret): Remove variable.
32095         (x): Likewise.
32096         (FAIL): Remove macro.
32097         (NO_INLINE): Likewise.
32098         (handle_signal): Use match function instead of strstr.
32100 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32102         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32104 2013-01-23  David S. Miller  <davem@davemloft.net>
32106         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32107         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32108         argument of CAS if possible.
32109         * sysdeps/sparc/sparc64/bits/atomic.h
32110         (__arch_compare_and_exchange_val_32_acq): Likewise.
32111         (__arch_compare_and_exchange_val_64_acq): Likewise.
32113 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32115         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32116         * sysdeps/posix/ulimit.c: ... this.
32117         Include <limits.h>.
32118         * sysdeps/unix/bsd/ulimit.c: Remove file.
32120 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32122         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32123         (LDFLAGS-tst-array5): Likewise.
32125 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32127         [BZ #15036]
32128         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32129         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32130         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32131         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32133 2013-01-21  David S. Miller  <davem@davemloft.net>
32135         * sysdeps/sparc/backtrace.c: New file.
32136         * sysdeps/sparc/sparc32/backtrace.h: New file.
32137         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32138         * sysdeps/sparc/sparc64/backtrace.h: New file.
32139         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32140         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32141         -funwind-tables.
32143 2013-01-21  Andreas Schwab  <schwab@suse.de>
32145         [BZ #15020]
32146         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32147         closed its stdout.
32149 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32151         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32152         "mpa2.h".
32153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32155 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32156             Mark Mitchell  <mark@codesourcery.com>
32157             Tom de Vries  <tom@codesourcery.com>
32158             Paul Pluzhnikov  <ppluzhnikov@google.com>
32160         * debug/tst-backtrace2.c: New file.
32161         * debug/tst-backtrace3.c: Likewise.
32162         * debug/tst-backtrace4.c: Likewise.
32163         * debug/tst-backtrace5.c: Likewise.
32164         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32165         (CFLAGS-tst-backtrace3.c): Likewise.
32166         (CFLAGS-tst-backtrace4.c): Likewise.
32167         (CFLAGS-tst-backtrace5.c): Likewise.
32168         (LDFLAGS-tst-backtrace2): Likewise.
32169         (LDFLAGS-tst-backtrace3): Likewise.
32170         (LDFLAGS-tst-backtrace4): Likewise.
32171         (LDFLAGS-tst-backtrace5): Likewise.
32172         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32173         tst-backtrace4 and tst-backtrace5.
32175 2013-01-18  Anton Blanchard  <anton@samba.org>
32176             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32178         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32179         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32180         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32181         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32183         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32184         "+r" and remove output regs list as redundant.  Add explicit inline
32185         asm to specify register of return val to work around compiler codegen
32186         bug.  Remove (int) cast on return value.  Add return type parameter to
32187         use in macro so that this macro does not truncate return value for
32188         64-bit values.
32189         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32190         pass to INTERNAL_VSYSCALL_NCS.
32191         (INLINE_VSYSCALL): Add 'long int' as return type to
32192         INTERNAL_VSYSCALL_NCS macro invocation.
32193         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32194         INTERNAL_VSYSCALL_NCS macro invocation.
32195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32197 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32199         [BZ #14496]
32200         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32201         Fix application of SIMD FP exception mask.
32203         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32204         mp_no from a power of two.
32205         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32206         __mpexp_twomm1.  Use __pow_mp.
32208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32209         multiplication.
32211 2013-01-17  David S. Miller  <davem@davemloft.net>
32213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32215 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32217         [BZ #15023]
32218         * include/complex.h: Condition contents on [!_COMPLEX_H].
32219         (__kernel_casinhf): New prototype.
32220         (__kernel_casinh): Likewise.
32221         (__kernel_casinhl): Likewise.
32222         * math/Makefile (libm_calls): Add k_casinh.
32223         * math/k_casinh.c: New file.
32224         * math/k_casinhf.c: Likewise.
32225         * math/k_casinhl.c: Likewise.
32226         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32227         finite nonzero arguments.
32228         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32229         finite nonzero arguments.
32230         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32231         finite nonzero arguments.
32232         * math/s_casinh.c: Do not include <float.h>.
32233         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32234         * math/s_casinhf.c: Do not include <float.h>.
32235         (__casinhf): Move code for finite nonzero arguments to
32236         k_casinhf.c.
32237         * math/s_casinhl.c: Do not include <float.h>.
32238         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32239         redefine.
32240         (__casinhl): Move code for finite nonzero arguments to
32241         k_casinhl.c.
32242         * math/libm-test.inc (cacos_test): Add more tests.
32243         * sysdeps/i386/fpu/libm-test-ulps: Update.
32244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32246 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32248         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32249         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32250         [!HAVE_MREMAP]: Remove [defined linux] case.
32251         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32253 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32255         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32257 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32259         * elf/elf.h (R_386_SIZE32): New relocation.
32260         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32261         R_386_SIZE32.
32262         (elf_machine_rela): Likewise.
32263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32264         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32266 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32268         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32269         (FP_FAST_FMA): Do not define.
32270         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32271         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32272         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32273         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32274         !_SOFT_FLOAT]: Likewise.
32275         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32276         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32277         value.
32278         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32279         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32280         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32281         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32282         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32283         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32284         file.
32286 2013-01-16  Andreas Schwab  <schwab@suse.de>
32288         [BZ #14327]
32289         * include/stdlib.h (__mktemp): Add declaration.
32290         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32291         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32293 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32295         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32296         definitions.
32297         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32298         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32299         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32300         definitions here.
32301         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32302         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32303         definitions.
32304         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32305         and ONE.
32306         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32307         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32308         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32309         definitions.
32310         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32311         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32312         definitions.
32313         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32315         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32317 2013-01-15  David S. Miller  <davem@davemloft.net>
32319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32320         trunc{,f} to libm-sysdep_routes.
32321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32323         file.
32324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32326         file.
32327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32328         file.
32329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32331         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32332         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32333         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32334         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32335         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32336         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32339         nearbyint{,f} to libm-sysdep_routes.
32340         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32342         New file.
32343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32344         file.
32345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32346         New file.
32347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32348         file.
32349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32351         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32352         file.
32353         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32354         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32355         file.
32356         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32357         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32358         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32360         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32361         libc_feholdexcept and libc_fesetenv.
32363 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32365         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32367 2013-01-14  David S. Miller  <davem@davemloft.net>
32369         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32370         (SPARC_ASM_VIS2_IFUNC): Likewise.
32371         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32373         use of 'siam' instruction.
32374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32375         Likewise.
32376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32377         Likewise.
32378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32379         Likewise.
32380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32385         file.
32386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32387         file.
32388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32389         file.
32390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32391         file.
32392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32393         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32397         new VIS2 routines.
32398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32401         Likewise.
32402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32407         routines to libm-sysdep_routines.
32408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32411         fdim/fdimf to libm-sysdep_routines.
32412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32413         file.
32414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32416         file.
32417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32420         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32421         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32422         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32423         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32425 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32427         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32428         to optimize copies.
32430         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32435         local variable MPTWO.
32436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32437         Likewise.
32439 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32441         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32442         GLOB_NOESCAPE.
32444 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32446         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32448 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32450         * manual/pattern.texi (glob_t): Document gl_flags.
32451         (glob64_t): Likewise.
32453 2013-01-11  David S. Miller  <davem@davemloft.net>
32455         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32456         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32457         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32458         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32459         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32460         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32461         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32462         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32463         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32464         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32465         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32466         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32467         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32469         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32470         sparc V9 rather than using V8 code.
32471         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32472         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32474         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32475         Move to...
32476         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32477         Here.
32479 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32481         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32482         not in the main loop.
32483         * configure: Regenerated.
32485 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32487         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32488         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32489         to just #else.
32490         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32491         [!__GLIBC_HAVE_LONG_LONG] case.
32492         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32493         condition to just #else.
32494         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32495         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32496         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32497         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32498         unconditional.
32499         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32500         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32501         #elif condition to just #else.
32502         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32503         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32504         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32505         #elif condition to just #else.
32507 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32509         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32510         (EF_MIPS_ARCH_64): Fix value.
32511         (EF_MIPS_ARCH_32R2): New.
32512         (EF_MIPS_ARCH_64R2): New.
32514 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32516         * Makeconfig (+link-pie-before-libc): New.
32517         (+link-pie-after-libc): Likewise.
32518         (+link-pie-tests): Likewise.
32519         (+link-pie): Rewritten.
32520         (link-before-libc): Remove $(config-LDFLAGS).
32521         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32522         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32523         (config-LDFLAGS): Renamed to ...
32524         (rtld-LDFLAGS): This.
32525         (rtld-tests-LDFLAGS): New macro.
32526         (link-libc-rpath-link): Likewise.
32527         (link-libc-tests-rpath-link): Likewise.
32528         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32529         (link-libc): Prepand $(link-libc-rpath-link).
32530         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32531         (test-program-prefix): New macro.
32532         (test-via-rtld-prefix): Likewise.
32533         (test-program-cmd): Likewise.
32534         (host-test-program-cmd): Likewise.
32535         * Makefile ($(common-objpfx)testrun.sh): Replace
32536         $(run-program-prefix) with $(test-program-prefix).
32537         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32538         $(rtld-LDFLAGS).
32539         ($(common-objpfx)shlib.lds): Likewise.
32540         (build-module-helper): Likewise.
32541         ($(common-objpfx)format.lds): Likewise.
32542         * Rules (binaries-pie-tests): New.
32543         (binaries-pie-notests): Likewise.
32544         (binaries-pie): Rewritten.
32545         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32546         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32547         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32548         (make-test-out): Replace $(host-built-program-cmd) with
32549         $(host-test-program-cmd).
32550         * config.make.in (build-hardcoded-path-in-tests): New variable.
32551         * configure.in (--enable-hardcoded-path-in-tests): New configure
32552         option.
32553         (hardcoded_path_in_tests): New AC_SUBST.
32554         * configure: Regenerated.
32555         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32556         $(built-program-cmd) with $(test-program-cmd).
32557         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32558         (test_program_cmd): This.
32559         * elf/Makefile ($(objpfx)order.out): Run test with
32560         $(test-program-prefix).
32561         ($(objpfx)order2.out): Likewise.
32562         ($(objpfx)tst-initorder.out): Likewise.
32563         ($(objpfx)tst-initorder2.out): Likewise.
32564         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32565         $(test-program-cmd).
32566         ($(objpfx)tst-array1-static.out): Likewise.
32567         ($(objpfx)tst-array2.out): Likewise.
32568         ($(objpfx)tst-array3.out): Likewise.
32569         ($(objpfx)tst-array4.out): Likewise.
32570         ($(objpfx)tst-array5.out): Likewise.
32571         ($(objpfx)tst-array5-static.out): Likewise.
32572         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32573         $(test-program-cmd).
32574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32575         $(run-program-prefix) with $(test-program-prefix).
32576         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32577         (test_program_prefix): This.
32578         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32579         $(run-program-prefix) with $(test-program-prefix).
32580         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32581         (test_program_prefix): This.
32582         * iconvdata/tst-tables.sh: Likewise.
32583         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32584         $(run-program-prefix) with $(test-program-prefix).
32585         ($(objpfx)tst-translit.out): Likewise.
32586         ($(objpfx)tst-gettext2.out): Likewise.
32587         ($(objpfx)tst-gettext4.out): Likewise.
32588         ($(objpfx)tst-gettext6.out): Likewise.
32589         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32590         (test_program_prefix): This.
32591         * intl/tst-gettext2.sh: Likewise.
32592         * intl/tst-gettext4.sh  Likewise.
32593         * intl/tst-gettext6.sh: Likewise.
32594         * intl/tst-translit.sh: Likewise.
32595         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32596         with $(test-program-cmd).
32597         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32598         $(run-program-prefix) with $(test-program-prefix).
32599         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32600         (test_program_prefix): This.
32601         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32602         $(run-program-prefix) with $(test-program-prefix).
32603         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32604         (test_program_prefix): This.
32605         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32606         * posix/Makefile ($(objpfx)globtest.out): Replace
32607         $(run-via-rtld-prefix) and $(test-wrapper) with
32608         $(test-program-prefix) and $(test-via-rtld-prefix).
32609         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32610         $(test-program-prefix).
32611         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32612         $(host-test-program-cmd).
32613         (tst-spawn-ARGS): Likewise.
32614         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32615         $(test-program-prefix).
32616         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32617         (test_via_rtld_prefix): This.
32618         (test_wrapper): Renamed to ...
32619         (test_program_prefix): This.
32620         (run_program_prefix): Replaced by test_program_prefix.
32621         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32622         (test_program_prefix): This.
32623         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32624         with $(host-test-program-cmd).
32625         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32626         $(run-program-prefix) with $(test-program-prefix).
32627         ($(objpfx)tst-printf.out): Likewise.
32628         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32629         $(test-program-cmd).
32630         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32631         (test_program_prefix): This.
32632         * stdio-common/tst-unbputc.sh: Likewise.
32633         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32634         $(run-program-prefix) with $(test-program-prefix).
32635         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32636         (test_program_prefix): This.
32637         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32638         $(built-program-cmd) with $(test-program-cmd).
32640 2013-01-11  Andreas Jaeger  <aj@suse.de>
32642         [BZ #15003]
32643         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32644         value. Sync with Linux 3.7.
32646 2013-01-10  David S. Miller  <davem@davemloft.net>
32648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32649         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32650         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32652 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32654         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32655         never set.
32656         * configure: Regenerated.
32658 2013-01-10  David S. Miller  <davem@davemloft.net>
32660         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32661         sparc V9 rather than using V8 code.
32662         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32663         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32665 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32667         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32668         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32669         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32670         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32671         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32672         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32673         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32674         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32675         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32676         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32677         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32678         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32679         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32680         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32681         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32682         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32683         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32684         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32685         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32686         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32687         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32688         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32689         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32690         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32691         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32692         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32693         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32695 2013-01-10  David S. Miller  <davem@davemloft.net>
32697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32699 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32701         * posix/Makefile (tests-static): New variable.
32702         (tests): Add $(tests-static).
32703         (tst-exec-static-ARGS): New variable.
32704         (tst-spawn-static-ARGS): Likewise.
32705         * posix/tst-exec-static.c: New file.
32706         * posix/tst-spawn-static.c: Likewise.
32707         * posix/tst-exec.c: Support run directly.
32708         * posix/tst-spawn.c: Likewise.
32710 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32712         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32713         long.
32714         * math/bits/mathcalls.h (llrint): Likewise.
32715         (llround): Likewise.
32716         * stdlib/stdlib.h (struct drand48_data): Likewise.
32717         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32718         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32719         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32720         Likewise.
32721         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32722         Likewise.
32723         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32724         (elf_greg_t): Likewise.
32725         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32726         (__jmp_buf): Likewise.
32727         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32728         definitions.
32729         (llrint): Likewise, for all definitions.
32730         (llrintl): Likewise.
32732         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32733         Remove [__GNUC__] condition.
32734         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32735         condition to just [__USE_ISOC99].
32736         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32738 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32740         [BZ #14200]
32741         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32742         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32743         defined.
32744         (_POSIX_V6_ILP32_OFF32): Likewise.
32745         (_XBS5_ILP32_OFF32): Likewise.
32746         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32747         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32749 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32751         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32754         doubles __mpexp_twomm1.  Adjust usage.
32755         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32756         Remove.
32758 2013-01-10  Andreas Schwab  <schwab@suse.de>
32760         [BZ #14964]
32761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32762         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32764 2013-01-09  David S. Miller  <davem@davemloft.net>
32766         [BZ #15003]
32767         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32768         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32769         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32770         (TCP_FASTOPEN): Define.
32771         (tcp_repair_opt): New structure.
32772         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32773         enum values.
32774         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32775         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32776         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32777         (tcp_cookie_transactions): New structure.
32779 2013-01-09  Anton Blanchard  <anton@samba.org>
32781         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32782         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32783         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32786 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32788         * include/features.h (__USE_ANSI): Remove.
32790 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32792         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32794         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32796 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32798         * sysdeps/s390/fpu/libm-test-ulps: Update.
32800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32802         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32803         (__acr): Likewise.
32804         (__cpy): Likewise.
32805         (norm): Likewise.
32806         (denorm): Likewise.
32807         (__mp_dbl): Likewise.
32808         (__dbl_mp): Likewise.
32809         (add_magnitudes): Likewise.
32810         (sub_magnitudes): Likewise.
32811         (__add): Likewise.
32812         (__sub): Likewise.
32813         (__mul): Likewise.
32814         (__inv): Likewise.
32815         (__dvd): Likewise.
32816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32817         (__acr): Likewise.
32818         (__cpy): Likewise.
32819         (norm): Likewise.
32820         (denorm): Likewise.
32821         (__mp_dbl): Likewise.
32822         (__dbl_mp): Likewise.
32823         (add_magnitudes): Likewise.
32824         (sub_magnitudes): Likewise.
32825         (__add): Likewise.
32826         (__sub): Likewise.
32827         (__mul): Likewise.
32828         (__inv): Likewise.
32829         (__dvd): Likewise.
32830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32831         (__acr): Likewise.
32832         (__cpy): Likewise.
32833         (norm): Likewise.
32834         (denorm): Likewise.
32835         (__mp_dbl): Likewise.
32836         (__dbl_mp): Likewise.
32837         (add_magnitudes): Likewise.
32838         (sub_magnitudes): Likewise.
32839         (__add): Likewise.
32840         (__sub): Likewise.
32841         (__mul): Likewise.
32842         (__inv): Likewise.
32843         (__dvd): Likewise.
32845 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32847         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32848         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32849         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32850         2 && __USE_EXTERN_INLINES]: Likewise.
32852 2013-01-08  Andreas Jaeger  <aj@suse.de>
32854         [BZ# 14985]
32855         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32856         Remove.
32857         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32858         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32860 2013-01-07  Anton Blanchard  <anton@samba.org>
32862         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32863         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32864         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32866         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32867         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32868         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32869         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32871         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32872         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32873         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32875         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32876         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32877         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32878         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32880         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32882         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32883         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32884         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32885         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32886         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32887         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32888         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32889         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32890         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32892         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32894         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32895         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32896         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32897         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32898         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32901         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32902         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32904         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32906 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32908         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32909         (__MALLOC_PMT): Likewise.
32910         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32911         [__GNUC__], only on [_LIBC].
32912         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32913         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32914         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32915         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32916         forward declaration.
32917         (realloc_hook_ini): Likewise.
32918         (memalign_hook_ini): Likewise.
32919         (__libc_memalign): Do not use __MALLOC_PMT in variable
32920         declaration.
32921         (__libc_valloc): Likewise.
32922         (__libc_pvalloc): Likewise.
32923         (__libc_calloc): Likewise.
32924         (__posix_memalign): Likewise.
32926         [BZ #14996]
32927         * math/s_casinh.c: Include <float.h>.
32928         (__casinh): Do not do computation with squaring and square root
32929         for large arguments.
32930         * math/s_casinhf.c: Include <float.h>.
32931         (__casinhf): Do not do computation with squaring and square root
32932         for large arguments.
32933         * math/s_casinhl.c: Include <float.h>.
32934         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32935         (__casinhl): Do not do computation with squaring and square root
32936         for large arguments.
32937         * math/libm-test.inc (casin_test): Add more tests.
32938         (casinh_test): Likewise.
32939         * sysdeps/i386/fpu/libm-test-ulps: Update.
32940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32942 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32944         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32945         (__x86_64_raw_data_cache_size): Likewise.
32946         (__x86_64_data_cache_size_half): Likewise.
32947         (__x86_64_raw_data_cache_size_half): Likewise.
32948         (__x86_64_shared_cache_size): Likewise.
32949         (__x86_64_raw_shared_cache_size): Likewise.
32950         (__x86_64_shared_cache_size_half): Likewise.
32951         (__x86_64_raw_shared_cache_size_half): Likewise.
32952         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32953         to ...
32954         (__x86_data_cache_size): This.
32955         (__x86_64_raw_data_cache_size): Renamed to ...
32956         (__x86_raw_data_cache_size): This.
32957         (__x86_64_data_cache_size_half): Renamed to ...
32958         (__x86_data_cache_size_half): This.
32959         (__x86_64_raw_data_cache_size_half): Renamed to ...
32960         (__x86_raw_data_cache_size_half): This.
32961         (__x86_64_shared_cache_size): Renamed to ...
32962         (__x86_shared_cache_size): This.
32963         (__x86_64_raw_shared_cache_size): Renamed to ...
32964         (__x86_raw_shared_cache_size): This.
32965         (__x86_64_shared_cache_size_half): Renamed to ...
32966         (__x86_shared_cache_size_half): This.
32967         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32968         (__x86_raw_shared_cache_size_half): This.
32969         * sysdeps/x86_64/memcpy.S: Updated.
32970         * sysdeps/x86_64/memset.S: Likewise.
32971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32975 2013-01-04  David S. Miller  <davem@davemloft.net>
32977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32979 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32981         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32982         1 to avoid redefinition warning.
32983         (__USE_GNU): Don't define.
32984         (init_signaling_nan): Protoize.
32986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32988 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32990         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32992         (__cpymn): Likewise.
32993         (norm): Remove commented code.
32994         (denorm): Likewise.
32995         (__mp_dbl): Likewise.
32996         (__inv): Likewise.
32997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32998         (__cpymn): Likewise.
32999         (norm): Remove commented code.
33000         (denorm): Likewise.
33001         (__mp_dbl): Likewise.
33002         (__inv): Likewise.
33004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33005         mp_no value for 1.0 and 2.0.
33006         (norm): Use RADIXI instead of radixi.d.
33007         (denorm): Likewise.
33008         (__mul): Use 0.0 instead of zero.d.
33009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33010         mp_no value for 1.0 and 2.0.
33011         (norm): Use RADIXI instead of radixi.d.
33012         (denorm): Likewise.
33013         (__mul): Use 0.0 instead of zero.d.
33015 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #14994]
33018         * math/s_casinh.c (__casinh): Reduce finite argument to first
33019         quadrant then set signs of results at the end.
33020         * math/s_casinhf.c (__casinhf): Likewise.
33021         * math/s_casinhl.c (__casinhl): Likewise.
33022         * math/libm-test.inc (casin_test): Add more tests.
33023         (casinh_test): Likewise.
33024         * sysdeps/i386/fpu/libm-test-ulps: Update.
33025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33027 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33029         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33031         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33033         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33034         declarations.
33035         (denorm): Likewise.
33036         (__mp_dbl): Likewise.
33037         (__inv): Likewise.
33039         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33040         and adjust the header comment.
33042         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33043         variable name from declaration.
33045 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33048         Initialize COMMON_CPUID_INDEX_7 element.
33049         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33050         (CPUID_RTM): Likewise.
33051         (HAS_RTM): Likewise.
33052         (COMMON_CPUID_INDEX_7): New enum.
33054 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33056         [BZ #14981]
33057         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33058         size is zero, record memory as freed.
33060 2013-01-03  Andreas Jaeger  <aj@suse.de>
33062         * po/ia.po: Add new Interlingua translation.
33064 2012-01-03  Allan McRae  <allan@archlinux.org>
33066         * locale/programs/localedef.c: Fix description of '--posix' flag.
33068 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33070         * NEWS: Update dates in second copyright notice.
33071         * README: Update copyright dates in example.
33072         * manual/libc.texinfo: Update copyright dates.
33073         * scripts/test-installation.pl: Update copyright date in --version
33074         output.
33076         * hurd/ctty-input.c: Fix copyright notice formatting.
33077         * hurd/ctty-output.c: Likewise.
33078         * hurd/dtable.c: Likewise.
33079         * hurd/hurd-raise.c: Likewise.
33080         * hurd/hurdprio.c: Likewise.
33081         * hurd/msgportdemux.c: Likewise.
33082         * misc/sys/file.h: Likewise.
33083         * misc/sys/ioctl.h: Likewise.
33084         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33085         * sysdeps/mach/hurd/chdir.c: Likewise.
33086         * sysdeps/mach/hurd/fchdir.c: Likewise.
33087         * sysdeps/mach/hurd/rename.c: Likewise.
33088         * sysdeps/mach/hurd/rmdir.c: Likewise.
33089         * sysdeps/mach/hurd/seekdir.c: Likewise.
33090         * sysdeps/mach/hurd/setsid.c: Likewise.
33091         * sysdeps/posix/wait3.c: Likewise.
33093         * All files with FSF copyright notices: Update copyright dates
33094         using scripts/update-copyrights.
33095         * intl/plural.c: Regenerated.
33096         * locale/programs/charmap-kw.h: Likewise.
33097         * locale/programs/locfile-kw.h: Likewise.
33099 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33101         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33102         four values.
33104         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33105         calculation loop and add branch prediction.
33107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33108         check access beyond bounds of m1np.
33110         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33111         MPTWO.
33112         (__inv): Remove local variable MPTWO to use the global
33113         constant.
33114         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33115         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33116         variable MPTWO.
33117         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33118         MP3HALFS static const.
33120 2013-01-01  David S. Miller  <davem@davemloft.net>
33122         * po/ca.po: Update from translation team.
33124 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33126         * scripts/update-copyrights: New file.
33127         * Makeconfig: Reformat copyright notice.
33128         * ctype/ctype.h: Likewise.
33129         * debug/swprintf_chk.c: Likewise.
33130         * elf/dl-cache.c: Likewise.
33131         * elf/dl-debug.c: Likewise.
33132         * elf/dl-object.c: Likewise.
33133         * grp/initgroups.c: Likewise.
33134         * hurd/Makefile: Likewise.
33135         * hurd/hurd/signal.h: Likewise.
33136         * hurd/hurdfault.c: Likewise.
33137         * hurd/hurdioctl.c: Likewise.
33138         * hurd/hurdlookup.c: Likewise.
33139         * hurd/intr-msg.c: Likewise.
33140         * iconv/gconv_open.c: Likewise.
33141         * libio/swprintf.c: Likewise.
33142         * locale/lc-ctype.c: Likewise.
33143         * locale/nl_langinfo.c: Likewise.
33144         * mach/Machrules: Likewise.
33145         * mach/Makefile: Likewise.
33146         * malloc/obstack.h: Likewise.
33147         * manual/Makefile: Likewise.
33148         * manual/tsort.awk: Likewise.
33149         * misc/bits/stab.def: Likewise.
33150         * nis/nis_print_group_entry.c: Likewise.
33151         * nis/nis_table.c: Likewise.
33152         * nis/nss_compat/compat-pwd.c: Likewise.
33153         * nis/nss_compat/compat-spwd.c: Likewise.
33154         * po/Makefile: Likewise.
33155         * posix/fnmatch.c: Likewise.
33156         * posix/regex.h: Likewise.
33157         * resolv/Makefile: Likewise.
33158         * resolv/nss_dns/dns-network.c: Likewise.
33159         * resolv/res_hconf.c: Likewise.
33160         * scripts/gen-sorted.awk: Likewise.
33161         * soft-fp/soft-fp.h: Likewise.
33162         * stdio-common/printf.h: Likewise.
33163         * stdlib/monetary.h: Likewise.
33164         * stdlib/random.c: Likewise.
33165         * stdlib/random_r.c: Likewise.
33166         * sysdeps/generic/Makefile: Likewise.
33167         * sysdeps/gnu/Makefile: Likewise.
33168         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33175         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33178         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33179         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33180         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33181         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33182         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33184         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33185         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33191         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33192         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33193         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33194         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33195         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33196         * sysdeps/mach/hurd/errnos.awk: Likewise.
33197         * sysdeps/mach/hurd/fork.c: Likewise.
33198         * sysdeps/mach/hurd/getcwd.c: Likewise.
33199         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33200         * sysdeps/mach/hurd/mmap.c: Likewise.
33201         * sysdeps/mach/hurd/utimes.c: Likewise.
33202         * sysdeps/mach/hurd/xmknod.c: Likewise.
33203         * sysdeps/posix/profil.c: Likewise.
33204         * sysdeps/posix/readdir_r.c: Likewise.
33205         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33206         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33207         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33208         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33210         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33211         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33212         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33214         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33216         * sysdeps/pthread/lio_listio.c: Likewise.
33217         * sysdeps/sparc/dl-procinfo.h: Likewise.
33218         * sysdeps/unix/i386/sysdep.S: Likewise.
33219         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33220         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33221         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33222         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33224         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33225         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33226         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33227         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33228         * sysdeps/wordsize-32/divdi3.c: Likewise.
33229         * time/sys/time.h: Likewise.
33230         * wcsmbs/Makefile: Likewise.
33232 2013-01-01  David S. Miller  <davem@davemloft.net>
33234         * po/fr.po: Update from translation team.
33236         * catgets/gencat.c: Update copyright year.
33237         * csu/version.c: Likewise.
33238         * debug/catchsegv.sh: Likewise.
33239         * debug/pcprofiledump.c: Likewise.
33240         * debug/xtrace.sh: Likewise.
33241         * elf/ldconfig.c: Likewise.
33242         * elf/ldd.bash.in: Likewise.
33243         * elf/pldd.c: Likewise.
33244         * elf/sotruss.ksh: Likewise.
33245         * elf/sprof.c: Likewise.
33246         * iconv/iconv_prog.c: Likewise.
33247         * iconv/iconvconfig.c: Likewise.
33248         * locale/programs/locale.c: Likewise.
33249         * locale/programs/localedef.c: Likewise.
33250         * login/programs/pt_chown.c: Likewise.
33251         * malloc/memusage.sh: Likewise.
33252         * malloc/memusagestat.c: Likewise.
33253         * malloc/mtrace.pl: Likewise.
33254         * nscd/nscd.c: Likewise.
33255         * nss/getent.c: Likewise.
33256         * nss/makedb.c: Likewise.
33257         * posix/getconf.c: Likewise.
33259 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33261         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33262         numbers.
33264 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33266         * math/bits/mathcalls.h (modf): Use __nonnull.
33268 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33270         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33271         (split): Use macro CN instead of the bare value.
33272         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33273         could be used.
33274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33275         instead of the bare value.
33276         (power1): Likewise.
33278 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33280         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33281         __ATAN_TWOM.
33282         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33284         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33285         their values.
33286         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33287         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33288         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33289         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33291 2012-12-28  Andreas Jaeger  <aj@suse.de>
33293         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33294         values are from Linux 3.7.
33296         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33297         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33299 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33301         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33302         TRUE case.
33304         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33305         (norm): Likewise.
33306         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33307         variables with preprocessor constants.
33308         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33309         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33312 2012-12-27  Bruno Haible  <bruno@clisp.org>
33314         [BZ #14317]
33315         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33316         only if needed.
33318 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33321         and use variable directly.
33322         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33324         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33325         MPONE.
33326         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33328         variable MPONE.
33329         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33331         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33332         include directive.  Remove local variable MPONE.
33333         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33334         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33335         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33337 2012-12-25  David S. Miller  <davem@davemloft.net>
33339         * version.h (RELEASE): Set to "development".
33340         (VERSION): Set to "2.17.90".
33341         * NEWS: Add 2.18 section.
33343 2012-12-21  David S. Miller  <davem@davemloft.net>
33345         * po/hr.po: Update from translation team.
33347 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33349         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33351 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33353         * NEWS:  Mention new memcpy for MIPS.
33355 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33357         * manual/contrib.texi (Contributors): Spelling correction.
33359 2012-12-15  David S. Miller  <davem@davemloft.net>
33361         * po/ru.po: Update from translation team.
33363 2012-12-13  David S. Miller  <davem@davemloft.net>
33365         * NEWS: Mention IFUNC testsuite enhancements.
33367         * po/pl.po: Update from translation team.
33368         * po/bg.po: Likewise.
33370         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33371         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33373 2012-12-11  David S. Miller  <davem@davemloft.net>
33375         * po/sv.po: Update from translation team.
33377         * po/vi.po: Update from translation team.
33379         * po/cs.po: Update from translation team.
33381         * po/de.po: Update from translation team.
33382         * po/eo.po: Likewise.
33383         * po/nl.po: Likewise.
33385 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33387         [BZ #14246]
33388         * manual/argp.texi (Argp Helper Functions): Move node to follow
33389         Argp Parsing State.
33391         [BZ #14872]
33392         * manual/conf.texi (Limits on File System Capacity): Mention if
33393         terminating null is included in the max size.
33395 2012-12-10  Andreas Jaeger  <aj@suse.de>
33397         * po/cs.po: Update from translation team.
33399 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33401         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33402         void pointer and cast to uintptr_t.
33403         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33404         path.
33405         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33406         * sysdeps/s390/s390-64/memset.S: Likewise.
33408 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33410         [BZ #14833]
33411         * menual/message.texi (Message Translation): Fix typos.
33412         (Helper programs for gettext): Likewise.
33414 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33416         [BZ #14898]
33417         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33418         Change to -1.
33420 2012-12-07  David S. Miller  <davem@davemloft.net>
33422         * po/libc.pot: Update.
33424 2012-12-07  Richard Henderson  <rth@redhat.com>
33426         [BZ #10114]
33427         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33428         normal/normal case to before the switch.
33429         (_FP_DIV): Likewise.
33431 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33432             Mike Frysinger  <vapier@gentoo.org>
33434         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33435         check for __NR_fadvise64_64.
33437 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33439         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33440         0, not just to plain "0" as a statement.
33441         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33442         with cw.
33444 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33446         * NEWS: Use sourceware.org in Bugzilla URL.
33448 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33451         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33453         * stdio-common/tst-put-error.c (do_test): Add newline to the
33454         padded test to ensure flush.
33456 2012-12-05  Jeff Law  <law@redhat.com>
33458         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33460 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33462         * README: Don't refer to ports add-on as distributed separately.
33463         Mention AArch64 in list of systems supported in the ports add-on.
33465         * LICENSES: Add more non-FSF copyright and license notices.
33467         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33468         ((unused)).
33470         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33472         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33473         10000 as width of padded output.
33475 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33477         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33479         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33480         variable LX with __attribute__ ((unused)).
33481         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33482         Likewise.
33483         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33485         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33486         with __attribute__ ((unused)).
33488 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33490         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33492 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33494         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33495         (CFLAGS-nldbl-acos.c): New variable.
33496         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33497         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33498         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33499         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33500         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33501         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33502         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33503         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33504         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33505         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33506         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33507         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33508         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33509         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33510         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33511         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33512         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33513         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33514         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33515         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33516         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33517         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33518         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33519         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33520         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33521         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33522         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33523         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33524         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33525         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33526         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33527         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33528         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33529         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33530         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33531         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33532         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33533         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33534         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33535         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33536         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33537         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33538         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33539         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33540         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33541         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33542         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33543         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33544         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33545         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33546         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33547         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33548         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33549         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33550         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33551         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33552         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33553         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33554         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33555         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33556         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33557         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33558         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33559         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33560         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33561         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33562         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33563         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33564         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33565         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33566         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33567         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33568         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33569         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33570         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33571         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33572         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33573         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33574         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33575         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33576         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33577         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33578         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33579         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33580         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33581         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33582         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33583         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33584         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33585         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33586         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33587         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33588         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33589         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33590         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33591         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33592         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33595         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33597         [BZ #14914]
33598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33599         whole low double instead of just low 47 bits when splitting values
33600         into two parts.
33602 2012-12-03  Allan McRae  <allan@archlinux.org>
33604         * manual/stdio.texi (Predefined Printf Handlers): Remove
33605         @hsep and @vsep usage.
33607 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33609         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33610         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33612 2012-12-03  Jeff Law  <law@redhat.com>
33614         * time/sys/time.h (settimeofday): Do not mark TV argument
33615         as __nonnull.
33617 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33619         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33620         when currently writing and seek to current position when not.
33621         * libio/Makefile (tests): Remove bug-fclose1.
33622         * libio/bug-fclose1.c: Delete.
33624 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33626         * manual/arith.texi (feenableexcept): Fix typo.
33627         (fedisableexcept): Likewise.
33629 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33631         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33632         second, differently-typed declaration, rather than a cast.
33634 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33636         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33637         * include/rpc/svc.h: ... here.
33639 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33641         [BZ #13013]
33642         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33643         depending n and resplen2 to catch cases where answer
33644         equals answerp2.
33646 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33648         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33649         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33651 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33653         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33655 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33657         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33659 2012-11-28  Jeff Law  <law@redhat.com>
33661         [BZ #13761]
33662         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33663         dataset_temporary.  Track alloca usage into alloca_used.
33664         If dataset is large allocate and release it via malloc/free.
33666 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33668         [BZ #14197]
33669         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33671 2012-11-28  David S. Miller  <davem@davemloft.net>
33673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33675 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33677         [BZ #14803]
33678         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33679         of pi/2 rounded to nearest to 64 bits.
33680         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33681         nearest to 64 bits.
33682         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33683         bits.
33685 2012-11-28  Jeff Law <law@redhat.com>
33686             Martin Osvald <mosvald@redhat.com>
33688         [BZ #14889]
33689         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33690         * sunrpc/svc.c: Include time.h.
33691         (__svc_accept_failed): New function.
33692         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33693         any reason other than EINTR, call __svc_accept_failed.
33694         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33695         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33697 2012-11-28  Andreas Schwab  <schwab@suse.de>
33699         * scripts/abilist.awk: Also handle indirect functions in .opd
33700         section.
33702 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33704         [BZ #13881]
33705         * sysdeps/x86/fpu/powl_helper.c: New file.
33706         * sysdeps/x86/fpu/Makefile: Likewise.
33707         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33708         (p3): New object.
33709         (__ieee754_powl): Use __powl_helper for finite arguments except
33710         integer exponents below 8.
33711         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33712         (p3): New object.
33713         (__ieee754_powl): Use __powl_helper for finite arguments except
33714         integer exponents below 8.
33715         * math/libm-test.inc (pow_test): Add more tests and enable some
33716         previously disabled tests.
33717         * sysdeps/i386/fpu/libm-test-ulps: Update.
33718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33720 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33721             Carlos O'Donell  <carlos_odonell@mentor.com>
33723         * nss/makedb.c (is_prime): Assert that input is odd and greater
33724         than 4.  Note that fact in a comment too.
33725         (next_prime): Add 4 to input.
33727 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33729         [BZ #11741]
33730         * libio/Makefile (tests): Add test case tst-fwrite-error.
33731         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33732         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33733         * libio/tst-fwrite-error.c: New test case.
33735 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33737         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33738         before casting to void *.
33739         * include/libc-internal.h (__pointer_type): New macro.
33740         (__integer_if_pointer_type_sub): Likewise.
33741         (__integer_if_pointer_type): Likewise.
33742         (cast_to_integer): Likewise.
33743         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33744         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33745         before casting to atomic64_t.
33746         (atomic_exchange_acq): Likewise.
33747         (__arch_exchange_and_add_body): Likewise.
33748         (__arch_add_body): Likewise.
33749         (atomic_add_negative): Likewise.
33750         (atomic_add_zero): Likewise.
33752 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33754         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33755         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33756         (add_fdes): Likewise.
33757         (linear_search_fdes): Likewise.
33758         (binary_search_unencoded_fdes): Likewise.
33760 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33762         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33764 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33766         * configure.in: Autodetect C++ header directories.
33767         * configure: Regenerated.
33769 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33771         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33773 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33777 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33779         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33780         LDBL_MANT_DIG == 106]: Disable some tests.
33781         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33782         Likewise.
33783         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33784         Likewise.
33786         [BZ #14871]
33787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33788         input for small inputs.  Return +/- pi/2 for large inputs.
33789         * math/libm-test.inc (atan_test): Add more tests.
33791         * sysdeps/generic/unwind-dw2-fde-glibc.c
33792         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33793         __attribute__ ((unused)).
33795         [BZ #14645]
33796         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33797         x * y if x and y are nonzero and z is zero.
33799         [BZ #14811]
33800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33801         nonzero exponents with absolute value below 0x1p-117 to +/-
33802         0x1p-117.
33804         [BZ #14869]
33805         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33806         up arguments below 2**-450, not just those below 2**-500.
33807         * math/libm-test.inc (hypot_test): Add another test.
33809         [BZ #14868]
33810         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33811         Return a+b for ratio over 2**120, not 2**60.
33812         * math/libm-test.inc (hypot_test): Add another test.
33814         * math/libm-test.inc (clog_test): Use
33815         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33816         (clog10_test): Likewise.
33818         [BZ #6778]
33819         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33821 2012-11-22  Andreas Schwab  <schwab@suse.de>
33823         * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33827         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33828         printf output with newline.
33830 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33832         [BZ #14865]
33833         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33834         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33835         -z nodlopen, -z initfirst and -z execstack support.
33836         * configure: Regenerated.
33838         * elf/elf.h (DF_1_NODIRECT): New macro.
33839         (DF_1_IGNMULDEF): Likewise.
33840         (DF_1_NOKSYMS): Likewise.
33841         (DF_1_NOHDR): Likewise.
33842         (DF_1_EDITED): Likewise.
33843         (DF_1_NORELOC): Likewise.
33844         (DF_1_SYMINTPOSE): Likewise.
33845         (DF_1_GLOBAUDIT): Likewise.
33846         (DF_1_SINGLETON): Likewise.
33847         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33848         DT_1_SUPPORTED_MASK bits.
33849         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33851 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33853         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33855 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33857         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33858         macro.
33860         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33861         (sendmmsg): Move declarations...
33862         * socket/sys/socket.h: ... here.
33863         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33864         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33865         include it from...
33866         * socket/recvmmsg.c: ... this new file.
33867         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33868         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33869         definition of __sendmmsg hidden.
33870         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33871         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33872         Move ENOSYS stub into and include it from...
33873         * socket/sendmmsg.c: ... this new file.
33874         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33875         (sysdep_routines): Move recvmmsg and sendmmsg...
33876         * socket/Makefile (routines): ... here.
33877         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33878         (GLIBC_PRIVATE): Add __sendmmsg.
33879         * include/sys/socket.h (__sendmmsg): Add declarations.
33880         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33881         sendmmsg.
33883 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33886         variable I1 with __attribute__ ((unused)).
33887         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33889 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33891         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33892         DUMMY variables with __attribute__ ((unused)).
33894         * bits/byteswap.h: Include <bits/types.h>.
33895         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33897 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33899         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33900         string_t.  Do not manually set errno.
33901         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33902         length with __strnlen.  Make sure to both set errno and return it on
33903         failure.
33905 2012-11-19  David S. Miller  <davem@davemloft.net>
33907         With help from Joseph Myers.
33908         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33909         very large arguments properly.
33910         * math/libm-test.inc (atan_test): New tests.
33911         (atan2_test): New tests.
33912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33915 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33917         [BZ #14856]
33918         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33919         Define to 3.
33921         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33922         [POSIX] (EADDRNOTAVAIL): Likewise.
33923         [POSIX] (EAFNOSUPPORT): Likewise.
33924         [POSIX] (EALREADY): Likewise.
33925         [POSIX] (ECONNABORTED): Likewise.
33926         [POSIX] (ECONNREFUSED): Likewise.
33927         [POSIX] (ECONNRESET): Likewise.
33928         [POSIX] (EDESTADDRREQ): Likewise.
33929         [POSIX] (EDQUOT): Likewise.
33930         [POSIX] (EHOSTUNREACH): Likewise.
33931         [POSIX] (EIDRM): Likewise.
33932         [POSIX] (EISCONN): Likewise.
33933         [POSIX] (ELOOP): Likewise.
33934         [POSIX] (EMULTIHOP): Likewise.
33935         [POSIX] (ENETDOWN): Likewise.
33936         [POSIX] (ENETUNREACH): Likewise.
33937         [POSIX] (ENOBUFS): Likewise.
33938         [POSIX] (ENODATA): Likewise.
33939         [POSIX] (ENOLINK): Likewise.
33940         [POSIX] (ENOMSG): Likewise.
33941         [POSIX] (ENOPROTOOPT): Likewise.
33942         [POSIX] (ENOSR): Likewise.
33943         [POSIX] (ENOSTR): Likewise.
33944         [POSIX] (ENOTCONN): Likewise.
33945         [POSIX] (ENOTSOCK): Likewise.
33946         [POSIX] (EOPNOTSUPP): Likewise.
33947         [POSIX] (EOVERFLOW): Likewise.
33948         [POSIX] (EPROTO): Likewise.
33949         [POSIX] (EPROTONOSUPPORT): Likewise.
33950         [POSIX] (EPROTOTYPE): Likewise.
33951         [POSIX] (ESTALE): Likewise.
33952         [POSIX] (ETIME): Likewise.
33953         [POSIX] (ETXTBSY): Likewise.
33954         [POSIX] (EWOULDBLOCK): Likewise.
33955         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33956         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33957         [POSIX] (SEEK_CUR): Likewise.
33958         [POSIX] (SEEK_END): Likewise.
33959         [POSIX || UNIX98] (mode_t): Do not require.
33960         [POSIX] (off_t): Likewise.
33961         [POSIX] (pid_t): Likewise.
33962         [POSIX] (sys/stat.h): Do not allow header.
33963         [POSIX] (unistd.h): Likewise.
33964         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33965         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33966         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33967         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33968         require.
33969         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33970         sigevent): Specify elements.
33971         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33972         entry.
33973         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33974         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33976         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33977         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33978         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33979         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33980         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33981         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33982         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33983         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33984         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33985         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33986         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33987         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33988         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33989         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33990         Likewise.
33991         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33992         Likewise.
33993         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33994         Likewise.
33995         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33996         Likewise.
33997         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33998         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33999         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34000         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34001         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34002         Specify lower bound on value.
34003         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34004         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34005         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34006         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34007         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34008         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34009         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34010         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34011         value.
34012         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34013         as optional.
34014         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34015         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34016         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34017         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34018         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34019         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34020         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34021         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34022         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34023         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34024         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34025         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34026         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34027         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34028         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34029         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34030         entry.
34031         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34032         optional.
34033         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34034         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34035         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34036         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34037         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34038         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34039         Likewise.
34040         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34041         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34042         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34043         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34044         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34045         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34046         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34047         as optional.
34048         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34049         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34050         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34051         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34052         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34053         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34054         specify as optional.
34055         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34056         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34057         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34058         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34059         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34060         [XPG3] (NL_LANGMAX): Likewise.
34061         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34062         [POSIX || XPG3] (NL_NMAX): Likewise.
34063         [POSIX || XPG3] (NL_SETMAX): Likewise.
34064         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34065         [XPG3] (NZERO): Likewise.
34066         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34067         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34068         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34069         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34070         (REG_ERANGE): Expect.
34071         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34072         optional-constant.
34073         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34074         Use (void) in prototype.
34075         [POSIX] (*_t): Allow.
34076         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34077         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34078         (WRDE_BADVAL): Expect.
34080         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34081         expect.
34082         [XPG3 || XPG4] (O_RSYNC): Likewise.
34083         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34084         Likewise.
34085         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34086         [XPG3 || XPG4] (sigqueue): Likewise.
34087         [XPG3 || XPG4] (sigtimedwait): Likewise.
34088         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34089         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34090         [XPG3 || XPG4] (vsnprintf): Likewise.
34091         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34092         Likewise.
34093         [XPG3 || XPG4] (blksize_t): Likewise.
34094         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34095         Likewise.
34096         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34097         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34098         [XPG3 || XPG4] (struct itimerspec): Likewise.
34099         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34100         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34101         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34102         [XPG3 || XPG4] (clockid_t): Likewise.
34103         [XPG3 || XPG4] (timer_t): Likewise.
34104         [XPG3 || XPG4] (clock_getres): Likewise.
34105         [XPG3 || XPG4] (clock_gettime): Likewise.
34106         [XPG3 || XPG4] (clock_settime): Likewise.
34107         [XPG3 || XPG4] (nanosleep): Likewise.
34108         [XPG3 || XPG4] (timer_create): Likewise.
34109         [XPG3 || XPG4] (timer_delete): Likewise.
34110         [XPG3 || XPG4] (timer_gettime): Likewise.
34111         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34112         [XPG3 || XPG4] (timer_settime): Likewise.
34113         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34114         [XPG3 || XPG4] (getlogin_r): Likewise.
34115         [XPG3 || XPG4] (pread): Likewise.
34116         [XPG3 || XPG4] (pthread_atfork): Likewise.
34117         [XPG3 || XPG4] (pwrite): Likewise.
34119         [BZ #14835]
34120         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34121         <bits/siginfo.h>.
34123 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34125         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34126         finalizing MALLSTREAM.
34128         * sysdeps/mach/hurd/syncfs.c: New file.
34130 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34132         [BZ #14719]
34133         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34134         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34135         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34136         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34137         (_nss_dns_gethostbyname4_r): Likewise.
34138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34139         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34141 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34143         [BZ #13763]
34144         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34146 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34148         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34149         * elf/cache.c (print_entry): Print ",AArch64" for
34150         FLAG_AARCH64_LIB64
34152         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34153         * elf/cache.c (print_entry): Print ",hard-float" for
34154         FLAG_ARM_LIBHF.
34156 2012-11-18  David S. Miller  <davem@davemloft.net>
34158         With help from Joseph Myers.
34159         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34160         cutoff to 2**-13.
34161         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34162         cutoff to 2**-25.
34163         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34164         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34165         small.
34166         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34167         * math/libm-test.inc (y0_test): New tests.
34168         (y1_test): New tests.
34169         * sysdeps/i386/fpu/libm-test-ulps: Update.
34170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34173 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34175         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34176         64-bit targets.
34177         * configure: Regenerated.
34179 2012-11-17  David S. Miller  <davem@davemloft.net>
34181         [BZ #14811]
34182         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34183         nonzero exponents with absolute value below 0x1p-128 to +/-
34184         0x1p-128.
34186 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34188         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34190         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34192         * posix/getconf-speclist.c: New file.
34193         * posix/posix-envs.def: Likewise.
34194         * posix/confstr.c (START_ENV_GROUP): New macro.
34195         (END_ENV_GROUP): Likewise.
34196         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34197         (KNOWN_PRESENT_ENV_STRING): Likewise.
34198         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34199         (UNKNOWN_ENVIRONMENT): Likewise.
34200         (confstr): Include posix-envs.def instead of handling
34201         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34202         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34203         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34204         (END_ENV_GROUP): Likewise.
34205         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34206         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34207         (UNKNOWN_ENVIRONMENT): Likewise.
34208         (__sysconf): Include posix-envs.def instead of handling associated
34209         cases directly here.
34210         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34211         preprocessing getconf-speclist.c rather than running getconf or
34212         generating empty file.
34214 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34216         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34218 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34220         [BZ #14672]
34221         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34223 2012-11-16  David S. Miller  <davem@davemloft.net>
34225         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34226         smaller than LDBL_EPSILON/2.0L, just return xm1.
34228 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34230         * elf/tst-array1.c (init): Set constructor priority to 1000.
34231         (fini): Set destructor priority to 1000.
34232         * elf/tst-array2dep.c: Likewise.
34234 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34236         [BZ #11741]
34237         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34238         (_IO_new_file_xsputn): Also return EOF if none of the input
34239         data was written when overflow failed.
34240         * libio/iopadn.c (_IO_padn): Likewise.
34241         * libio/iowpadn.c (_IO_wpadn): Likewise.
34242         * stdio-common/tst-put-error.c: Add copyright notice.
34243         (do_test): Add case for printing padded string.
34244         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34245         _IO_padn returned error.
34246         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34247         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34248         return EOF.
34250 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34252         * libio/libioP.h: Add comment note that the references to C++
34253         bits are now obsolete.
34255 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34257         * math/libm-test.inc (check_complex): Use asprintf.
34259 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34261         * debug/pcprofiledump.c (print_version): Update copyright year.
34262         * malloc/memusagestat.c (print_version): Likewise.
34264 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34266         [BZ #14831]
34267         * elf/Makefile (tests): Add tst-audit8.
34268         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34269         ($(objpfx)tst-audit8.out): New target.
34270         (tst-audit8-ENV): New variable.
34271         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34272         audit if l_reloc_result is NULL.
34273         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34274         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34275         * elf/tst-audit8.c: New file.
34277 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34279         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34280         * misc/Makefile (CFLAGS-select.c): Define.
34281         * posix/Makefile (CFLAGS-pause.c): Define.
34283 2012-11-13  David S. Miller  <davem@davemloft.net>
34285         * crypt/Makefile: Move test targets after toplevel Rules
34286         inclusion.  Grab any necessary sysdep routines when linking.
34287         * crypt/md5.c (md5_process_block): Remove define, we will always
34288         name it __md5_process_block.
34289         (md5_finish_ctx): Update md5_process_block call.
34290         (md5_stream): Likewise.
34291         (md5_process_bytes): Likewise.
34292         (md5_process_block): Rename to __md5_process_block and move to ...
34293         * crypt/md5-block.c: ... here.
34294         * crypt/sha256.c (sha256_process_block): Move to ...
34295         * crypt/sha256-block.c: ... here.
34296         * crypt/sha512.c (sha512_process_block): Move to ...
34297         * crypt/sha512-block.c: ... here.
34298         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34299         path.
34300         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34301         * sysdeps/sparc/sparc64/multiarch/Makefile
34302         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34303         crypt subdir.
34304         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34305         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34306         multiarch changes.
34307         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34308         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34309         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34310         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34311         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34312         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34313         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34314         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34315         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34316         file.
34317         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34318         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34319         file.
34320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34322 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34324         * timezone/tzselect.ksh: Update from tzcode git revision
34325         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34326         * timezone/zdump.c: Likewise.
34327         * timezone/zic.c: Likewise.
34328         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34329         in TZVERSION setting, not $(PKGVERSION).
34330         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34331         REPORT_BUGS_TO settings.
34333         [BZ #14838]
34334         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34335         macro.
34337 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34339         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34340         detection to immediately after _FP_ROUND().
34341         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34342         bits are 0.
34344 2012-11-11  David S. Miller  <davem@davemloft.net>
34346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34347         inttypes.h
34348         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34349         __close rather than their public counterparts.
34351 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34353         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34354         file.
34355         [UNIX98] (sem_timedwait): Do not expect.
34356         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34357         [XPG4 || UNIX98] (sockatmark): Do not expect.
34358         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34359         (clock_getcpuclockid): Do not expect.
34360         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34361         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34362         Do not expect.
34363         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34364         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34365         [UNIX98] (vwscanf): Likewise.
34366         [UNIX98] (vswscanf): Likewise.
34368 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34370         * timezone/version.h: Remove file.
34371         * timezone/README: Do not refer to version.h.
34372         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34373         $(objpfx)version.h.
34374         ($(objpfx)zdump.o): Likewise.
34375         ($(objpfx)version.h): New target.
34377         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34378         2012i.
34379         * timezone/README: Don't mention modification to tzselect.ksh.
34380         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34381         work on unmodified tzselect.ksh.  Substitute version numbers in
34382         tzselect.ksh.
34384         * Makefile (format-me): Remove.
34385         (INSTALL): Adjust indentation.  Use commands directly instead of
34386         using $(format-me).
34388         * aclocal.m4 (ACX_PKGVERSION): New macro.
34389         (ACX_BUGURL): Likewise.
34390         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34391         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34392         (REPORT_BUGS_TO): Likewise.
34393         * configure: Regenerated.
34394         * config.h.in (PKGVERSION): New macro.
34395         (REPORT_BUGS_TO): Likewise.
34396         * config.make.in (PKGVERSION): New variable.
34397         (PKGVERSION_TEXI): Likewise.
34398         (REPORT_BUGS_TO): Likewise.
34399         (REPORT_BUGS_TEXI): Likewise.
34400         * Makefile (format-me): Use -I$(common-objpfx)manual.
34401         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34402         ($(common-objpfx)manual/%): New target.
34403         (manual/%): Remove target.
34404         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34405         (print_version): Use PKGVERSION.
34406         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34407         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34408         and REPORT_BUGS_TO.
34409         ($(objpfx)xtrace): Likewise.
34410         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34411         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34412         (print_version): Use PKGVERSION.
34413         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34414         (do_version): Use PKGVERSION.
34415         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34416         REPORT_BUGS_TO.
34417         (common-ldd-rewrite): Likewise.
34418         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34419         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34420         (print_version): Use PKGVERSION.
34421         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34422         * elf/pldd.c (argp_program_bug_address): Remove variable.
34423         (more_help): New function.
34424         (argp): Use more_help.
34425         (print_version): Use PKGVERSION.
34426         * elf/sln.c (main): Use PKGVERSION.
34427         (usage): Use REPORT_BUGS_TO.
34428         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34429         (top level): Use PKGVERSION.
34430         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34431         (print_version): Use PKGVERSION.
34432         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34433         (print_version): Use PKGVERSION.
34434         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34435         (print_version): Use PKGVERSION.
34436         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34437         (print_version): Use PKGVERSION.
34438         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34439         (print_version): Use PKGVERSION.
34440         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34441         (print_version): Use PKGVERSION.
34442         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34443         and BUGURL.
34444         ($(objpfx)memusage): Likewise.
34445         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34446         (do_version): Use PKGVERSION.
34447         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34448         (print_version): Use PKGVERSION.
34449         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34450         ($PKGVERSION): New variable.
34451         ($REPORT_BUGS_TO): Likewise.
34452         (usage): Use $REPORT_BUGS_TO.
34453         (top level): Use $PKGVERSION.
34454         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34455         ($(objpfx)pkgvers.texi): New rule.
34456         ($(objpfx)stamp-pkgvers): Likewise.
34457         * manual/install.texi: Include pkgvers.texi.
34458         (--with-pkgversion): Document new configure option.
34459         (--with-bugurl): Likewise.
34460         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34461         than necessarily for this particular distribution.  Use
34462         REPORT_BUGS_TO for where to report bugs.
34463         * INSTALL: Regenerated.
34464         * manual/libc.texinfo: Include pkgvers.texi.
34465         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34466         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34467         (print_version): Use PKGVERSION.
34468         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34469         (print_version): Use PKGVERSION.
34470         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34471         (print_version): Use PKGVERSION.
34472         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34473         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34474         macro.
34475         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34476         (print_version): Use PKGVERSION.
34477         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34478         (print_version): Use PKGVERSION.
34479         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34480         and PKGVERSION.
34482         * timezone/checktab.awk: Update from tzcode 2012i.
34483         * timezone/ialloc.c: Likewise.
34484         * timezone/private.h: Likewise.
34485         * timezone/scheck.c: Likewise.
34486         * timezone/tzfile.h: Likewise.
34487         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34488         (TZVERSION): Hardcode tzcode version number.
34489         * timezone/zdump.c: Update from tzcode 2012i.
34490         * timezone/zic.c: Likewise.
34491         * timezone/version.h: New file.
34492         * timezone/README: Describe version.h.  Update upstream location.
34494         [BZ #14824]
34495         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34496         (mktemp): Enable declaration.
34497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34501         Likewise.
34502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34503         Likewise.
34504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34505         Likewise.
34506         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34507         Likewise.
34508         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34509         Likewise.
34510         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34511         Likewise.
34513         [BZ #14821]
34514         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34515         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34516         for copies of such integer values.
34517         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34518         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34520 2012-11-09  Andreas Jaeger  <aj@suse.de>
34522         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34523         definitions and declarations that are provided by
34524         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34526 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34528         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34529         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34530         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34531         definition.
34533 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34535         * elf/elf.h: Update comment before AArch64 relocations.
34537 2012-11-07  David S. Miller  <davem@davemloft.net>
34539         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34540         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34541         (__start_context): Declare.
34542         (__makecontext_ret): Delete.
34543         (__makecontext): Hook up __start_context instead of
34544         __makecontext_ret.
34545         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34546         (sysdep_routines): Add __start_context when in stdlib.
34548 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34550         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34551         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34552         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34553         hardcoded "nm".
34554         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34555         (READELF): New variable.  Use it instead of hardcoded "readelf".
34557 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34559         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34560         * sysdeps/x86/Makefile: Here.
34561         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34562         * sysdeps/x86/tst-xmmymm.sh: This.
34564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34566         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34567         expectations.
34568         [UNIX98] (pthread_barrier_t): Do not expect.
34569         [UNIX98] (pthread_barrierattr_t): Likewise.
34570         [UNIX98] (pthread_spinlock_t): Likewise.
34571         [UNIX98] (pthread_barrier_destroy): Likewise.
34572         [UNIX98] (pthread_barrier_init): Likewise.
34573         [UNIX98] (pthread_barrier_wait): Likewise.
34574         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34575         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34576         [UNIX98] (pthread_barrierattr_init): Likewise.
34577         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34578         [UNIX98] (pthread_getcpuclockid): Likewise.
34579         [UNIX98] (pthread_mutex_timedlock): Likewise.
34580         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34581         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34582         [UNIX98] (pthread_sigmask): Likewise.
34583         [UNIX98] (pthread_spin_destroy): Likewise.
34584         [UNIX98] (pthread_spin_init): Likewise.
34585         [UNIX98] (pthread_spin_lock): Likewise.
34586         [UNIX98] (pthread_spin_trylock): Likewise.
34587         [UNIX98] (pthread_spin_unlock): Likewise.
34588         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34589         Do not expect.
34590         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34591         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34592         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34593         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34594         [XPG3 || XPG4] (pthread_key_t): Likewise.
34595         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34596         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34597         [XPG3 || XPG4] (pthread_once_t): Likewise.
34598         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34599         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34600         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34601         [XPG3 || XPG4] (pthread_t): Likewise.
34603         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34604         not expect.
34605         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34607         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34608         Change function return type to int.
34610         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34611         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34612         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34613         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34614         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34615         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34616         [!POSIX] (posix_madvise): Likewise.
34617         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34618         && !UNIX98].
34619         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34620         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34621         (mode_t): Likewise.
34622         (posix_mem_offset): Likewise.
34623         (posix_typed_mem_get_info): Likewise.
34624         (posix_typed_mem_open): Likewise.
34626         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34627         Change condition to [XOPEN2K8].
34629         * conform/conformtest.pl: Preprocess allow-header data with -x c
34630         instead of from stdin.
34631         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34632         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34633         [C99-based standards] (cerfc): Likewise.
34634         [C99-based standards] (cexp2): Likewise.
34635         [C99-based standards] (cexpm1): Likewise.
34636         [C99-based standards] (clog10): Likewise.
34637         [C99-based standards] (clog1p): Likewise.
34638         [C99-based standards] (clog2): Likewise.
34639         [C99-based standards] (clgamma): Likewise.
34640         [C99-based standards] (ctgamma): Likewise.
34641         [C99-based standards] (cerff): Likewise.
34642         [C99-based standards] (cerfcf): Likewise.
34643         [C99-based standards] (cexp2f): Likewise.
34644         [C99-based standards] (cexpm1f): Likewise.
34645         [C99-based standards] (clog10f): Likewise.
34646         [C99-based standards] (clog1pf): Likewise.
34647         [C99-based standards] (clog2f): Likewise.
34648         [C99-based standards] (clgammaf): Likewise.
34649         [C99-based standards] (ctgammaf): Likewise.
34650         [C99-based standards] (cerfl): Likewise.
34651         [C99-based standards] (cerfcl): Likewise.
34652         [C99-based standards] (cexp2l): Likewise.
34653         [C99-based standards] (cexpm1l): Likewise.
34654         [C99-based standards] (clog10l): Likewise.
34655         [C99-based standards] (clog1pl): Likewise.
34656         [C99-based standards] (clog2l): Likewise.
34657         [C99-based standards] (clgammal): Likewise.
34658         [C99-based standards] (ctgammal): Likewise.
34659         * conform/data/inttypes.h-data [C99-based standards]: Include
34660         stdint.h-data.  Remove all expectations for stdint.h contents.
34661         [C99-based standards] (PRI*): Do not allow.
34662         [C99-based standards] (SCN*): Likewise.
34663         [C99-based standards] (*_t): Likewise.
34664         [C99-based-standards] (PRId8): Expect macro.
34665         [C99-based-standards] (PRIi8): Likewise.
34666         [C99-based-standards] (PRIo8): Likewise.
34667         [C99-based-standards] (PRIu8): Likewise.
34668         [C99-based-standards] (PRIx8): Likewise.
34669         [C99-based-standards] (PRIX8): Likewise.
34670         [C99-based-standards] (SCNd8): Likewise.
34671         [C99-based-standards] (SCNi8): Likewise.
34672         [C99-based-standards] (SCNo8): Likewise.
34673         [C99-based-standards] (SCNu8): Likewise.
34674         [C99-based-standards] (SCNx8): Likewise.
34675         [C99-based-standards] (PRIdLEAST8): Likewise.
34676         [C99-based-standards] (PRIiLEAST8): Likewise.
34677         [C99-based-standards] (PRIoLEAST8): Likewise.
34678         [C99-based-standards] (PRIuLEAST8): Likewise.
34679         [C99-based-standards] (PRIxLEAST8): Likewise.
34680         [C99-based-standards] (PRIXLEAST8): Likewise.
34681         [C99-based-standards] (SCNdLEAST8): Likewise.
34682         [C99-based-standards] (SCNiLEAST8): Likewise.
34683         [C99-based-standards] (SCNoLEAST8): Likewise.
34684         [C99-based-standards] (SCNuLEAST8): Likewise.
34685         [C99-based-standards] (SCNxLEAST8): Likewise.
34686         [C99-based-standards] (PRIdFAST8): Likewise.
34687         [C99-based-standards] (PRIiFAST8): Likewise.
34688         [C99-based-standards] (PRIoFAST8): Likewise.
34689         [C99-based-standards] (PRIuFAST8): Likewise.
34690         [C99-based-standards] (PRIxFAST8): Likewise.
34691         [C99-based-standards] (PRIXFAST8): Likewise.
34692         [C99-based-standards] (SCNdFAST8): Likewise.
34693         [C99-based-standards] (SCNiFAST8): Likewise.
34694         [C99-based-standards] (SCNoFAST8): Likewise.
34695         [C99-based-standards] (SCNuFAST8): Likewise.
34696         [C99-based-standards] (SCNxFAST8): Likewise.
34697         [C99-based-standards] (PRId16): Likewise.
34698         [C99-based-standards] (PRIi16): Likewise.
34699         [C99-based-standards] (PRIo16): Likewise.
34700         [C99-based-standards] (PRIu16): Likewise.
34701         [C99-based-standards] (PRIx16): Likewise.
34702         [C99-based-standards] (PRIX16): Likewise.
34703         [C99-based-standards] (SCNd16): Likewise.
34704         [C99-based-standards] (SCNi16): Likewise.
34705         [C99-based-standards] (SCNo16): Likewise.
34706         [C99-based-standards] (SCNu16): Likewise.
34707         [C99-based-standards] (SCNx16): Likewise.
34708         [C99-based-standards] (PRIdLEAST16): Likewise.
34709         [C99-based-standards] (PRIiLEAST16): Likewise.
34710         [C99-based-standards] (PRIoLEAST16): Likewise.
34711         [C99-based-standards] (PRIuLEAST16): Likewise.
34712         [C99-based-standards] (PRIxLEAST16): Likewise.
34713         [C99-based-standards] (PRIXLEAST16): Likewise.
34714         [C99-based-standards] (SCNdLEAST16): Likewise.
34715         [C99-based-standards] (SCNiLEAST16): Likewise.
34716         [C99-based-standards] (SCNoLEAST16): Likewise.
34717         [C99-based-standards] (SCNuLEAST16): Likewise.
34718         [C99-based-standards] (SCNxLEAST16): Likewise.
34719         [C99-based-standards] (PRIdFAST16): Likewise.
34720         [C99-based-standards] (PRIiFAST16): Likewise.
34721         [C99-based-standards] (PRIoFAST16): Likewise.
34722         [C99-based-standards] (PRIuFAST16): Likewise.
34723         [C99-based-standards] (PRIxFAST16): Likewise.
34724         [C99-based-standards] (PRIXFAST16): Likewise.
34725         [C99-based-standards] (SCNdFAST16): Likewise.
34726         [C99-based-standards] (SCNiFAST16): Likewise.
34727         [C99-based-standards] (SCNoFAST16): Likewise.
34728         [C99-based-standards] (SCNuFAST16): Likewise.
34729         [C99-based-standards] (SCNxFAST16): Likewise.
34730         [C99-based-standards] (PRId32): Likewise.
34731         [C99-based-standards] (PRIi32): Likewise.
34732         [C99-based-standards] (PRIo32): Likewise.
34733         [C99-based-standards] (PRIu32): Likewise.
34734         [C99-based-standards] (PRIx32): Likewise.
34735         [C99-based-standards] (PRIX32): Likewise.
34736         [C99-based-standards] (SCNd32): Likewise.
34737         [C99-based-standards] (SCNi32): Likewise.
34738         [C99-based-standards] (SCNo32): Likewise.
34739         [C99-based-standards] (SCNu32): Likewise.
34740         [C99-based-standards] (SCNx32): Likewise.
34741         [C99-based-standards] (PRIdLEAST32): Likewise.
34742         [C99-based-standards] (PRIiLEAST32): Likewise.
34743         [C99-based-standards] (PRIoLEAST32): Likewise.
34744         [C99-based-standards] (PRIuLEAST32): Likewise.
34745         [C99-based-standards] (PRIxLEAST32): Likewise.
34746         [C99-based-standards] (PRIXLEAST32): Likewise.
34747         [C99-based-standards] (SCNdLEAST32): Likewise.
34748         [C99-based-standards] (SCNiLEAST32): Likewise.
34749         [C99-based-standards] (SCNoLEAST32): Likewise.
34750         [C99-based-standards] (SCNuLEAST32): Likewise.
34751         [C99-based-standards] (SCNxLEAST32): Likewise.
34752         [C99-based-standards] (PRIdFAST32): Likewise.
34753         [C99-based-standards] (PRIiFAST32): Likewise.
34754         [C99-based-standards] (PRIoFAST32): Likewise.
34755         [C99-based-standards] (PRIuFAST32): Likewise.
34756         [C99-based-standards] (PRIxFAST32): Likewise.
34757         [C99-based-standards] (PRIXFAST32): Likewise.
34758         [C99-based-standards] (SCNdFAST32): Likewise.
34759         [C99-based-standards] (SCNiFAST32): Likewise.
34760         [C99-based-standards] (SCNoFAST32): Likewise.
34761         [C99-based-standards] (SCNuFAST32): Likewise.
34762         [C99-based-standards] (SCNxFAST32): Likewise.
34763         [C99-based-standards] (PRId64): Likewise.
34764         [C99-based-standards] (PRIi64): Likewise.
34765         [C99-based-standards] (PRIo64): Likewise.
34766         [C99-based-standards] (PRIu64): Likewise.
34767         [C99-based-standards] (PRIx64): Likewise.
34768         [C99-based-standards] (PRIX64): Likewise.
34769         [C99-based-standards] (SCNd64): Likewise.
34770         [C99-based-standards] (SCNi64): Likewise.
34771         [C99-based-standards] (SCNo64): Likewise.
34772         [C99-based-standards] (SCNu64): Likewise.
34773         [C99-based-standards] (SCNx64): Likewise.
34774         [C99-based-standards] (PRIdLEAST64): Likewise.
34775         [C99-based-standards] (PRIiLEAST64): Likewise.
34776         [C99-based-standards] (PRIoLEAST64): Likewise.
34777         [C99-based-standards] (PRIuLEAST64): Likewise.
34778         [C99-based-standards] (PRIxLEAST64): Likewise.
34779         [C99-based-standards] (PRIXLEAST64): Likewise.
34780         [C99-based-standards] (SCNdLEAST64): Likewise.
34781         [C99-based-standards] (SCNiLEAST64): Likewise.
34782         [C99-based-standards] (SCNoLEAST64): Likewise.
34783         [C99-based-standards] (SCNuLEAST64): Likewise.
34784         [C99-based-standards] (SCNxLEAST64): Likewise.
34785         [C99-based-standards] (PRIdFAST64): Likewise.
34786         [C99-based-standards] (PRIiFAST64): Likewise.
34787         [C99-based-standards] (PRIoFAST64): Likewise.
34788         [C99-based-standards] (PRIuFAST64): Likewise.
34789         [C99-based-standards] (PRIxFAST64): Likewise.
34790         [C99-based-standards] (PRIXFAST64): Likewise.
34791         [C99-based-standards] (SCNdFAST64): Likewise.
34792         [C99-based-standards] (SCNiFAST64): Likewise.
34793         [C99-based-standards] (SCNoFAST64): Likewise.
34794         [C99-based-standards] (SCNuFAST64): Likewise.
34795         [C99-based-standards] (SCNxFAST64): Likewise.
34796         [C99-based-standards] (PRIdMAX): Likewise.
34797         [C99-based-standards] (PRIiMAX): Likewise.
34798         [C99-based-standards] (PRIoMAX): Likewise.
34799         [C99-based-standards] (PRIuMAX): Likewise.
34800         [C99-based-standards] (PRIxMAX): Likewise.
34801         [C99-based-standards] (PRIXMAX): Likewise.
34802         [C99-based-standards] (SCNdMAX): Likewise.
34803         [C99-based-standards] (SCNiMAX): Likewise.
34804         [C99-based-standards] (SCNoMAX): Likewise.
34805         [C99-based-standards] (SCNuMAX): Likewise.
34806         [C99-based-standards] (SCNxMAX): Likewise.
34807         [C99-based-standards] (PRIdPTR): Likewise.
34808         [C99-based-standards] (PRIiPTR): Likewise.
34809         [C99-based-standards] (PRIoPTR): Likewise.
34810         [C99-based-standards] (PRIuPTR): Likewise.
34811         [C99-based-standards] (PRIxPTR): Likewise.
34812         [C99-based-standards] (PRIXPTR): Likewise.
34813         [C99-based-standards] (SCNdPTR): Likewise.
34814         [C99-based-standards] (SCNiPTR): Likewise.
34815         [C99-based-standards] (SCNoPTR): Likewise.
34816         [C99-based-standards] (SCNuPTR): Likewise.
34817         [C99-based-standards] (SCNxPTR): Likewise.
34818         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34819         allow.
34820         * conform/data/stdint.h-data: Update comments to clarify
34821         requirements.
34822         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34823         type.
34824         [C99-based standards] (INT8_MAX): Likewise.
34825         [C99-based standards] (INT16_MIN): Likewise.
34826         [C99-based standards] (INT16_MAX): Likewise.
34827         [C99-based standards] (INT32_MIN): Likewise.
34828         [C99-based standards] (INT32_MAX): Likewise.
34829         [C99-based standards] (INT64_MIN): Likewise.
34830         [C99-based standards] (INT64_MAX): Likewise.
34831         [C99-based standards] (UINT8_MAX): Likewise.
34832         [C99-based standards] (UINT16_MAX): Likewise.
34833         [C99-based standards] (UINT32_MAX): Likewise.
34834         [C99-based standards] (UINT64_MAX): Likewise.
34835         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34836         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34837         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34838         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34839         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34840         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34841         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34842         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34843         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34844         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34845         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34846         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34847         [C99-based standards] (INT_FAST8_MIN): Likewise.
34848         [C99-based standards] (INT_FAST8_MAX): Likewise.
34849         [C99-based standards] (INT_FAST16_MIN): Likewise.
34850         [C99-based standards] (INT_FAST16_MAX): Likewise.
34851         [C99-based standards] (INT_FAST32_MIN): Likewise.
34852         [C99-based standards] (INT_FAST32_MAX): Likewise.
34853         [C99-based standards] (INT_FAST64_MIN): Likewise.
34854         [C99-based standards] (INT_FAST64_MAX): Likewise.
34855         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34856         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34857         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34858         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34859         [C99-based standards] (INTPTR_MIN): Likewise.
34860         [C99-based standards] (INTPTR_MAX): Likewise.
34861         [C99-based standards] (UINTPTR_MAX): Likewise.
34862         [C99-based standards] (INTMAX_MIN): Likewise.
34863         [C99-based standards] (INTMAX_MAX): Likewise.
34864         [C99-based standards] (UINTMAX_MAX): Likewise.
34865         [C99-based standards] (PTRDIFF_MIN): Likewise.
34866         [C99-based standards] (PTRDIFF_MAX): Likewise.
34867         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34868         [C99-based standards] (SIZE_MAX): Likewise.
34869         [C99-based standards] (WCHAR_MAX): Likewise.
34870         [C99-based standards] (WINT_MAX): Likewise.
34871         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34872         constraint on value.
34873         [C99-based standards] (WCHAR_MIN): Likewise.
34874         [C99-based standards] (WINT_MIN): Likewise.
34875         [C99-based standards] (*_t): Allow.
34876         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34877         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34878         Include math.h-data and complex.h-data.  Remove all expectations
34879         of math.h and complex.h contents.
34880         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34881         at end of line.
34882         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34883         (struct tm): Expect tag.
34884         [C99-based-standards] (wcstof): Expect function.
34885         [C99-based-standards] (wcstold): Likewise.
34886         [C99-based-standards] (wcstoll): Likewise.
34887         [C99-based-standards] (wcstoull): Likewise.
34888         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34889         macro-int-constant.  Specify type.
34890         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34891         constraint on value.
34892         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34893         Specify type.
34894         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34895         Specify value.
34896         [ISO C standards]: Do not allow headers.
34897         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34898         wcs[abcdefghijklmnopqrstuvwxyz]*.
34899         [ISO C standards] (*_t): Do not allow.
34900         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34901         Expect function.
34902         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34903         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34904         Specify type.
34905         [ISO C standards]: Do not allow headers.
34906         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34907         is[abcdefghijklmnopqrstuvwxyz]*.
34908         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34909         to[abcdefghijklmnopqrstuvwxyz]*.
34910         [ISO C standards] (*_t): Do not allow.
34911         * conform/data/stdalign.h-data: New file.
34912         * conform/data/stdbool.h-data: Likewise.
34913         * conform/data/stdnoreturn.h-data: Likewise.
34915 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34917         [BZ #14815]
34918         * manual/filesys.texi (Directory Entries): Typo fix.
34919         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34921 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34923         * elf/elf.h (EM_AARCH64): New macro.
34924         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34925         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34926         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34927         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34928         (R_AARCH64_TLSDESC): Likewise.
34929         (NT_ARM_TLS): Likewise.
34930         (NT_ARM_HW_BREAK): Likewise.
34931         (NT_ARM_HW_WATCH): Likewise.
34933 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34935         [BZ #14811]
34936         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34937         (__ieee754_powl): Saturate nonzero exponents with absolute value
34938         below 0x1p-79 to +/- 0x1p-79.
34939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34940         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34941         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34942         nonzero exponents with absolute value below 0x1p-32 to +/-
34943         0x1p-32.
34944         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34945         (__ieee754_powl): Saturate nonzero exponents with absolute value
34946         below 0x1p-79 to +/- 0x1p-79.
34947         * math/libm-test.inc (pow_test): Add more tests.
34949 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34951         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34952         _dl_s390_cap_flags with kernel. Increase string length.
34953         (_dl_s390_platforms): Add z196 and zEC12.
34955 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34957         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34958         Change XOPEN21K to XOPEN2K.
34960 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34962         * string/memmove.c: Use memcpy when possible.
34964 2012-11-06  Andreas Jaeger  <aj@suse.de>
34966         * po/eo.po: Update from translation team.
34968 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34970         [BZ #14793]
34971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34972         exponent and small x and y exponents, scale x or y up.  Increase
34973         by 2 the exponent used in scaling up.
34974         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34976         * math/libm-test.inc (fma_test): Add more tests.
34977         (fma_test_towardzero): Likewise.
34978         (fma_test_downward): Likewise.
34979         (fma_test_upward): Likewise.
34981 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34983         [BZ #14805]
34984         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34985         fenv_t *.
34987         [BZ #14801]
34988         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34989         namespace for names of struct fields.
34990         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34991         fenv_t fields.
34992         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34993         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34995 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34997         [BZ #3665]
34998         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35000 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35002         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35003         PTR_DEMANGLE.
35005         [BZ #5246]
35006         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35007         PTR_DEMANGLE.
35009 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35011         [BZ #14797]
35012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35013         definitely overflow as x * y not x * y + z.
35014         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35015         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35016         * math/libm-test.inc (fma_test): Add more tests.
35017         (fma_test_towardzero): Likewise.
35018         (fma_test_downward): Likewise.
35019         (fma_test_upward): Likewise.
35021 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35023         [BZ #157]
35025         * include/stub-tag.h: Remove file.
35026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35027         '#include' of it.
35028         * manual/maint.texi (Porting): Don't reference it.
35029         * Makerules ($(objpfx)stubs): Likewise.
35030         * dirent/closedir.c: Don't include <stub-tag.h>.
35031         * dirent/dirfd.c: Likewise.
35032         * dirent/fdopendir.c: Likewise.
35033         * dirent/getdents.c: Likewise.
35034         * dirent/getdents64.c: Likewise.
35035         * dirent/opendir.c: Likewise.
35036         * dirent/readdir.c: Likewise.
35037         * dirent/readdir64.c: Likewise.
35038         * dirent/readdir64_r.c: Likewise.
35039         * dirent/readdir_r.c: Likewise.
35040         * dirent/rewinddir.c: Likewise.
35041         * dirent/seekdir.c: Likewise.
35042         * dirent/telldir.c: Likewise.
35043         * gmon/profil.c: Likewise.
35044         * grp/setgroups.c: Likewise.
35045         * inet/if_index.c: Likewise.
35046         * io/access.c: Likewise.
35047         * io/chdir.c: Likewise.
35048         * io/chmod.c: Likewise.
35049         * io/chown.c: Likewise.
35050         * io/close.c: Likewise.
35051         * io/dup.c: Likewise.
35052         * io/dup2.c: Likewise.
35053         * io/dup3.c: Likewise.
35054         * io/euidaccess.c: Likewise.
35055         * io/faccessat.c: Likewise.
35056         * io/fchdir.c: Likewise.
35057         * io/fchmod.c: Likewise.
35058         * io/fchmodat.c: Likewise.
35059         * io/fchown.c: Likewise.
35060         * io/fchownat.c: Likewise.
35061         * io/fcntl.c: Likewise.
35062         * io/flock.c: Likewise.
35063         * io/fstatfs.c: Likewise.
35064         * io/fstatfs64.c: Likewise.
35065         * io/fstatvfs.c: Likewise.
35066         * io/fstatvfs64.c: Likewise.
35067         * io/futimens.c: Likewise.
35068         * io/fxstat.c: Likewise.
35069         * io/fxstat64.c: Likewise.
35070         * io/fxstatat.c: Likewise.
35071         * io/fxstatat64.c: Likewise.
35072         * io/getcwd.c: Likewise.
35073         * io/isatty.c: Likewise.
35074         * io/lchmod.c: Likewise.
35075         * io/lchown.c: Likewise.
35076         * io/link.c: Likewise.
35077         * io/linkat.c: Likewise.
35078         * io/lseek.c: Likewise.
35079         * io/lseek64.c: Likewise.
35080         * io/lxstat64.c: Likewise.
35081         * io/mkdir.c: Likewise.
35082         * io/mkdirat.c: Likewise.
35083         * io/mkfifo.c: Likewise.
35084         * io/mkfifoat.c: Likewise.
35085         * io/open.c: Likewise.
35086         * io/open64.c: Likewise.
35087         * io/openat.c: Likewise.
35088         * io/openat64.c: Likewise.
35089         * io/pipe.c: Likewise.
35090         * io/pipe2.c: Likewise.
35091         * io/poll.c: Likewise.
35092         * io/posix_fadvise.c: Likewise.
35093         * io/posix_fadvise64.c: Likewise.
35094         * io/posix_fallocate.c: Likewise.
35095         * io/posix_fallocate64.c: Likewise.
35096         * io/read.c: Likewise.
35097         * io/readlink.c: Likewise.
35098         * io/readlinkat.c: Likewise.
35099         * io/rmdir.c: Likewise.
35100         * io/sendfile.c: Likewise.
35101         * io/sendfile64.c: Likewise.
35102         * io/statfs.c: Likewise.
35103         * io/statfs64.c: Likewise.
35104         * io/statvfs.c: Likewise.
35105         * io/statvfs64.c: Likewise.
35106         * io/symlink.c: Likewise.
35107         * io/symlinkat.c: Likewise.
35108         * io/ttyname.c: Likewise.
35109         * io/ttyname_r.c: Likewise.
35110         * io/umask.c: Likewise.
35111         * io/unlink.c: Likewise.
35112         * io/unlinkat.c: Likewise.
35113         * io/utime.c: Likewise.
35114         * io/utimensat.c: Likewise.
35115         * io/write.c: Likewise.
35116         * io/xmknod.c: Likewise.
35117         * io/xmknodat.c: Likewise.
35118         * io/xstat.c: Likewise.
35119         * io/xstat64.c: Likewise.
35120         * login/getpt.c: Likewise.
35121         * login/grantpt.c: Likewise.
35122         * login/unlockpt.c: Likewise.
35123         * math/e_acoshl.c: Likewise.
35124         * math/e_acosl.c: Likewise.
35125         * math/e_asinl.c: Likewise.
35126         * math/e_atan2l.c: Likewise.
35127         * math/e_atanhl.c: Likewise.
35128         * math/e_coshl.c: Likewise.
35129         * math/e_expl.c: Likewise.
35130         * math/e_fmodl.c: Likewise.
35131         * math/e_gammal_r.c: Likewise.
35132         * math/e_hypotl.c: Likewise.
35133         * math/e_j0l.c: Likewise.
35134         * math/e_j1l.c: Likewise.
35135         * math/e_jnl.c: Likewise.
35136         * math/e_lgammal_r.c: Likewise.
35137         * math/e_log10l.c: Likewise.
35138         * math/e_log2l.c: Likewise.
35139         * math/e_logl.c: Likewise.
35140         * math/e_powl.c: Likewise.
35141         * math/e_rem_pio2l.c: Likewise.
35142         * math/e_sinhl.c: Likewise.
35143         * math/e_sqrtl.c: Likewise.
35144         * math/fclrexcpt.c: Likewise.
35145         * math/fedisblxcpt.c: Likewise.
35146         * math/feenablxcpt.c: Likewise.
35147         * math/fegetenv.c: Likewise.
35148         * math/fegetexcept.c: Likewise.
35149         * math/fegetround.c: Likewise.
35150         * math/feholdexcpt.c: Likewise.
35151         * math/fesetenv.c: Likewise.
35152         * math/fesetround.c: Likewise.
35153         * math/feupdateenv.c: Likewise.
35154         * math/fgetexcptflg.c: Likewise.
35155         * math/fraiseexcpt.c: Likewise.
35156         * math/fsetexcptflg.c: Likewise.
35157         * math/ftestexcept.c: Likewise.
35158         * math/k_cosl.c: Likewise.
35159         * math/k_rem_pio2l.c: Likewise.
35160         * math/k_sinl.c: Likewise.
35161         * math/k_tanl.c: Likewise.
35162         * math/s_asinhl.c: Likewise.
35163         * math/s_atanl.c: Likewise.
35164         * math/s_cbrtl.c: Likewise.
35165         * math/s_erfl.c: Likewise.
35166         * math/s_expm1l.c: Likewise.
35167         * math/s_log1pl.c: Likewise.
35168         * math/s_tanhl.c: Likewise.
35169         * misc/acct.c: Likewise.
35170         * misc/brk.c: Likewise.
35171         * misc/chflags.c: Likewise.
35172         * misc/chroot.c: Likewise.
35173         * misc/fchflags.c: Likewise.
35174         * misc/fgetxattr.c: Likewise.
35175         * misc/flistxattr.c: Likewise.
35176         * misc/fremovexattr.c: Likewise.
35177         * misc/fsetxattr.c: Likewise.
35178         * misc/fsync.c: Likewise.
35179         * misc/ftruncate.c: Likewise.
35180         * misc/futimes.c: Likewise.
35181         * misc/futimesat.c: Likewise.
35182         * misc/getdomain.c: Likewise.
35183         * misc/getdtsz.c: Likewise.
35184         * misc/gethostid.c: Likewise.
35185         * misc/gethostname.c: Likewise.
35186         * misc/getloadavg.c: Likewise.
35187         * misc/getpagesize.c: Likewise.
35188         * misc/getsysstats.c: Likewise.
35189         * misc/getxattr.c: Likewise.
35190         * misc/gtty.c: Likewise.
35191         * misc/ioctl.c: Likewise.
35192         * misc/lgetxattr.c: Likewise.
35193         * misc/listxattr.c: Likewise.
35194         * misc/llistxattr.c: Likewise.
35195         * misc/lremovexattr.c: Likewise.
35196         * misc/lsetxattr.c: Likewise.
35197         * misc/lutimes.c: Likewise.
35198         * misc/madvise.c: Likewise.
35199         * misc/mincore.c: Likewise.
35200         * misc/mlock.c: Likewise.
35201         * misc/mlockall.c: Likewise.
35202         * misc/mmap.c: Likewise.
35203         * misc/mprotect.c: Likewise.
35204         * misc/msync.c: Likewise.
35205         * misc/munlock.c: Likewise.
35206         * misc/munlockall.c: Likewise.
35207         * misc/munmap.c: Likewise.
35208         * misc/preadv.c: Likewise.
35209         * misc/preadv64.c: Likewise.
35210         * misc/ptrace.c: Likewise.
35211         * misc/pwritev.c: Likewise.
35212         * misc/pwritev64.c: Likewise.
35213         * misc/readv.c: Likewise.
35214         * misc/reboot.c: Likewise.
35215         * misc/remap_file_pages.c: Likewise.
35216         * misc/removexattr.c: Likewise.
35217         * misc/revoke.c: Likewise.
35218         * misc/select.c: Likewise.
35219         * misc/setdomain.c: Likewise.
35220         * misc/setegid.c: Likewise.
35221         * misc/seteuid.c: Likewise.
35222         * misc/sethostid.c: Likewise.
35223         * misc/sethostname.c: Likewise.
35224         * misc/setregid.c: Likewise.
35225         * misc/setreuid.c: Likewise.
35226         * misc/setxattr.c: Likewise.
35227         * misc/sstk.c: Likewise.
35228         * misc/stty.c: Likewise.
35229         * misc/swapoff.c: Likewise.
35230         * misc/swapon.c: Likewise.
35231         * misc/sync.c: Likewise.
35232         * misc/syncfs.c: Likewise.
35233         * misc/syscall.c: Likewise.
35234         * misc/truncate.c: Likewise.
35235         * misc/ualarm.c: Likewise.
35236         * misc/usleep.c: Likewise.
35237         * misc/ustat.c: Likewise.
35238         * misc/utimes.c: Likewise.
35239         * misc/vhangup.c: Likewise.
35240         * misc/writev.c: Likewise.
35241         * posix/_exit.c: Likewise.
35242         * posix/alarm.c: Likewise.
35243         * posix/execve.c: Likewise.
35244         * posix/fexecve.c: Likewise.
35245         * posix/fork.c: Likewise.
35246         * posix/fpathconf.c: Likewise.
35247         * posix/getaddrinfo.c: Likewise.
35248         * posix/getegid.c: Likewise.
35249         * posix/geteuid.c: Likewise.
35250         * posix/getgid.c: Likewise.
35251         * posix/getgroups.c: Likewise.
35252         * posix/getlogin.c: Likewise.
35253         * posix/getlogin_r.c: Likewise.
35254         * posix/getpgid.c: Likewise.
35255         * posix/getpid.c: Likewise.
35256         * posix/getppid.c: Likewise.
35257         * posix/getresgid.c: Likewise.
35258         * posix/getresuid.c: Likewise.
35259         * posix/getsid.c: Likewise.
35260         * posix/getuid.c: Likewise.
35261         * posix/glob64.c: Likewise.
35262         * posix/nanosleep.c: Likewise.
35263         * posix/pathconf.c: Likewise.
35264         * posix/pause.c: Likewise.
35265         * posix/posix_madvise.c: Likewise.
35266         * posix/pread.c: Likewise.
35267         * posix/pread64.c: Likewise.
35268         * posix/pwrite.c: Likewise.
35269         * posix/pwrite64.c: Likewise.
35270         * posix/sched_getaffinity.c: Likewise.
35271         * posix/sched_getp.c: Likewise.
35272         * posix/sched_gets.c: Likewise.
35273         * posix/sched_primax.c: Likewise.
35274         * posix/sched_primin.c: Likewise.
35275         * posix/sched_rr_gi.c: Likewise.
35276         * posix/sched_setaffinity.c: Likewise.
35277         * posix/sched_setp.c: Likewise.
35278         * posix/sched_sets.c: Likewise.
35279         * posix/sched_yield.c: Likewise.
35280         * posix/setgid.c: Likewise.
35281         * posix/setlogin.c: Likewise.
35282         * posix/setpgid.c: Likewise.
35283         * posix/setresgid.c: Likewise.
35284         * posix/setresuid.c: Likewise.
35285         * posix/setsid.c: Likewise.
35286         * posix/setuid.c: Likewise.
35287         * posix/sleep.c: Likewise.
35288         * posix/spawni.c: Likewise.
35289         * posix/sysconf.c: Likewise.
35290         * posix/times.c: Likewise.
35291         * posix/wait.c: Likewise.
35292         * posix/wait3.c: Likewise.
35293         * posix/wait4.c: Likewise.
35294         * posix/waitpid.c: Likewise.
35295         * resolv/gai_sigqueue.c: Likewise.
35296         * resource/getpriority.c: Likewise.
35297         * resource/getrlimit.c: Likewise.
35298         * resource/getrusage.c: Likewise.
35299         * resource/nice.c: Likewise.
35300         * resource/setpriority.c: Likewise.
35301         * resource/setrlimit.c: Likewise.
35302         * resource/ulimit.c: Likewise.
35303         * rt/aio_cancel.c: Likewise.
35304         * rt/aio_fsync.c: Likewise.
35305         * rt/aio_read.c: Likewise.
35306         * rt/aio_sigqueue.c: Likewise.
35307         * rt/aio_suspend.c: Likewise.
35308         * rt/aio_write.c: Likewise.
35309         * rt/clock_getres.c: Likewise.
35310         * rt/clock_gettime.c: Likewise.
35311         * rt/clock_nanosleep.c: Likewise.
35312         * rt/clock_settime.c: Likewise.
35313         * rt/lio_listio.c: Likewise.
35314         * rt/mq_close.c: Likewise.
35315         * rt/mq_getattr.c: Likewise.
35316         * rt/mq_notify.c: Likewise.
35317         * rt/mq_open.c: Likewise.
35318         * rt/mq_receive.c: Likewise.
35319         * rt/mq_send.c: Likewise.
35320         * rt/mq_setattr.c: Likewise.
35321         * rt/mq_timedreceive.c: Likewise.
35322         * rt/mq_timedsend.c: Likewise.
35323         * rt/mq_unlink.c: Likewise.
35324         * rt/shm_open.c: Likewise.
35325         * rt/shm_unlink.c: Likewise.
35326         * rt/timer_create.c: Likewise.
35327         * rt/timer_delete.c: Likewise.
35328         * rt/timer_getoverr.c: Likewise.
35329         * rt/timer_gettime.c: Likewise.
35330         * rt/timer_settime.c: Likewise.
35331         * setjmp/__longjmp.c: Likewise.
35332         * setjmp/setjmp.c: Likewise.
35333         * signal/kill.c: Likewise.
35334         * signal/killpg.c: Likewise.
35335         * signal/raise.c: Likewise.
35336         * signal/sigaction.c: Likewise.
35337         * signal/sigaltstack.c: Likewise.
35338         * signal/sigblock.c: Likewise.
35339         * signal/sigignore.c: Likewise.
35340         * signal/sigintr.c: Likewise.
35341         * signal/signal.c: Likewise.
35342         * signal/sigpause.c: Likewise.
35343         * signal/sigpending.c: Likewise.
35344         * signal/sigqueue.c: Likewise.
35345         * signal/sigreturn.c: Likewise.
35346         * signal/sigset.c: Likewise.
35347         * signal/sigsetmask.c: Likewise.
35348         * signal/sigstack.c: Likewise.
35349         * signal/sigsuspend.c: Likewise.
35350         * signal/sigtimedwait.c: Likewise.
35351         * signal/sigvec.c: Likewise.
35352         * signal/sigwait.c: Likewise.
35353         * signal/sigwaitinfo.c: Likewise.
35354         * signal/sysv_signal.c: Likewise.
35355         * socket/accept.c: Likewise.
35356         * socket/accept4.c: Likewise.
35357         * socket/bind.c: Likewise.
35358         * socket/connect.c: Likewise.
35359         * socket/getpeername.c: Likewise.
35360         * socket/getsockname.c: Likewise.
35361         * socket/getsockopt.c: Likewise.
35362         * socket/isfdtype.c: Likewise.
35363         * socket/listen.c: Likewise.
35364         * socket/recv.c: Likewise.
35365         * socket/recvfrom.c: Likewise.
35366         * socket/recvmsg.c: Likewise.
35367         * socket/send.c: Likewise.
35368         * socket/sendmsg.c: Likewise.
35369         * socket/sendto.c: Likewise.
35370         * socket/setsockopt.c: Likewise.
35371         * socket/shutdown.c: Likewise.
35372         * socket/sockatmark.c: Likewise.
35373         * socket/socket.c: Likewise.
35374         * socket/socketpair.c: Likewise.
35375         * stdio-common/ctermid.c: Likewise.
35376         * stdio-common/cuserid.c: Likewise.
35377         * stdio-common/remove.c: Likewise.
35378         * stdio-common/rename.c: Likewise.
35379         * stdio-common/renameat.c: Likewise.
35380         * stdio-common/tempname.c: Likewise.
35381         * stdlib/getcontext.c: Likewise.
35382         * stdlib/makecontext.c: Likewise.
35383         * stdlib/setcontext.c: Likewise.
35384         * stdlib/swapcontext.c: Likewise.
35385         * stdlib/system.c: Likewise.
35386         * streams/fattach.c: Likewise.
35387         * streams/fdetach.c: Likewise.
35388         * streams/getmsg.c: Likewise.
35389         * streams/getpmsg.c: Likewise.
35390         * streams/putmsg.c: Likewise.
35391         * streams/putpmsg.c: Likewise.
35392         * sysdeps/unix/bsd/getpt.c: Likewise.
35393         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35394         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35395         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35397         Likewise.
35398         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35399         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35400         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35401         * sysvipc/msgctl.c: Likewise.
35402         * sysvipc/msgget.c: Likewise.
35403         * sysvipc/msgrcv.c: Likewise.
35404         * sysvipc/msgsnd.c: Likewise.
35405         * sysvipc/semctl.c: Likewise.
35406         * sysvipc/semget.c: Likewise.
35407         * sysvipc/semop.c: Likewise.
35408         * sysvipc/semtimedop.c: Likewise.
35409         * sysvipc/shmat.c: Likewise.
35410         * sysvipc/shmctl.c: Likewise.
35411         * sysvipc/shmdt.c: Likewise.
35412         * sysvipc/shmget.c: Likewise.
35413         * termios/tcdrain.c: Likewise.
35414         * termios/tcflow.c: Likewise.
35415         * termios/tcflush.c: Likewise.
35416         * termios/tcgetattr.c: Likewise.
35417         * termios/tcgetpgrp.c: Likewise.
35418         * termios/tcsendbrk.c: Likewise.
35419         * termios/tcsetattr.c: Likewise.
35420         * termios/tcsetpgrp.c: Likewise.
35421         * time/adjtime.c: Likewise.
35422         * time/clock.c: Likewise.
35423         * time/getitimer.c: Likewise.
35424         * time/gettimeofday.c: Likewise.
35425         * time/setitimer.c: Likewise.
35426         * time/settimeofday.c: Likewise.
35427         * time/stime.c: Likewise.
35428         * time/time.c: Likewise.
35430 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35432         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35433         /usr/old/bin.
35435         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35436         instead of spaces.
35437         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35439 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35441         [BZ #14796]
35442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35443         FE_TONEAREST before applying Dekker multiplication and Knuth
35444         addition.  Clear inexact exceptions and check for exact zero
35445         results afterwards.
35446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35449         * math/libm-test.inc (fma_test): Add more tests.
35450         (fma_test_towardzero): Likewise.
35451         (fma_test_downward): Likewise.
35452         (fma_test_upward): Likewise.
35453         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35454         function.
35455         (libc_fesetround): New macro.
35456         (libc_fesetroundf): Likewise.
35457         (libc_fesetroundl): Likewise.
35458         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35459         function.
35460         (libc_fesetround_387): Likewise.
35461         (libc_fesetroundf): New macro.
35462         (libc_fesetround): Likewise.
35463         (libc_fesetroundl): Likewise.
35464         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35465         function.
35466         (libc_fesetroundf): New macro.
35467         (libc_fesetround): Likewise.
35468         (libc_fesetroundl): Likewise.
35469         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35470         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35471         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35472         libm_hidden_ver.
35473         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35474         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35475         libm_hidden_def.
35476         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35477         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35478         libm_hidden_ver.
35479         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35480         libm_hidden_def.
35482         [BZ #3439]
35483         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35484         integer constant usable in #if and use that to give value to enum
35485         constant.
35486         (FE_DIVBYZERO): Likewise.
35487         (FE_UNDERFLOW): Likewise.
35488         (FE_OVERFLOW): Likewise.
35489         (FE_INVALID): Likewise.
35490         (FE_INVALID_SNAN): Likewise.
35491         (FE_INVALID_ISI): Likewise.
35492         (FE_INVALID_IDI): Likewise.
35493         (FE_INVALID_ZDZ): Likewise.
35494         (FE_INVALID_IMZ): Likewise.
35495         (FE_INVALID_COMPARE): Likewise.
35496         (FE_INVALID_SOFTWARE): Likewise.
35497         (FE_INVALID_SQRT): Likewise.
35498         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35499         (FE_TONEAREST): Likewise.
35500         (FE_TOWARDZERO): Likewise.
35501         (FE_UPWARD): Likewise.
35502         (FE_DOWNWARD): Likewise.
35503         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35504         (FE_DIVBYZERO): Likewise.
35505         (FE_OVERFLOW): Likewise.
35506         (FE_UNDERFLOW): Likewise.
35507         (FE_INEXACT): Likewise.
35508         (FE_TONEAREST): Likewise.
35509         (FE_DOWNWARD): Likewise.
35510         (FE_UPWARD): Likewise.
35511         (FE_TOWARDZERO): Likewise.
35512         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35513         (FE_UNDERFLOW): Likewise.
35514         (FE_OVERFLOW): Likewise.
35515         (FE_DIVBYZERO): Likewise.
35516         (FE_INVALID): Likewise.
35517         (FE_TONEAREST): Likewise.
35518         (FE_TOWARDZERO): Likewise.
35519         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35520         (FE_OVERFLOW): Likewise.
35521         (FE_UNDERFLOW): Likewise.
35522         (FE_DIVBYZERO): Likewise.
35523         (FE_INEXACT): Likewise.
35524         (FE_TONEAREST): Likewise.
35525         (FE_TOWARDZERO): Likewise.
35526         (FE_UPWARD): Likewise.
35527         (FE_DOWNWARD): Likewise.
35528         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35529         (FE_DIVBYZERO): Likewise.
35530         (FE_OVERFLOW): Likewise.
35531         (FE_UNDERFLOW): Likewise.
35532         (FE_INEXACT): Likewise.
35533         (FE_TONEAREST): Likewise.
35534         (FE_DOWNWARD): Likewise.
35535         (FE_UPWARD): Likewise.
35536         (FE_TOWARDZERO): Likewise.
35538 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35540         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35542 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35544         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35545         commands.  Quote $PWD.
35546         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35547         -x" by "export".
35548         (remove_newlines): Remove.
35550 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35552         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35553         * stdlib/stdlib.h (atof): Moved to ...
35554         * include/bits/stdlib-float.h: Here.  New file.
35555         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35556         * stdlib/bits/stdlib-float.h: New file.
35557         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35558         -mno-sse -mno-mmx.
35559         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35560         <xmmintrin.h>.
35562 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35564         * conform/conformtest.pl (@headers): Add fenv.h.
35565         * conform/data/fenv.h-data: New file.
35566         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35567         include of <math/fenv.h>.
35569         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35570         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35571         && !UNIX98].  Enables tests for XOPEN2K8.
35572         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35573         POSIX2008]: Likewise.
35575         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35576         (struct rusage): Do not expect type or its members.
35578         [BZ #3439]
35579         * math/math.h (FP_NAN): Define macro to integer constant usable in
35580         #if and use that to give value to enum constant.
35581         (FP_INFINITE): Likewise.
35582         (FP_ZERO): Likewise.
35583         (FP_SUBNORMAL): Likewise.
35584         (FP_NORMAL): Likewise.
35586 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35588         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35589         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35590         arguments.
35592 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35594         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35595         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35596         autoconf-time if not.
35597         * configure.in: Remove AC_PREREQ.
35599 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35601         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35602         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35603         of the internal implementation.
35605 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35607         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35608         except include of <misc/sys/syslog.h>.
35610 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35613         function returns with a NULL context exit with zero.
35615 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35617         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35619 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35621         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35622         (run_program_cmd): This.
35623         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35624         (tst_langinfo): New variable.  Use it.
35626 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35628         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35629         floating point opcodes.
35631 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35633         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35634         variable.
35636         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35638         * sysdeps/mach/hurd/powerpc: Remove directory.
35639         * sysdeps/mach/powerpc: Likewise.
35641 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35643         * scripts/check-local-headers.sh: Ignore c++ headers.
35645 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35647         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35648         __libc_cleanup_region_start argument.
35650 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35652         [BZ #14784]
35653         [BZ #14785]
35654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35655         x * y using scaling, not as x * y + z.
35656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35658         * math/libm-test.inc (fma_test): Add more tests.
35659         (fma_test_towardzero): Likewise.
35660         (fma_test_downward): Likewise.
35661         (fma_test_upward): Likewise.
35663 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35665         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35667 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35669         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35670         New variable.
35672 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35674         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35676 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35679         Fix sort order.
35680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35681         Likewise.
35683 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35686         Fix the order of the list for glibc 2.17.
35687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35688         Likewise.
35690 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35694 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35696         [BZ #14610]
35697         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35698         for low part of x being zero before using __atanl (y).
35699         * math/libm-test.inc (atan2_test): Add another test.
35701         * manual/install.texi (Configuring and compiling): Document
35702         general use of test-wrapper and test-wrapper-env.
35703         * INSTALL: Regenerated.
35705         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35706         (__fma): Do not extract and scale down low bits on after-rounding
35707         systems when result rounded to normal precision would have normal
35708         exponent.
35709         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35710         (__fmal): Do not extract and scale down low bits on after-rounding
35711         systems when result rounded to normal precision would have normal
35712         exponent.
35713         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35714         (__fmal): Do not extract and scale down low bits on after-rounding
35715         systems when result rounded to normal precision would have normal
35716         exponent.
35717         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35718         macro.
35719         (fma_test): Add more tests.
35720         (fma_test_towardzero): Likewise.
35721         (fma_test_downward): Likewise.
35722         (fma_test_upward): Likewise.
35724 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35726         * sysdeps/i386/tininess.h: Renamed to ...
35727         * sysdeps/x86/tininess.h: This.
35728         * sysdeps/x86_64/tininess.h: Removed.
35730 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35732         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35733         input.  Use $(build-program-cmd).
35734         ($(objpfx)tst-array1-static.out): Likewise.
35735         ($(objpfx)tst-array2.out): Likewise.
35736         ($(objpfx)tst-array3.out): Likewise.
35737         ($(objpfx)tst-array4.out): Likewise.
35738         ($(objpfx)tst-array5.out): Likewise.
35739         ($(objpfx)tst-array5-static.out): Likewise.
35741 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35743         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35744         if defined.
35746         * nss/nsswitch.h (nss_interface_function): Provide new
35747         macro for use with NSS functions.
35748         * grp/initgroups.c: Use new macro.
35749         * nss/getXXbyYY.c: Likewise.
35750         * nss/getXXbyYY_r.c: Likewise.
35751         * nss/getXXent.c: Likewise.
35752         * nss/getXXent_r.c: Likewise.
35753         * sysdeps/posix/getaddrinfo.c: Likewise.
35755 2012-10-30  Andreas Jaeger  <aj@suse.de>
35757         * po/ru.po: Update Russion translation from translation project.
35759 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35761         [BZ #14152]
35762         [BZ #14783]
35763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35764         result and shift together with sticky bit instead of replicating
35765         round-to-nearest rounding.
35766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35768         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35769         missing underflow exceptions.
35770         (fma_test_towardzero): Add more tests.
35771         (fma_test_downward): Likewise.
35772         (fma_test_upward): Likewise.
35774         [BZ #14047]
35775         * sysdeps/generic/tininess.h: New file.
35776         * sysdeps/i386/tininess.h: Likewise.
35777         * sysdeps/sh/tininess.h: Likewise.
35778         * sysdeps/x86_64/tininess.h: Likewise.
35779         * stdlib/tst-strtod-underflow.c: Likewise.
35780         * stdlib/tst-tininess.c: Likewise.
35781         * stdlib/strtod_l.c: Include <tininess.h>.
35782         (round_and_return): Do not set errno for exact underflow cases.
35783         Force an underflow exception when setting errno for underflow.
35784         Determine underflow based on rounding to normal precision if
35785         TININESS_AFTER_ROUNDING.
35786         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35787         ERANGE for exact underflow cases.
35788         * stdlib/Makefile (tests): Add tst-tininess and
35789         tst-strtod-underflow.
35790         ($(objpfx)tst-tininess): Use $(link-libm).
35791         ($(objpfx)tst-strtod-underflow): Likewise.
35793 2012-10-30  Andreas Jaeger  <aj@suse.de>
35795         [BZ#14767]
35796         * elf/Makefile (tests): Remove conditional for have-initfini-array
35797         since this is now always required and the variable does not exist
35798         anymore.
35799         (tests-static): Likewise.
35800         (modules-names): Likewise.
35802         * po/eo.po: Add Esperanto translation from translation project.
35804         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35805         merged with constructor/destructor.
35806         (init_array): Likewise.
35807         * elf/tst-array2dep.c (fini_array): Likewise.
35808         (init_array): Likewise.
35810 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35812         * manual/message.texi: Delete @cartouche tags.
35814 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35816         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35817         EOPNOTSUPP.
35818         * sysdeps/mach/hurd/fsync.c: Likewise.
35820         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35821         [_POSIX_REALTIME_SIGNALS]: Change condition to
35822         [_POSIX_REALTIME_SIGNALS > 0].
35824 2012-10-27  Andreas Jaeger  <aj@suse.de>
35826         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35827         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35829         [__WORDSIZE != 64]: Likewise.
35831 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35833         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35834         *  iconvdata/tst-tables.sh: Likewise.
35836 2012-10-25  David S. Miller  <davem@davemloft.net>
35838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35839         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35840         of strtoull.
35842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35843         ifunc-impl-list.c
35844         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35845         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35846         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35847         file.
35849 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35852         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35853         __getdirentries.
35855 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35856             Jim Blandy  <jimb@codesourcery.com>
35858         * scripts/cross-test-ssh.sh: New file.
35859         * manual/install.texi (Configuring and compiling): Document use of
35860         cross-test-ssh.sh.
35861         * INSTALL: Regenerated.
35863 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35865         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35866         EOPNOTSUPP.
35868 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35870         * Makeconfig (run-program-prefix): Fix comment.
35872 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35873             Jim Blandy  <jimb@codesourcery.com>
35875         * Makeconfig (test-wrapper): New variable,
35876         (test-wrapper-env): Likewise.
35877         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35878         (run-built-tests): Define to yes.
35879         (run-program-prefix): Use $(test-wrapper).
35880         (built-program-cmd): Likewise.
35881         * Rules (make-test-out): Use $(test-wrapper-env) and
35882         $(host-built-program-cmd).
35883         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35884         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35885         tst-pathopt.sh.
35886         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35887         $(test-wrapper-env) to tst-rtld-load-self.sh.
35888         ($(objpfx)order2.out): Use $(test-wrapper).
35889         ($(objpfx)tst-initorder.out): Likewise.
35890         ($(objpfx)tst-initorder2.out): Likewise.
35891         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35892         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35893         (test_wrapper_env): New variable.  Use it to run ld.so.
35894         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35895         Use it to run ld.so.
35896         (test_wrapper_env): Likewise.
35897         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35898         $(test-wrapper) to run-iconv-test.sh.
35899         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35900         (ICONV): Use $test_wrapper.
35901         * posix/Makefile ($(objpfx)globtest.out): Pass
35902         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35903         globtest.sh, not $(run-program-prefix).
35904         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35905         (test_wrapper): Likewise.
35906         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35907         set together with run_via_rtld_prefix.
35908         (run_program_prefix): Define in terms of test_wrapper and
35909         run_via_rtld_prefix.
35911 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35913         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35914         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35915         Targets removed.
35917         [BZ #14743]
35918         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35919         Declare __clock_getres, __clock_gettime, __clock_settime,
35920         __clock_nanosleep, and __clock_getcpuclockid.
35921         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35922         Remove librt_hidden_def (clock_gettime).
35923         * sysdeps/unix/clock_gettime.c: Likewise.
35924         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35925         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35926         * rt/clock_getres.c: Define __clock_getres as an alias.
35927         * sysdeps/posix/clock_getres.c: Likewise.
35928         * rt/clock_settime.c: Define __clock_settime as an alias.
35929         * sysdeps/unix/clock_settime.c: Likewise.
35930         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35931         * sysdeps/unix/clock_nanosleep.c: Likewise.
35932         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35933         * rt/clock-compat.c: New file.
35934         * rt/Makefile (librt-routines): Add clock-compat and move
35935         $(clock-routines) to ...
35936         (routines): ... here, new variable.
35937         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35938         Don't add get_clockfreq here.
35939         * rt/Versions (libc: GLIBC_2.17): New version set.
35940         Add clock_* symbols here.
35941         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35943         (GLIBC_2.17): Add clock_* symbols.
35944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35948         Likewise.
35949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35950         Likewise.
35951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35955         * NEWS: Mention the move.
35957         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35958         Use __open, __read, __close rather than their public counterparts.
35959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35960         (__get_clockfreq_via_cpuinfo): Likewise.
35961         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35962         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35964         * config.h.in (HAVE_IFUNC): New #undef.
35965         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35966         was successful.
35967         * configure: Regenerated.
35969 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35971         * configure.in: Move READELF check to start of file.
35972         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35973         libc_cv_asm_gnu_indirect_function in the process.
35974         * configure: Regenerated.
35976 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35978         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35979         send the output to /dev/null.
35980         (libc_cv_cc_with_libunwind): Likewise.
35981         (libc_cv_as_noexecstack): Likewise.
35982         * configure: Regenerate.
35984 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35986         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35988         * posix/globtest.sh (TMPDIR): Do not set.
35989         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35990         (testout): Likewise.
35992 2012-10-24  Andreas Jaeger  <aj@suse.de>
35994         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35995         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35996         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35997         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35998         posix_fadvise64, posix_fallocate64.
36000         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36001         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36002         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36003         Likewise.
36004         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36005         Likewise.
36006         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36009         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36010         <bits/fcntl-linux.h>.
36011         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36014         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36015         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36016         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36017         [__WORDSIZE != 64]: Likewise.
36019 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36021         * Makeconfig (run-built-tests): New variable.
36022         * Rules [$(cross-compiling) = yes]: Change condition to
36023         [$(run-built-tests) = no].
36024         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36025         to [$(run-built-tests) = yes].
36026         * elf/Makefile [$(cross-compiling) = no]: Likewise
36027         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36028         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36029         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36030         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36031         * io/Makefile [$(cross-compiling) = no]: Likewise.
36032         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36033         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36034         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36035         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36036         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36037         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36038         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36039         * string/Makefile [$(cross-compiling) = no]: Likewise.
36041         * posix/Makefile ($(objpfx)globtest.out): Pass
36042         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36043         $(rtld-installed-name).
36044         * posix/globtest.sh (elf_objpfx): Remove variable.
36045         (rtld_installed_name): Likewise.
36046         (library_path): Likewise.
36047         (run_program_prefix): New variable.  Use for running globtest
36048         binary.
36050 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36051             Joseph Myers  <joseph@codesourcery.com>
36053         * Makeconfig (host-built-program-cmd): New variable.
36054         * elf/Makefile (tst-stackguard1-ARGS): Use
36055         $(host-built-program-cmd).
36056         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36057         (tst-spawn-ARGS): Likewise.
36058         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36060 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36061             Jim Blandy  <jimb@codesourcery.com>
36063         * Makeconfig (run-via-rtld-prefix): New variable.
36064         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36065         (built-program-cmd): Likewise.
36067 2012-10-22  Andreas Jaeger  <aj@suse.de>
36069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36070         __O_RSYNC if it exists, otherwise to O_SYNC.
36072 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36073             Joseph Myers  <joseph@codesourcery.com>
36075         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36076         /dev/null.
36077         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36078         from /dev/null
36079         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36080         /dev/null.
36082 2012-10-22  Andreas Jaeger  <aj@suse.de>
36084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36085         Define always.
36086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36089         bits/fcntl-linux.h.
36091         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36092         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36095         to __O_LARGEFILE.
36096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36097         to __O_LARGEFILE.
36099 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36100             Joseph Myers  <joseph@codesourcery.com>
36102         * config.make.in (NM): New variable.
36104 2012-10-21  Andreas Jaeger  <aj@suse.de>
36106         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36107         definitions and declarations that are provided by
36108         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36110 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36112         [BZ #14683]
36113         * elf/Makefile (tests-static): Add tst-leaks1-static.
36114         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36115         ($(objpfx)tst-leaks1-static): New rule.
36116         ($(objpfx)tst-leaks1-static-mem): Likewise.
36117         (tst-leaks1-static-ENV): New macro.
36118         * elf/dl-open.c (dl_open_worker): Check the main application
36119         only if SHARED is defined.
36120         * elf/tst-leaks1-static.c: New file.
36122 2012-10-20  Andreas Jaeger  <aj@suse.de>
36124         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36125         generic values for Linux.
36126         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36127         and declarations that are provided by <bits/fcntl-linux.h> and
36128         include <bits/fcntl-linux.h>.
36129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36132 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36134         * io/fcntl.h: Move include of <bits/types.h> to the top and
36135         include it unconditionally.
36137 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36139         * wcsmbs/Makefile (tests-ifunc): New variable.
36140         (tests): Add $(tests-ifunc).
36141         * wcsmbs/test-wcschr-ifunc.c: New file.
36142         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36143         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36144         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36145         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36146         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36148         * string/Makefile (tests-ifunc): New variable.
36149         (tests): Add $(tests-ifunc).
36150         * string/test-memccpy.c (TEST_NAME): New macro.
36151         * string/test-memchr.c (TEST_NAME): Likewise.
36152         * string/test-memcmp.c (TEST_NAME): Likewise.
36153         * string/test-memcpy.c (TEST_NAME): Likewise.
36154         * string/test-memmem.c (TEST_NAME): Likewise.
36155         * string/test-memmove.c (TEST_NAME): Likewise.
36156         * string/test-memset.c (TEST_NAME): Likewise.
36157         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36158         * string/test-stpcpy.c (TEST_NAME): Likewise.
36159         * string/test-stpncpy.c (TEST_NAME): Likewise.
36160         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36161         * string/test-strcasestr.c (TEST_NAME): Likewise.
36162         * string/test-strcat.c (TEST_NAME): Likewise.
36163         * string/test-strchr.c (TEST_NAME): Likewise.
36164         * string/test-strcmp.c(TEST_NAME): Likewise.
36165         * string/test-strcpy.c (TEST_NAME): Likewise.
36166         * string/test-strcspn.c (TEST_NAME): Likewise.
36167         * string/test-strlen.c (TEST_NAME): Likewise.
36168         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36169         * string/test-strncmp.c (TEST_NAME): Likewise.
36170         * string/test-strncpy.c (TEST_NAME): Likewise.
36171         * string/test-strnlen.c (TEST_NAME): Likewise.
36172         * string/test-strpbrk.c (TEST_NAME): Likewise.
36173         * string/test-strrchr.c (TEST_NAME): Likewise.
36174         * string/test-strspn.c (TEST_NAME): Likewise.
36175         * string/test-strstr.c (TEST_NAME): Likewise.
36176         * string/test-bcopy-ifunc.c: New file.
36177         * string/test-bzero-ifunc.c: Likewise.
36178         * string/test-memccpy-ifunc.c: Likewise.
36179         * string/test-memchr-ifunc.c: Likewise.
36180         * string/test-memcmp-ifunc.c: Likewise.
36181         * string/test-memcpy-ifunc.c: Likewise.
36182         * string/test-memmem-ifunc.c: Likewise.
36183         * string/test-memmove-ifunc.c: Likewise.
36184         * string/test-mempcpy-ifunc.c: Likewise.
36185         * string/test-memset-ifunc.c: Likewise.
36186         * string/test-rawmemchr-ifunc.c: Likewise.
36187         * string/test-stpcpy-ifunc.c: Likewise.
36188         * string/test-stpncpy-ifunc.c: Likewise.
36189         * string/test-strcasecmp-ifunc.c: Likewise.
36190         * string/test-strcasestr-ifunc.c: Likewise.
36191         * string/test-strcat-ifunc.c: Likewise.
36192         * string/test-strchr-ifunc.c: Likewise.
36193         * string/test-strchrnul-ifunc.c: Likewise.
36194         * string/test-strcmp-ifunc.c: Likewise.
36195         * string/test-strcpy-ifunc.c: Likewise.
36196         * string/test-strcspn-ifunc.c: Likewise.
36197         * string/test-strlen-ifunc.c: Likewise.
36198         * string/test-strncasecmp-ifunc.c: Likewise.
36199         * string/test-strncat-ifunc.c: Likewise.
36200         * string/test-strncmp-ifunc.c: Likewise.
36201         * string/test-strncpy-ifunc.c: Likewise.
36202         * string/test-strnlen-ifunc.c: Likewise.
36203         * string/test-strpbrk-ifunc.c: Likewise.
36204         * string/test-strrchr-ifunc.c: Likewise.
36205         * string/test-strspn-ifunc.c: Likewise.
36206         * string/test-strstr-ifunc.c: Likewise.
36208         * debug/Makefile (tests-ifunc): New variable.
36209         (tests): Add $(tests-ifunc).
36210         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36211         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36212         * debug/test-stpcpy_chk-ifunc.c: New file.
36213         * debug/test-strcpy_chk-ifunc.c: Likewise.
36215 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36217         [BZ #13601]
36218         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36219         header is not read in.
36221 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36223         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36224         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36225         directly.  Pass built executable to script as
36226         $(built-program-cmd).
36227         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36228         $testprogram without using LD_LIBRARY_PATH and $ldso.
36230         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36231         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36232         $(rtld-installed-name).
36233         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36234         (rtld_installed_name): Likewise.
36235         (library_path): Likewise.
36236         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36237         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36238         $(run-program-prefix) to tst-tables.sh.
36239         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36240         it to run tst-table-from and tst-table-to.
36241         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36242         Pass it to tst-table.sh.
36243         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36244         $(run-program-prefix) to tst-gettext.sh.
36245         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36246         tst-translit.sh.
36247         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36248         tst-gettext2.sh.
36249         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36250         to run tst-gettext.
36251         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36252         to run tst-gettext2.
36253         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36254         to run tst-translit.
36255         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36256         $(run-program-prefix) to tst-mtrace.sh.
36257         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36258         to run tst-mtrace.
36259         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36260         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36261         $(rtld-installed-name).
36262         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36263         (rtld_installed_name): Likewise.
36264         (run_program_prefix): New variable.  Use it to run wordexp-test.
36266         * Makeconfig (ARCH): Remove all definitions.
36267         (machine): Likewise.
36268         [ARCH]: Remove conditional code.
36269         [!objdir]: Give error.
36270         [!objdir] (objpfx): Remove.
36271         [!objdir] (common-objpfx): Likewise.
36272         [!objdir] (common-objdir): Likewise.
36273         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36274         AC_CONFIG_FILES call.
36275         * configure: Regenerated.
36277         [BZ #13888]
36278         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36279         or TMPDIR.
36280         (testout): Likewise.
36282         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36283         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36284         $(rtld-installed-name).
36285         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36286         (rtld_installed_name): Likwise.
36287         (runit): Remove function.
36288         (run_getconf): New variable,  Use it for running getconf binary.
36290 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36292         [BZ #14716]
36293         * string/test-memmem.c (check_result): New function.
36294         (do_one_test): Use it.
36295         (check1): New function.
36296         (test_main): Use it.
36298 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36300         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36302 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36304         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36305         (_G_LSEEK64): Likewise.
36306         (_G_MMAP64): Likewise.
36307         (_G_FSTAT64): Likewise.
36308         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36309         (_G_LSEEK64): Likewise.
36310         (_G_MMAP64): Likewise.
36311         (_G_FSTAT64): Likewise.
36312         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36313         unconditional.  Call __mmap64 directly.
36314         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36315         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36316         __lseek64 directly.
36317         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36318         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36319         __mmap64 directly.
36320         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36321         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36322         __lseek64 directly.
36323         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36324         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36325         __lseek64 directly.
36326         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36327         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36328         __lseek64 directly.
36329         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36330         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36331         __fxstat64 directly.
36332         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36333         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36334         unconditional.
36335         (freopen64) [!_G_OPEN64]: Remove conditional code.
36336         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36337         unconditional.
36338         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36339         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36340         unconditional.
36341         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36342         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36343         unconditional.
36344         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36345         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36346         unconditional.
36347         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36348         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36349         unconditional.
36350         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36351         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36352         unconditional.
36353         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36354         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36355         unconditional.
36356         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36358 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36360         [BZ #12140]
36361         * manual/memory.texi (Malloc Tunable Parameters): Add note
36362         about free list pointers overwriting some perturb bytes.
36363         Wording suggested by Roland McGrath.
36365 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36367         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36368         (lgamma_test): Likewise.
36369         (tgamma_test): Likewise.
36371 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36373         [BZ #14700]
36374         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36375         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36377 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36379         * NEWS: Mention BZ #14716.
36380         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36381         when removing AVAILABLE1_USES_J macro.
36383 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36385         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36386         (__bswap_64): __uint64_t for unsigned 64-bit int.
36388 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36390         * include/string.h (memmem): Declare libc hidden alias.
36391         * string/memmem.c (memmem): Define libc hidden alias.
36392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36393         __read, __close instead of open, read, close.
36395 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36398         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36399         global and hidden.
36400         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36401         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36402         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36403         Likewise.
36404         (__rawmemchr_sse2): Likewise.
36405         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36406         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36407         (__strchr_sse2): Likewise.
36408         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36409         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36410         (__strcasecmp_sse2): Likewise.
36411         (__strncasecmp_sse2): Likewise.
36412         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36413         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36414         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36415         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36416         (__strrchr_sse2): Likewise.
36417         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36418         ifunc-impl-list.c.
36419         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36420         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36421         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36422         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36423         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36425         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36427         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36428         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36429         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36430         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36431         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36432         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36433         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36434         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36435         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36436         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36437         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36438         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36439         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36440         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36441         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36442         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36443         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36444         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36445         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36446         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36447         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36448         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36450         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36451         global and hidden.
36452         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36453         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36454         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36455         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36456         Likewise.
36457         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36458         Likewise.
36459         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36460         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36461         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36462         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36463         ifunc-impl-list.c.
36464         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36466         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36467         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36468         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36469         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36470         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36471         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36472         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36473         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36477         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36478         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36479         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36481         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36482         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36483         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36484         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36487         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36488         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36489         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36490         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36491         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36492         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36493         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36494         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36495         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36496         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36497         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36498         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36499         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36500         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36501         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36502         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36503         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36504         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36506         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36507         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36508         * include/ifunc-impl-list.h: New file.
36509         * misc/ifunc-impl-list.c: Likewise.
36510         * misc/Makefile (routines): Add ifunc-impl-list.
36511         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36512         * string/test-string.h: Include <ifunc-impl-list.h>.
36513         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36514         TEST_NAME]: New variables.
36515         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36516         are defined.
36517         (test_init): Call __libc_ifunc_impl_list to initialize
36518         func_list if TEST_IFUNC and TEST_NAME are defined.
36520         * string/Makefile (strop-tests): Add bcopy and bzero.
36521         * string/test-bcopy.c: New file.
36522         * string/test-bzero.c: Likewise.
36523         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36524         defined.
36525         * string/test-memset.c: Support bzero test if TEST_BZERO is
36526         defined.
36527         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36528         __libc_memmove.
36529         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36530         __libc_memset.
36531         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36532         of memset.
36534 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36536         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36537         * configure: Regenerated.
36539         * Makeconfig (+link-static-before-libc): Don't include
36540         $(link-static-libc).
36542         * libio/libio.h (_IO_pos_t): Remove.
36544 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36546         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36547         McGrath.
36549 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36551         * crypt/crypt-entry.c: Include fips-private.h.
36552         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36553         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36554         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36555         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36557 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36559         * crypt/crypt-private.h: Include stdbool.h.
36560         (_ufc_setup_salt_r): Return bool.
36561         * crypt/crypt-entry.c: Include errno.h.
36562         (__crypt_r): Return NULL with EINVAL for bad salt.
36563         * crypt/crypt_util.c (bad_for_salt): New.
36564         (_ufc_setup_salt_r): Check that salt is long enough and within
36565         the specified alphabet.
36566         * crypt/badsalttest.c: New file.
36567         * crypt/Makefile (tests): Add it.
36568         ($(objpfx)badsalttest): New.
36570 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36572         * NEWS: Add entry for BZ #14602.
36574 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36576         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36577         type-generic.
36578         * math/libm-test.inc: Update comment listing what functions and
36579         macros are tested.
36580         (isgreater_test): New function.
36581         (isgreaterequal_test): Likewise.
36582         (isless_test): Likewise.
36583         (islessequal_test): Likewise.
36584         (islessgreater_test): Likewise.
36585         (isunordered_test): Likewise.
36586         (main): Call the new functions.
36588 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36590         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36591         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36592         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36593         * sysdeps/i386/configure: Regenerated.
36594         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36595         * sysdeps/mach/configure: Regenerated.
36596         * sysdeps/mach/hurd/configure: Regenerated.
36597         * sysdeps/powerpc/configure: Regenerated.
36598         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36599         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36600         * sysdeps/s390/s390-32/configure: Regenerated.
36601         * sysdeps/s390/s390-64/configure: Regenerated.
36602         * sysdeps/sh/configure: Regenerated.
36603         * sysdeps/sparc/configure: Regenerated.
36604         * sysdeps/unix/sysv/linux/configure: Regenerated.
36605         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36606         * sysdeps/x86_64/configure: Regenerated.
36608         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36609         defined.  Don't check if MAP is NULL.
36611 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36613         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36614         (_G_stat64): Likewise.
36615         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36616         (_G_stat64): Likewise.
36617         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36618         instead of struct _G_stat64.
36619         * libio/fileops.c (mmap_remap_check): Likewise.
36620         (decide_maybe_mmap): Likewise.
36621         (_IO_new_file_seekoff): Likewise.
36622         (_IO_file_stat): Likewise.
36623         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36624         _G_off64_t.
36625         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36626         instead of struct _G_stat64.
36627         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36629 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36631         [BZ #14602]
36632         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36633         Replace with ...
36634         (CHECK_EOL): New macro.
36635         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36636         CHECK_EOL.
36637         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36638         Replace with CHECK_EOL.
36639         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36640         Replace with CHECK_EOL.
36642 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36644         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36645         type-generic.
36646         * math/libm-test.inc: Update comment listing what functions and
36647         macros are tested.
36648         (finite_test): New function.
36649         (isinf_test): Likewise.
36650         (isnan_test): Likewise.
36651         (fpclassify_test): Test subnormal input.
36652         (isfinite_test): Likewise.
36653         (isnormal_test): Likewise.
36654         (main): Call the new functions.
36656 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36658         [BZ #14660]
36659         * Makerules (%.dynsym): Force C locale when running
36660         $(OBJDUMP) --dynamic-syms.
36662 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36664         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36665         <stdint.h>.
36667 2012-10-06  David S. Miller  <davem@davemloft.net>
36669         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36670         upper 32-bits of the length value in %o2 since we use branch-on-register
36671         tests which consider the entire 64-bit register.
36673 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36675         * string/test-strstr.c (check2): Add a test for page boundary.
36677 2012-10-05  David S. Miller  <davem@davemloft.net>
36679         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36680         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36681         file.
36682         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36683         sysdep_routines.
36684         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36685         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36686         and bzero when HWCAP_SPARC_CRYPTO is present.
36688 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36690         [BZ #14602]
36691         * string/test-strstr.c (check2): New function.
36692         (test_main): Call check2.
36694         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36695         and bug-strchr1.
36696         * string/bug-strcasestr1.c (do_test): Moved to ...
36697         * string/test-strcasestr.c (check1): Here.  New function.
36698         (do_one_test): Break out result checking code into ...
36699         (check_result): This.  New function.
36700         (do_one_test): Call check_result.
36701         (test_main): Call check1.
36702         * string/bug-strchr1.c (do_test): Moved to ...
36703         * string/test-strchr.c (check1): Here.  New function.
36704         (do_one_test): Break out result checking code into ...
36705         (check_result): This.  New function.
36706         (do_one_test): Call check_result.
36707         (test_main): Call check1.
36708         * string/bug-strstr1.c (main): Moved to ...
36709         * string/test-strstr.c (check1): Here.  New function.
36710         (do_one_test): Break out result checking code into ...
36711         (check_result): This.  New function.
36712         (do_one_test): Call check_result.
36713         (test_main): Call check1.
36714         * string/bug-strcasestr1.c: Removed.
36715         * string/bug-strchr1.c: Likewise.
36716         * string/bug-strstr1.c: Likewise.
36718         * elf/Makefile (dl-routines): Add hwcaps.
36719         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36720         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36721         (_dl_important_hwcaps): Moved to ...
36722         * elf/dl-hwcaps.c: Here.  New file.
36723         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36725         [BZ #14557]
36726         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36727         if IS_IN_rtld isn't defined.
36729         * elf/dl-support.c (_dl_sysinfo_map): New.
36730         Include "get-dynamic-info.h" and "setup-vdso.h".
36731         (_dl_non_dynamic_init): Call setup_vdso.
36732         * elf/dynamic-link.h: Don't include <assert.h>.
36733         (elf_get_dynamic_info): Moved to ...
36734         * elf/get-dynamic-info.h: Here.  New file.
36735         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36736         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36737         * elf/setup-vdso.h: Here.  New file.
36738         * elf/rtld.c: Include "setup-vdso.h".
36739         (dl_main): Call setup_vdso.
36741 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36743         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36744         creal in comment listing functions tested.  List finite, isinf,
36745         isnan, isless, islessequal, isgreater, isgreaterequal,
36746         islessgreater, isunordered, lgamma_r and pow10 as functions and
36747         macros not tested.  Mention which functions not tested are aliases
36748         for other functions.  Fix typo.  Note that signs of NaNs are not
36749         tested.
36751         * scripts/config.guess: Update from config.git.
36752         * scripts/config.sub: Likewise.
36754 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36756         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36757         * misc/madvise.c (madvise): Renamed to __madvise.
36758         Make madvise a weak alias.
36759         * include/sys/mman.h: Declare __madvise.
36760         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36761         * sysdeps/unix/syscalls.list
36762         (madvise): Make __madvise the strong name, and madvise a weak alias.
36763         * sysdeps/unix/sysv/linux/syscalls.list
36764         (madvise, mmap): Remove redundant entries.
36765         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36766         * malloc/malloc.c (mtrim): Likewise.
36767         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36769 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36771         * sysdeps/mach/hurd/dl-cache.c: File removed.
36772         * config.h.in (USE_LDCONFIG): New #undef.
36773         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36774         * configure: Regenerated.
36775         * elf/Makefile (dl-routines): Add dl-cache only under
36776         [$(use-ldconfig) = yes].
36777         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36778         cache on [USE_LDCONFIG].
36779         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36780         [USE_LDCONFIG].
36781         * elf/rtld.c (dl_main): Likewise.
36783 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36785         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36786         _SC_LEVEL4_CACHE_LINESIZE.
36788 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36790         * sysdeps/unix/bsd/confstr.h: File removed.
36792 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36794         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36795         sys/sdt-config.h.
36797 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36799         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36800         Make 'mapoff' field ElfW(Off) rather than off_t.
36802 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36804         * nscd/Makefile: Remove nscd-cflags and all its users.
36805         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36806         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36808         [BZ #10631]
36809         * malloc.c (malloc_printerr): Clarify error message.
36811 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36813         [BZ #14648]
36814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36815         Set bit_FMA_Usable if FMA is supported.
36816         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36817         macro.
36818         (bit_FMA4_Usable): Updated.
36819         (index_FMA_Usable): New macro.
36820         (CPUID_FMA): Likewise
36821         (HAS_FMA): Defined with bit_FMA_Usable.
36823 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36825         * bits/types.h (__swblk_t): Type removed.
36826         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36827         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36829         (__SWBLK_T_TYPE): Likewise.
36830         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36831         (__SWBLK_T_TYPE): Likewise.
36832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36833         (__SWBLK_T_TYPE): Likewise.
36834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36835         (__SWBLK_T_TYPE): Likewise.
36837 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36838             Honza Horak <hhorak@redhat.com>
36840         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36841         (xdr_mapname): Use YPMAXMAP as maxsize.
36842         (xdr_peername): Use YPMAXPEER as maxsize.
36843         (xdr_keydat): Use YPAXRECORD as maxsize.
36844         (xdr_valdat): Use YPMAXRECORD as maxsize.
36846 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36848         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36850         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36851         * csu/init-first.c: ... here.
36852         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36853         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36854         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36855         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36856         * sysdeps/i386/init-first.c: File removed.
36857         * sysdeps/sh/init-first.c: File removed.
36859 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36861         [BZ #14645]
36862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36863         if x * y might underflow to zero and z is zero.
36864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36866         * math/libm-test.inc (min_subnorm_value): New variable.
36867         (fma_test): Add more tests.
36868         (fma_test_towardzero): Likewise.
36869         (fma_test_downward): Likewise
36870         (fma_test_upward): Likewise.
36871         (initialize): Set min_subnorm_value.
36873 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36875         [BZ #14638]
36876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36877         0 + 0.
36878         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36879         mode for addition resulting in exact zero.
36880         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36882         exact 0 + 0.
36883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36885         * math/libm-test.inc (fma_test): Add more tests.
36886         (fma_test_towardzero): New function.
36887         (fma_test_downward): Likewise.
36888         (fma_test_upward): Likewise.
36889         (main): Call the new functions.
36891 2012-09-28  David S. Miller  <davem@davemloft.net>
36893         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36895 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36897         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36898         instead of SIGALRM.
36900         * sysdeps/gnu/_G_config.h: Moved to ...
36901         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36902         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36903         * sysdeps/generic/_G_config.h: ... here.
36905         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36907         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36909         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36910         Conditionalize target on [libnss_test1.so-version].
36912         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36914         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36915         (elfobjdir): Move out of conditionals.
36917         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36918         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36919         (__nss_lookup_function): Conditionalize label remove_from_tree on
36920         [!DO_STATIC_NSS || SHARED], matching its only use.
36922 2012-09-28  David S. Miller  <davem@davemloft.net>
36924         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36925         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36926         file.
36927         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36928         sysdep_routines.
36929         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36930         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36931         when HWCAP_SPARC_CRYPTO is present.
36933 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36935         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36937 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36939         [BZ #6530]
36940         * stdio-common/vfprintf.c (process_string_arg): Revert
36941         2000-07-22 change.
36943 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36945         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36946         for testcase.
36947         * stdio-common/tst-sprintf.c: Include <locale.h>
36948         (main): Test sprintf's handling of incomplete multibyte
36949         characters.
36951 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36953         * elf/dl-runtime.c (VERSYMIDX): Removed.
36954         * elf/dl-version.c (VERSYMIDX): Likewise.
36955         * elf/do-rel.h (VERSYMIDX): Likewise.
36956         (VALIDX): Likewise.
36957         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36958         * elf/rtld.c (VALIDX): Likewise.
36959         (ADDRIDX): Likewise.
36960         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36961         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36962         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36963         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36964         (VALIDX): Likewise.
36965         (ADDRIDX): Likewise.
36967 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36969         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36971 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36973         [BZ #11438]
36974         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36975         to global scope.
36976         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36977         addresses are in the same scope as 192.0.2/24.
36978         * posix/gai.conf: Document new scope table defaults.
36980 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36982         [BZ #5298]
36983         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36984         for ftell.  Compute offsets from write pointers instead.
36985         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36987 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36989         [BZ #14543]
36990         * libio/Makefile (tests): New test case tst-fseek.
36991         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36992         combination works in wide mode.
36993         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36994         state when the external buffer state changes.
36996 2012-09-27  David S. Miller  <davem@davemloft.net>
36998         [BZ #14376]
36999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37000         pass reloc->r_addend in as the 'high' argument to
37001         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37005 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37007         * rt/tst-aio2.c: Include <pthread.h>.
37008         * rt/tst-aio3.c: Likewise.
37010 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37012         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37014 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37016         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37017         contents on [SHARED].
37019 2012-09-26  Marek Polacek  <polacek@redhat.com>
37021         [BZ #14530]
37022         [BZ #13741]
37023         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37024         for C++ and GCC <4.3 as well as for non GCC compilers.
37026 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37030 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37032         * Makefile.in (all, install): Declare with .PHONY.
37033         Reported by Michael Hope <michael.hope@linaro.org>.
37035 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37037         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37038         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37039         system header.
37040         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37041         Likewise.
37042         (sydep_routines): Add the new and the internal functions.
37043         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37044         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37046         (GLIBC_2.17): Add the new function.
37047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37048         (GLIBC_2.17): Likewise.
37049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37050         (GLIBC_2.17): Likewise.
37051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37052         (GLIBC_2.17): Likewise.
37053         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37055 2012-09-25  Alan Modra  <amodra@gmail.com>
37057         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37058         Add release barrier before setting once_control to say
37059         initialisation is done.  Add hints on lwarx.  Use macro in
37060         place of isync.
37061         (clear_once_control): Add release barrier.
37063 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37065         [BZ #13629]
37066         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37067         specially.
37068         * math/s_clog10.c (__clog10): Likewise.
37069         * math/s_clog10f.c (__clog10f): Likewise.
37070         * math/s_clog10l.c (__clog10l): Likewise.
37071         * math/s_clogf.c (__clogf): Likewise.
37072         * math/s_clogl.c (__clogl): Likewise.
37073         * math/Makefile (libm-calls): Add x2y2m1.
37074         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37075         (__x2y2m1): Likewise.
37076         (__x2y2m1l): Likewise.
37077         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37078         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37079         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37080         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37081         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37082         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37083         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37084         * sysdeps/i386/fpu/libm-test-ulps: Update.
37085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37087         [BZ #14621]
37088         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37089         int as type of variable DEPTH.
37090         (glob): Use size_t instead of int as type of variables NEWCOUNT
37091         and OLD_PATHC.
37093 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37095         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37096         Add s_sincosf-sse2.
37097         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37098         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37099         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37100         macros for using routine as __sincosf_ia32.
37101         Use macro for function declaration and weak_alias.
37102         * sysdeps/i386/fpu/libm-test-ulps: Update.
37104         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37107         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37108         subnormal argument.
37109         * math/s_cexpf.c (__cexpf): Likewise.
37110         * math/s_csinf.c (__csinf): Likewise.
37111         * math/s_csinhf.c (__csinhf): Likewise.
37112         * math/s_ctanf.c (__ctanf): Likewise.
37113         * math/s_ctanhf.c (__ctanhf): Likewise.
37114         * math/s_ccosh.c (__ccoshf): Likewise.
37115         * math/s_cexp.c (__cexpl): Likewise.
37116         * math/s_csin.c (__csin): Likewise.
37117         * math/s_csinh.c (__csinh): Likewise.
37118         * math/s_ctan.c (__ctan): Likewise.
37119         * math/s_ctanh.c (ctanh): Likewise.
37120         * math/s_ccoshl.c (__ccoshl): Likewise.
37121         * math/s_cexpl.c (__cexpl): Likewise.
37122         * math/s_csinl.c (__csinl): Likewise.
37123         * math/s_csinhl.c (__csinhl): Likewise.
37124         * math/s_ctanl.c (__ctanl): Likewise.
37125         * math/s_ctanhl.c (__ctanhl): Likewise.
37127 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37129         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37130         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37131         (_IO_off_t): Define to __off_t, not _G_off_t.
37132         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37133         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37134         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37135         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37136         type of __dummy and __dummy2 fields.
37137         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37138         (_G_ssize_t): Likewise.
37139         (_G_off_t): Likewise.
37140         (_G_pid_t): Likewise.
37141         (_G_uid_t): Likewise.
37142         (_G_wchar_t): Likewise.
37143         (_G_wint_t): Likewise.
37144         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37145         (_G_ssize_t): Likewise.
37146         (_G_off_t): Likewise.
37147         (_G_pid_t): Likewise.
37148         (_G_uid_t): Likewise.
37149         (_G_wchar_t): Likewise.
37150         (_G_wint_t): Likewise.
37151         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37152         (_G_ssize_t): Likewise.
37153         (_G_off_t): Likewise.
37154         (_G_pid_t): Likewise.
37155         (_G_uid_t): Likewise.
37156         (_G_wchar_t): Likewise.
37157         (_G_wint_t): Likewise.
37159 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37161         * malloc/arena.c: Include malloc-sysdep.h.
37162         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37163         is sufficient to shrink the heap or an unmap is needed.
37164         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37165         new function check_may_shrink_heap.
37166         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37167         new function check_may_shrink_heap.
37169 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37171         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37172         comments.
37174 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37176         * catgets/test-gencat.sh: Add "set -e".
37177         * elf/tst-pathopt.sh: Likewise.
37178         * grp/tst_fgetgrent.sh: Likewise.
37179         * iconvdata/run-iconv-test.sh: Likewise.
37180         * intl/tst-gettext.sh: Likewise.
37181         * intl/tst-gettext2.sh: Likewise.
37182         * intl/tst-gettext4.sh: Likewise.
37183         * intl/tst-gettext6.sh: Likewise.
37184         * intl/tst-translit.sh: Likewise.
37185         * io/ftwtest-sh: Likewise.
37186         * libio/test-freopen.sh: Likewise.
37187         * malloc/tst-mtrace.sh: Likewise.
37188         * posix/globtest.sh: Likewise.
37189         * posix/tst-getconf.sh: Likewise.
37190         * posix/wordexp-tst.sh: Likewise.
37191         * stdio-common/tst-printf.sh: Likewise.
37192         * stdio-common/tst-unbputc.sh: Likewise.
37193         * stdlib/tst-fmtmsg.sh: Likewise.
37194         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37195         * catgets/Makefile: Do not specify -e option when running
37196         testsuite shell scripts.
37197         * elf/Makefile: Likewise.
37198         * grp/Makefile: Likewise.
37199         * iconvdata/Makefile: Likewise.
37200         * intl/Makefile: Likewise.
37201         * io/Makefile: Likewise.
37202         * libio/Makefile: Likewise.
37203         * malloc/Makefile: Likewise.
37204         * posix/Makefile: Likewise.
37205         * stdio-common/Makefile: Likewise.
37206         * stdlib/Makefile: Likewise.
37207         * sysdeps/x86_64/Makefile: Likewise.
37209         * io/ftwtest-sh: Add copyright header.
37210         * posix/globtest.sh: Likewise.
37211         * posix/tst-getconf.sh: Likewise.
37212         * posix/wordexp-tst.sh: Likewise.
37213         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37215 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37217         [BZ #13679]
37218         * Makeconfig (+link): Defined as $(+link-static) if
37219         $(build-shared) isn't yes.
37220         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37221         isn't yes.
37222         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37224         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37226         [BZ #14562]
37227         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37228         new chunk size with MALLOC_ALIGN_MASK.
37230 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37232         [BZ #5044]
37233         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37234         <rounding-mode.h>.
37235         (__printf_fphex): Determine rounding using get_rounding_mode and
37236         round_away.
37237         * stdio-common/tst-printf-round.c (struct hex_test): New
37238         structure.
37239         (hex_tests): New variable.
37240         (test_hex_in_one_mode): New function.
37241         (do_test): Also run tests for hex float output.
37243 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37245         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37246         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37247         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37248         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37249         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37250         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37251         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37252         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37254 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37256         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37257         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37258         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37259         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37261 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37263         [BZ #14579]
37264         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37265         mode only.
37266         * elf/tst-rtld-load-self.sh: New test.
37267         * elf/Makefile: Run it.
37269 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37271         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37272         (tst-writev-ENV): Remove.
37273         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37275 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37277         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37279 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37281         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37282         unconditional.
37283         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37284         Likewise.
37285         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37286         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37287         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37288         Likewise.
37290 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37292         [BZ #14587]
37293         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37294         * config.make.in (have-cpp-asm-debuginfo): Removed.
37295         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37296         * configure: Regenerated.
37298 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37300         [BZ #5044]
37301         * stdio-common/printf_fp.c: Include <stdbool.h> and
37302         <rounding-mode.h>.
37303         (___printf_fp): Determine rounding using get_rounding_mode and
37304         round_away.
37305         * stdio-common/tst-printf-round.c: New file.
37306         * stdio-common/Makefile (tests): Add tst-printf-round.
37307         (link-libm): New variable.
37308         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37310 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37312         [BZ #14576]
37313         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37314         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37315         Likewise.
37316         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37317         Likewise.
37319 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37321         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37322         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37323         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37324         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37326 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37328         [BZ #14518]
37329         * include/rounding-mode.h: New file.
37330         * sysdeps/generic/get-rounding-mode.h: Likewise.
37331         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37332         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37333         (MAX_VALUE): New macro.
37334         (MIN_VALUE): Likewise.
37335         (overflow_value): New function.
37336         (underflow_value): Likewise.
37337         (round_and_return): Use overflow_value and underflow_value to
37338         determine return values in overflow and underflow cases.  Use
37339         round_away to determine rounding depending on rounding mode.
37340         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37341         determine return values in overflow and underflow cases.
37342         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37343         (struct test_results): New structure.
37344         (struct test): Use struct test_results to store expected results
37345         for all rounding modes.
37346         (TEST): Include expected results for all rounding modes.
37347         (test_in_one_mode): New function.
37348         (do_test): Use test_in_one_mode to compute and check results.
37349         Check results for all rounding modes.
37350         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37351         $(link-libm).
37353 2012-12-09  Allan McRae  <allan@archlinux.org>
37355         * sysdeps/i386/fpu/libm-test-ulps: Update
37357 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37359         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37360         (_G_int32_t): Likewise.
37361         (_G_uint16_t): Likewise.
37362         (_G_uint32_t): Likewise.
37363         (_G_HAVE_BOOL): Likewise.
37364         (_G_HAVE_ATEXIT): Likewise.
37365         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37366         (_G_HAVE_IO_FILE_OPEN): Likewise.
37367         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37368         (_G_int32_t): Likewise.
37369         (_G_uint16_t): Likewise.
37370         (_G_uint32_t): Likewise.
37371         (_G_HAVE_BOOL): Likewise.
37372         (_G_HAVE_ATEXIT): Likewise.
37373         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37374         (_G_HAVE_IO_FILE_OPEN): Likewise.
37375         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37376         (_G_int32_t): Likewise.
37377         (_G_uint16_t): Likewise.
37378         (_G_uint32_t): Likewise.
37379         (_G_HAVE_BOOL): Likewise.
37380         (_G_HAVE_ATEXIT): Likewise.
37381         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37382         (_G_HAVE_IO_FILE_OPEN): Likewise.
37384 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37386         * csu/libc-tls.c: Update copyright years.
37388 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37390         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37391         [!_G_USING_THUNKS]: Remove conditional code.
37392         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37393         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37395         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37396         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37397         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37398         (_G_VTABLE_LABEL_PREFIX): Likewise.
37399         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37400         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37401         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37402         (_G_VTABLE_LABEL_PREFIX): Likewise.
37403         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37404         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37405         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37406         (_G_VTABLE_LABEL_PREFIX): Likewise.
37407         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37409 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37411         * libio/Makefile: Include ../Makeconfig before tests.
37412         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37413         only if $(build-shared) is yes.
37415         * iconv/gconv_db.c: Update copyright years.
37417 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37419         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37420         unwind info if defined PIC. Fix special cases description.
37421         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37423         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37424         DP_HI_MASK entry.
37425         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37427 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37429         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37431         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37432         is NULL.
37434         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37435         (LDLIBS-tst-chk4): This.
37436         (LDFLAGS-tst-chk5): Renamed to ...
37437         (LDLIBS-tst-chk5): This.
37438         (LDFLAGS-tst-chk6): Renamed to ...
37439         (LDLIBS-tst-chk6): This.
37440         (LDFLAGS-tst-lfschk4): Renamed to ...
37441         (LDLIBS-tst-lfschk4): This.
37442         (LDFLAGS-tst-lfschk5): Renamed to ...
37443         (LDLIBS-tst-lfschk5): This.
37444         (LDFLAGS-tst-lfschk6): Renamed to ...
37445         (LDLIBS-tst-lfschk6): This.
37447         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37448         on $(common-objpfx)soversions.mk.
37450 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37452         [BZ #10014]
37453         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37454         example host name.
37456 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37458         * malloc/arena.c (arena_get_retry): New function that gets
37459         another arena for the caller to try its request on.
37460         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37461         current arena cannot fulfill the request.
37462         (__libc_memalign): Likewise.
37463         (__libc_memalign): Likewise.
37464         (__libc_pvalloc): Likewise.
37465         (__libc_calloc): Likewise.
37467 2012-09-05  John Tobey  <john.tobey@gmail.com>
37469         [BZ #13542]
37470         * manual/arith.texi (Operations on Complex): Fix description
37471         of carg branch cut.
37473 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37475         [BZ #10014]
37476         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37477         host name.
37479         [BZ #10038]
37480         * manual/memory.texi (Memory): Make order of menu items match
37481         order of sections.
37483 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37485         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37486         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37487         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37489 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37491         * csu/libc-tls.c (static_dtv): Renamed to ...
37492         (_dl_static_dtv): This.  Make it global.
37493         (_dl_initial_dtv): Removed.
37494         (__libc_setup_tls): Updated.
37495         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37496         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37497         DL_INITIAL_DTV.
37499 2012-09-06  Petr Machata  <pmachata@redhat.com>
37501         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37502         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37503         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37504         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37506 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37508         [BZ #14545]
37509         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37510         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37511         freeing dtv[-1].
37513 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37515         [BZ #14544]
37516         * Makeconfig (link-static-before-libc): Replace $(+prector)
37517         with $(+prectorT).
37518         (link-static-after-libc): Replace $(+postctor) with
37519         $(+postctorT).
37520         (link-bounded): Replace $(+prector)/$(+postctor) with
37521         $(+prectorT)/$(+postctorT).
37522         (+prectorT): New macro.
37523         (+postctorT): Likewise.
37525 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37527         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37528         (round_str): Handle values above the maximum for IBM long double
37529         as inexact.
37530         * stdlib/tst-strtod-round.c (tests): Regenerated.
37532 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37534         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37535         assembler flag.
37536         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37537         zarch_nohighgprs around the zarch optimized routines.
37538         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37539         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37540         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37541         for zarch.
37543 2012-09-05  David S. Miller  <davem@davemloft.net>
37545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37547         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37548         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37549         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37550         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37551         entries.
37553 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37555         * malloc/arena.c: Fold copyright years.
37556         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37558 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37560         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37562 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37564         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37566 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37568         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37569         change internal state upon failure.
37571 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37573         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37574         * malloc/memusage.c (mmap): Likewise.
37575         (mmap64, mremap): Likewise.  Adjust name in comment.
37577 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37579         * libio/fileops.c: Fix typos in comments.
37580         * libio/oldfileops.c: Likewise.
37581         * libio/wfileops.c: Likewise.
37583 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37585         [BZ #1349]
37586         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37587         (tst-malloc-usable-ENV): Set environment for test case.
37588         * malloc/hooks.c (malloc_check_get_size): New function to get
37589         requested size.
37590         * malloc/malloc.c (musable): Use malloc_check_get_size.
37591         * malloc/tst-malloc-usable.c: New test case.
37593 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37595         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37597 2012-09-05  Allan McRae  <allan@archlinux.org>
37599         [BZ #13966]
37600         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37601         determine header location.
37602         * configure: Regenerated.
37604 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37606         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37607         float format.
37608         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37609         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37610         format.
37611         (test): Regenerate.
37613 2012-09-04  David S. Miller  <davem@davemloft.net>
37615         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37616         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37617         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37619 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37621         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37622         failures.
37624         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37626 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37628         [BZ #9914]
37629         * libio/iogetdelim.c: Include <limits.h>.
37630         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37631         + len + 1 would overflow.
37633 2012-09-03  Andreas Jaeger  <aj@suse.de>
37635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37636         * sysdeps/i386/fpu/libm-test-ulps: Update.
37638 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37640         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37641         Add s_sinf-sse2, s_conf-sse2.
37643         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37644         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37645         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37646         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37648         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37649         for using routine as __sinf_ia32.
37650         Use macro for function declaration and weak_alias.
37651         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37652         for using routine as __cosf_ia32.
37653         Use macro for function declaration and weak_alias.
37655         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37656         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37658         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37659         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37662         * math/libm-test.inc (cos_test): Add more test cases.
37663         (sin_test): Likewise.
37664         (sincos_test): Likewise.
37666 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37669         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37670         hidden.
37671         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37673 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37675         [BZ #14538]
37676         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37677         first element of the GOT.
37678         (elf_machine_load_address): Return the difference between
37679         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37681 2012-09-01  Allan McRae  <allan@archlinux.org>
37683         [BZ #13412]
37684         * configure.in (AWK): Require gawk version 3.0 or later.
37685         * configure: Regenerated.
37687 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37689         * sysdeps/unix/sysv/linux/kernel-features.h
37690         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37692         [__NR_clock_getres]: Make code unconditional.
37693         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37694         (clock_getcpuclockid): Remove code left unreachable by removal of
37695         conditionals.
37696         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37697         code unconditional.
37698         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37699         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37700         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37701         Make code unconditional.
37702         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37703         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37704         * sysdeps/unix/sysv/linux/clock_settime.c
37705         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37706         conditional code.
37707         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37708         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37710 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37712         [BZ #14476]
37713         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37714         scripts/test-installation.pl.
37716         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37717         and $ld_so_version if it is set.
37719 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37721         [BZ #14516]
37722         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37723         failure if reading from procfs failed.
37724         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37726 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37728         * sysdeps/unix/sysv/linux/kernel-features.h
37729         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37730         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37731         Remove conditional code.
37732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37733         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37734         Remove conditional code.
37735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37736         * sysdeps/unix/sysv/linux/i386/fxstat.c
37737         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37739         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37740         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37742         * sysdeps/unix/sysv/linux/i386/lxstat.c
37743         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37745         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37746         Remove conditional code.
37747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37748         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37749         Remove conditional code.
37750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37751         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37752         <kernel-features.h>.
37753         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37754         Remove.
37755         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37756         Remove conditional code.
37757         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37758         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37759         Remove conditional.
37761 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37763         [BZ #5400]
37764         * NEWS: Add fixed bug number.
37766 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37768         [BZ #14519]
37769         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37770         underflowing exponent in case of negative sign.
37771         * stdlib/tst-strtod-round-data: Add more tests.
37772         * stdlib/tst-strtod-round.c (tests): Regenerated.
37774         [BZ #3479]
37775         * stdlib/strtod_l.c (NDIG): Remove.
37776         (HEXNDIG): Likewise.
37777         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37778         smallest representable value.
37779         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37780         lie within an exact representation of 1/2 ulp of the result.
37781         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37782         unconditionally.
37783         (TENS_P9_IDX): Define unconditionally.
37784         (TENS_P9_SIZE): Likewise.
37785         (TENS_P10_IDX): Likewise.
37786         (TENS_P10_SIZE): Likewise.
37787         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37788         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37789         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37790         entries for 10^2^13 and 10^2^14.
37791         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37792         (TENS_P13_IDX): Define.
37793         (TENS_P13_SIZE): Likewise.
37794         (TENS_P14_IDX): Likewise.
37795         (TENS_P14_SIZE): Likewise.
37796         (_fpioconst_pow10): Change array size to
37797         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37798         unconditional.
37799         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37800         1024]: Add entries for 10^2^13 and 10^2^14.
37801         [LAST_POW10 > _LAST_POW10]: Remove #error.
37802         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37803         (_fpioconst_pow10): Change array size to
37804         FPIOCONST_POW10_ARRAY_SIZE.
37805         * stdlib/gen-fpioconst.c: New file.
37806         * stdlib/gen-tst-strtod-round.c: Likewise.
37807         * stdlib/tst-strtod-round-data: Likewise.
37808         * stdlib/tst-strtod-round.c: Likewise.
37809         * stdlib/Makefile (tests): Add tst-strtod-round.
37811         [BZ #14459]
37812         * stdlib/strtod_l.c: Include <stdint.h>.
37813         (NDEBUG): Do not define.
37814         (round_and_return): Change EXPONENT parameter to type intmax_t.
37815         Rearrange calculations to avoid internal overflow possibilities.
37816         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37817         Rearrange calculations to avoid internal overflow possibilities.
37818         Assert that number fits inside MPNSIZE limbs.
37819         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37820         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37821         calculations and add assertions to avoid internal overflow
37822         possibilities.  Add casts to avoid signed/unsigned operations.
37823         * stdlib/tst-strtod-overflow.c: New file.
37824         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37826 2012-08-25  Marek Polacek  <polacek@redhat.com>
37828         * time/time.h: Fix some typos in comments.
37830 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37832         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37833         * posix/tst-rfc3484-2.c: Likewise.
37834         * posix/tst-rfc3484-3.c: Likewise.
37836 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37838         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37839         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37841 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37843         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37844         #include of fxstatat64.c.
37846 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37848         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37849         * shadow/getspent_r.c: Likewise.
37850         * shadow/getspnam.c: Likewise.
37851         * shadow/getspnam_r.c: Likewise.
37852         * gshadow/getsgent.c: Likewise.
37853         * gshadow/getsgent_r.c: Likewise.
37854         * gshadow/getsgnam.c: Likewise.
37855         * gshadow/getsgnam_r.c: Likewise.
37856         * inet/getnetbyad.c: Likewise.
37857         * inet/getnetbyad_r.c: Likewise.
37858         * inet/getnetbynm.c: Likewise.
37859         * inet/getnetbynm_r.c: Likewise.
37860         * inet/getnetent.c: Likewise.
37861         * inet/getnetent_r.c: Likewise.
37862         * inet/getproto.c: Likewise.
37863         * inet/getproto_r.c: Likewise.
37864         * inet/getprtent.c: Likewise.
37865         * inet/getprtent_r.c: Likewise.
37866         * inet/getprtname.c: Likewise.
37867         * inet/getprtname_r.c: Likewise.
37868         * inet/getrpcbyname.c: Likewise.
37869         * inet/getrpcbyname_r.c: Likewise.
37870         * inet/getrpcbynumber.c: Likewise.
37871         * inet/getrpcbynumber_r.c: Likewise.
37872         * inet/getrpcent.c: Likewise.
37873         * inet/getrpcent_r.c: Likewise.
37874         * inet/getaliasent.c: Likewise.
37875         * inet/getaliasent_r.c: Likewise.
37876         * inet/getaliasname.c: Likewise.
37877         * inet/getaliasname_r.c: Likewise.
37878         * nscd/getgrgid_r.c: Likewise.
37879         * nscd/getgrnam_r.c: Likewise.
37880         * nscd/gethstbyad_r.c: Likewise.
37881         * nscd/gethstbynm3_r.c: Likewise.
37882         * nscd/getpwnam_r.c: Likewise.
37883         * nscd/getpwuid_r.c: Likewise.
37884         * nscd/getsrvbynm_r.c: Likewise.
37885         * nscd/getsrvbypt_r.c: Likewise.
37886         * nscd/gai.c: Likewise.
37888         * configure.in (build_nscd): New substituted variable, set
37889         by --disable-build-nscd and defaults to $use_nscd.
37890         * configure: Regenerated.
37891         * config.make.in (build-nscd): New substituted variable.
37892         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37893         Change conditional to require [$(build-nscd) = yes] as well.
37894         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37896         [BZ# 13696]
37897         * configure.in (use_nscd): New substituted variable, set by
37898         --disable-nscd.  If enabled, define USE_NSCD.
37899         * configure: Regenerated.
37900         * config.h.in: Add USE_NSCD.
37901         * config.make.in (use-nscd): New substituted variable.
37902         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37903         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37904         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37905         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37906         (CFLAGS-getgrnam_r.c): Likewise.
37907         (CFLAGS-initgroups.c): Likewise.
37908         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37909         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37910         Variables removed.
37911         * inet/getnetgrent_r.c
37912         (nscd_setnetgrent): New function, broken out of ...
37913         (setnetgrent): ... here.  Call it.
37914         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37915         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37916         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37917         * nscd/Makefile (routines, aux): Move definitions after include of
37918         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37919         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37920         Conditionalize on [USE_NSCD].
37921         (is_nscd, nscd_init_cb): Likewise.
37922         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37923         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37924         * nss/nss_db/db-init.c: Likewise.
37925         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37926         [USE_NSCD].
37927         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37928         (make_request): Use it.
37929         (cache_valid_p): New function.
37930         (__check_pf): Use it.
37931         * NEWS: Add item for --disable-nscd.
37933 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37935         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37936         to support sed >= 4.2.1-20-ga9bf076.
37937         * configure: Regenerated.
37939 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37941         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37942         Conditionalize whole body on [IREL].
37944 2012-08-22  Jeff Law <law@redhat.com>
37946         [BZ #14505]
37947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37948         if the family is PF_UNSPEC.
37950 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37952         * Makerules (lib-version): Rename from V.
37953         (install-lib-nosubdir): Change V to lib-version.
37955 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37957         [BZ #14252]
37958         * powerpc32/power6/wcschr.c: New file.
37959         * powerpc32/power6/wcscpy.c: New file.
37960         * powerpc32/power6/wcsrchr.c: New file.
37961         * powerpc64/power6/wcschr.c: New file.
37962         * powerpc64/power6/wcscpy.c: New file.
37963         * powerpc64/power6/wcsrchr.c: New file.
37965 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37967         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37968         (two_way_short_needle): Use it.
37969         * string/strstr.c (AVAILABLE1_USES_J): Define.
37970         * string/strcasestr.c: Likewise.
37972         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37973         array references.
37974         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37976         [BZ #11607]
37977         * NEWS: Add an entry.
37978         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37979         define their defaults.
37980         (two_way_short_needle): Detect end-of-string on-the-fly.
37981         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37982         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37983         * string/bug-strcasestr1.c: New test.
37984         * string/Makefile: Run it.
37986 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37988         [BZ #11607]
37989         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37990         the first character.
37992 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37994         * csu/elf-init.c (__libc_csu_irel): Function removed.
37995         * csu/libc-start.c (apply_irel): New function.
37996         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37998 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38000         * sysdeps/unix/sysv/linux/kernel-features.h
38001         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38002         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38003         <kernel-features.h>.
38004         [__NR_fadvise64_64]: Make code unconditional.
38005         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38006         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38007         !__NR_fadvise64_64)]: Likewise.
38008         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38009         !__NR_fadvise64_64))]: Likewise.
38010         [__NR_fadvise64]: Make code unconditional.
38011         [!__NR_fadvise64]: Remove conditional code.
38012         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38013         <kernel-features.h>.
38014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38015         unconditional.
38016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38017         conditional code.
38018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38019         not include <kernel-features.h>.
38020         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38021         unconditional.
38022         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38023         conditional code.
38024         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38025         include <kernel-features.h>.
38026         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38027         unconditional.
38028         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38029         conditional code.
38031 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38034         slight instruction rearrangements per scrollpipe analysis.
38035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38037 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38039         * manual/syslog.texi (syslog; vsyslog, closelog):
38040         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38041         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38043         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38044         DSOCAPS to match condition on defining it.
38046 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38048         * sysdeps/unix/sysv/linux/kernel-features.h
38049         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38051         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38052         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38054         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38055         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38057         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38058         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38061         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38063         * sysdeps/unix/sysv/linux/kernel-features.h
38064         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38065         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38066         unconditional.
38067         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38068         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38069         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38070         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38071         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38072         Make code unconditional.
38073         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38074         (__mmap64) [!__NR_mmap2]: Likewise.
38075         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38076         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38077         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38079         [__NR_mmap2]: Make code unconditional.
38080         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38081         (__mmap64) [!__NR_mmap2]: Likewise.
38083 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38085         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38087 2012-08-18  Andreas Jaeger  <aj@suse.de>
38089         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38091 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38093         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38094         * include/unistd.h (__have_sock_cloexec): Likewise.
38095         (__have_pipe2): Likewise.
38096         (__have_dup3): Likewise.
38098 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38100         [BZ #9685]
38101         * include/unistd.h (__have_pipe2): Change define into an extern int.
38102         (__have_dup3): Likewise.
38103         * socket/have_sock_cloexec.c: Include fcntl.h.
38104         (__have_pipe2): New variable.
38105         (__have_dup3): Likewise.
38107 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38109         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38111 2012-08-17  Marek Polacek  <polacek@redhat.com>
38113         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38114         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38116 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38118         * configure.in: Add AC_SUBST for sysheaders.
38119         * configure: Regenerated.
38120         * config.make.in (sysheaders): New substituted variable.
38122         * sysdeps/unix/mkfifo.c: Moved ...
38123         * sysdeps/posix/mkfifo.c: ... here.
38124         * sysdeps/unix/mkfifoat.c: Moved ...
38125         * sysdeps/posix/mkfifoat.c: ... here.
38127         * sysdeps/unix/utime.c: Moved ...
38128         * sysdeps/posix/utime.c: ... here.
38130         * sysdeps/unix/time.c: Moved ...
38131         * sysdeps/posix/time.c: ... here.
38132         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38133         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38135         * sysdeps/unix/nice.c: Moved ...
38136         * sysdeps/posix/nice.c: ... here.
38138         * sysdeps/unix/alarm.c: Moved ...
38139         * sysdeps/posix/alarm.c: ... here.
38141         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38143 2012-08-17  Jeff Law <law@redhat.com>
38145         * intl/Makefile (codeset_mo): New variable.
38146         ($(codeset_mo)): New target.
38147         (tst-codeset.out): Depend on that.  Remove explicit rule.
38148         (tst-gettext3.out, tst-gettext5.out): Likewise.
38149         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38150         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38151         * intl/tst-codeset.sh: Remove.
38152         * intl/tst-gettext3.sh: Likewise.
38153         * intl/tst-gettext5.sh: Likewise.
38155 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38157         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38158         * sysdeps/unix/syscalls.list: ... here.
38160         * sysdeps/posix/getaddrinfo.c
38161         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38162         (gaiconf_init, gaiconf_reload): Use them.
38163         [!_STATBUF_ST_NSEC]
38164         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38165         Define using time_t rather than struct timespec.
38167         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38168         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38169         Macros removed.
38170         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38171         [!NO_THREADS].
38172         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38173         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38174         Likewise.
38176         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38177         __libc_cleanup_push argument.
38179         * bits/param.h: New file.
38180         * misc/sys/param.h: New file.
38181         * include/sys/param.h: New file.
38182         * misc/Makefile (headers): Add bits/param.h.
38183         * sysdeps/generic/sys/param.h: File removed.
38184         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38185         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38186         * sysdeps/mach/hurd/bits/param.h: New file.
38187         * sysdeps/mach/hurd/sys/param.h: File removed.
38189         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38190         last change.
38192         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38193         [_IO_MTSAFE_IO].
38194         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38195         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38196         New macros.
38198         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38199         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38200         rather than -D_IO_MTSAFE_IO conditionally.
38201         * stdio-common/Makefile (CPPFLAGS): Likewise.
38202         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38203         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38204         Use $(libio-mtsafe).
38205         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38206         of -D_IO_MTSAFE_IO.
38207         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38208         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38209         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38210         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38211         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38212         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38213         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38214         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38215         (CFLAGS-fread_u_chk.c): Likewise.
38216         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38217         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38218         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38219         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38220         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38221         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38222         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38223         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38224         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38226         * libio/Makefile: Test [$(libc-reentrant) = yes]
38227         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38229         * Makeconfig
38230         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38231         * sysdeps/pthread/configure: File removed.
38232         * sysdeps/pthread/Makeconfig: New file.
38233         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38234         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38236 2012-08-16  Gary Benson  <gbenson@redhat.com>
38238         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38239         unmapping the first object in a namespace.
38241 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38243         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38244         (__internal_setnetgrent): ... this.  Add internal_function to
38245         definition.  Add libc_hidden_def.
38246         (setnetgrent): Update caller.
38247         (internal_endnetgrent): Renamed to ...
38248         (__internal_endnetgrent): ... this.  Add internal_function to
38249         definition.  Add libc_hidden_def.
38250         (endnetgrent): Update caller.
38251         (internal_getnetgrent_r): Renamed to ...
38252         (__internal_getnetgrent_r): ... this.  Add internal_function to
38253         definition.  Add libc_hidden_def.
38254         (__getnetgrent_r): Update caller.
38255         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38257 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38259         * stdlib/longlong.h: Update from GCC.
38261 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38263         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38264         on _QL, which is set by umul_ppmm but never used.
38265         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38266         variables, which are set by GMP macros but never used.
38267         * stdio-common/_itowa.c (_itowa): Likewise.
38268         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38269         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38271 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38273         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38274         struct La_sh_regs is not constant.
38275         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38276         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38277         and struct La_sparc64_regs are not constant.
38279 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38281         * sysdeps/unix/sysv/linux/kernel-features.h
38282         (__ASSUME_POSIX_TIMERS): Remove.
38283         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38285         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38286         Make code unconditional.
38287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38288         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38289         Make code unconditional.
38290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38291         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38292         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38293         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38294         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38295         Make code unconditional.
38296         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38297         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38298         (__libc_missing_posix_timers): Remove.
38300 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38302         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38303         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38305         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38307         * elf/dl-sym.c: Include <stdlib.h>.
38309         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38310         constants, which avoids warnings in 32-bit builds.
38312         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38313         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38315         * misc/lseek.c: File moved to ...
38316         * io/lseek.c: ... here.
38318         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38320         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38321         shifting LEN more than 31 bits at once.
38323 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38325         [BZ #14195]
38326         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38327         segmentation fault for a case of two empty input strings.
38328         * string/test-strncasecmp.c (check1): Renamed to...
38329         (bz12205): ...this.
38330         (bz14195): Add new testcase for two empty input strings and N > 0.
38331         (test_main): Call new testcase, adapt for renamed function.
38333 2012-08-15  Andreas Jaeger  <aj@suse.de>
38335         [BZ #14090]
38336         * crypt/md5test2.c: New test, based on test supplied by Serge
38337         Belyshev <belyshev@depni.sinp.msu.ru>.
38338         * crypt/Makefile (xtests): Add md5test-giant..
38339         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38341 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38343         [BZ #14090]
38344         * crypt/md5.c (md5_process_block): Don't assume the buffer
38345         length is less than 2**32.
38346         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38347         length is less than 2**64.
38349 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38351         * string/str-two-way.h: Include <sys/param.h>.
38352         (MAX): Macro removed.
38354         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38355         Move #define and #undef of memmove to just before and after
38356         including <string.h>.
38358         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38359         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38360         and after including <string.h>.  Move declarations of
38361         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38362         to before #include "string/memmove.c".
38364         * include/dirent.h: Declare __getdirentries.
38366         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38367         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38369 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38371         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38372         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38373         * sysdeps/i386/configure: Regenerated.
38374         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38375         STABS_CURRENT_FILE, and STABS_FUN.
38376         (END): Remove call to STABS_FUN_END.
38377         (STABS_CURRENT_FILE1): Delete.
38378         (STABS_CURRENT_FILE): Likewise.
38379         (STABS_FUN): Likewise.
38380         (STABS_FUN_END): Likewise.
38381         (STABS_FUN2): Likewise.
38382         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38383         * sysdeps/x86_64/configure: Regenerated.
38385 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38387         * elf/dl-open.c: Include <atomic.h>.
38388         * elf/dl-lookup.c: Likewise.
38390 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38392         * sysdeps/unix/sysv/linux/kernel-features.h
38393         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38394         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38395         unconditionally.
38396         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38397         unconditionally.
38398         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38399         condition on __ASSUME_CLONE_THREAD_FLAGS.
38401 2012-08-14  Andreas Jaeger  <aj@suse.de>
38403         * sysdeps/i386/fpu/libm-test-ulps: Update.
38405 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38407         * include/atomic.h (atomic_exchange_and_add): Split into ...
38408         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38409         New atomic macros.
38411 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38415 2012-08-13  Jeff Law <law@redhat.com>
38417         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38418         null byte in the output string.
38420 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38422         * sysdeps/unix/sysv/linux/kernel-features.h
38423         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38424         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38425         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38426         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38427         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38428         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38429         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38431 2012-08-09  Jeff Law <law@redhat.com>
38433         [BZ #13939]
38434         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38435         When avoid_arena is set, don't retry in the that arena.  Pick the
38436         next one, whatever it might be.
38437         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38438         (arena_lock): Pass in new parameter to arena_get2.
38439         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38440         arena_get2.
38441         (__libc_malloc): Unify retrying after main arena failure with
38442         __libc_memalign version.
38443         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38445 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38447         [BZ #14166]
38448         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38449         to __redirect_strstr.
38450         (__strstr_sse42): Use typeof __redirect_strstr.
38451         (__strstr_ia32): Likewise.
38452         (__libc_strstr): New prototype.
38453         (strstr): Renamed to ...
38454         (__libc_strstr): This.
38455         (strstr): New strong alias of __libc_strstr.
38456         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38457         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38458         __redirect_time.
38459         Include <time.h>.
38460         (__libc_time): New prototype.
38461         (time_ifunc): Replace time with __libc_time.
38462         (time): New strong alias and hidden definition of __libc_time.
38463         (__GI_time): Remove strong alias.
38464         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38465         Include <stddef.h>.
38466         (memmove): Redefined to __redirect_memmove.
38467         (__memmove_sse2): Use typeof __redirect_memmove.
38468         (__memmove_ssse3): Likewise.
38469         (__memmove_ssse3_back): Likewise.
38470         (__libc_memmove): New prototype.
38471         (memmove): Renamed to ...
38472         (__libc_memmove): This.
38473         (memmove): New strong alias of __libc_memmove.
38475 2012-08-08  Mark Salter  <msalter@redhat.com>
38477         * elf/elf.h
38478         (R_MN10300_TLS_GD): Define.
38479         (R_MN10300_TLS_LD): Likewise.
38480         (R_MN10300_TLS_LDO): Likewise.
38481         (R_MN10300_TLS_GOTIE): Likewise.
38482         (R_MN10300_TLS_IE): Likewise.
38483         (R_MN10300_TLS_LE): Likewise.
38484         (R_MN10300_TLS_DTPMOD): Likewise.
38485         (R_MN10300_TLS_DTPOFF): Likewise.
38486         (R_MN10300_TLS_TPOFF): Likewise.
38487         (R_MN10300_SYM_DIFF): Likewise.
38488         (R_MN10300_ALIGN): Likewise.
38489         (R_MN10300_NUM): Update.
38491 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38494         Remove.
38496 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38498         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38500         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38501         sysdeps/unix -> sysdeps/posix move.
38502         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38504 2012-08-07      Allan McRae     <allan@archlinux.org>
38506         [BZ #14303]
38507         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38508         (SUNOS_CPP): Likewise.
38509         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38510         not found.
38511         (open_input): Call CPP using execvp.
38513 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38515         * sysdeps/unix/sysv/linux/kernel-features.h
38516         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38517         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38518         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38519         (__ASSUME_WAITID_SYSCALL): Likewise.
38520         * sysdeps/unix/sysv/linux/dl-execstack.c
38521         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38522         code unconditional.
38523         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38524         conditional code.
38525         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38526         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38527         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38528         code.
38529         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38530         unconditional.
38531         [__ASSUME_WAITID_SYSCALL]: Likewise.
38532         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38534 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38536         * sysdeps/unix/closedir.c: Renamed to ...
38537         * sysdeps/posix/closedir.c: ... here.
38538         * sysdeps/unix/dirfd.c: Renamed to ...
38539         * sysdeps/posix/dirfd.c: ... here.
38540         * sysdeps/unix/dirstream.h: Renamed to ...
38541         * sysdeps/posix/dirstream.h: ... here.
38542         * sysdeps/unix/fdopendir.c: Renamed to ...
38543         * sysdeps/posix/fdopendir.c: ... here.
38544         * sysdeps/unix/opendir.c: Renamed to ...
38545         * sysdeps/posix/opendir.c: ... here.
38546         * sysdeps/unix/readdir.c: Renamed to ...
38547         * sysdeps/posix/readdir.c: ... here.
38548         * sysdeps/unix/readdir_r.c: Renamed to ...
38549         * sysdeps/posix/readdir_r.c: ... here.
38550         * sysdeps/unix/rewinddir.c: Renamed to ...
38551         * sysdeps/posix/rewinddir.c: ... here.
38552         * sysdeps/unix/seekdir.c: Renamed to ...
38553         * sysdeps/posix/seekdir.c: ... here.
38554         * sysdeps/unix/telldir.c: Renamed to ...
38555         * sysdeps/posix/telldir.c: ... here.
38556         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38557         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38558         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38559         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38561         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38562         * bits/fcntl.h: ... here.
38564         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38565         not 0.
38566         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38567         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38568         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38569         (struct flock): Move l_start, l_len to the beginning.
38570         Use __pid_t for l_pid.
38571         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38572         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38573         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38574         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38575         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38576         [__USE_LARGEFILE64] (struct flock64): New type.
38577         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38579         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38580         * bits/dirent.h: ... here.
38582         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38583         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38585 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38587         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38588         Change from 2.6.0 to 2.6.16.
38589         * sysdeps/unix/sysv/linux/configure: Regenerated.
38590         * sysdeps/unix/sysv/linux/kernel-features.h
38591         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38592         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38593         version.
38594         (__ASSUME_UTIMES): Likewise.
38595         (__ASSUME_CLONE_STOPPED): Remove.
38596         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38597         architectures, not kernel version.
38598         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38599         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38600         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38601         (__ASSUME_WAITID_SYSCALL): Likewise.
38602         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38603         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38604         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38605         refer to older versions.
38607 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38609         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38610         Define alphasort64 as an alias.
38611         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38612         Define versionsort64 as an alias.
38613         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38614         Define scandir64 as an alias.
38615         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38616         Define scandirat64 as an alias.
38617         * dirent/alphasort64.c (alphasort64):
38618         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38619         * dirent/versionsort64.c: Likewise.
38620         * dirent/scandir64.c: Likewise.
38621         * dirent/scandirat64.c: Likewise.
38622         * sysdeps/wordsize-64/alphasort.c: File removed.
38623         * sysdeps/wordsize-64/alphasort64.c: File removed.
38624         * sysdeps/wordsize-64/scandir.c: File removed.
38625         * sysdeps/wordsize-64/scandir64.c: File removed.
38626         * sysdeps/wordsize-64/scandirat.c: File removed.
38627         * sysdeps/wordsize-64/scandirat64.c: File removed.
38628         * sysdeps/wordsize-64/versionsort.c: File removed.
38629         * sysdeps/wordsize-64/versionsort64.c: File removed.
38630         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38631         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38632         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38633         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38634         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38635         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38636         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38637         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38639         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38641         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38643         [defined __arch64__ || defined __sparcv9]
38644         (__INO_T_MATCHES_INO64_T): New macro.
38645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38646         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38647         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38648         * sysdeps/unix/sysv/linux/bits/dirent.h
38649         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38650         (_DIRENT_MATCHES_DIRENT64): New macro.
38652         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38653         Define lockf64 as an alias.
38654         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38655         Define fseeko64 as an alias.
38656         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38657         Define ftello64 as an alias.
38658         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38659         Define _IO_fgetpos64 and fgetpos64 as aliases.
38660         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38661         Define _IO_fsetpos64 and fsetpos64 as aliases.
38662         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38663         Conditionalize body on this.
38664         * libio/fseeko64.c: Likewise.
38665         * libio/ftello64.c: Likewise.
38666         * libio/iofgetpos64.c: Likewise.
38667         * libio/iofsetpos64.c: Likewise.
38668         * sysdeps/wordsize-64/lockf.c: File removed.
38669         * sysdeps/wordsize-64/lockf64.c: File removed.
38670         * sysdeps/wordsize-64/fseeko.c: File removed.
38671         * sysdeps/wordsize-64/fseeko64.c: File removed.
38672         * sysdeps/wordsize-64/ftello.c: File removed.
38673         * sysdeps/wordsize-64/ftello64.c: File removed.
38674         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38675         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38676         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38677         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38679         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38680         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38681         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38682         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38683         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38684         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38685         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38686         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38687         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38689         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38691         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38693         [defined __arch64__ || defined __sparcv9]
38694         (__OFF_T_MATCHES_OFF64_T): New macro.
38695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38696         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38698         (__OFF_T_MATCHES_OFF64_T): New macro.
38700 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38702         * stdlib/secure-getenv.c (__secure_getenv): Replace
38703         GLIBC_2_16 with GLIBC_2_17.
38705 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38707         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38708         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38710 2012-08-03  David S. Miller  <davem@davemloft.net>
38712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38714 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38716         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38717         Remove.
38718         (__ASSUME_CORRECT_SI_PID): Likewise.
38719         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38720         (__ASSUME_TMPFS_NAME): Likewise.
38721         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38722         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38723         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38724         (HAVE_AUX_SECURE): Make definition unconditional.
38725         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38726         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38728 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38730         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38731         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38732         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38733         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38734         __eloop_threshold instead of SYMLOOP_MAX.
38736         * sysdeps/generic/eloop-threshold.h: New file.
38737         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38738         of MAXSYMLINKS.
38739         * elf/chroot_canon.c (chroot_canon): Likewise.
38741 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38743         [BZ #13717]
38744         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38745         Change to 2.6.0 everywhere.
38746         * sysdeps/unix/sysv/linux/configure: Regenerated.
38747         * sysdeps/unix/sysv/linux/kernel-features.h
38748         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38749         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38750         kernel versions.
38751         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38752         (__ASSUME_FUTEX_REQUEUE): Remove.
38753         (__ASSUME_STATFS64): Define unconditionally.
38754         (__ASSUME_AT_SECURE): Likewise.
38755         (__ASSUME_CORRECT_SI_PID): Likewise.
38756         (__ASSUME_TGKILL): Define without depending on kernel version for
38757         i386.
38758         (__ASSUME_UTIMES): Likewise.
38759         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38760         kernel version.
38761         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38762         (__ASSUME_TMPFS_NAME): Likewise.
38763         * README: Update reference to Linux kernel versions.
38765 2012-08-02  Marek Polacek  <polacek@redhat.com>
38767         [BZ# 14150]
38768         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38769         libc_cv_asm_type_prefix with %.
38770         * configure: Regenerated.
38771         * include/libc-symbols.h: Remove comment about
38772         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38773         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38774         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38775         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38776         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38777         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38778         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38779         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38780         * elf/tst-unique2mod1.c: Likewise.
38781         * elf/tst-unique1mod2.c: Likewise.
38782         * elf/tst-unique1mod1.c: Likewise.
38783         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38784         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38785         Replace ASM_TYPE_DIRECTIVE with .type.
38786         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38787         * sysdeps/i386/sysdep.h: Likewise.
38788         * sysdeps/x86_64/sysdep.h: Likewise.
38789         * sysdeps/sh/sysdep.h: Likewise.
38790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38791         Do not define ASM_TYPE_DIRECTIVE.
38792         * sysdeps/powerpc/sysdep.h: Likewise.
38793         * sysdeps/powerpc/powerpc32/sysdep.h:
38794         Replace ASM_TYPE_DIRECTIVE with .type.
38795         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38796         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38797         * sysdeps/i386/fpu/e_powf.S: Likewise.
38798         * sysdeps/i386/fpu/e_expl.S: Likewise.
38799         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38800         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38801         * sysdeps/i386/fpu/e_pow.S: Likewise.
38802         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38804         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38805         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38806         * sysdeps/i386/fpu/e_log2.S: Likewise.
38807         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38808         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38809         * sysdeps/i386/fpu/e_powl.S: Likewise.
38810         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38811         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38812         * sysdeps/i386/fpu/e_logl.S: Likewise.
38813         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38814         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38815         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38816         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38817         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38818         * sysdeps/i386/fpu/e_log.S: Likewise.
38819         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38820         * sysdeps/i386/fpu/e_logf.S: Likewise.
38821         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38822         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38823         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38824         * sysdeps/i386/fpu/e_log10.S: Likewise.
38825         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38826         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38827         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38828         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38829         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38830         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38831         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38832         * sysdeps/i386/i686/strtok.S: Likewise.
38833         * sysdeps/i386/i386-mcount.S: Likewise.
38834         * sysdeps/i386/strtok.S: Likewise.
38835         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38836         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38837         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38838         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38839         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38840         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38841         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38842         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38843         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38844         * sysdeps/x86_64/_mcount.S: Likewise.
38845         * sysdeps/x86_64/strtok.S: Likewise.
38846         * sysdeps/sh/_mcount.S: Likewise.
38848 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38850         * libio/iofopen.c: Include <fcntl.h>.
38851         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38852         (_IO_fopen64, fopen64): Define as aliases.
38853         * libio/iofopen64.c: Include <fcntl.h>.
38854         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38855         Conditionalize body on this.
38856         * sysdeps/wordsize-64/iofopen.c: File removed.
38857         * sysdeps/wordsize-64/iofopen64.c: File removed.
38859 2012-08-01  Marek Polacek  <polacek@redhat.com>
38861         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38862         Use dlfcn directly instead of a variable.
38863         (binfmt-subdir): Do not define.
38864         (dlfcn): Likewise.
38866 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38869         Remove all definitions.
38870         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38871         <kernel-features.h>.
38872         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38873         (miss_F_GETOWN_EX): Remove all definitions.
38874         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38875         macro definition.
38876         [!__ASSUME_FCNTL64]: Remove conditional code.
38877         [__ASSUME_FCNTL64]: Make code unconditional.
38878         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38879         <kernel-features.h>.
38880         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38881         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38882         (lockf64) [__NR_fcntl64]: Make code unconditional.
38883         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38885         * sysdeps/unix/sysv/linux/kernel-features.h
38886         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38887         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38888         Make code unconditional.
38889         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38890         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38892         [__NR_vfork]: Make code unconditional.
38893         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38894         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38896         [__NR_vfork]: Make code unconditional.
38897         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38898         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38900 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38902         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38903         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38905         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38906         Define mkstemp64 as an alias.
38907         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38908         Define mkstemps64 as an alias.
38909         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38910         Define mkostemp64 as an alias.
38911         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38912         Define mkostemps64 as an alias.
38913         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38914         Conditionalize body on this.
38915         * misc/mkostemp64.c: Likewise.
38916         * misc/mkostemps64.c: Likewise.
38917         * misc/mkstemps64.c: Likewise.
38918         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38919         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38920         * sysdeps/wordsize-64/mkostemp.c: File removed.
38921         * sysdeps/wordsize-64/mkstemp.c: File removed.
38922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38923         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38924         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38925         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38927         [BZ #14138]
38928         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38929         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38930         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38931         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38933         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38934         compat_symbol macros from <shlib-compat.h> rather than the underlying
38935         default_symbol_version and symbol_version macros, so that DEFAULT
38936         lines in shlib-versions are respected.
38937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38939 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38941         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38942         Declare with warn_unused_result.
38943         (setgid, setregid, setegid, setresgid): Likewise.
38944         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38945         Likewise.
38946         * WUR-REPORT: Remove set*id functions.
38948 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38950         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38952 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38954         [BZ #10191]
38955         * include/sys/socket.h (__libc_accept, __libc_accept4):
38956         Add attribute_hidden.
38957         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38959         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38960         use of PTR_MANGLE.
38961         * inet/getnetgrent_r.c (setup): Likewise.
38963         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38965 2012-07-31  David S. Miller  <davem@davemloft.net>
38967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38969 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38971         [BZ #13629]
38972         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38973         value between 1.0 and 2.0 and smaller part has absolute value less
38974         than 1.0.
38975         * math/s_clog10.c (__clog10): Likewise.
38976         * math/s_clog10f.c (__clog10f): Likewise.
38977         * math/s_clog10l.c (__clog10l): Likewise.
38978         * math/s_clogf.c (__clogf): Likewise.
38979         * math/s_clogl.c (__clogl): Likewise.
38980         * math/libm-test.inc (clog_test): Add more tests.
38981         (clog10_test): Likewise.
38982         * sysdeps/i386/fpu/libm-test-ulps: Update.
38983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38985 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38987         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38988         Exit with zero in case no suitable GID is found, and write a
38989         message to standard error.
38991 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38993         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38994         rather than to 1.
38995         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38996         (MAXPATHLEN): Removed.
38997         (NOGROUP, NODEV): New macros.
38998         (setbit, clrbit, isset, isclr): New macros.
38999         (howmany, roundup, powerof2): New macros.
39000         (DEV_BSIZE): New macro.
39002         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39003         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39005         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39006         definition on [!__NO_LONG_DOUBLE_MATH].
39008         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39009         PTR_MANGLE and PTR_DEMANGLE.
39011         * socket/accept4.c (accept4): Rename to __libc_accept4.
39012         Define accept4 as a weak alias.
39014         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39015         on [_DIRENT_HAVE_D_TYPE].
39016         * io/ftw.c (ftw_dir): Likewise.
39018         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39020         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39022         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39023         Use the BSD numbers rather than the arbitrary ones we had.
39024         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39025         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39026         (SIGXCPU, SIGXFSZ): New macros.
39027         (_NSIG): Now 32.
39029         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39030         initializer on [_LIBC_REENTRANT].
39032         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39033         definitions inside [_POSIX_MAPPED_FILES].
39035         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39037         * dirent/opendir.c: Include <fcntl.h>.
39039         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39040         (__libc_getspecific): Likewise.
39041         (__libc_key_create): Likewise.
39043         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39044         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39045         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39046         (tmpfile64): Define as alias.
39047         * sysdeps/wordsize-64/tmpfile.c: File removed.
39048         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39049         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39050         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39052         * stdio-common/vfscanf.c: Include <stdbool.h>.
39053         * nss/makedb.c: Likewise.
39054         * stdio-common/_i18n_number.h: Likewise.
39055         * argp/argp-help.c: Likewise.
39056         * posix/wordexp.c: Likewise.
39057         * sysdeps/posix/spawni.c: Likewise.
39058         * nss/nss_files/files-initgroups.c: Likewise.
39059         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39060         * nss/nss_files/files-initgroups.c: Likewise.
39061         * nss/nss_db/db-netgrp.c: Likewise.
39062         * nss/nss_db/db-initgroups.c: Likewise.
39063         * io/fchmodat.c: Include <sys/stat.h>.
39065         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39066         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39068         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39069         [HAVE_MMAP].
39071         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39072         Add multiple inclusion protection.
39074 2012-07-27  David S. Miller  <davem@davemloft.net>
39076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39078 2012-07-27  Gary Benson  <gbenson@redhat.com>
39080         [BZ #14298]
39081         * elf/rtld.c: Include <stap-probe.h>.
39082         (dl_main): Added static probes "init_start" and "init_complete".
39083         * elf/dl-load.c: Include <stap-probe.h>.
39084         (lose): Take new parameter "nsid".
39085         Added static probe "map_failed".
39086         (_dl_map_object_from_fd): Pass namespace id to lose.
39087         Added static probe "map_start".
39088         (open_verify): Pass namespace id to lose.
39089         * elf/dl-open.c: Include <stap-probe.h>.
39090         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39091         and "reloc_complete".
39092         * elf/dl-close.c: Include <stap-probe.h>.
39093         (_dl_close_worker): Added static probes "unmap_start" and
39094         "unmap_complete".
39095         * elf/rtld-debugger-interface.txt: New file documenting the above.
39097 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39099         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39100         rather than a string variable.
39101         * sunrpc/rpc_main.c (h_output): Likewise.
39102         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39104 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39106         * inet/check_native.c: New file.
39108 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39110         [BZ #13629]
39111         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39112         if larger part has absolute value 1.0.
39113         * math/s_clog10.c (__clog10): Likewise.
39114         * math/s_clog10f.c (__clog10f): Likewise.
39115         * math/s_clog10l.c (__clog10l): Likewise.
39116         * math/s_clogf.c (__clogf): Likewise.
39117         * math/s_clogl.c (__clogl): Likewise.
39118         * math/libm-test.inc (clog_test): Add more tests.
39119         (clog10_test): Likewise.
39120         * sysdeps/i386/fpu/libm-test-ulps: Update.
39121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39123         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39124         (pltexit): Likewise.
39125         (La_regs): Likewise.
39126         (La_retval): Likewise.
39127         (int_retval): Likewise.
39128         Update #error for removed macros to refer only to definitions in
39129         tst-audit.h.
39130         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39131         macro.
39132         (pltexit): Likewise.
39133         (La_regs): Likewise.
39134         (La_retval): Likewise.
39135         (int_retval): Likewise.
39136         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39137         macro.
39138         (pltexit): Likewise.
39139         (La_regs): Likewise.
39140         (La_retval): Likewise.
39141         (int_retval): Likewise.
39142         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39143         macro.
39144         (pltexit): Likewise.
39145         (La_regs): Likewise.
39146         (La_retval): Likewise.
39147         (int_retval): Likewise.
39148         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39149         macro.
39150         (pltexit): Likewise.
39151         (La_regs): Likewise.
39152         (La_retval): Likewise.
39153         (int_retval): Likewise.
39154         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39155         macro.
39156         (pltexit): Likewise.
39157         (La_regs): Likewise.
39158         (La_retval): Likewise.
39159         (int_retval): Likewise.
39160         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39161         macro.
39162         (pltexit): Likewise.
39163         (La_regs): Likewise.
39164         (La_retval): Likewise.
39165         (int_retval): Likewise.
39166         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39167         macro definitions in tst-audit.h.
39168         * sysdeps/i386/tst-audit.h: New file.
39169         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39170         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39171         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39172         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39173         * sysdeps/sh/tst-audit.h: Likewise.
39174         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39175         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39176         * sysdeps/x86_64/tst-audit.h: Likewise.
39178 2012-07-26  Andreas Jaeger  <aj@suse.de>
39180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39181         ptrace.
39183         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39184         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39185         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39186         PTRACE_O_MASK.
39187         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39188         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39189         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39191         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39192         value.
39194         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39195         _sigsys.
39196         (si_call_addr, si_syscall, si_arch): Define new macro.
39197         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39198         _sigsys.
39199         (si_call_addr, si_syscall, si_arch): Define new marcro.
39200         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39201         _sigsys.
39202         (si_call_addr, si_syscall, si_arch): Define new macro.
39203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39204         _sigsys.
39205         (si_call_addr, si_syscall, si_arch): Define new macro.
39207 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39209         [BZ #13717]
39210         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39211         Change to 2.4.21 where previously 2.4.1.
39212         * sysdeps/unix/sysv/linux/configure: Regenerated.
39213         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39214         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39215         Linux kernel version.
39216         (__ASSUME_STD_AUXV): Remove.
39217         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39218         kernel version.
39219         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39220         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39221         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39222         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39223         (__ASSUME_NETLINK_SUPPORT): Likewise.
39224         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39225         (__no_netlink_support): Remove conditional definition.
39226         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39227         Remove.
39228         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39229         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39230         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39231         (if_nameindex_ioctl): Remove.
39232         (if_nameindex_netlink): Do not handle __no_netlink_support.
39233         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39234         code.
39235         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39236         Remove conditional code.
39237         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39238         code.
39239         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39240         unconditional.
39241         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39242         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39243         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39244         Remove.
39245         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39246         [!__ASSUME_STD_AUXV]: Remove conditional code.
39247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39248         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39249         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39251         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39252         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39253         code.
39254         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39256         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39257         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39258         conditional code.
39259         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39261         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39262         code.
39263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39264         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39265         conditional code.
39266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39267         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39268         code unconditional.
39269         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39270         conditional code.
39271         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39272         unconditional.
39273         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39274         conditional code.
39275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39276         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39277         unconditional.
39278         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39279         conditional code.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39281         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39282         code unconditional.
39283         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39284         conditional code.
39285         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39286         unconditional.
39287         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39288         conditional code.
39289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39290         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39291         code unconditional.
39292         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39293         conditional code.
39294         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39295         unconditional.
39296         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39297         conditional code.
39299 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39301         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39302         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39303         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39304         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39305         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39306         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39307         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39308         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39309         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39310         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39311         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39312         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39313         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39314         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39315         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39316         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39317         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39318         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39319         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39321         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39322         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39323         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39325 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39327         * Versions.def: Add GLIBC_2.17.
39328         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39329         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39330         Introduce __libc_secure_getenv.
39331         * stdlib/Versions (2.17): Add secure_getenv
39332         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39333         * stdlib/secure-getenv.c: Rename __secure_getenv to
39334         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39335         symbol __secure_getenv for GLIBC_2.0.
39336         * stdlib/tst-secure-getenv.c: New.
39337         * stdlib/Makefile (tests): Add testcase.
39338         * manual/startup.texi (Environment Access): Document
39339         secure_getenv.
39340         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39341         __libc_secure_getenv.
39342         * inet/ruserpass.c (ruserpass): Likewise.
39343         * malloc/mtrace.c (mtrace): Likewise.
39344         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39345         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39346         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39347         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39348         HAVE_SECURE_GETENV.
39349         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39350         __secure_getenv to __libc_secure_getenv.
39351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39353         Likewise.
39354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39355         Likewise.
39356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39364 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39366         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39367         (struct La_i86_retval): Likewise.
39368         (struct La_x86_64_regs): Likewise.
39369         (struct La_x86_64_retval): Likewise.
39370         (struct La_x32_regs): Likewise.
39371         (struct La_x32_retval): Likewise.
39372         (struct La_ppc32_regs): Likewise.
39373         (struct La_ppc32_retval): Likewise.
39374         (struct La_ppc64_regs): Likewise.
39375         (struct La_ppc64_retval): Likewise.
39376         (struct La_sh_regs): Likewise.
39377         (struct La_sh_retval): Likewise.
39378         (struct La_s390_32_regs): Likewise.
39379         (struct La_s390_32_retval): Likewise.
39380         (struct La_s390_64_regs): Likewise.
39381         (struct La_s390_64_retval): Likewise.
39382         (struct La_sparc32_regs): Likewise.
39383         (struct La_sparc32_retval): Likewise.
39384         (struct La_sparc64_regs): Likewise.
39385         (struct La_sparc64_retval): Likewise.
39386         (struct audit_ifaces): Remove architecture-specific pltenter and
39387         pltexit members.
39388         * sysdeps/i386/ldsodefs.h: New file.
39389         * sysdeps/powerpc/ldsodefs.h: Likewise.
39390         * sysdeps/s390/ldsodefs.h: Likewise.
39391         * sysdeps/sh/ldsodefs.h: Likewise.
39392         * sysdeps/sparc/ldsodefs.h: Likewise.
39393         * sysdeps/x86_64/ldsodefs.h: Likewise.
39395 2012-07-25  Marek Polacek  <polacek@redhat.com>
39397         [BZ #6808]
39398         * math/libm-test.inc (yn_test): Add another test.
39399         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39400         to ERANGE when the result is +-Inf.
39401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39402         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39403         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39404         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39406 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39408         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39409         equal to 0.
39410         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39411         clock_t.
39412         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39414 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39416         * configure.in <sysdeps resolving>: Correct printing
39417         Implies_before.
39418         * configure: Regenerate.
39420 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39422         * math/w_ilogb.c: Include <limits.h>.
39423         * math/w_ilogbl.c: Likewise.
39425 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39427         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39428         va_copy.  Document allowing for unavailable va_copy only as
39429         pre-C99 compatibility.
39430         * manual/string.texi (Copying and Concatenation): Use va_copy
39431         instead of __va_copy in concat example.
39433 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39435         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39436         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39437         it if not null.
39439         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39440         with O_NOLINK passed to __file_name_lookup.
39442         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39443         with O_NOLINK passed to __file_name_lookup.
39445         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39446         negative N or less than NGIDS.
39448         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39449         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39450         enough.  Use memcpy instead of strncpy.
39452 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39454         * elf/Makefile (check-data): Remove.
39455         (localplt.data): New vpath directive.
39456         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39457         instead of $(check-data).
39458         * scripts/data/localplt-generic.data: Move to ...
39459         * sysdeps/generic/localplt.data: ... here.
39460         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39461         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39462         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39464         ... here.
39465         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39467         ... here.
39468         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39470         ... here.
39471         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39473         ... here.
39474         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39476         ... here.
39477         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39479         ... here.
39481 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39483         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39484         PPC32 and PPC64 files.
39485         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39486         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39488 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39490         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39491         __makecontext_ret to ...
39492         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39493         ... here and call exit if uc_link is NULL.  New file.
39494         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39495         __makecontext_ret.S.
39496         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39497         __makecontext_ret to ...
39498         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39499         ... here and call exit if uc_link is NULL.  New file.
39500         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39501         __makecontext_ret.S.
39503 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39505         * elf/elf.h (R_390_IRELATIVE): New definition.
39506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39507         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39508         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39509         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39510         (elf_machine_lazy_rel): Likewise.
39511         * sysdeps/s390/dl-irel.h: New file.
39512         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39513         * sysdeps/s390/s390-64/memset.S: New asm code.
39514         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39515         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39516         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39517         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39518         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39519         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39521         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39522         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39523         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39524         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39525         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39526         * sysdeps/s390/s390-32/memset.S: New asm code.
39527         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39529 2012-07-17  Marek Polacek  <polacek@redhat.com>
39531         [BZ #14349]
39532         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39533         * sysdeps/s390/s390-64/configure.in: Likewise.
39534         * sysdeps/sparc/configure.in: Likewise.
39535         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39536         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39537         * sysdeps/i386/configure.in: Likewise.
39538         * sysdeps/x86_64/configure.in: Likewise.
39539         * sysdeps/sh/configure.in: Likewise.
39540         * sysdeps/s390/s390-32/configure: Regenerated.
39541         * sysdeps/s390/s390-64/configure: Likewise.
39542         * sysdeps/x86_64/configure: Likewise.
39543         * sysdeps/sh/configure: Likewise.
39544         * sysdeps/powerpc/powerpc64/configure: Likewise.
39545         * sysdeps/powerpc/powerpc32/configure: Likewise.
39546         * sysdeps/sparc/configure: Likwise.
39547         * sysdeps/i386/configure: Likewise.
39549         * elf/dl-open.c: Comment fixes.
39551 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39553         * Makefile [CXX] (check-data): Remove.
39554         [CXX] (c++-types.data): New vpath directive.
39555         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39556         vpath.  Do not allow for C++ type data being missing.
39557         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39558         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39559         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39560         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39561         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39562         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39563         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39565         ... here.
39566         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39568         ... here.
39569         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39571         ... here.
39572         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39574         ... here.
39575         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39577         ... here.
39578         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39580         ... here.
39581         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39583         ... here.
39584         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39587         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39588         definitions to architecture-specific files.
39589         (TLS_IE): Likewise.
39590         (TLS_LD): Likewise.
39591         (TLS_GD): Likewise.
39592         * sysdeps/i386/tls-macros.h: New file.
39593         * sysdeps/powerpc/tls-macros.h: Likewise.
39594         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39595         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39596         * sysdeps/sh/tls-macros.h: Likewise.
39597         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39598         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39599         * sysdeps/x86_64/tls-macros.h: Likewise.
39601 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39603         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39604         zero value for regular exit case.
39606         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39607         (__start_context): Preserve zero value for regular exit case.
39609 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39610             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39612         * manual/setjmp.texi (setcontext): Clarify normal process
39613         termination when uc_link is the null pointer.
39614         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39615         exit call.
39617 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39619         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39620         preprocessor.  Test for each exception mask separately.
39622 2012-07-16  Andreas Jaeger  <aj@suse.de>
39624         * po/ru.po: Update from translation team.
39626 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39628         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39629         equal to 0.
39630         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39631         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39632         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39633         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39636 2012-07-13  Andreas Jaeger  <aj@suse.de>
39638         * po/fr.po: Update from translation team.
39640 2012-07-12  Marek Polacek  <polacek@redhat.com>
39642         [BZ #14173]
39643         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39644         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39645         loop condition.
39647 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39649         [BZ #13717]
39650         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39651         Change to 2.4.1 where previously 2.4.0.
39652         * sysdeps/unix/sysv/linux/configure: Regenerated.
39653         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39654         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39655         version.
39656         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39657         (__ASSUME_AT_CLKTCK): Remove.
39658         (__ASSUME_AT_PAGESIZE): Likewise.
39659         (__ASSUME_AT_XID): Likewise.
39660         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39661         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39662         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39663         unconditionally.
39664         (HAVE_AUX_PAGESIZE): Likewise.
39665         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39666         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39667         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39669 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39671         [BZ #14307]
39672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39673         the temporary buffer used to invoke __gethostbyname2_r,
39674         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39675         host_data / struct gaih_addrtuple.
39676         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39677         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39678         header file nss/nsswitch.h.
39679         * nss/nsswitch.h (global scope): Add definition of implementation
39680         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39681         resolv/nss_dns/dns-host.c).
39683 2012-07-11  Andreas Jaeger  <aj@suse.de>
39685         * po/fr.po: Update from translation team.
39687         * po/sv.po: Update from translation team
39688         * po/fr.po: Another update from translation team.
39690 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39692         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39693         for subnormals or multiply small sinh result by itself.
39694         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39697 2012-07-11  David S. Miller  <davem@davemloft.net>
39699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39701 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39703         [BZ #14347]
39704         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39705         (INTERNAL_MARK): Shift it here.
39707 2012-07-10  Marek Polacek  <polacek@redhat.com>
39709         [BZ #14151]
39710         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39711         libc_cv_asm_global_directive with .globl.
39712         * configure: Regenerated.
39713         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39714         with .globl.
39715         * sysdeps/i386/configure: Regenerated.
39716         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39717         with .globl.
39718         * sysdeps/x86_64/configure: Regenerated.
39719         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39720         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39721         * elf/tst-unique2mod2.c: Likewise.
39722         * elf/tst-unique2mod1.c: Likewise.
39723         * elf/tst-unique1mod2.c: Likewise.
39724         * elf/tst-unique1mod1.c: Likewise.
39725         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39726         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39727         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39728         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39729         * sysdeps/mach/sysdep.h: Likewise.
39730         * sysdeps/i386/sysdep.h: Likewise.
39731         * sysdeps/i386/i386-mcount.S: Likewise.
39732         * sysdeps/x86_64/_mcount.S: Likewise.
39733         * sysdeps/x86_64/sysdep.h: Likewise.
39734         * sysdeps/sh/_mcount.S: Likewise.
39735         * sysdeps/sh/sysdep.h: Likewise.
39736         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39737         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39738         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39739         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39740         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39741         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39742         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39743         * locale/localeinfo.h: Likewise.
39744         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39745         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39747 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39749         [BZ #14336]
39750         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39751         system".
39752         * manual/message.texi (The Uniforum approach): Likewise.
39753         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39754         (glibc iconv Implementation): Likewise.
39756 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39758         [BZ #14337]
39759         * math/s_clog.c (__clog): Avoid scaling a value down where that
39760         could result in underflow.
39761         * math/s_clog10.c (__clog10): Likewise.
39762         * math/s_clog10f.c (__clog10f): Likewise.
39763         * math/s_clog10l.c (__clog10l): Likewise.
39764         * math/s_clogf.c (__clogf): Likewise.
39765         * math/s_clogl.c (__clogl): Likewise.
39766         * math/libm-test.inc (clog_test): Add more tests.
39767         (clog10_test): Likewise.
39768         * sysdeps/i386/fpu/libm-test-ulps: Update.
39769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39771 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39773         [BZ #14283]
39774         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39775         by 7 not 8 to examine high bit of fractional part.
39777         [BZ #14042]
39778         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39779         for call to __mcount_internal.
39780         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39781         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39782         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39784 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39786         [BZ #14154]
39787         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39788         approximation for values within 0x1p-13f of an odd multiple of
39789         pi/4.
39790         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39791         exception.  Add more tests.
39792         * sysdeps/i386/fpu/libm-test-ulps: Update.
39794         [BZ #6778]
39795         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39796         inputs and return -1 for them.  Do not check for +Inf in case not
39797         reachable for +Inf.
39798         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39799         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39800         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39801         and return -1 for them.  Do not check for +Inf in case not
39802         reachable for +Inf.
39803         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39804         define.
39805         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39806         and return -1 for them.  Do not check for +Inf in case not
39807         reachable for +Inf.
39808         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39809         spurious underflow.
39810         * sysdeps/i386/fpu/libm-test-ulps: Update.
39811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39813 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39815         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39817 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39819         [BZ #14157]
39820         [BZ #14331]
39821         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39822         could result in spurious underflow.  Scale down values above
39823         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39824         * math/s_csqrtf.c (__csqrtf): Likewise.
39825         * math/s_csqrtl.c (__csqrtl): Likewise.
39826         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39827         spurious underflow.
39828         * sysdeps/i386/fpu/libm-test-ulps: Update.
39829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39831 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39833         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39834         xopen-msg.sed.
39835         * catgets/xopen-msg.awk: New file.
39836         * catgets/xopen-msg.sed: Removed.
39838         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39839         po2text.sed.
39840         * intl/po2test.awk: New file.
39841         * intl/po2test.sed: Removed.
39843 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39845         [BZ #14328]
39846         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39847         or multiply small sinh result by itself.
39848         * math/s_ctanf.c (__ctanf): Likewise.
39849         * math/s_ctanh.c (__ctanh): Likewise.
39850         * math/s_ctanhf.c (__ctanhf): Likewise.
39851         * math/s_ctanhl.c (__ctanhl): Likewise.
39852         * math/s_ctanl.c (__ctanl): Likewise.
39853         * math/libm-test.inc (ctan_test_tonearest): New function.
39854         (ctan_test_towardzero): Likewise.
39855         (ctan_test_downward): Likewise.
39856         (ctan_test_upward): Likewise.
39857         (ctanh_test_tonearest): Likewise.
39858         (ctanh_test_towardzero): Likewise.
39859         (ctanh_test_downward): Likewise.
39860         (ctanh_test_upward): Likewise.
39861         (main): Call these new functions.
39862         * sysdeps/i386/fpu/libm-test-ulps: Update.
39863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39865 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39867         * .gitignore: Delete /ports entry.
39869 2012-07-03  Andreas Jaeger  <aj@suse.de>
39871         * po/bg.po: Update from translation team.
39872         * po/cs.po: Likewise.
39873         * po/de.po: Likewise.
39874         * po/hr.po: Likewise.
39875         * po/nl.pl: Likewise.
39876         * po/pl.po: Likewise.
39877         * po/vi.po: Likewise.
39879 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39881         * Makeconfig [!+link] (+link-before-libc): New variable.
39882         [!+link] (+link-after-libc): Likewise.
39883         [!+link] (+link-tests): Likewise.
39884         [!+link] (+link): Define in terms of $(+link-before-libc) and
39885         $(+link-after-libc).
39886         [!+link-static] (+link-static-before-libc): New variable.
39887         [!+link-static] (+link-static-after-libc): Likewise.
39888         [!+link-static] (+link-static-tests): Likewise.
39889         [!+link-static] (+link-static): Define in terms of
39890         $(+link-static-before-libc) and $(+link-static-after-libc).
39891         [build-shared] (link-libc-before-gnulib): New variable.
39892         [build-shared] (link-libc-tests): Likewise.
39893         [build-shared] (link-libc): Define in terms of
39894         $(link-libc-before-gnulib).
39895         [!build-shared] (link-libc-tests): New variable.
39896         (link-libc-static-tests): New variable.
39897         [!gnulib] (gnulib-arch): New variable.
39898         [!gnulib] (gnulib-tests): Likewise.
39899         [!gnulib] (static-gnulib-arch): Likewise.
39900         [!gnulib] (static-gnulib-tests): Likewise.
39901         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39902         Define with "=" instead of ":=".
39903         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39904         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39905         * Rules (binaries-all-notests): New variable.
39906         (binaries-all-tests): Likewise.
39907         (binaries-static-notests): Likewise.
39908         (binaries-static-tests): Likewise.
39909         (binaries-all): Define using $(binaries-all-notests) and
39910         $(binaries-all-tests).
39911         (binaries-static): Define using $(binaries-static-notests) and
39912         $(binaries-static-tests).
39913         (binaries-shared-tests): New variable.
39914         (binaries-shared-notests): Likewise.
39915         (binaries-shared): Remove variable.
39916         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39917         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39918         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39919         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39920         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39921         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39922         * elf/Makefile (sln-modules): New variable.
39923         (extra-objs): Add $(sln-modules:=.o).
39924         (ldconfig-modules): Add static-stubs.
39925         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39926         * elf/static-stubs.c: New file.
39928         [BZ #14283]
39929         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39930         by 7 not 8 to examine high bit of fractional part.  Use volatile
39931         variables when splitting into final array of floats if
39932         __FLT_EVAL_METHOD__ != 0.
39933         * math/libm-test.inc (cos_test): Add another test.
39934         (sin_test): Likewise.
39935         * sysdeps/i386/fpu/libm-test-ulps: Update.
39937         [BZ #14273]
39938         * math/libm-test.inc (cosh_test): Add more tests.
39940         * version.h (RELEASE): Set to "development".
39941         (VERSION): Set to "2.16.90".
39943 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39945         * NEWS: Update copyright. Remove last-updated date.
39946         Mention math library bug fixes and timezone data changes.
39947         * README: Mention GNU/Hurd, x32, and HPPA support status.
39949 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39951         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39953 2012-06-27  Andreas Jaeger  <aj@suse.de>
39955         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39957 2012-06-25  Andreas Jaeger  <aj@suse.de>
39959         * sysdeps/s390/fpu/libm-test-ulps: Update.
39961 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39962             Thomas Schwinge  <thomas@codesourcery.com>
39964         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39965         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39967         fanotify_mark.
39969 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39971         * sysdeps/mach/start.c: Remove file.
39972         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39973         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39974         * sysdeps/sh/init-first.c: Likewise.
39976         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39977         registers for frame unwinding purposes, add CFI directives.
39978         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39979         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39980         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39981         Likewise.
39983         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39984         __fortify_fail returning.
39985         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39987         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39988         sysdeps/sh/____longjmp_chk.S.
39989         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39990         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39991         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39992         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39994         * sysdeps/sh/abort-instr.h: New file.
39995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39996         process in case exit returns.
39998         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39999         initialize the GOT register before use.
40001         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40002         calculation of ARGC > 4.
40004         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40005         meaningful names to some local labels.
40007 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40008             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40010         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40011         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40012         (__arch_compare_and_exchange_val_16_acq): Likewise.
40013         (__arch_compare_and_exchange_val_32_acq): Likewise.
40014         (atomic_exchange_and_add): Fix gUSA sequence.
40015         (atomic_add): Likewise.
40016         (atomic_add_negative): Likewise.
40017         (atomic_add_zero): Likewise.
40018         (atomic_bit_test_set): Likewise.
40020 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40022         [BZ #13579]
40023         * include/link.h (struct link_map): Add l_free_initfini.
40024         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40025         l_initfini.
40026         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40027         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40028         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40029         set.
40031 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40033         * configure.in: Use AC_LANG_SOURCE.
40034         * configure: Regenerate.
40036 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40038         * configure.in (libc_cv_localstatedir): New substituted variable.
40039         * configure: Regenerated.
40040         * config.make.in (localstatedir): New variable, substituted from
40041         libc_cv_localstatedir.
40042         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40043         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40044         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40045         * sysdeps/gnu/configure: Regenerated.
40047 2012-06-21  Jeff Law  <law@redhat.com>
40049         [BZ #14277]
40050         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40051         free.  Simplify list management for _LIBC case.
40053 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40055         [BZ #14273]
40056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40057         Clear sign bit of 64-bit integer value before comparing against
40058         overflow value.
40060         * sysdeps/mach/configure: Regenerated.
40062 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40064         [BZ #14278]
40065         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40067 2012-06-21  Jeff Law  <law@redhat.com>
40069         [BZ #13882]
40070         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40071         uint16_t for elements in the "seen" array to avoid char overflows.
40072         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40073         * elf/dl-open.c (dl_open_worker): Likewise.
40075 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40077         * scripts/list-sources.sh: Scan PORTS for translations.
40078         * po/libc.pot: Regenerated.
40080 2012-06-21  Andreas Jaeger  <aj@suse.de>
40082         [BZ #12194]
40083         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40084         warning.
40085         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40086         * bits/byteswap-16.h (__bswap_16): Likewise.
40087         * bits/byteswap.h (__bswap_constant_16): Likewise.
40089 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40091         [BZ #14117]
40092         * sysdeps/i386/fpu_control.h: Removed.
40093         * sysdeps/x86_64/fpu_control.h: Moved to ...
40094         * sysdeps/x86/fpu_control.h: Here.
40096         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40097         (_FPU_SETCW): Likewise.
40099 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40101         [BZ #14117]
40102         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40103         * sysdeps/x86/fpu/bits/mathinline.h: This.
40104         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40106         [BZ #14050]
40107         [BZ #14117]
40108         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40109         functions if __x86_64__ is defined.
40111 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40113         * string/endian.h: Add !__ASSEMBLER__ condition for including
40114         conversion interfaces.
40116 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40118         [BZ #14241]
40119         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40120         of ABS(x) in calculating zero to negative powers other than odd
40121         integers.
40122         * math/libm-test.inc (pow_test): Add more tests.
40124 2012-06-15  Andreas Jaeger  <aj@suse.de>
40126         * manual/contrib.texi (Contributors): Update entry of Liubov
40127         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40128         Machado Filho.
40130 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40132         * string/string.h: Add __wur to GNU version of strerror_r.
40134 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40136         [BZ #14229]
40137         * string/Makefile (tests): Add tst-strtok_r.
40138         * string/tst-strtok_r.c: New file.
40139         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40140         RAX_LP/RDX_LP on SAVE_PTR.
40142 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40144         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40146 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40148         * libm_test.inc (csqrt_test): Allow more spurious underflow
40149         exceptions.
40150         (j0_test): Likewise.
40151         (j1_test): Likewise.
40152         (y0_test): Likewise.
40153         (y1_test): Likewise.
40155 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40157         * po/Makefile (libc.pot): Use UTF-8 charset.
40159 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40161         [BZ #14210]
40162         Suppress sign-conversion warning from FD_SET.
40163         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40164         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40165         not unsigned long int.
40166         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40168 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40170         [BZ #14050]
40171         [BZ #14117]
40172         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40173         __extern_always_inline instead of __extern_inline.
40174         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40175         (__signbit): Likewise.
40176         (__signbitl): Support C++ namespace.
40177         (lrintf): New inline function.
40178         (lrint): Likewise.
40179         (llrintf): Likewise.
40180         (llrint): Likewise.
40181         (fmaxf): Likewise.
40182         (fmax): Likewise.
40183         (fminf): Likewise.
40184         (fmin): Likewise.
40185         (rint): Likewise.
40186         (rintf): Likewise.
40187         (ceil): Likewise.
40188         (ceilf): Likewise.
40189         (floor): Likewise.
40190         (floorf): Likewise.
40191         (nearbyint): Likewise.
40192         (nearbyintf): Likewise.
40194 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40196         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40197         non-default versions.
40199 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40201         [BZ #14218]
40202         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40204 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40206         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40207         (FE_UPWARD, FE_DOWNWARD): Don't define.
40208         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40209         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40212         reading it.
40213         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40214         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40216 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40218         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40220         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40221         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40223 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40225         [BZ #14117]
40226         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40227         * sysdeps/i386/fpu/Implies: New file.
40228         * sysdeps/x86_64/fpu/Implies: Likewise.
40229         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40230         * sysdeps/x86/fpu/bits/fenv.h: This.
40232         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40233         __SSE_MATH__.
40235 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40237         [BZ #14134]
40238         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40239         character 0xffff that matches the last element of the
40240         conversion table.
40242 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40245         fmodl commit.
40247 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40250         values higher than 25.6283.
40252 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40254         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40255         subnormal exponent extraction and add some __builtin_expect.
40256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40257         Fix for subnormal mantissa calculation.
40259 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40261         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40262         cpu2 is -1 and errno is not ENOSYS.
40264 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40266         [BZ #14117]
40267         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40268         * sysdeps/x86/bits/string.h: This.
40269         * sysdeps/x86_64/bits/string.h: Removed.
40271         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40272         if not compiling for x86-64, but compiling for >= i486.
40274         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40275         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40277         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40278         New macro from Linux kernel 3.4.0.
40279         (FP_XSTATE_MAGIC2): Likewise.
40280         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40281         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40282         (struct _fpx_sw_bytes): New struct.
40283         (struct _xsave_hdr): Likewise.
40284         (struct _ymmh_state): Likewise.
40285         (struct _xstate): Likewise.
40287         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40288         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40289         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40290         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40291         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40292         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40294         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40295         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40296         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40297         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40298         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40299         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40301 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40303         [BZ #13743]
40304         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40305         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40306         (sysdep_headers): Include sys/platform/ppc.h.
40307         * sysdeps/powerpc/test-gettimebase.c: Test for
40308         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40309         * manual/Makefile (appendices): Include platform.texi.
40310         * manual/contrib.texi (Contributors): Update @node pointers.
40311         * manual/maint.texi (Maintenance): Likewise.
40312         (Platform): New node.
40313         * manual/platform.texi: New file.  Document the new features.
40315 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40316             Jakub Jelinek  <jakub@redhat.com>
40318         [BZ #14188]
40319         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40320         where __builtin_expect is unavailable.
40322 2012-06-03  David S. Miller  <davem@davemloft.net>
40324         * stdlib/longlong.h: Updated from GCC.
40326 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40328         [BZ #14042]
40329         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40330         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40331         __mcount_internal.
40332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40333         (GLIBC_2.16): Likewise.
40335 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40337         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40339 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40342         (default-abi): New variable.
40343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40344         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40345         variable.
40346         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40347         Likewise.
40348         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40349         Likewise.
40350         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40351         Likewise.
40353         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40354         definition.  Document in comment.
40356 2012-06-01  David S. Miller  <davem@davemloft.net>
40358         * stdlib/longlong.h: Updated from GCC.
40360 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40362         [BZ #14117]
40363         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40364         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40365         sys/debugreg.h sys/io.h here.
40366         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40367         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40368         sys/io.h.
40369         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40370         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40371         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40372         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40373         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40374         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40377         Define only if __x86_64__ is defined.
40379 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40381         [BZ #14048]
40382         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40383         Use int64_t for variable i.
40384         * math/libm-test.inc (fmod_test): Add more tests.
40386         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40387         z computation is not scheduled after fetestexcept.
40388         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40389         Use math_force_eval instead of asm to ensure calculation scheduled
40390         before exception test.
40391         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40392         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40394 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40397         computation is not scheduled after fetestexcept.
40399 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40401         [BZ #14117]
40402         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40403         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40405 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40407         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40408         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40410 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40412         [BZ #14117]
40413         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40414         <bits/wordsize.h>.
40415         (__WCHAR_MIN): Support __WORDSIZE == 64.
40416         (__WCHAR_MAX): Likewise.
40418         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40421         [BZ #14183]
40422         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40423         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40425         [BZ #14117]
40426         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40427         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40429         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40430         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40432         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40433         Defined to 1 if __x86_64__ isn't defined.
40434         (_STAT_VER_LINUX_OLD): New.
40435         (st_atime): Remove duplicate.
40436         (st_mtime): Likewise.
40437         (st_ctime): Likewise.
40439 2012-05-31  David S. Miller  <davem@davemloft.net>
40441         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40442         entries.
40444 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40446         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40447         gen-libm-test.pl.
40449         [BZ #14132]
40450         * elf/dl-reloc.c: Include <_itoa.h>.
40451         (_dl_reloc_bad_type): Remove use of INTUSE.
40452         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40453         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40454         * stdio-common/psiginfo.c (psiginfo): Likewise.
40455         * stdio-common/psignal.c (psignal): Likewise.
40456         * string/strsignal.c (strsignal): Likewise.
40457         * include/signal.h (_sys_siglist): Declare hidden proto.
40458         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40459         INTVARDEF with libc_hidden_data_def.
40460         * stdio-common/itoa-udigits.c: Likewise.
40461         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40462         (_itoa_lower_digits_internal): Remove declaration.
40463         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40464         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40465         (_sys_sigabbrev_internal): Remove aliases.
40466         (_sys_siglist): Define hidden alias.
40468 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40471         bits/sysctl.h.
40473 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40475         [BZ #14117]
40476         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40477         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40479         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40480         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40481         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40482         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40484         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40486         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40487         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40488         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40490         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40491         with __addr.
40492         (insw): Likewise.
40493         (insl): Likewise.
40494         (outsb): Likewise.
40495         (outsw): Likewise.
40496         (outsl): Likewise.
40498         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40499         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40500         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40502         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40503         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40505         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40506         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40507         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40509         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40510         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40512         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40513         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40516         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40517         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40519         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40520         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40521         to ...
40522         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40524         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40525         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40526         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40528         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40529         for x86-64.
40530         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40532 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40534         * math/math.h (M_El): Use two more decimal places.
40535         (M_LOG2El): Likewise.
40536         (M_LOG10El): Likewise.
40537         (M_LN2l): Likewise.
40538         (M_LN10l): Likewise.
40539         (M_PIl): Likewise.
40540         (M_PI_2l): Likewise.
40541         (M_PI_4l): Likewise.
40542         (M_1_PIl): Likewise.
40543         (M_2_PIl): Likewise.
40544         (M_2_SQRTPIl): Likewise.
40545         (M_SQRT2l): Likewise.
40546         (M_SQRT1_2l): Likewise.
40548 2012-05-31  David S. Miller  <davem@davemloft.net>
40550         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40551         values between float registers.
40552         * sysdeps/sparc/sparc64/memset.S: Likewise.
40553         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40555 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40557         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40558         -D_FORTIFY_SOURCE=1.
40559         (CPPFLAGS-tst-longjmp_chk.c): Define.
40560         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40561         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40562         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40563         CFLAGS-tst-wchar-h.c.
40565 2012-05-31  Marek Polacek  <polacek@redhat.com>
40567         [BZ #14132]
40568         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40569         __endmntent_internal): Remove declaration.
40570         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40571         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40572         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40574 2012-05-30  David S. Miller  <davem@davemloft.net>
40576         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40577         (___Q_simulate_exceptions): Use real FP ops rather than writing
40578         into the %fsr.
40579         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40580         Likewise.
40582 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40584         [BZ #14117]
40585         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40586         * sysdeps/x86/bits/xtitypes.h: This.
40588         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40589         * sysdeps/x86/bits/wordsize.h: This.
40591         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40592         * sysdeps/x86/bits/huge_vall.h: This.
40594         * sysdeps/i386/bits/select.h: Removed.
40595         * sysdeps/x86_64/bits/select.h: Renamed to ...
40596         * sysdeps/x86/bits/select.h: This.
40598         * sysdeps/i386/bits/setjmp.h: Removed.
40599         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40600         * sysdeps/x86/bits/setjmp.h: This.
40602         * sysdeps/i386/bits/mathdef.h: Removed.
40603         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40604         * sysdeps/x86/bits/mathdef.h: This.
40606 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40608         [BZ #14132]
40609         * include/sys/socket.h (__connect_internal)
40610         (__libc_sa_len_internal): Remove declaration.
40611         (__connect, __libc_sa_len): Declare hidden_proto.
40612         (SA_LEN): Remove use of INTUSE.
40613         * socket/connect.c: Add libc_hidden_def.
40614         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40615         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40616         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40617         alias.
40618         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40619         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40620         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40621         of adding _internal alias.
40623 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40625         [BZ #14117]
40626         * sysdeps/i386/bits/link.h: Removed.
40627         * sysdeps/i386/bits/linkmap.h: Likewise.
40628         * sysdeps/x86_64/bits/link.h: Renamed to ...
40629         * sysdeps/x86/bits/link.h: This.
40630         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40631         * sysdeps/x86/bits/linkmap.h: This.
40633         * sysdeps/i386/bits/endian.h: Removed.
40634         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40635         * sysdeps/x86/bits/endian.h: This.
40637         * sysdeps/i386/bits/byteswap.h: Removed.
40638         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40639         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40640         * sysdeps/x86/bits/byteswap.h: This.
40641         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40642         * sysdeps/x86/bits/byteswap-16.h: This.
40643         * sysdeps/i386/Implies: Add x86.
40644         * sysdeps/x86_64/Implies: Likewise.
40646 2012-05-30  David S. Miller  <davem@davemloft.net>
40648         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40649         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40650         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40651         (FP_TRAPPING_EXCEPTIONS): Define.
40652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40653         (FP_TRAPPING_EXCEPTIONS): Define.
40654         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40655         subnormals only when inexact has been signalled or underflow
40656         exceptions are enabled.
40657         (_FP_PACK_CANONICAL): Likewise.
40659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40661         [BZ #14183]
40662         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40663         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40665 2012-05-30  Richard Henderson  <rth@twiddle.net>
40667         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40668         with #ifndef NOT_IN_libc.
40670         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40671         marked to avoid plt entry.
40673 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40675         [BZ #14112]
40676         * Makeconfig (default-abi): New macro.
40677         (abi-includes): Likewise.
40678         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40679         $(abi-$(default-abi)-lib-soname) for soname if defined.
40680         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40681         abi-variants.
40682         * Makefile (installed-stubs): Likewise.
40683         * include/stubs-biarch.h: Removed.
40684         * scripts/lib-names.awk: Only handle one library at a time.
40685         * scripts/soversions.awk: Remove WORDSIZE support.
40686         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40687         entries.
40688         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40689         Removed.
40690         (syscall-list-default-condition): Likewise.
40691         (syscall-list-default-condition): Likewise.
40692         (syscall-list-includes): Likewise.
40693         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40694         syscall-list-* with abi-*.  Handle undefined abi-variants.
40695         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40696         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40697         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40698         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40699         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40700         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40701         Removed.
40702         (syscall-list-32-options): Likewise.
40703         (syscall-list-32-condition): Likewise.
40704         (syscall-list-64-options): Likewise.
40705         (syscall-list-64-condition): Likewise.
40706         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40707         macro.
40708         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40709         Renamed to ...
40710         (abi-*): This.
40711         (abi-64-ld-soname): New macro.
40712         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40713         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40714         Renamed to ...
40715         (abi-*): This.
40716         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40717         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40719 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40721         * sysdeps/unix/sysv/linux/kernel-features.h
40722         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40723         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40724         include <kernel-features.h>.
40725         [!__NR_ftruncate64]: Remove conditional code.
40726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40727         [__NR_ftruncate64]: Make code unconditional.
40728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40729         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40730         include <kernel-features.h>.
40731         [!__NR_ftruncate64]: Remove conditional code.
40732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40733         [__NR_ftruncate64]: Make code unconditional.
40734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40736         include <kernel-features.h>.
40737         [!__NR_ftruncate64]: Remove conditional code.
40738         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40739         [__NR_ftruncate64]: Make code unconditional.
40740         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40742         include <kernel-features.h>.
40743         [!__NR_ftruncate64]: Remove conditional code.
40744         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40745         [__NR_ftruncate64]: Make code unconditional.
40746         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40748         * configure.in (libc_cv_fpie): Weaken to a compile test using
40749         LIBC_TRY_CC_OPTION.
40750         * configure: Regenerated.
40752 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40758         Refreshed.
40759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40765         Refreshed.
40767 2012-05-27  David S. Miller  <davem@davemloft.net>
40769         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40770         (___Q_zero): New.
40771         (__Q_simulate_exceptions): Return void.  Change to simulate
40772         exceptions by writing into the %fsr.
40773         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40774         (__Qp_handle_exceptions): Likewise.
40775         (numbers): Delete.
40776         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40777         __Qp_handle_exceptions.
40778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40779         __Qp_handle_exceptions.
40780         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40781         as unused and give dummy FP_RND_NEAREST initializer.
40782         (FP_INHIBIT_RESULTS): Define.
40783         (___Q_simulate_exceptions): Update declaration.
40784         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40785         formatting.
40786         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40787         as unused and give dummy FP_RND_NEAREST initializer.
40788         (__Qp_handle_exceptions): Update declaration.
40789         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40790         formatting.
40792 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40794         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40795         the temporary FPU control word.
40796         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40797         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40798         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40799         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40802         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40803         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40805         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40806         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40808 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40810         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40811         fields.
40813 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40815         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40816         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40817         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40818         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40819         Likewise.
40820         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40821         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40822         Likewise.
40824 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40826         * po/h.po: Update from translation team.
40828 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40830         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40832         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40833         handling of denormals.
40834         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40835         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40836         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40837         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40838         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40841         Likewise.
40843 2012-05-26  Marek Polacek  <polacek@redhat.com>
40845         [BZ #14152]
40846         * math/libm-test.inc (fma_test): Don't always expect underflow
40847         exception.
40849 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         [BZ #12416]
40852         * elf/tst-execstack.c: Include stackinfo.h.
40853         (do_test): Adjust test case to ensure that pthread_getattr_np
40854         behaviour remains the same after marking stack executable.
40856 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40858         * sysdeps/unix/sysv/linux/kernel-features.h
40859         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40860         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40861         kernel-features.h.
40862         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40863         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40864         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40865         kernel-features.h.
40866         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40867         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40869 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40871         * configure.in: Define the default includes to being none.
40872         * configure: Regenerated.
40874 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40876         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40877         * sysdeps/x86_64/setjmp.S: Likewise.
40878         * sysdeps/i386/bsd-setjmp.S: Likewise.
40879         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40880         * sysdeps/i386/setjmp.S: Likewise.
40881         * sysdeps/i386/__longjmp.S: Likewise.
40882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40883         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40885         * include/stap-probe.h: New file.
40886         * configure.in: Handle --enable-systemtap.
40887         * configure: Regenerated.
40888         * config.h.in (USE_STAP_PROBE): New #undef.
40889         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40890         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40891         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40893 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40895         [BZ #13717]
40896         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40897         to 2.4.0 where earlier.
40898         * sysdeps/unix/sysv/linux/configure: Regenerated.
40899         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
40908         [__ASSUME_32BITUIDS]: Make code unconditional.
40909         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40910         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40911         <kernel-features.h>.
40912         [__ASSUME_32BITUIDS]: Make code unconditional.
40913         [!__ASSUME_32BITUIDS]: Remove conditional code.
40914         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40915         <kernel-features.h>.
40916         [__ASSUME_32BITUIDS]: Make code unconditional.
40917         [!__ASSUME_32BITUIDS]: Remove conditional code.
40918         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40919         <kernel-features.h>.
40920         [__ASSUME_32BITUIDS]: Make code unconditional.
40921         [!__ASSUME_32BITUIDS]: Remove conditional code.
40922         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40923         <kernel-features.h>.
40924         [__ASSUME_32BITUIDS]: Make code unconditional.
40925         [!__ASSUME_32BITUIDS]: Remove conditional code.
40926         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40927         <kernel-features.h>.
40928         [__ASSUME_32BITUIDS]: Make code unconditional.
40929         [!__ASSUME_32BITUIDS]: Remove conditional code.
40930         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40931         <kernel-features.h>.
40932         [__ASSUME_32BITUIDS]: Make code unconditional.
40933         [!__ASSUME_32BITUIDS]: Remove conditional code.
40934         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40935         <kernel-features.h>.
40936         [__ASSUME_32BITUIDS]: Make code unconditional.
40937         [!__ASSUME_32BITUIDS]: Remove conditional code.
40938         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40939         <kernel-features.h>.
40940         [__ASSUME_32BITUIDS]: Make code unconditional.
40941         [!__ASSUME_32BITUIDS]: Remove conditional code.
40942         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40943         <kernel-features.h>.
40944         [__ASSUME_32BITUIDS]: Make code unconditional.
40945         [!__ASSUME_32BITUIDS]: Remove conditional code.
40946         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40947         <kernel-features.h>.
40948         [__ASSUME_32BITUIDS]: Make code unconditional.
40949         [!__ASSUME_32BITUIDS]: Remove conditional code.
40950         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40951         <kernel-features.h>.
40952         [__NR_setresgid] (__setresgid): Do not declare.
40953         [__ASSUME_32BITUIDS]: Make code unconditional.
40954         [!__ASSUME_32BITUIDS]: Remove conditional code.
40955         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40956         <kernel-features.h>.
40957         [__NR_setresuid] (__setresuid): Do not declare.
40958         [__ASSUME_32BITUIDS]: Make code unconditional.
40959         [!__ASSUME_32BITUIDS]: Remove conditional code.
40960         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40961         <kernel-features.h>.
40962         [__ASSUME_32BITUIDS]: Make code unconditional.
40963         [!__ASSUME_32BITUIDS]: Remove conditional code.
40964         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40965         <kernel-features.h>.
40966         [__ASSUME_32BITUIDS]: Make code unconditional.
40967         [!__ASSUME_32BITUIDS]: Remove conditional code.
40968         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40969         <kernel-features.h>.
40970         [__ASSUME_32BITUIDS]: Make code unconditional.
40971         [!__ASSUME_32BITUIDS]: Remove conditional code.
40972         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40973         <kernel-features.h>.
40974         [__ASSUME_32BITUIDS]: Make code unconditional.
40975         [!__ASSUME_32BITUIDS]: Remove conditional code.
40976         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40977         <kernel-features.h>.
40978         [__ASSUME_32BITUIDS]: Make code unconditional.
40979         [!__ASSUME_32BITUIDS]: Remove conditional code.
40980         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40981         <kernel-features.h>.
40982         [__ASSUME_32BITUIDS]: Make code unconditional.
40983         [!__ASSUME_32BITUIDS]: Remove conditional code.
40984         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40985         <kernel-features.h>.
40986         [__ASSUME_32BITUIDS]: Make code unconditional.
40987         [!__ASSUME_32BITUIDS]: Remove conditional code.
40988         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40989         <kernel-features.h>.
40990         [__ASSUME_32BITUIDS]: Make code unconditional.
40991         [!__ASSUME_32BITUIDS]: Remove conditional code.
40992         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40993         <kernel-features.h>.
40994         [__ASSUME_32BITUIDS]: Make code unconditional.
40995         [!__ASSUME_32BITUIDS]: Remove conditional code.
40996         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40997         <kernel-features.h>.
40998         [__ASSUME_32BITUIDS]: Make code unconditional.
40999         [!__ASSUME_32BITUIDS]: Remove conditional code.
41000         * sysdeps/unix/sysv/linux/kernel-features.h
41001         (__ASSUME_SETRESUID_SYSCALL): Remove.
41002         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41003         (__ASSUME_32BITUIDS): Likewise.
41004         (__ASSUME_LDT_WORKS): Likewise.
41005         (__ASSUME_O_DIRECTORY): Likewise.
41006         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41007         architecture but not kernel version.
41008         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41009         (__ASSUME_MMAP2_SYSCALL): Likewise.
41010         (__ASSUME_STAT64_SYSCALL): Likewise.
41011         (__ASSUME_IPC64): Likewise.
41012         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41013         <kernel-features.h>.
41014         [__ASSUME_32BITUIDS]: Make code unconditional.
41015         [!__ASSUME_32BITUIDS]: Remove conditional code.
41016         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41017         <kernel-features.h>.
41018         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41019         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41020         132096]: Remove conditional code.
41021         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41022         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41023         <kernel-features.h>.
41024         [__ASSUME_32BITUIDS]: Make code unconditional.
41025         [!__ASSUME_32BITUIDS]: Remove conditional code.
41026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41027         <kernel-features.h>.
41028         [__ASSUME_32BITUIDS]: Make code unconditional.
41029         [!__ASSUME_32BITUIDS]: Remove conditional code.
41030         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41031         <kernel-features.h>.
41032         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41033         unconditional.
41034         (__setresgid): Do not declare.
41035         [__ASSUME_32BITUIDS]: Make code unconditional.
41036         [!__ASSUME_32BITUIDS]: Remove conditional code.
41037         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41038         <kernel-features.h>.
41039         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41040         unconditional.
41041         (__setresuid): Do not declare.
41042         [__ASSUME_32BITUIDS]: Make code unconditional.
41043         [!__ASSUME_32BITUIDS]: Remove conditional code.
41044         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41045         <kernel-features.h>.
41046         [__ASSUME_32BITUIDS]: Make code unconditional.
41047         [!__ASSUME_32BITUIDS]: Remove conditional code.
41048         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41049         <kernel-features.h>.
41050         [__ASSUME_32BITUIDS]: Make code unconditional.
41051         [!__ASSUME_32BITUIDS]: Remove conditional code.
41053 2012-05-25  Richard Henderson  <rth@twiddle.net>
41055         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41056         dl_hwcap to ifunc resolver.
41057         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41058         elf_ifunc_invoke.
41059         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41060         dl_hwcap to ifunc resolver.
41061         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41065         [BZ #14153]
41066         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41067         for |x| <= 2**-26, not 2**-57.
41068         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41069         exception.
41071 2012-05-24  Jeff Law  <law@redhat.com>
41073         * stdio-common/Makefile (tests): Add bug25.
41074         * stdio-common/bug25.c: New test.
41076 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41078         [BZ #13576]
41079         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41080         multiple of MALLOC_ALIGNMENT in size.
41081         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41083 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41085         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41086         Require >= 256.
41087         (FILENAME_MAX): Use macro-int-constant.
41088         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41089         (_IOFBF): Use macro-int-constant.
41090         (_IOLBF): Likewise.
41091         (_IONBF): Likewise.
41092         (SEEK_CUR): Likewise.
41093         (SEEK_END): Likewise.
41094         (SEEK_SET): Likewise.
41095         (TMP_MAX): Likewise.
41096         (EOF): Use macro-int-constant.  Require < 0.
41097         (NULL): Use macro-constant.  Require == 0.
41098         (stdin): Require type to be FILE *.
41099         (stdout): Likewise.
41100         (stderr): Likewise.
41101         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41102         macro-int-constant.
41103         (EXIT_SUCCESS): Likewise.
41104         (NULL): Use macro-constant.  Require == 0.
41105         (RAND_MAX): Use macro-int-constant.
41106         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41107         [C99-based standards] (strtof): Require function.
41108         [C99-based standards] (strtold): Likewise.
41109         [C99-based standards] (strtoll): Likewise.
41110         [C99-based standards] (strtoull): Likewise.
41111         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41112         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41113         [ISO || ISO99 || ISO11] (math.h): Likewise.
41114         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41115         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41118 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41120         [BZ #14132]
41121         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41122         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41123         * intl/dgettext.c (DCGETTEXT): Likewise.
41124         * intl/gettext.c (DCGETTEXT): Likewise.
41125         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41126         * posix/regex_internal.h (gettext): Likewise.
41127         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41128         Remove declaration.
41129         * include/argz.h (__argz_count_internal)
41130         (__argz_stringify_internal): Remove declaration.
41131         (__argz_count, __argz_stringify): Declare hidden proto.
41132         * intl/dcgettext.c: Remove use of INTDEF.
41133         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41134         * string/argz-stringify.c: Likewise.
41135         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41136         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41137         Declare hidden proto.
41138         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41139         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41140         Declare hidden proto.
41141         * include/stdio.h (__asprintf_internal): Don't declare.
41142         (__asprintf): Don't define as macro.  Declare hidden proto.
41143         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41144         (__fsetlocking): Declare hidden proto.
41145         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41146         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41147         hidden proto.
41148         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41149         (_IO_setlinebuf): Remove use of INTUSE.
41150         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41151         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41152         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41153         Remove declaration.
41154         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41155         (_IO_do_flush): Remove use of INTUSE.
41156         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41157         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41158         (_IO_adjust_column, _IO_least_wmarker)
41159         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41160         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41161         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41162         (_IO_default_doallocate, _IO_wdefault_doallocate)
41163         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41164         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41165         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41166         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41167         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41168         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41169         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41170         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41171         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41172         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41173         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41174         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41175         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41176         proto.
41177         (_IO_flush_all_internal, _IO_adjust_column_internal)
41178         (_IO_default_uflow_internal, _IO_default_finish_internal)
41179         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41180         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41181         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41182         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41183         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41184         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41185         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41186         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41187         (_IO_file_close_internal, _IO_file_close_it_internal)
41188         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41189         (_IO_file_init_internal, _IO_file_attach_internal)
41190         (_IO_file_fopen_internal, _IO_file_read_internal)
41191         (_IO_file_sync_internal, _IO_file_seek_internal)
41192         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41193         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41194         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41195         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41196         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41197         (_IO_list_all_internal, _IO_link_in_internal)
41198         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41199         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41200         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41201         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41202         (_IO_do_write_internal, _IO_padn_internal)
41203         (_IO_getline_info_internal, _IO_getline_internal)
41204         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41205         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41206         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41207         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41208         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41209         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41210         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41211         with libc_hidden_ver, remove use of INTUSE.
41212         * libio/genops.c: Likewise.
41213         * libio/freopen.c: Likewise.
41214         * libio/freopen64.c: Likewise.
41215         * libio/iofclose.c: Likewise.
41216         * libio/iofdopen.c: Likewise.
41217         * libio/iofflush.c: Likewise.
41218         * libio/iofflush_u.c: Likewise.
41219         * libio/iofgets.c: Likewise.
41220         * libio/iofgets_u.c: Likewise.
41221         * libio/iofopen.c: Likewise.
41222         * libio/iofopncook.c: Likewise.
41223         * libio/iofread.c: Likewise.
41224         * libio/iofread_u.c: Likewise.
41225         * libio/ioftell.c: Likewise.
41226         * libio/iofwrite.c: Likewise.
41227         * libio/iogetline.c: Likewise.
41228         * libio/iogets.c: Likewise.
41229         * libio/iogetwline.c: Likewise.
41230         * libio/iopadn.c: Likewise.
41231         * libio/iopopen.c: Likewise.
41232         * libio/ioseekoff.c: Likewise.
41233         * libio/ioseekpos.c: Likewise.
41234         * libio/iosetbuffer.c: Likewise.
41235         * libio/iosetvbuf.c: Likewise.
41236         * libio/ioungetc.c: Likewise.
41237         * libio/ioungetwc.c: Likewise.
41238         * libio/iovdprintf.c: Likewise.
41239         * libio/iovsprintf.c: Likewise.
41240         * libio/iovsscanf.c: Likewise.
41241         * libio/memstream.c: Likewise.
41242         * libio/obprintf.c: Likewise.
41243         * libio/oldfileops.c: Likewise.
41244         * libio/oldiofclose.c: Likewise.
41245         * libio/oldiofdopen.c: Likewise.
41246         * libio/oldiofopen.c: Likewise.
41247         * libio/oldiopopen.c: Likewise.
41248         * libio/oldstdfiles.c: Likewise.
41249         * libio/putc.c: Likewise.
41250         * libio/setbuf.c: Likewise.
41251         * libio/setlinebuf.c: Likewise.
41252         * libio/stdfiles.c: Likewise.
41253         * libio/strops.c: Likewise.
41254         * libio/vasprintf.c: Likewise.
41255         * libio/vscanf.c: Likewise.
41256         * libio/vsnprintf.c: Likewise.
41257         * libio/vswprintf.c: Likewise.
41258         * libio/wfiledoalloc.c: Likewise.
41259         * libio/wfileops.c: Likewise.
41260         * libio/wgenops.c: Likewise.
41261         * libio/wmemstream.c: Likewise.
41262         * libio/wstrops.c: Likewise.
41263         * libio/__fpurge.c: Likewise.
41264         * libio/__fsetlocking.c: Likewise.
41265         * assert/assert.c: Likewise.
41266         * debug/fgets_chk.c: Likewise.
41267         * debug/fgets_u_chk.c: Likewise.
41268         * debug/fread_chk.c: Likewise.
41269         * debug/fread_u_chk.c: Likewise.
41270         * debug/gets_chk.c: Likewise.
41271         * debug/obprintf_chk.c: Likewise.
41272         * debug/vasprintf_chk.c: Likewise.
41273         * debug/vdprintf_chk.c: Likewise.
41274         * debug/vsnprintf_chk.c: Likewise.
41275         * debug/vsprintf_chk.c: Likewise.
41276         * malloc/mtrace.c: Likewise.
41277         * misc/error.c: Likewise.
41278         * misc/syslog.c: Likewise.
41279         * stdio-common/asprintf.c: Likewise.
41280         * stdio-common/fxprintf.c: Likewise.
41281         * stdio-common/getw.c: Likewise.
41282         * stdio-common/isoc99_fscanf.c: Likewise.
41283         * stdio-common/isoc99_scanf.c: Likewise.
41284         * stdio-common/isoc99_vfscanf.c: Likewise.
41285         * stdio-common/isoc99_vscanf.c: Likewise.
41286         * stdio-common/isoc99_vsscanf.c: Likewise.
41287         * stdio-common/printf-prs.c: Likewise.
41288         * stdio-common/printf_fp.c: Likewise.
41289         * stdio-common/printf_fphex.c: Likewise.
41290         * stdio-common/printf_size.c: Likewise.
41291         * stdio-common/putw.c: Likewise.
41292         * stdio-common/scanf.c: Likewise.
41293         * stdio-common/sprintf.c: Likewise.
41294         * stdio-common/tmpfile.c: Likewise.
41295         * stdio-common/vfprintf.c: Likewise.
41296         * stdio-common/vfscanf.c: Likewise.
41297         * stdlib/strfmon_l.c: Likewise.
41298         * sunrpc/openchild.c: Likewise.
41299         * sunrpc/xdr_stdio.c: Likewise.
41300         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41301         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41303 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41305         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41307         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41308         in the third column, to generate for the shared library an IFUNC
41309         that uses _dl_vdso_vsym.
41310         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41311         * Makeconfig (object-suffixes-noshared): New variable.
41313         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41314         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41315         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41316         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41318         [BZ #14132]
41319         * include/sys/time.h (__gettimeofday): Remove macro.
41320         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41321         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41322         Remove INTDEF.
41323         (__gettimeofday): Add libc_hidden_def.
41324         (gettimeofday): Add libc_hidden_weak.
41325         * sysdeps/mach/gettimeofday.c: Likewise.
41326         * sysdeps/posix/gettimeofday.c: Likewise.
41327         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41328         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41330         (__gettimeofday_internal): Remove strong_alias.
41331         (__gettimeofday): Add libc_hidden_def.
41332         (gettimeofday): Add libc_hidden_weak.
41333         * sysdeps/unix/syscalls.list (gettimeofday):
41334         Remove __gettimeofday_internal alias.
41336 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41337             H.J. Lu  <hongjiu.lu@intel.com>
41339         [BZ #12495]
41340         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41341         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41342         (largebin_index_32_big): New.
41343         (largebin_index): Use it for 16-byte alignment.
41344         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41345         correction with front_misalign.
41347 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41351         Likewise.
41352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41353         Likewise.
41354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41355         Likewise.
41356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41357         Likewise.
41358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41359         Likewise.
41360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41361         Likewise.
41362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41363         Likewise.
41364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41365         Likewise.
41366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41367         Likewise.
41368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41369         Likewise.
41370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41371         Likewise.
41372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41373         Likewise.
41375         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41376         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41378 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41380         [BZ #10846]
41381         [BZ #14036]
41382         * math/libm-test.inc (exp_test): Add test from bug 14036.
41383         (pow_test): Add test from bug 10846.
41385         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41386         and other flags.
41387         (special_function): Do not include flags in test name.
41388         (parse_args): Likewise.
41389         * sysdeps/i386/fpu/libm-test-ulps: Update.
41390         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41391         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41392         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41395         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41396         exceptions.
41397         * math/libm-test.inc ("Philosophy"): Update comment about
41398         exception testing.
41399         (UNDERFLOW_EXCEPTION): New macro.
41400         (UNDERFLOW_EXCEPTION_OK): Likewise.
41401         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41402         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41403         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41404         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41405         (INVALID_EXCEPTION_OK): Update value.
41406         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41407         (OVERFLOW_EXCEPTION_OK): Likewise.
41408         (IGNORE_ZERO_INF_SIGN): Likewise.
41409         (test_exceptions): Handle underflow exceptions.
41410         (acos_test): Update for underflow exception expectations.
41411         (cexp_test): Likewise.
41412         (clog_test): Likewise.
41413         (clog10_test): Likewise.
41414         (csqrt_test): Likewise.
41415         (ctan_test): Likewise.
41416         (ctanh_test): Likewise.
41417         (exp_test): Likewise.
41418         (exp10_test): Likewise.
41419         (exp2_test): Likewise.
41420         (expm1_test): Likewise.
41421         (fma_test): Likewise.
41422         (j0_test): Likewise.
41423         (jn_test): Likewise.
41424         (nexttoward_test): Likewise.
41425         (pow_test): Likewise.
41426         (scalbn_test): Likewise.
41427         (scalbln_test): Likewise.
41428         (tan_test): Likewise.
41429         (y1_test): Likewise.
41430         * sysdeps/i386/fpu/libm-test-ulps: Update.
41431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41433 2012-05-23  David S. Miller  <davem@davemloft.net>
41435         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41436         (__libc_sigaction): Remove unused local variables.
41438 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41440         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41442 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41444         mktime: avoid signed integer overflow
41445         * time/mktime.c (__mktime_internal): Do not mishandle the case
41446         where diff == INT_MIN.
41448         mktime: simplify computation of average
41449         * time/mktime.c (ranged_convert): Use new time_t_avg function
41450         instead of rolling our own (probably-slower) code.
41452         mktime: do not assume signed right shift propagates sign bit
41453         * time/mktime.c (isdst_differ): New static function.
41454         (__mktime_internal): No need to normalize tm_isdst now.
41455         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41456         tm_isdst values.
41458         mktime: merge another wrapv change from gnulib
41459         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41460         from some compilers.
41462         mktime: remove incorrect attempt at unusual arithmetics
41463         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41464         The code didn't really work on such machines anyway.
41465         (TYPE_MINIMUM): Assume two's complement.
41466         (twos_complement_arithmetic): Verify that long_int and time_t
41467         are two's complement (or unsigned, in the latter case).
41469         mktime: check signed shifts on long_int and time_t, too
41470         * time/mktime.c (SHR): Check that shifts work as desired
41471         on the types long_int and time_t too, as SHR is used on
41472         such types.
41474         mktime: do not assume 'long' is wide enough
41475         * time/mktime.c (verify): Move decl up.
41476         (long_int): New type.
41477         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41478         to remove assumption in the code that 'long' is wide enough to
41479         store year values.  This assumption is not true on x32 and on
41480         some non-glibc platforms.
41482         mktime: merge wrapv change from gnulib
41483         * time/mktime.c (WRAPV): New macro.
41484         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41485         (guess_time_tm, __mktime_internal): Do not assume that signed
41486         integer overflow wraps around; modern compilers generate code
41487         where this assumption is no longer valid.
41489 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41491         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41492         Replace "jmp L(pseudo_end)" with "ret".
41493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41494         Likewise.
41496 2012-05-23  Andreas Jaeger  <aj@suse.de>
41498         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41499         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41501 2012-05-23  Andreas Jaeger  <aj@suse.de>
41502             Maximilian Attems  <max@stro.at>
41504         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41505         New macros.
41507 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41510         code so that pseudo_end is just ret and the stack pointer is
41511         correct also for static library in error case.
41513 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41515         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41516         move to syscalls.list.
41517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41522         * manual/install.texi (Running make install): Do not mention Linux
41523         kernel version for which pt_chown is not needed.
41524         (Linux): Do not mention problems with nscd with 2.0 kernels.
41525         * INSTALL: Regenerated.
41527 2012-05-23  Andreas Jaeger  <aj@suse.de>
41529         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41530         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41531         macro.
41532         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41533         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41534         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41535         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41536         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41537         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41539         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41540         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41541         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41542         * sysdeps/unix/sysv/linux/bits/in.h
41543         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41545 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41547         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41548         (PREPARE_VERSION): Just use assert instead, it will be elided
41549         under [NDEBUG] anyway.
41551 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41553         * sysdeps/unix/sysv/linux/Makefile: Include
41554         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41555         (sysdep_routines): Remove sysctl.
41556         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41557         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41558         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41559         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41560         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41562 2012-05-22  Andreas Jaeger  <aj@suse.de>
41564         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41565         that pseudo_end is just ret and the stack pointer is correct also
41566         for static library in error case.
41568 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41570         [BZ #14122]
41571         * nss/nsswitch.c (defconfig_entries): New variable.
41572         (__nss_database_lookup): Don't leak defconfig entries.
41573         (nss_parse_service_list): Don't leak on error paths.
41574         (free_database_entries): New function.
41575         (free_defconfig): New function.
41576         (free_mem): Move common code to free_database_entries.
41578 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41580         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41581         Add arch_prctl.
41582         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41585         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41587         New macro.
41588         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41589         (INTERNAL_SYSCALL_TYPES): Likewise.
41590         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41591         (LOAD_REGS_TYPES_[1-6]): Likewise.
41592         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41593         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41595 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41597         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41598         copysignl for GLIBC_2_0.
41599         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41600         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41601         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41602         logbl for GLIBC_2_0.
41603         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41604         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41606 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41609         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41611         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41612         Use "neg %eax".
41614         * time/mktime.c: Update copyright years.
41616 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41618         mktime: merge comment-quoting-style change from gnulib
41619         * time/mktime.c: Quote 'like this' in comments.
41620         The GNU coding standards suggest that we no longer quote `like this',
41621         as "`" and "'" are typically rendered asymmetrically nowadays.
41622         The typical gnulib style is to quote 'like this' when quoting
41623         code, and "like this" when quoting English.
41625         * time/mktime.c (compile-command): Add "-I.".
41627         mktime: merge mktime-internal.h change from gnulib
41628         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41630         mktime: merge time_r change from gnulib
41631         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41633         mktime: merge DEBUG change from gnulib
41634         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41635         case system <time.h> has a #define.
41637         mktime: merge <sys/types.h> change from gnulib
41638         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41639         since <time.t> is now guaranteed to define time_t.
41641         mktime: merge HAVE_CONFIG_H change from gnulib
41642         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41644 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41647         Use "neg %eax".
41649         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41650         __rlim_t cast.
41651         (struct rusage): Use anonymous union to pad each field to
41652         __syscall_slong_t.
41654 2012-05-21  David S. Miller  <davem@davemloft.net>
41656         * Makefules (o-iterator): Remove .s cases.
41657         (compile-command.s): Delete.
41658         (COMPILE.s): Delete.
41659         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41661 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41663         * configure.in (libc_cv_predef_stack_protector): Only consider
41664         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41665         * configure: Regenerated.
41667 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41670         New macro.  Use R*LP on int and pointer.
41671         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41672         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41673         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41674         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41676         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41677         [__WORDSIZE_TIME64_COMPAT32] instead of
41678         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41679         (struct utmp): Likewise.
41680         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41681         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41682         Renamed to ...
41683         (__WORDSIZE_TIME64_COMPAT32): This.
41684         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41685         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41686         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41687         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41688         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41689         (__WORDSIZE_TIME64_COMPAT32): New macro.
41691 2012-05-21  Andreas Jaeger  <aj@suse.de>
41693         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41694         only if [SHARED]. Add prototype for __wcschr_ia32.
41696 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41698         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41699         of %rbp unmolested in the jmp_buf while mangling the low bits.
41700         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41701         unmolested high bits of %rbp while demangling the low bits.
41702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41704 2012-05-21  Andreas Jaeger  <aj@suse.de>
41706         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41707         * sunrpc/svc_simple.c: Use it for registerrpc.
41708         * sunrpc/xcrypt.c: Use it for passwd2des.
41710         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41712 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41714         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41715         Don't define if [__SYSCALL_WORDSIZE != 32].
41716         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41717         New macro.
41719 2012-05-21  Bruno Haible  <bruno@clisp.org>
41720             Andreas Jaeger  <aj@suse.de>
41722         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41723         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41724         inptr and inend for must_buffer_ch.
41725         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41726         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41727         * stdio-common/Makefile (tests): Remove bug15.
41728         (bug15-ENV): Remove macro.
41729         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41730         anymore.
41732 2012-05-19  Andreas Jaeger  <aj@suse.de>
41733             Roland McGrath  <roland@hack.frob.com>
41735         * manual/contrib.texi: Completely rewritten. It contains now an
41736         alphabetical list of contributors and their contributions.
41738 2012-05-21  Richard Henderson  <rth@twiddle.net>
41740         * misc/getauxval.c (__getauxval): Use unsigned long int.
41741         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41742         (getauxval): Use unsigned long int.
41744 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41746         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41748 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41750         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41751         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41752         __alignof__ (long double).
41754 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41758 2012-05-20  Richard Henderson  <rth@twiddle.net>
41760         * misc/getauxval.c: New file.
41761         * misc/sys/auxv.h: New file.
41762         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41763         (routines): Add getauxval.
41764         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41766         * elf/dl-sysdep.c (_dl_auxv): Remove.
41767         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41768         * elf/dl-support.c (_dl_auxv): New variable.
41769         (_dl_aux_init): Initialize it.
41770         * manual/startup.texi (Auxiliary Vector): New node.
41771         * sysdeps/generic/bits/hwcap.h: New file.
41772         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41773         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41774         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41775         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41776         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41777         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41779         Update.
41780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41789 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41793 2012-05-19  David S. Miller  <davem@davemloft.net>
41795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41797 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41799         [BZ #14123]
41800         * math/s_ccosh.c: Include <float.h>
41801         (__ccosh): Avoid internal overflow calculating sinh and cosh
41802         values before multiplying by sin and cos values.
41803         * math/s_ccoshf.c: Likewise.
41804         * math/s_ccoshl.c: Likewise.
41805         * math/s_csin.c: Likewise.
41806         * math/s_csinf.c: Likewise.
41807         * math/s_csinl.c: Likewise.
41808         * math/s_csinh.c: Likewise.
41809         * math/s_csinhf.c: Likewise.
41810         * math/s_csinhl.c: Likewise.
41811         * math/libm-test.inc (ccos_test): Add more tests.
41812         (ccosh_test): Likewise.
41813         (csin_test): Likewise.
41814         (csinh_test): Likewise.
41815         * sysdeps/i386/fpu/libm-test-ulps: Update.
41816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41818 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41820         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41821         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41823         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41825 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41827         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41828         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41829         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41830         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41831         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41832         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41833         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41834         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41835         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41836         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41837         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41838         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41839         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41840         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41841         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41842         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41843         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41844         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41845         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41846         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41847         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41848         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41849         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41850         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41851         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41852         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41853         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41854         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41855         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41856         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41857         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41859 2012-05-18  Andreas Jaeger  <aj@suse.de>
41861         * csu/.gitignore: Delete.
41863 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41865         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41866         (timex): Use __syscall_slong_t.
41868 2012-05-18  Andreas Jaeger  <aj@suse.de>
41869             Carlos O'Donell  <carlos_odonell@mentor.com>
41871         * manual/install.texi (Configuring and compiling): Update
41872         description about files modified in the source directory.
41873         * INSTALL: Regenerated.
41875 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41877         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41878         value.  Use "or" to set return value to -1.
41879         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41880         negate return value.
41882 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41884         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41885         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41886         failure if the compiler has Graphite support disabled.
41887         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41888         Likewise.
41889         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41890         (CFLAGS-memmove.c): Likewise.
41891         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41892         Likewise.
41894 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41896         * sysdeps/x86_64/x32/_itoa.h: New file.
41898         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41899         getdents system call only if kernel and user dirents have the
41900         same d_ino and d_off.
41902         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41903         LLONG_MAX != LONG_MAX.
41904         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41905         (_fitoa_word): Likewise.
41907         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41908         years.
41909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41910         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41911         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41913         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41914         include <bits/wordsize.h>.  Check __x86_64__ instead of
41915         __WORDSIZE.
41916         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41917         if __x86_64__ is defined.  Use anonymous union on fpstate.
41919         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41920         anonymous union.
41922 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41924         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41925         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41926         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41927         Refer to _rtld_local_ro instead of _rtld_global_ro.
41928         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41929         Likewise.
41930         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41931         Likewise.
41932         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41933         Likewise.
41934         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41935         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41936         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41938         * sysdeps/powerpc/powerpc32/dl-machine.c
41939         (__elf_machine_runtime_setup) [PROF]: Don't reference
41940         _dl_prof_resolve.
41942 2012-05-18  Andreas Jaeger  <aj@suse.de>
41944         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41945         function only available for GCCs before 3.4 since GCC 3.4
41946         introduced a builtin.
41947         (lrint): Likewise.
41948         (llrintf): Likewise.
41949         (llrint): Likewise.
41950         (fmaxf): Likewise.
41951         (fmax): Likewise.
41952         (fminf): Likewise.
41953         (fmin): Likewise.
41954         (rint): Likewise.
41955         (rintf): Likewise.
41956         (nearbyint): Likewise.
41957         (nearbyintf): Likewise.
41958         (ceil): Likewise.
41959         (ceilf): Likewise.
41960         (floor): Likewise.
41961         (floorf): Likewise.
41963 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41965         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41966         on both fields and cast pointer to __syscall_ulong_t.
41968         * bits/types.h (__fsword_t): New type.
41969         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41970         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41971         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41972         (__FSWORD_T_TYPE): Likewise.
41973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41974         (__FSWORD_T_TYPE): Likewise.
41975         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41976         (__FSWORD_T_TYPE): Likewise.
41977         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41978         (__FSWORD_T_TYPE): Likewise.
41979         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41980         __SWORD_TYPE with __fsword_t.
41981         (statfs64): Likewise.
41983 2012-05-17  David S. Miller  <davem@davemloft.net>
41985         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41987 2012-05-17  Andreas Jaeger  <aj@suse.de>
41989         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41990         warning.
41992 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41994         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41996 2012-05-17  Andreas Jaeger  <aj@suse.de>
41998         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41999         when it is used.
42001 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42003         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42005 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42007         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42008         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42010 2012-05-17  Andreas Jaeger  <aj@suse.de>
42011             Carlos O'Donell  <carlos_odonell@mentor.com>
42013         [BZ #14059]
42014         * sysdeps/x86_64/multiarch/init-arch.h
42015         (bit_YMM_Usable): Rename to...
42016         (bit_AVX_Usable): ... this.
42017         (bit_FMA4_Usable): New macro.
42018         (bit_XMM_state): New macro.
42019         (bit_YMM_state): New macro.
42020         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42021         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42022         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42023         (CPUID_OSXSAVE): New macro.
42024         (CPUID_AVX): New macro.
42025         (CPUID_FMA4): New macro.
42026         (index_YMM_Usable): Rename to...
42027         (index_AVX_Usable): ... this.
42028         (HAS_AVX): Use HAS_ARCH_FEATURE.
42029         (HAS_FMA4): Likewise.
42030         (HAS_YMM_USABLE): Remove.
42031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42032         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42033         are present.
42034         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42035         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42036         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42037         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42038         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42040 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42042         * math/libm-test.c: Support platforms without multiple rounding modes.
42043         * math/bug-nextafter.c: Support platforms without FP exceptions.
42044         * math/bug-nexttoward.c: Likewise.
42045         * math/test-fenv.c: Likewise.
42046         * math/test-misc.c: Likewise.
42047         * stdlib/bug-getcontext.c: Likewise.
42049 2012-05-17  Andreas Jaeger  <aj@suse.de>
42051         * manual/examples/search.c (critter_cmp): Change signature to
42052         avoid warnings.
42053         * manual/string.texi (Collation Functions): Likewise.
42055 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42057         * bits/types.h: Fold copyright years.
42058         * bits/typesizes.h: Likewise.
42059         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42063         * time/time.h: Likewise.
42065 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42067         [BZ #208]
42068         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42069         in instead of returning them.  Return void.
42070         (__libc_mallinfo): Accumulate over all arenas.
42071         (__malloc_stats): Adjust for change in int_mallinfo interface.
42073 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42075         [BZ #10375]
42076         * configure.in (NM): Add AC_CHECK_TOOL for it.
42077         (libc_extra_cflags): New substituted variable.
42078         Check for -fstack-protector being used implicitly.
42079         * configure: Regenerated.
42080         * config.make.in (config-extra-cflags): New variable,
42081         gets @libc_extra_cflags@.
42082         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42084         [BZ #10375]
42085         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42086         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42087         * configure: Regenerated.
42088         * config.make.in (CPPUNDEFS): New substituted variable.
42089         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42090         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42091         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42095         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42096         (mq_attr): Use __syscall_slong_t.
42098 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42100         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42101         Check __x86_64__ instead of __WORDSIZE.
42102         (_STAT_VER_LINUX): Likewise.
42103         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42104         __syscall_ulong_t and __syscall_slong_t.
42105         (stat64): Likewise.
42107 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42109         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42111 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42113         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42117         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42118         __syscall_ulong_t.
42120         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42121         include <bits/wordsize.h>.  Check __x86_64__ instead of
42122         __WORDSIZE.
42123         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42124         defined.
42125         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42127         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42128         include <bits/wordsize.h>.  Check __x86_64__ instead of
42129         __WORDSIZE.
42130         (user_regs_struct): Use "__extension__ unsigned long long"
42131         instead of "unsigned long" if __x86_64__ is defined.
42132         (user): Likewise.  Pad after pointer field if __ILP32__ is
42133         defined.
42135 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42137         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42138         versions 5 to 9.
42139         * configure: Regenerated.
42140         * manual/install.texi (texinfo): Increase version requirement to
42141         4.5 or later.
42142         * INSTALL: Regenerated.
42144         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42146 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42148         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42150         * sysdeps/x86_64/x32/ffs.c: New file.
42152         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42153         __syscall_ulong_t.
42154         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42155         defined.  Use __syscall_ulong_t.
42156         (shminfo): Use __syscall_ulong_t.
42157         (shm_info): Likewise.
42159         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42160         __syscall_ulong_t.
42162         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42163         <bits/wordsize.h>.
42164         (msgqnum_t): Use __syscall_ulong_t.
42165         (msglen_t): Likewise.
42166         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42167         __syscall_ulong_t.
42169         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42170         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42172         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42174         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42175         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42177         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42178         __syscall_slong_t.
42180         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42181         include <bits/wordsize.h>.  Check __x86_64__ instead of
42182         __WORDSIZE.
42184         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42185         "unsigned long long int" if __x86_64__ is defined.
42186         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42188         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42189         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42190         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42192         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42193         <stdint.h>.
42194         (GET_PC): Cast to uintptr_t first.
42195         (GET_FRAME): Likewise.
42196         (GET_STACK): Likewise.
42198         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42199         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42200         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42201         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42202         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42203         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42204         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42205         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42206         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42207         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42208         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42209         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42211         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42212         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42213         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42214         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42215         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42216         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42217         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42218         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42219         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42220         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42221         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42222         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42223         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42224         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42225         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42228 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42230         * Makerules (+depfiles): Also collect depfiles from .oS in
42231         $(extra-objs).
42232         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42233         .oS, $(libnldbl-routines)).
42235         * Makerules (native-compile-mkdep-flags): Define.
42236         * sunrpc/Makefile (extra-objs): Add $(addprefix
42237         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42238         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42239         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42240         calling $(make-target-directory).
42242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42244         * bits/types.h (__snseconds_t): Removed.
42245         * time/time.h (struct timespec): Replace __snseconds_t with
42246         __syscall_slong_t.
42247         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42248         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42249         Likewise.
42250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42251         (__SNSECONDS_T_TYPE): Likewise.
42252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42253         (__SNSECONDS_T_TYPE): Likewise.
42254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42255         (__SNSECONDS_T_TYPE): Likewise.
42257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42259         * sysdeps/mach/hurd/bits/typesizes.h
42260         (__SYSCALL_SLONG_TYPE): New macro.
42261         (__SYSCALL_ULONG_TYPE): Likewise.
42263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42265         * bits/types.h (__syscall_slong_t): New type.
42266         (__syscall_ulong_t): Likewise.
42268         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42269         (__SYSCALL_ULONG_TYPE): Likewise.
42270         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42271         (__SYSCALL_SLONG_TYPE): Likewise.
42272         (__SYSCALL_ULONG_TYPE): Likewise.
42273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42274         (__SYSCALL_SLONG_TYPE): Likewise.
42275         (__SYSCALL_ULONG_TYPE): Likewise.
42276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42277         (__SYSCALL_SLONG_TYPE): Likewise.
42278         (__SYSCALL_ULONG_TYPE): Likewise.
42280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42282         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42283         Add sigaltstack-offsets.sym.
42284         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42285         <sigaltstack-offsets.h>.
42286         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42287         longjmp_msg pointer.
42288         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42289         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42290         signal stack.
42291         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42293 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42295         * elf/stackguard-macros.h: Remove file.
42296         * sysdeps/generic/stackguard-macros.h: New file.
42297         * sysdeps/i386/stackguard-macros.h: Likewise.
42298         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42299         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42300         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42301         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42302         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42303         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42304         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42305         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42306         <elf/stackguard-macros.h>.
42308         [BZ #14109]
42309         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42310         __aligned__ in attribute.
42311         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42312         (gregset_t): Likewise.
42314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42316         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42317         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42318         * sysdeps/x86_64/x32/Implies-after: New file.
42320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42322         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42323         and access return value for _dl_profile_fixup.  Use R10_LP to
42324         load frame size.
42326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42328         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42332         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42333         * sysdeps/x86_64/x32/sysdep.h: New file.
42335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42337         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42338         * sysdeps/x86_64/setjmp.S: Likewise.
42340 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42342         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42343         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42344         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42345         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42346         remove unused global constant.
42348 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42350         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42351         include of <not-cancel.h>.
42353 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42355         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42357 2012-05-15  Jeff Law  <law@redhat.com>
42358             Andreas Jaeger  <aj@suse.de>
42360         [BZ #13594]
42361         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42362         out from...
42363         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42364         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42365         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42366         code changing __hst_map_handle.map.
42368 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42370         * configure.in (sysnames): Look for Implies-before and Implies-after
42371         files.
42372         * configure: Regenerated.
42374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42376         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42377         8-byte data alignment with LP_SIZE alignment.
42379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42381         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42382         into R10_LP.
42384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42386         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42390         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42391         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42393         Likewise.
42394         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42398         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42399         (stackinfo_sub_sp): Likewise.
42401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42403         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42404         RAX_LP.
42406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42409         into R*_LP.
42411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42414         sizes into R*_LP.
42416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42418         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42422         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42423         into R11_LP and load __x86_64_shared_cache_size_half into
42424         R8_LP.
42426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42428         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42429         R8_LP.
42431 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42433         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42434         logb for POWER7.
42435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42436         logbf for POWER7.
42437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42438         logbl for POWER7.
42439         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42440         powerpc32/power7/fpu/s_logb.c via #include.
42441         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42442         powerpc32/power7/fpu/s_logbf.c via #include.
42443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42444         powerpc32/power7/fpu/s_logbl.c via #include.
42446 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42448         * README.libm: Remove file.
42450 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42452         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42453         count for x32.  Use R*_LP and omit operand-size suffix.
42455 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42457         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42458         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42459         * sysdeps/x86_64/x32/shlib-versions: New file.
42461 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42463         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42464         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42465         Use _dl_fatal_printf instead.
42467 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42469         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42470         set if not set by the user.  Do not allow for being unset.
42471         * sysdeps/unix/sysv/linux/configure: Regenerated.
42473 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42475         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42476         the `q' suffix from lea and replace .quad with ASM_ADDR.
42478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42481         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42482         instead of $17.
42483         (PTR_DEMANGLE): Likewise.
42485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42487         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42488         (LP_OP): Likewise.
42489         (ASM_ADDR): Likewise.
42490         (RAX_LP): Likewise.
42491         (RBP_LP): Likewise.
42492         (RBX_LP): Likewise.
42493         (RCX_LP): Likewise.
42494         (RDI_LP): Likewise.
42495         (RSI_LP): Likewise.
42496         (RSP_LP): Likewise.
42497         (R8_LP): Likewise.
42498         (R9_LP): Likewise.
42499         (R10_LP): Likewise.
42500         (R10_LP): Likewise.
42501         (R11_LP): Likewise.
42502         (R12_LP): Likewise.
42503         (R13_LP): Likewise.
42504         (R14_LP): Likewise.
42505         (R15_LP): Likewise.
42507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42509         * sysdeps/x86_64/x32/dl-machine.h: New file.
42511 2012-05-14  Andreas Jaeger  <aj@suse.de>
42513         * manual/Makefile (subdir): Remove export of subdir.
42514         (all): Remove target.
42515         (.PHONY): Remove all from list.
42516         (mkinstalldirs): Remove.
42517         (.PHONY): Remove installdirs from list.
42518         ($(inst_infodir)/libc.info): Use make-target-directory.
42519         (installdirs): Remove.
42520         (subdir_%): Remove.
42521         (glibc-targets): Remove.
42522         (lib): Remove.
42523         (stubs): Remove.
42524         ($(objpfx)stubs ../po/manual.pot): Remove.
42525         ($(objpfx)stamp%): Remove.
42526         (make-target-directory): Remove.
42527         (subdir_install): Remove.
42528         (routines): Remove.
42529         (aux): Remove.
42530         (sources): Remove.
42531         (objects): Remove.
42532         (headers): Remove.
42534         [BZ #13750]
42535         * manual/.gitignore: Remove, it's not needed anymore.
42536         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42537         all files in it.
42538         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42539         directory.
42540         (texis): Renamed to $(objpfx)texis.
42541         (texis-path): New, contains path to generated files.
42542         (chapters.%): Use texis-path for complete path, add extra argument
42543         libc-texinfo.sh.
42544         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42545         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42546         (summary,texi, stamp-summary): Use complete path of
42547         files. Generate files in build dir.
42548         (dir-add.texi): Build in build dir.
42549         (libm-err.texi,stamp-libm-err): Likewise.
42550         (version.texi, stamp-version): Likewise.
42551         (.%c.texi): Likewise.
42552         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42553         (mostlyclean): Remove target.
42554         (realclean): Remove target.
42555         (generated): Add new variable with contents from mostlyclean and
42556         realclean, remove entries duplicated in common-mostlyclean, add
42557         stamp-libm-err and stamp-version.
42558         (generated-dirs): Add libc directory.
42559         ($(inst_infodir)/libc.info): Install files from build dir.
42561         * manual/install.texi (Configuring and compiling): Adjust since
42562         the info files are not part of the tar ball anymore.
42564 2012-05-14  Andreas Jaeger  <aj@suse.de>
42566         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42567         variable.
42569 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42571         [BZ #13717]
42572         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42573         to 2.2.0 where earlier.
42574         * sysdeps/unix/sysv/linux/configure: Regenerated.
42575         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42576         Remove conditional code.
42577         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42578         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42579         Remove conditional code.
42580         [!__NR_lchown]: Likewise.
42581         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42582         [__NR_lchown]: Likewise.
42583         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42584         comment referencing __ASSUME_LCHOWN_SYSCALL.
42585         * sysdeps/unix/sysv/linux/i386/sigaction.c
42586         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42587         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42588         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42589         Remove conditional code.
42590         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42591         (__protocol_available): Remove #if 0 code.
42592         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42593         conditional code.
42594         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42595         * sysdeps/unix/sysv/linux/kernel-features.h
42596         (__ASSUME_GETCWD_SYSCALL): Don't define.
42597         (__ASSUME_REALTIME_SIGNALS): Likewise.
42598         (__ASSUME_PREAD_SYSCALL): Likewise.
42599         (__ASSUME_PWRITE_SYSCALL): Likewise.
42600         (__ASSUME_POLL_SYSCALL): Likewise.
42601         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42602         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42603         non-SPARC.
42604         (__ASSUME_SIOCGIFNAME): Don't define.
42605         (__ASSUME_MSG_NOSIGNAL): Likewise.
42606         (__ASSUME_SENDFILE): Define unconditionally.
42607         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42608         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42609         conditional code.
42610         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42611         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42612         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42613         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42614         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42615         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42616         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42618         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42619         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42621         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42624         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42625         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42627         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42630         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42633         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42636         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42639         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42641         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42642         Remove conditional code.
42643         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42644         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42645         Remove conditional code.
42646         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42647         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42648         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42649         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42650         Remove conditional code.
42651         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42652         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42653         Remove conditional code.
42654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42655         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42656         Remove conditional code.
42657         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42658         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42659         Remove conditional code.
42660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42661         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42662         Remove conditional code.
42663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42664         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42665         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42666         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42667         * sysdeps/unix/sysv/linux/sigaction.c
42668         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42669         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42670         * sysdeps/unix/sysv/linux/sigpending.c
42671         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42672         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42673         * sysdeps/unix/sysv/linux/sigprocmask.c
42674         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42675         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42676         * sysdeps/unix/sysv/linux/sigsuspend.c
42677         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42678         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42679         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42680         (__libc_missing_rt_sigs): Remove.
42681         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42682         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42683         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42684         Remove conditional code.
42685         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42686         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42687         return 1.
42688         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42689         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42690         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42691         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42693 2012-05-14  Andreas Jaeger  <aj@suse.de>
42695         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42696         it's not used in glibc.
42697         (__coshm1): Likewise.
42698         (__acosh1p): Likewise.
42699         (__sgn): Likewise.
42701         * manual/string.texi (Copying and Concatenation): Add missing
42702         variable in concat example.
42703         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42707         [BZ #14103]
42708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42709         __builtin_clzl with __builtin_clzll.
42711 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42713         [BZ #14104]
42714         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42715         libc_freeres_ptr.
42717 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42719         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42720         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42721         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42722         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42724 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42726         * NEWS: Update ia64 info.
42728 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42730         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42731         used as bcopy.
42733 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42735         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42736         * sysdeps/unix/syscalls.list (dup3): Likewise.
42737         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42738         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42740 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42742         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42743         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42745 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42747         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42748         thread pointer.
42749         (TLS_IE): Use mov/add instead of movq/addq to load thread
42750         pointer.
42751         (TLS_GD_PREFIX): New.
42752         (TLS_GD): Use it.
42754 2012-05-11  David S. Miller  <davem@davemloft.net>
42756         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42757         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42758         (_FPU_SETCW): Likewise.
42760 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42762         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42763         is 32-byte aligned.
42765 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42767         [BZ #11837]
42768         * iconvdata/gb18030.c: Update tables.
42769         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42770         characters specially.
42771         (BODY for TO_LOOP): Add encoding of missing ranges.
42773 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42775         [BZ #13673]
42776         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42777         * sysdeps/mach/hurd/dup3.c: Likewise.
42778         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42779         * sysdeps/powerpc/memmove.c:: Likewise.
42781 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42783         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42784         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42786 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42788         * elf/elf.h (R_X86_64_RELATIVE64): New.
42789         (R_X86_64_NUM): Updated.
42790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42791         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42792         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42793         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42794         tst-quad1pie tst-quad2pie
42795         (modules-names): Add tst-quadmod1 tst-quadmod2.
42796         ($(objpfx)tst-quad1): New dependency.
42797         ($(objpfx)tst-quad2): Likewise.
42798         ($(objpfx)tst-quad1pie): Likewise.
42799         ($(objpfx)tst-quad2pie): Likewise.
42800         * sysdeps/x86_64/tst-quad1.c: New file.
42801         * sysdeps/x86_64/tst-quad1pie.c: New file.
42802         * sysdeps/x86_64/tst-quad2.c: Likewise.
42803         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42804         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42805         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42806         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42807         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42811         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42812         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42813         * streams/stropts.h (t_scalar_t): Define type.
42815         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42816         (_PATH_PRESERVE): Set to "/var/lib".
42817         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42819         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42820         instead of int.
42822         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42823         if __dir_mkfile succeeded.
42825         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42826         checking for _hurd_dtablesize.  Unlock it right after having
42827         finished _hurd_dtable allocation.
42829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42831         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42832         * sysdeps/mach/hurd/configure: Regenerated.
42833         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42834         special-casing to...
42835         * sysdeps/gnu/configure.in: ... this new file.
42836         * sysdeps/unix/sysv/linux/configure: Regenerated.
42837         * sysdeps/gnu/configure: New generated file.
42839         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42840         for Linux: use nsec instead of usec, as well as:
42841         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42842         members of type struct timespec.
42843         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42844         New macros.
42845         (struct stat64): Likewise.
42846         (_STATBUF_ST_NSEC): New macro.
42847         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42849         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42850         __strtoul_internal rather than strtoul.
42852 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42854         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42855         and reject them.
42857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42859         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42860         which preserves existing values.
42861         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42863 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42865         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42866         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42867         greater than FD_SETSIZE.
42869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42871         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42872         allocated, call __vm_protect to finish enabling the existing space, and
42873         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42874         allocate the remainder.
42876 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42878         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42879         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42883         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42884         sysdeps/mach/hurd/readlink.c.
42886         * posix/tst-sysconf.c (posix_options): Only use
42887         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42888         _POSIX_SYNCHRONIZED_IO when they are defined
42889         * sysdeps/mach/hurd/bits/posix_opt.h:
42890         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42891         (_XOPEN_REALTIME): Undefine macro.
42892         (_XOPEN_REALTIME_THREADS): Undefine macro.
42893         (_XOPEN_SHM): Undefine macro.
42894         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42895         macro to -1.
42896         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42897         macro to -1.
42898         (_POSIX_ASYNC_IO): Undefine macro.
42899         (_POSIX_PRIORITIZED_IO): Undefine macro.
42900         (_POSIX_SPIN_LOCKS): Define macro to -1.
42902         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42903         SA_NODEFER, SA_RESETHAND.
42904         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42905         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42906         F_DUPFD_CLOEXEC.
42908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42910         * elf/Makefile (pldd-modules): Define unconditionally.
42912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42914         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42918         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42919         Return ENOENT when name is empty.
42920         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42922 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42924         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42926         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42930         Fix mlock in all cases except non-readable pages.
42931         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42932         instead of VM_PROT_ALL as parameter to __vm_wire function.
42934         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42935         (__mkdir): When path is `/', just fail with EEXIST.
42936         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42938 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42940         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42941         <sys/uio.h> (for writev).
42942         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42943         and <sys/param.h> (for MIN).
42945 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42947         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42948         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42949         if interrupted.
42951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42953         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42954         Depend on against $(link-rpcuserlibs).
42956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42958         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42959         (__libc_stack_end): Do not use attribute_relro.
42960         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42961         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42962         to libthread-provided value.
42963         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42964         attribute_relro.
42966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42968         [BZ #3748]
42969         * bits/libc-lock.h (__libc_once_get): New macro.
42970         * sysdeps/mach/bits/libc-lock.h: Likewise.
42971         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42972         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42973         instead of using implementation details.
42975         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42976         * libio/freopen.c: Likewise.
42977         * libio/freopen64.c: Likewise.
42978         * misc/syslog.c: Likewise.
42979         * nscd/connections.c: Likewise.
42980         * nscd/netgroupcache.c: Likewise.
42981         * sysdeps/posix/getcwd.c: Likewise.
42983 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42985         * math/w_ilogbf.c: Add #include <limits.h>.
42987 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42989         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42990         path instead of returning without unlocking.
42992         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42993         immediate-write ioctls.
42994         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42998         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42999         __builtin_frame_address instead of making assumptions about the
43000         location of the return address relative to DATA.  Force early load of
43001         the return address.
43002         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43003         __builtin_frame_address.
43005         dup3 for GNU Hurd.
43006         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43007         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43008         implement dup3 and do some further code clean-ups.
43009         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43010         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43012 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43014         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43016         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43017         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43018         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43019         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43020         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43021         d->port.lock.
43023         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43024         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43025         when handler == SIG_ERR, not when handler != SIG_ERR.
43027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43029         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43030         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43031         definitions.
43033         accept4 for GNU Hurd.
43034         * include/sys/socket.h (__libc_accept4): New prototype.
43035         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43036         to implement __libc_accept4.
43037         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43038         __libc_accept4.
43039         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43041         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43042         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43043         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43044         signal-defines.sym.
43046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43048         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43052         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43053         assertion on O_CLOEXEC flag.
43054         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43055         * hurd/intern-fd.c: Likewise.
43056         * hurd/port2fd.c: Likewise.
43058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43060         [BZ #3906]
43061         * bits/in.h (IPV6_PKTINFO): Define new macro.
43062         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43064 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43066         [BZ #13954]
43067         [BZ #13955]
43068         [BZ #13956]
43069         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43070         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43071         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43072         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43074         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43075         * math/libm-test.inc (logb_test) : Additional logb tests.
43077 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43078             Andreas Jaeger  <aj@suse.de>
43080         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43081         * configure: Regenerated.
43082         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43083         * config.make.in (link-obsolete-rpc): New substituted variable.
43084         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43085         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43086         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43087         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43088         so that libc.a contains the symbols.
43089         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43090         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43091         * sunrpc/auth_none.c: Likewise.
43092         * sunrpc/auth_unix.c: Likewise.
43093         * sunrpc/authdes_prot.c: Likewise.
43094         * sunrpc/authuxprot.c: Likewise.
43095         * sunrpc/clnt_gen.c: Likewise.
43096         * sunrpc/clnt_perr.c: Likewise.
43097         * sunrpc/clnt_raw.c: Likewise.
43098         * sunrpc/clnt_simp.c: Likewise.
43099         * sunrpc/clnt_tcp.c: Likewise.
43100         * sunrpc/clnt_udp.c: Likewise.
43101         * sunrpc/clnt_unix.c: Likewise.
43102         * sunrpc/des_crypt.c: Likewise.
43103         * sunrpc/des_soft.c: Likewise.
43104         * sunrpc/get_myaddr.c: Likewise.
43105         * sunrpc/key_call.c: Likewise.
43106         * sunrpc/key_prot.c: Likewise.
43107         * sunrpc/netname.c: Likewise.
43108         * sunrpc/pm_getmaps.c: Likewise.
43109         * sunrpc/pm_getport.c: Likewise.
43110         * sunrpc/pmap_clnt.c: Likewise.
43111         * sunrpc/pmap_prot.c: Likewise.
43112         * sunrpc/pmap_prot2.c: Likewise.
43113         * sunrpc/pmap_rmt.c: Likewise.
43114         * sunrpc/publickey.c: Likewise.
43115         * sunrpc/rpc_cmsg.c: Likewise.
43116         * sunrpc/rpc_common.c: Likewise.
43117         * sunrpc/rpc_dtable.c: Likewise.
43118         * sunrpc/rpc_prot.c: Likewise.
43119         * sunrpc/rpc_thread.c: Likewise.
43120         * sunrpc/rtime.c: Likewise.
43121         * sunrpc/svc.c: Likewise.
43122         * sunrpc/svc_auth.c: Likewise.
43123         * sunrpc/svc_raw.c: Likewise.
43124         * sunrpc/svc_run.c: Likewise.
43125         * sunrpc/svc_tcp.c: Likewise.
43126         * sunrpc/svc_udp.c: Likewise.
43127         * sunrpc/svc_unix.c: Likewise.
43128         * sunrpc/svcauth_des.c: Likewise.
43129         * sunrpc/xcrypt.c: Likewise.
43130         * sunrpc/xdr.c: Likewise.
43131         * sunrpc/xdr_array.c: Likewise.
43132         * sunrpc/xdr_float.c: Likewise.
43133         * sunrpc/xdr_intXX_t.c: Likewise.
43134         * sunrpc/xdr_mem.c: Likewise.
43135         * sunrpc/xdr_rec.c: Likewise.
43136         * sunrpc/xdr_ref.c: Likewise.
43137         * sunrpc/xdr_sizeof.c: Likewise.
43138         * sunrpc/xdr_stdio.c: Likewise.
43140 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43143         change.  Update copyright years.
43145 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43147         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43149 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43150             Joseph Myers  <joseph@codesourcery.com>
43151             Paul Pluzhnikov  <ppluzhnikov@google.com>
43153         [BZ #14012]
43154         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43155         requiring rpcgen.
43156         [cross-compiling] (extra-libs): Likewise.
43157         [cross-compiling] (extra-libs-others): Likewise.
43158         [cross-compiling] (librpcsvc-routines): Likewise.
43159         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43160         [cross-compiling] (omit-deps): Likewise.
43161         (sunrpc-CPPFLAGS): New variable.
43162         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43163         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43164         (cross-rpcgen-objs): New variable.
43165         (extra-objs): Append $(cross-rpcgen-objs).
43166         ($(cross-rpcgen-objs)): New rule.
43167         ($(objpfx)cross-rpcgen): Likewise.
43168         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43169         comment.
43170         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43171         ($(objpfx)x%.stmp): Likewise.
43172         * sunrpc/proto.h [IS_IN_build] (_): Define.
43173         [IS_IN_build] (_libc_intl_domainname): Likewise.
43175 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43177         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43178         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43179         and R_X86_64_TPOFF64.
43181 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43183         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43184         sysdeps/unix/sysv/syscalls.list.
43185         (stime): Likewise.
43186         (utime): Likewise.
43187         * sysdeps/unix/sysv/syscalls.list: Remove file.
43189 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43191         [BZ #3440]
43192         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43193         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43194         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43195         (__LC_IDENTIFICATION): Make these macros useful in #if
43196         expressions, as required by C99.
43198 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43200         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43201         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43202         after this.
43204 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43206         * stdlib/longlong.h: Updated from GCC.
43208 2012-05-09  Andreas Jaeger  <aj@suse.de>
43210         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43211         default is first entry.
43212         (run_mode): Set type.
43213         (main): Remove informal message about syslog.
43214         (options): Fix typo.
43216         [BZ #14053]
43217         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43218         to asm.
43219         (lrint): Likewise.
43220         (llrintf): Likewise.
43221         (llrint): Likewise.
43222         (rint): Likewise.
43223         (rintf): Likewise.
43224         (nearbyint): Likewise.
43225         (nearbyintf): Likewise.
43227 2012-05-09  Andreas Jaeger  <aj@suse.de>
43228             Pedro Alves  <palves@redhat.com>
43230         * nscd/nscd.c (run_mode): Use enum.
43231         (main): Cleanup coding style issue.
43233 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43234             Andreas Jaeger  <aj@suse.de>
43236         * nscd/nscd.c (go_background): Replaced with...
43237         (run_mode): ... this.
43238         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43239         (options): Add -F --foreground.
43240         (main): Implement it.
43241         (parse_opt): Parse it.
43243 2012-05-09  Andreas Jaeger  <aj@suse.de>
43245         [BZ #14083]
43246         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43247         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43248         -Wconversion warning.
43249         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43250         Likewise.
43252 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43254         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43255         == 0.
43256         (LC_ALL): Use macro-int-constant.
43257         (LC_COLLATE): Likewise.
43258         (LC_CTYPE): Likewise.
43259         (LC_MESSAGES): Likewise.
43260         (LC_MONETARY): Likewise.
43261         (LC_NUMERIC): Likewise.
43262         (LC_TIME): Likewise.
43263         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43264         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43266         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43267         Specify type.
43268         [C99-based standards] (float_t): Expect type.
43269         [C99-based standards] (double_t): Expect type.
43270         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43271         type.
43272         [C99-based standards] (HUGE_VALL): Likewise.
43273         [C99-based standards] (INFINITY): Likewise.
43274         [C99-based standards] (NAN): Likewise.
43275         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43276         [C99-based standards] (FP_NAN): Likewise.
43277         [C99-based standards] (FP_NORMAL): Likewise.
43278         [C99-based standards] (FP_SUBNORMAL): Likewise.
43279         [C99-based standards] (FP_ZERO): Likewise.
43280         [C99-based standards] (FP_FAST_FMA): Use
43281         optional-macro-int-constant.  Specify type.  Require == 1.
43282         [C99-based standards] (FP_FAST_FMAF): Likewise.
43283         [C99-based standards] (FP_FAST_FMAL): Likewise.
43284         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43285         [C99-based standards] (FP_ILOGBNAN): Likewise.
43286         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43287         Specify type.
43288         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43289         [C99-based standards] (math_errhandling): Specify type.
43290         [ISO99 || ISO11] (signgam): Do not allow.
43291         [non-C99-based standards] (copysignf): Do not allow.
43292         [non-C99-based standards] (exp2f): Likewise.
43293         [non-C99-based standards] (log2f): Likewise.
43294         [non-C99-based standards] (modff): Allow.
43295         [non-C99-based standards] (erff): Do not allow.
43296         [non-C99-based standards] (erfcf): Likewise.
43297         [non-C99-based standards] (gammaf): Likewise.
43298         [non-C99-based standards] (hypotf): Likewise.
43299         [non-C99-based standards] (j0f): Likewise.
43300         [non-C99-based standards] (j1f): Likewise.
43301         [non-C99-based standards] (jnf): Likewise.
43302         [non-C99-based standards] (lgammaf): Likewise.
43303         [non-C99-based standards] (tgammaf): Likewise.
43304         [non-C99-based standards] (y0f): Likewise.
43305         [non-C99-based standards] (y1f): Likewise.
43306         [non-C99-based standards] (ynf): Likewise.
43307         [non-C99-based standards] (isnanf): Likewise.
43308         [non-C99-based standards] (acoshf): Likewise.
43309         [non-C99-based standards] (asinhf): Likewise.
43310         [non-C99-based standards] (atanhf): Likewise.
43311         [non-C99-based standards] (cbrtf): Likewise.
43312         [non-C99-based standards] (expm1f): Likewise.
43313         [non-C99-based standards] (ilogbf): Likewise.
43314         [non-C99-based standards] (log1pf): Likewise.
43315         [non-C99-based standards] (logbf): Likewise.
43316         [non-C99-based standards] (nextafterf): Likewise.
43317         [non-C99-based standards] (remainderf): Likewise.
43318         [non-C99-based standards] (rintf): Likewise.
43319         [non-C99-based standards] (scalbf): Likewise.
43320         [non-C99-based standards] (copysignl): Likewise.
43321         [non-C99-based standards] (exp2l): Likewise.
43322         [non-C99-based standards] (log2l): Likewise.
43323         [non-C99-based standards] (modfl): Allow.
43324         [non-C99-based standards] (erfl): Do not allow.
43325         [non-C99-based standards] (erfcl): Likewise.
43326         [non-C99-based standards] (gammal): Likewise.
43327         [non-C99-based standards] (hypotl): Likewise.
43328         [non-C99-based standards] (j0l): Likewise.
43329         [non-C99-based standards] (j1l): Likewise.
43330         [non-C99-based standards] (jnl): Likewise.
43331         [non-C99-based standards] (lgammal): Likewise.
43332         [non-C99-based standards] (tgammal): Likewise.
43333         [non-C99-based standards] (y0l): Likewise.
43334         [non-C99-based standards] (y1l): Likewise.
43335         [non-C99-based standards] (ynl): Likewise.
43336         [non-C99-based standards] (isnanl): Likewise.
43337         [non-C99-based standards] (acoshl): Likewise.
43338         [non-C99-based standards] (asinhl): Likewise.
43339         [non-C99-based standards] (atanhl): Likewise.
43340         [non-C99-based standards] (cbrtl): Likewise.
43341         [non-C99-based standards] (expm1l): Likewise.
43342         [non-C99-based standards] (ilogbl): Likewise.
43343         [non-C99-based standards] (log1pl): Likewise.
43344         [non-C99-based standards] (logbl): Likewise.
43345         [non-C99-based standards] (nextafterl): Likewise.
43346         [non-C99-based standards] (remainderl): Likewise.
43347         [non-C99-based standards] (rintl): Likewise.
43348         [non-C99-based standards] (scalbl): Likewise.
43349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43350         [non-C99-based standards] (FP_*): Do not allow.
43351         [C99-based standards] (FP_*): Change to
43352         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43353         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43354         allow.
43355         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43356         (SIG_ERR): Likewise.
43357         [X/Open-based standards] (SIG_HOLD): Likewise.
43358         (SIG_IGN): Likewise.
43359         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43360         positive value.
43361         (SIGFPE): Likewise.
43362         (SIGILL): Likewise.
43363         (SIGINT): Likewise.
43364         (SIGSEGV): Likewise.
43365         (SIGTER): Likewise.
43366         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43367         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43368         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43369         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43370         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43371         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43372         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43373         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43374         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43375         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43376         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43377         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43378         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43379         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43380         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43381         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43382         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43383         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43384         [X/Open-based standards] (SIGTRAP): Likewise.
43385         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43386         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43387         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43388         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43389         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43390         allow.
43392 2012-05-08  Ian Wienand  <ianw@vmware.com>
43394         [BZ #14080]
43395         * time/tzset.c (__tzset_parse_tz): Update default rules for
43396         daylight time changes in the Energy Policy Act of 2005.
43398 2012-05-09  Andreas Jaeger  <aj@suse.de>
43400         [BZ #13983]
43401         * elf/ldconfig.c (parse_conf): Change string to make clear that
43402         ldconfig only issued a warning if ld.so.conf does not exist.
43404 2012-05-08  David S. Miller  <davem@davemloft.net>
43406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43407         movxtod instead of popping the value on the stack.
43409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43411 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43413         * config.h.in: Add HAVE_ARM_PCS_VFP.
43415 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43417         [BZ #13979]
43418         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43419         checking but the checks are disabled for any reason.
43421 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43423         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43424         and ELF64_R_TYPE with ELFW(R_TYPE).
43426 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43428         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43429         (ulimit): Likewise.
43431         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43432         (settimeofday): Likewise.
43434 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43436         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43437         a struct th_u2 inside the union, and move tu_block/tu_code into
43438         a new th_u3 union of tu_block/tu_code inside of that.  Move
43439         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43440         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43441         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43442         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43443         (th_stuff): Change to th_u1.tu_stuff.
43444         (th_data): Define.
43445         (th_msg): Change to th_u1.th_u2.tu_data.
43447 2012-05-07  David S. Miller  <davem@davemloft.net>
43449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43451         [BZ #14074]
43452         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43453         (SETUP_PIC_REG): Use it.
43454         (SETUP_PIC_REG_LEAF): Use it.
43456 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43458         [BZ #13885]
43459         [BZ #13923]
43460         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43461         USE_AS_EXPM1L.
43462         (EXPL_FINITE): Likewise.
43463         (FLDLOG): Likewise.
43464         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43465         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43466         e_expl.S.
43467         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43468         USE_AS_EXPM1L.
43469         (EXPL_FINITE): Likewise.
43470         (FLDLOG): Likewise.
43471         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43472         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43473         e_expl.S.
43474         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43475         test of -max_value argument for long double.
43476         * sysdeps/i386/fpu/libm-test-ulps: Update.
43477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43479 2012-05-06  David S. Miller  <davem@davemloft.net>
43481         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43482         quad soft-float symbols whose references which are compiler
43483         generated.
43484         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43486 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43488         [BZ #13884]
43489         [BZ #13914]
43490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43491         USE_AS_EXP10L.
43492         (EXPL_FINITE): Likewise.
43493         (FLDLOG): Likewise.
43494         (c0): Likewise.
43495         (c1): Likewise.
43496         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43497         Adjust comments for base varying.
43498         (__expl_finite): Change alias to EXPL_FINITE.
43499         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43500         e_expl.S.
43501         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43502         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43503         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43504         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43505         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43506         USE_AS_EXP10L.
43507         (EXPL_FINITE): Likewise.
43508         (FLDLOG): Likewise.
43509         (c0): Likewise.
43510         (c1): Likewise.
43511         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43512         Adjust comments for base varying.
43513         (__expl_finite): Change alias to EXPL_FINITE.
43514         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43515         tests for bugs.
43516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43518         [BZ #14064]
43519         * math/libm-test.inc (check_float_internal): Correct ulp
43520         calculation for subnormal expected results.
43522 2012-05-06  Andreas Jaeger  <aj@suse.de>
43524         * Makeconfig (+math-flags): New, set to -frounding-math.
43525         (+cflags): Add +math-flags so that all of glibc gets compiled with
43526         it.
43528         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43530 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43532         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43533         Disable one test.
43535         [BZ #13787]
43536         [BZ #13922]
43537         [BZ #14036]
43538         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43539         (__ieee754_expl): Allow for and saturate large arguments.
43540         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43541         (u_threshold): Likewise.
43542         (__exp): Call __ieee754_exp before checking for overflow and
43543         underflow.
43544         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43545         (u_threshold): Likewise.
43546         (__expf): Call __ieee754_expf before checking for overflow and
43547         underflow.
43548         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43549         (u_threshold): Likewise.
43550         (__expl): Call __ieee754_expl before checking for overflow and
43551         underflow.
43552         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43553         (__ieee754_expl): Allow for and saturate large arguments.
43554         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43555         missing overflow exception on overflow.
43556         (expm1_test): Do not allow missing overflow exception on overflow.
43558         * sysdeps/i386/fpu/e_expl.c: Move to ...
43559         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43560         rather than using inline asm.
43561         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43562         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43563         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43565         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43566         (nice): Likewise.
43567         (poll): Likewise.
43568         (signal): Likewise.
43569         (time): Likewise.
43570         (times): Likewise.
43572 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43574         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43575         sysdeps/unix/common/syscalls.list.
43576         (fchmod): Likewise.
43577         (fchown): Likewise.
43578         (ftruncate): Likewise.
43579         (getrusage): Likewise.
43580         (gettimeofday): Likewise.
43581         (setpgid): Likewise.
43582         (setregid): Likewise.
43583         (setreuid): Likewise.
43584         (sigaction): Likewise.
43585         (truncate): Likewise.
43586         (vhangup): Likewise.
43587         * sysdeps/unix/common/syscalls.list: Remove file.
43588         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43589         * sysdeps/unix/sysv/linux/Implies: Likewise.
43591 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43593         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43595         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43596         Moved to ...
43597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43598         Here.
43599         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43600         to ...
43601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43602         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43603         to ...
43604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43605         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43606         to ...
43607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43608         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43609         to ...
43610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43611         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43612         to ...
43613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43614         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43615         to ...
43616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43617         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43618         to ...
43619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43620         Here.
43621         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43622         to ...
43623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43624         Here.
43625         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43626         to ...
43627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43628         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43629         Moved to ...
43630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43631         Here.
43632         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43633         to ...
43634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43636 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43638         * sysdeps/unix/common/bits/dirent.h: Remove file.
43639         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43641         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43642         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43643         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43644         * sysdeps/unix/bsd/isatty.c: Likewise.
43645         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43646         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43647         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43649 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43651         [BZ #13563]
43652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43653         long double comparison inaccuracies.
43654         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43657 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43659         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43662 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43664         [BZ #14049]
43665         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43666         nonzero digits before rounding a hex value.
43667         * stdlib/tst-strtod.c (tests): Add another test.
43669 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43671         * sysdeps/s390/fpu/libm-test-ulps: Update.
43673 2012-05-03  Andreas Jaeger  <aj@suse.de>
43675         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43676         does not get optimized out.
43677         (malloc_opt_barrier): New.
43679 2012-05-03  Andreas Jaeger  <aj@suse.de>
43680             Roland McGrath  <roland@hack.frob.com>
43682         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43683         intermediate file deletion.
43684         (generated): Add .symlist files.
43686 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43688         [BZ #13775]
43689         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43690         Redirect under this condition.
43691         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43692         [__USE_GNU] (__dprintf_chk): Not under this condition.
43693         [__USE_GNU] (__vdprintf_chk): Likewise.
43694         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43695         under this condition.
43696         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43697         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43698         [__USE_XOPEN2K8] (vdprintf): Likewise.
43699         [__USE_GNU] (__dprintf_chk): Not under this condition.
43700         [__USE_GNU] (__vdprintf_chk): Likewise.
43701         [__USE_GNU] (dprintf): Likewise.
43702         [__USE_GNU] (vdprintf): Likewise.
43704 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43706         * elf/Makefile (common-generated): Set this instead of generated for
43707         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43708         $(all-built-dso)-derived lists.
43710 2012-05-03  Andreas Jaeger  <aj@suse.de>
43712         * sysdeps/i386/fpu/libm-test-ulps: Update.
43714         * FAQ: Removed.
43715         * FAQ.in: Likewise.
43716         * scripts/gen-FAQ.pl: Likewise.
43717         * manual/install.texi (Installation): Point to online location of
43718         FAQ.
43719         * Makefile (files-for-dist): Remove FAQ.
43720         (FAQ): Remove.
43722 2012-05-02  Allan McRae  <allan@archlinux.org>
43724         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43725         (LDFLAGS-reldepmod5.so): Likewise.
43726         (LDFLAGS-reldep6mod1.so): Likewise.
43727         (LDFLAGS-reldep6mod4.so): Likewise.
43728         (LDFLAGS-reldep8mod3.so): Likewise.
43729         (LDFLAGS-unload4mod1.so): Likewise.
43730         (LDFLAGS-unload4mod2.so): Likewise.
43731         (LDFLAGS-tst-initorder): Likewise.
43732         (LDFLAGS-tst-initordera2.so): Likewise.
43733         (LDFLAGS-tst-initordera3.so): Likewise.
43734         (LDFLAGS-tst-initordera4.so): Likewise.
43735         (LDFLAGS-tst-initorderb2.so): Likewise.
43736         (LDFLAGS-noload): Likewise.
43737         (LDFLAGS-next): Likewise.
43738         (LDFLAGS-order2mod1.so): Likewise.
43739         (LDFLAGS-order2mod2.so): Likewise.
43740         (LDFLAGS-tst-initorder2): Likewise.
43741         (LDFLAGS-tst-initorder2a.so): Likewise.
43742         (LDFLAGS-tst-initorder2b.so): Likewise.
43743         (LDFLAGS-tst-initorder2c.so): Likewise.
43744         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43746 2012-05-02  David S. Miller  <davem@davemloft.net>
43748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43750 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43752         [BZ #14055]
43753         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43755 2012-05-02  Andreas Jaeger  <aj@suse.de>
43757         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43758         since we manipulate rounding mode.
43759         (CPPFLAGS-test-idouble.c): Likewise.
43760         (CPPFLAGS-test-ifloat.c): Likewise.
43761         (CFLAGS-test-ldouble.c): Likewise.
43762         (CFLAGS-test-double.c): Likewise.
43763         (CFLAGS-test-float.c): Likewise.
43764         (CFLAGS-test-misc.c): Likewise.
43765         (CFLAGS-test-test-fenv.c): Likewise.
43767 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43769         [BZ #2550]
43770         [BZ #2570]
43771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43772         comparisons to determine direction to adjust input.
43774 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43776         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43777         output to the target.
43779         * scripts/localplt.awk: New file.
43780         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43781         (check-localplt-CFLAGS): Variable removed.
43782         ($(all-built-dso:=.jmprel)): New static pattern rule.
43783         (generated): Add those targets.
43784         (localplt-built-dso): New variable.
43785         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43787         * elf/check-localplt.c: File removed.
43789         * scripts/check-execstack.awk: New file.
43790         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43791         (check-execstack-CFLAGS): Variable removed.
43792         ($(objpfx)check-execstack.h): Target removed.
43793         ($(objpfx)execstack-default): New target.
43794         (generated): Add that instead of check-execstack.h.
43795         ($(all-built-dso:=.phdr)): New static pattern rule.
43796         (generated): Add those targets.
43797         * elf/check-execstack.c: File removed.
43799         * scripts/check-textrel.awk: New file.
43800         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43801         (check-textrel-CFLAGS): Variable removed.
43802         (all-built-dso): Use := to define.o
43803         ($(all-built-dso:=.dyn)): New static pattern rule.
43804         (generated): Add those targets.
43805         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43806         * config.make.in (READELF): New substituted variable.
43807         * elf/check-textrel.c: File removed.
43809 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43811         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43812         allow.
43813         * conform/data/ctype.h-data [C99-based standards] (isblank):
43814         Expect function.
43815         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43816         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43817         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43818         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43819         Specify type.  Require positive value.
43820         (EILSEQ): Likewise.
43821         (ERANGE): Likewise.
43822         [ISO || POSIX] (EILSEQ): Do not expect.
43823         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43824         Specify type.  Require positive value.
43825         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43826         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43827         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43828         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43829         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43830         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43831         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43832         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43833         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43834         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43835         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43836         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43837         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43838         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43839         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43840         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43841         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43842         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43843         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43844         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43845         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43846         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43847         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43848         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43849         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43850         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43851         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43852         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43853         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43854         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43855         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43856         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43857         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43858         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43859         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43860         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43861         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43862         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43863         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43864         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43865         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43866         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43867         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43868         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43869         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43870         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43871         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43872         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43873         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43874         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43875         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43876         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43877         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43878         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43879         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43880         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43881         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43882         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43883         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43884         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43885         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43886         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43887         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43888         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43889         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43890         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43891         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43892         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43893         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43894         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43895         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43896         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43897         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43898         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43899         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43900         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43901         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43902         Require >= 2.
43903         (FLT_ROUNDS): Expect as macro, not constant.
43904         (FLT_MANT_DIG): Use macro-int-constant.
43905         (DBL_MANT_DIG): Likewise.
43906         (LDBL_MANT_DIG): Likewise.
43907         (FLT_DIG): Likewise.
43908         (DBL_DIG): Likewise.
43909         (LDBL_DIG): Likewise.
43910         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43911         (DBL_MIN_EXP): Likewise.
43912         (LDBL_MIN_EXP): Likewise.
43913         (FLT_MAX_EXP): Use macro-int-constant.
43914         (DBL_MAX_EXP): Likewise.
43915         (LDBL_MAX_EXP): Likewise.
43916         (FLT_MAX_10_EXP): Likewise.
43917         (DBL_MAX_10_EXP): Likewise.
43918         (LDBL_MAX_10_EXP): Likewise.
43919         (FLT_MAX): Use macro-constant.
43920         (DBL_MAX): Likewise.
43921         (LDBL_MAX): Likewise.
43922         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43923         (DBL_EPSILON): Likewise.
43924         (LDBL_EPSILON): Likewise.
43925         (FLT_MIN): Likewise.
43926         (DBL_MIN): Likewise.
43927         (LDBL_MIN): Likewise.
43928         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43929         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43930         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43931         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43932         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43933         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43934         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43935         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43936         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43937         [ISO11] (FLT_TRUE_MIN): Likewise.
43938         [ISO11] (LDBL_TRUE_MIN): Likewise.
43939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43940         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43941         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43942         (SCHAR_MAX): Likewise.
43943         (UCHAR_MAX): Likewise.
43944         (CHAR_MIN): Likewise.
43945         (CHAR_MAX): Likewise.
43946         (MB_LEN_MAX): Use macro-int-constant.
43947         (SHRT_MIN): Use macro-int-constant.  Specify type.
43948         (SHRT_MAX): Likewise.
43949         (USHRT_MAX): Likewise.
43950         (INT_MAX): Likewise.
43951         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43952         bound negative.
43953         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43954         bound with "U".
43955         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43956         bound with "L".
43957         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43958         bound negative.  Suffix upper bound with "L".
43959         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43960         bound with "UL".
43961         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43962         Specify type.
43963         [C99-based standards] (LLONG_MAX): Likewise.
43964         [C99-based standards] (ULLONG_MAX): Likewise.
43965         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43966         == 0.
43967         [ISO11] (max_align_t): Require type.
43968         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43970         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43971         from $CFLAGS, without defining away __attribute__ calls.
43972         (checknamespace): Use $CFLAGS_namespace.
43974         * conform/conformtest.pl (@keywords): Only include C99 keywords
43975         for standards based on C99 or C11.
43977         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43978         Disable tests.
43979         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43980         UNIX98]: Likewise.
43982         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43983         usability of symbols in #if.
43985         * conform/conformtest.pl: If macro or constant types start
43986         "promoted:", expect the symbol to be of the following type
43987         promoted by the integer promotions.
43989         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43990         in one place.  Also handle "macro-constant".
43992         * conform/conformtest.pl: Only accept expected macro values with
43993         "==".  Parse all "macro" lines in one place.
43994         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43996         * conform/conformtest.pl: Handle braced types on "constant" lines
43997         instead of handling "typed-constant".
43998         * conform/data/signal.h-data: Use "constant" instead of
43999         "typed-constant".
44001         * conform/conformtest.pl: Handle "optional-" at start of lines in
44002         one place rather than duplicating several cases.  Handle each
44003         format of "macro" line with initial "optional-".
44005         * conform/conformtest.pl: Only accept expected constant or
44006         optional-constant values with "==".  Parse all "constant" lines in
44007         one place.  Parse all "optional-constant" lines in one place.
44008         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44009         * conform/data/fmtmsg.h-data: Likewise.
44010         * conform/data/netinet/in.h-data: Likewise.
44011         * conform/data/tar.h-data: Likewise.
44012         * conform/data/limits.h-data: Use "==" form on "constant" and
44013         "optional-constant" lines.
44015         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44016         Use -std=c99 for XOPEN2K.
44017         (@knownproblems): Remove.
44018         (newtoken): Don't check %isknown.
44020         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44021         Do not expect macro.
44022         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44023         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44024         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44025         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44026         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44027         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44028         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44029         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44030         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44031         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44032         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44033         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44034         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44035         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44036         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44037         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44038         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44039         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44040         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44041         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44042         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44043         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44044         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44045         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44046         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44047         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44048         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44049         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44050         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44051         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44052         [XPG3] (acosh): Likewise.
44053         [XPG3] (asinh): Likewise.
44054         [XPG3] (atanh): Likewise.
44055         [XPG3] (cbrt): Likewise.
44056         [XPG3] (expm1): Likewise.
44057         [XPG3] (ilogb): Likewise.
44058         [XPG3] (log1p): Likewise.
44059         [XPG3] (logb): Likewise.
44060         [XPG3] (nextafter): Likewise.
44061         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44062         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44063         [XPG3] (remainder): Likewise.
44064         [XPG3] (rint): Likewise.
44065         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44066         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44067         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44068         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44069         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44070         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44071         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44072         [UNIX98 || XOPEN2K] (scalb): Expect.
44073         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44074         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44075         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44076         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44077         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44078         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44079         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44080         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44081         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44082         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44083         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44084         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44085         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44086         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44087         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44088         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44089         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44090         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44091         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44092         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44093         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44094         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44095         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44096         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44097         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44098         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44099         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44100         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44101         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44102         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44103         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44104         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44105         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44106         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44107         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44108         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44109         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44110         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44111         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44112         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44113         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44114         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44115         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44116         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44117         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44118         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44119         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44120         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44121         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44122         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44123         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44124         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44125         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44126         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44127         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44128         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44129         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44130         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44131         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44132         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44133         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44134         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44135         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44136         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44137         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44138         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44139         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44140         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44141         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44142         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44143         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44144         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44145         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44146         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44147         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44148         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44149         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44150         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44151         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44152         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44153         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44154         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44155         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44156         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44157         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44158         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44159         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44160         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44161         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44162         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44163         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44164         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44165         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44166         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44167         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44168         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44169         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44170         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44171         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44172         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44173         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44174         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44175         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44176         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44177         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44178         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44179         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44180         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44181         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44182         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44183         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44184         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44185         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44186         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44187         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44188         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44189         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44190         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44191         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44192         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44193         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44194         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44195         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44196         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44197         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44198         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44199         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44200         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44201         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44202         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44203         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44204         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44205         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44206         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44207         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44208         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44209         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44211         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44212         _XOPEN_SOURCE_EXTENDED for XPG4.
44214         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44216         * Makeconfig (localtime): Remove variable.
44217         (inst_localtime-file): Likewise.
44219 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44222         Update.
44223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44224         Update.
44225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44226         Update.
44227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44228         Update.
44229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44230         Update.
44231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44232         Update.
44233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44234         Update.
44235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44236         Update.
44237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44238         Update.
44240 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44242         [BZ #2550]
44243         [BZ #2570]
44244         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44245         comparisons to determine direction to adjust input.
44246         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44247         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44248         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44249         Likewise.
44250         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44251         Likewise.
44252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44253         Likewise.
44254         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44255         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44256         Likewise.
44257         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44258         Likewise.
44259         * math/libm-test.inc (nexttoward_test): Add more tests.
44261 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44263         [BZ #14040]
44264         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44265         in version GLIBC_2.1, not GLIBC_2.0.
44266         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44267         Likewise.
44269 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44271         [BZ #13942]
44272         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44273         (1 - x) * (1 + x).
44274         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44275         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44276         * math/libm-test.inc (acos_test): Add more tests.
44277         (asin_test): Likewise.
44278         * sysdeps/i386/fpu/libm-test-ulps: Update.
44279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44281         [BZ #14034]
44282         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44283         of square root.
44284         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44285         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44286         * math/libm-test.inc (acos_test_tonearest): New function.
44287         (acos_test_towardzero): Likewise.
44288         (acos_test_downward): Likewise.
44289         (acos_test_upward): Likewise.
44290         (asin_test_tonearest): Likewise.
44291         (asin_test_towardzero): Likewise.
44292         (asin_test_downward): Likewise.
44293         (asin_test_upward): Likewise.
44294         (main): Call the new functions.
44295         * sysdeps/i386/fpu/libm-test-ulps: Update.
44296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44298         [BZ #13884]
44299         [BZ #13924]
44300         * math/e_exp10.c: Include <float.h>.
44301         (__ieee754_exp10): Handle underflow here rather than multiplying
44302         large negative argument by M_LN10.
44303         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44304         of __ieee754_expf.
44305         * math/e_exp10l.c: Include <float.h>.
44306         (__ieee754_exp10l): Handle underflow here rather than multiplying
44307         large negative argument by M_LN10l.
44308         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44309         spurious overflow exception on underflow.
44311 2012-04-29  Marek Polacek  <polacek@redhat.com>
44313         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44314         (__fortify_function): New macro.
44315         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44316         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44317         __extern_always_inline.
44318         * libio/bits/stdio2.h: Likewise.
44319         * libio/bits/stdio.h: Likewise.
44320         * string/string.h: Likewise.
44321         * string/bits/string3.h: Likewise.
44322         * include/stdio.h: Likewise.
44323         * stdlib/bits/stdlib.h: Likewise.
44324         * stdlib/stdlib.h: Likewise.
44325         * rt/bits/mqueue2.h: Likewise.
44326         * rt/mqueue.h: Likewise.
44327         * posix/bits/unistd.h: Likewise.
44328         * posix/unistd.h: Likewise.
44329         * io/bits/poll2.h: Likewise.
44330         * io/bits/fcntl2.h: Likewise.
44331         * io/fcntl.h: Likewise.
44332         * io/sys/poll.h: Likewise.
44333         * misc/bits/syslog.h: Likewise.
44334         * misc/bits/syslog-ldbl.h: Likewise.
44335         * misc/sys/syslog.h: Likewise.
44336         * socket/bits/socket2.h: Likewise.
44337         * socket/sys/socket.h: Likewise.
44338         * debug/tst-chk1.c: Likewise.
44339         * wcsmbs/bits/wchar2.h: Likewise.
44340         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44341         * wcsmbs/wchar.h: Likewise.
44343 2012-04-29  Andreas Jaeger  <aj@suse.de>
44345         * Makerules (tests): Remove enable-check-abi protection.
44346         (check-abi-warn): Remove.
44347         (check-abi-%): Remove check-abi-warn usage.
44349         * configure.in: Remove check-abi configure option.
44350         * configure: Regenerated.
44351         * config.make.in (enable-check-abi): Remove.
44353 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44355         [BZ #14033]
44356         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44357         double functions to double *_finite functions.
44359         [BZ #13941]
44360         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44361         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44362         LDBL_MIN_EXP.
44363         * stdio-common/Makefile (tests): Add tst-sprintf3.
44364         * stdio-common/tst-sprintf3.c: New file.
44366         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44367         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44369 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44371         * conform/conformtest.pl: Remove duplicate typed-constant
44372         handling.
44374 2012-04-28  David S. Miller  <davem@davemloft.net>
44376         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44377         (check-abi-%): Remove AWK script prerequisite and explicit
44378         abilist directory.
44379         (check-abi): Rewrite to just diff the symlist with the abilist.
44380         (config-tls, config-abi-config): Delete, no longer used.
44381         (update-abi-%): Remove AWK script and explicit abilist directory.
44382         (update-abi): Rewrite to simply compare and conditionally copy the
44383         symlist and the sysdep abilist file.  Remove update-abi-config
44384         checks.
44385         * abilist/ld.abilist: Remove.
44386         * abilist/libBrokenLocale.abilist: Remove.
44387         * abilist/libanl.abilist: Remove.
44388         * abilist/libcrypt.abilist: Remove.
44389         * abilist/libdl.abilist: Remove.
44390         * abilist/librt.abilist: Remove.
44391         * abilist/libthread_db.abilist: Remove.
44392         * abilist/libutil.abilist: Remove.
44393         * scripts/extract-abilist.awk: Remove.
44394         * scripts/merge-abilist.awk: Remove.
44395         * sysdeps/generic/libcidn.abilist: New file.
44396         * sysdeps/generic/libnss_compat.abilist: New file.
44397         * sysdeps/generic/libnss_db.abilist: New file.
44398         * sysdeps/generic/libnss_dns.abilist: New file.
44399         * sysdeps/generic/libnss_files.abilist: New file.
44400         * sysdeps/generic/libnss_hesiod.abilist: New file.
44401         * sysdeps/generic/libnss_nis.abilist: New file.
44402         * sysdeps/generic/libnss_nisplus.abilist: New file.
44403         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44404         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44405         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44406         file.
44407         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44408         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44409         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44410         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44411         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44412         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44413         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44414         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44415         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44416         file.
44417         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44418         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44419         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44420         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44421         file.
44422         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44423         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44424         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44425         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44426         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44427         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44428         file.
44429         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44430         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44431         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44432         file.
44433         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44435         New file.
44436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44437         New file.
44438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44439         New file.
44440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44441         New file.
44442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44443         New file.
44444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44445         New file.
44446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44447         New file.
44448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44449         New file.
44450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44451         New file.
44452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44453         New file.
44454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44455         New file.
44456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44457         New file.
44458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44459         New file.
44460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44461         file.
44462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44463         New file.
44464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44465         New file.
44466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44467         file.
44468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44469         New file.
44470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44471         New file.
44472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44473         file.
44474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44475         New file.
44476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44477         New file.
44478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44479         New file.
44480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44481         New file.
44482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44483         New file.
44484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44485         New file.
44486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44488         file.
44489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44490         New file.
44491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44492         file.
44493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44494         file.
44495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44496         file.
44497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44498         file.
44499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44500         file.
44501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44502         New file.
44503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44504         file.
44505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44506         file.
44507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44508         New file.
44509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44510         file.
44511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44513         file.
44514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44515         New file.
44516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44517         file.
44518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44519         file.
44520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44521         file.
44522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44523         file.
44524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44525         file.
44526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44527         New file.
44528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44529         file.
44530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44531         file.
44532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44533         New file.
44534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44535         file.
44536         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44537         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44538         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44539         file.
44540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44541         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44542         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44543         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44544         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44545         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44546         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44547         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44548         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44549         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44552         file.
44553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44554         New file.
44555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44556         file.
44557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44558         file.
44559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44560         file.
44561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44562         file.
44563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44564         file.
44565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44566         New file.
44567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44568         New file.
44569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44570         file.
44571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44572         New file.
44573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44574         file.
44575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44577         file.
44578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44579         New file.
44580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44581         file.
44582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44583         file.
44584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44585         file.
44586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44587         file.
44588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44589         file.
44590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44591         New file.
44592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44593         New file.
44594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44595         file.
44596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44597         New file.
44598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44599         file.
44601 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44603         * conform/conformtest.pl: Fix typo in handling typed-constant from
44604         allow-header.
44606 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44608         * README: Cut down references to pre-2.6 Linux kernels and
44609         Linuxthreads.  Update lists of configurations in libc and ports
44610         and sort alphabetically.  Say "or newer" with Linux kernel version
44611         requirements.
44613         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44615 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44617         [BZ #887]
44618         * math/libm-test.inc (logb_test_downward): New test to expose
44619         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44620         rounding mode.
44622 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44624         [BZ #14027]
44625         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44626         to be done.
44627         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44628         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44630 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44632         * sysdeps/unix/i386/brk.S: Remove file.
44633         * sysdeps/unix/i386/dl-brk.S: Likewise.
44634         * sysdeps/unix/i386/pipe.S: Likewise.
44635         * sysdeps/unix/i386/sigreturn.S: Likewise.
44636         * sysdeps/unix/i386/syscall.S: Likewise.
44637         * sysdeps/unix/i386/vfork.S: Likewise.
44638         * sysdeps/unix/i386/wait.S: Likewise.
44640         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44641         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44643         * configure.in (arm*-none*): Do not allow without
44644         --enable-hacker-mode.
44645         (netbsd*): Remove case setting base_os.
44646         (386bsd*): Likewise.
44647         (freebsd*): Likewise.
44648         (bsdi*): Likewise.
44649         (osf*): Likewise.
44650         (sunos*): Likewise.
44651         (ultrix*): Likewise.
44652         (newsos*): Likewise.
44653         (dynix*): Likewise.
44654         (*bsd*): Likewise.
44655         (sysv*): Likewise.
44656         (isc*): Likewise.
44657         (esix*): Likewise.
44658         (sco*): Likewise.
44659         (minix*): Likewise.
44660         (irix4*): Likewise.
44661         (irix6*): Likewise.
44662         (solaris[2-9]*): Likewise.
44663         (none): Likewise.
44664         * configure: Regenerated.
44666 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44668         [BZ #11521]
44669         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44670         overflow or cancellation in calculating denominator.
44671         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44673         down expression to avoid unexpected rounding in newer GCCs.
44674         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44676 2012-04-26  David S. Miller  <davem@davemloft.net>
44678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44679         long-double compat symbols.
44680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44694 2012-04-25  David S. Miller  <davem@davemloft.net>
44696         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44697         HWCAP_* values only after the memory barriers have been defined.
44698         (atomic_full_barrier): Define.
44699         (atomic_read_barrier): Define.
44700         (atomic_write_barrier): Define.
44702 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44704         * shlib-versions: Add libgcc_s version information.
44705         * sysdeps/generic/libgcc_s.h: Remove.
44706         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44707         libgcc_s.h.
44708         * sysdeps/gnu/unwind-resume.c: Likewise.
44709         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44711 2012-04-25  David S. Miller  <davem@davemloft.net>
44713         * sysdeps/unix/sparc/brk.S: Delete.
44714         * sysdeps/unix/sparc/dl-brk.S: Delete.
44715         * sysdeps/unix/sparc/pipe.S: Delete.
44716         * sysdeps/unix/sparc/sysdep.S: Delete.
44717         * sysdeps/unix/sparc/sysdep.h: Delete.
44718         * sysdeps/unix/sparc/vfork.S: Delete.
44719         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44720         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44721         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44722         (ret_ERRVAL, r0, r1, MOVE): Define.
44723         (JUMPTARGET): Remove.
44724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44725         sysdeps/unix/sparc/sysdep.h
44726         (ENTRY, END): Remove.
44727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44729 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44731         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44732         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44733         -DIS_IN_build.
44735         * timezone/README: Update upstream location and email address for
44736         tzcode and tzdata.
44737         * timezone/zdump.c: Update from tzcode 2012b.
44738         * timezone/zic.c: Likewise.
44740         * configure.in (libc_cv_as_needed): Remove test.
44741         * configure: Regenerated.
44742         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44743         conditional definition.
44744         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44745         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44746         * config.make.in (have-as-needed): Remove variable.
44748 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44749             Paul Pluzhnikov  <ppluzhnikov@google.com>
44751         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44752         strings correctly.
44754 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44756         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44757         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44758         * sysdeps/sh/strlen.S: Likewise.
44760 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44762         * sysdeps/unix/fork.S: Remove file.
44763         * sysdeps/unix/i386/fork.S: Likewise.
44764         * sysdeps/unix/sparc/fork.S: Likewise.
44766         * sysdeps/unix/system.c: Remove file.
44767         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44769         * sysdeps/unix/getegid.S: Remove file.
44770         * sysdeps/unix/geteuid.S: Likewise.
44772 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44774         * scripts/check-localplt.awk: New file.
44775         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44776         of diff.
44777         * scripts/data/localplt-generic.data: Add a comment.
44779         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44780         NODE when __dir_mkfile failed.
44781         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44782         Reported by Ludovic Courtès <ludo@gnu.org>.
44784 2012-04-24  Andreas Jaeger  <aj@suse.de>
44786         * Makerules (common-clean): Also remove gen-as-const-headers
44787         files.
44789 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44791         * Makerules (native-compile): Do not change working directory for
44792         build.  Use $(OUTPUT_OPTION) in command.
44793         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44795 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44797         [BZ #13886]
44798         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44799         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44800         * math/libm-test.inc (floor_test): Add more tests.
44801         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44803 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44805         * sysdeps/unix/getdents.c: Remove file.
44806         * sysdeps/unix/sysv/getdents.c: Likewise.
44807         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44809         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44810         sysdeps/unix/mman/syscalls.list.
44811         (mmap): Likewise.
44812         (mprotect): Likewise.
44813         (msync): Likewise.
44814         (munmap): Likewise.
44815         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44816         * sysdeps/unix/mman/syscalls.list: Remove.
44817         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44819         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44820         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44821         * configure: Regenerated.
44822         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44823         $(libgcc_s_suffix).
44824         * config.make.in (libgcc_s_suffix): Remove variable.
44826 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44828         * sysdeps/unix/sysv/gethostname.c: Move to ...
44829         * sysdeps/posix/gethostname.c: ... here.
44831         * sysdeps/unix/execve.S: Remove file.
44833         * sysdeps/unix/_exit.S: Remove file.
44835 2012-04-23  Andreas Jaeger  <aj@suse.de>
44837         [BZ #13739]
44838         * manual/Makefile: Remove make dist support, there's no
44839         need for a stand-alone documentation tar ball.
44840         (TEXI2DVI): Define always, it's not in Makeconfig.
44841         (dist): Removed.
44842         (tar-it): Removed.
44843         (edition): Removed.
44844         (glibc-doc-$(edition).tar): Removed
44845         (%.Z): Removed.
44846         (%.gz): Removed.
44847         (%.uu): Removed.
44848         (ETAGS): Remove, it's in Makeconfig.
44849         (move-if-change): Remove, it's in Makeconfig.
44851 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44853         [BZ #13970]
44854         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44855         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44856         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44857         (strtod_l, strtof_l, strtold_l): Remove __wur.
44858         It is not necessarily an error to ignore strtol's return value.
44859         One can reliably look at the stored endptr to decide whether
44860         the number had valid syntax.
44862 2012-04-21  Andreas Jaeger  <aj@suse.de>
44864         [BZ #13739]
44865         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44867 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44869         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44870         * sysdeps/unix/sysv/Versions: Remove file.
44872 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44874         [BZ #13927]
44875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44877 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44879         [BZ #7064]
44880         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44881         version from __vm86.
44883 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44885         * sysdeps/unix/common/lxstat.c: Remove file.
44886         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44888         * sysdeps/unix/sysv/Makefile: Remove file.
44890         * sysdeps/unix/sysv/direct.h: Remove file.
44892         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44893         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44894         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44895         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44896         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44897         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44898         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44900         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44902         * sysdeps/unix/xmknod.c: Remove file.
44903         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44905         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44907         * sysdeps/unix/sysv/i386/time.S: Remove file.
44909         * sysdeps/unix/fxstat.c: Remove file.
44910         * sysdeps/unix/xstat.c: Likewise.
44911         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44913         * sysdeps/unix/sysv/sigaction.c: Remove file.
44915         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44916         (sysdep_headers): Remove variable.
44917         [termio.h not in sysdep_headers] (generated): Likewise.
44918         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44919         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44920         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44921         * sysdeps/unix/sysv/tcflow.c: Likewise.
44922         * sysdeps/unix/sysv/tcflush.c: Likewise.
44923         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44924         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44925         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44926         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44927         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44929         * sysdeps/unix/siglist.c: Remove file.
44931         * sysdeps/unix/getppid.S: Remove file.
44933         * sysdeps/unix/mkdir.c: Remove file.
44934         * sysdeps/unix/rmdir.c: Likewise.
44936 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44938         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44939         ERR_MAX value.
44940         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44941         errlist-compat value.
44943 2012-04-18  David S. Miller  <davem@davemloft.net>
44945         * sysdeps/generic/memcopy.h (reg_char): Delete.
44946         * debug/strcat_chk.c: Use char, not reg_char.
44947         * debug/strcpy_chk.c: Likewise.
44948         * debug/strncat_chk.c: Likewise.
44949         * debug/strncpy_chk.c: Likewise.
44950         * string/memchr.c: Likewise.
44951         * string/memrchr.c: Likewise.
44952         * string/rawmemchr.c: Likewise.
44953         * string/strcat.c: Likewise.
44954         * string/strchr.c: Likewise.
44955         * string/strchrnul.c: Likewise.
44956         * string/strcmp.c: Likewise.
44957         * string/strcpy.c: Likewise.
44958         * string/strncat.c: Likewise.
44959         * string/strncmp.c: Likewise.
44960         * string/strncpy.c: Likewise.
44962 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44964         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44965         __builtin_memcopy is called when src and dest ranges are known to not
44966         overlap.
44968 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44970         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44971         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44972         fwd_align_merge macro call.
44973         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44974         bwd_align_merge macro call.
44975         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44977 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44979         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44980         bwd_align_merge macros.
44981         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44982         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44983         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44985 2012-04-18  David S. Miller  <davem@davemloft.net>
44987         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44989 2012-04-18  Andreas Jaeger  <aj@suse.de>
44991         [BZ# 6794]
44992         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44993         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44994         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44996         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44997         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44998         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45000         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45001         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45002         Adjust for changed ldbl-128 files.
45004         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45005         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45006         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45008 2012-04-17  David S. Miller  <davem@davemloft.net>
45010         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45012 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45014         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45015         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45016         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45017         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45018         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45019         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45021 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45023         [BZ #6794]
45024         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45025         * math/libm-test.inc: Add ilogb errno and exception tests.
45026         * math/w_ilogb.c: New file: ilogb wrapper.
45027         * math/w_ilogbf.c: New file: ilogbf wrapper.
45028         * math/w_ilogbl.c: New file: ilogbl wrapper.
45029         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45030         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45031         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45032         exception being thrown with 0.0 as argument.
45033         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45034         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45035         exception being thrown with 0.0 as argument.
45036         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45037         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45038         exception being thrown with 0.0 as argument.
45039         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45040         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45041         exception being thrown with 0.0 as argument.
45042         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45043         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45044         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45045         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45046         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45047         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45048         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45049         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45050         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45052 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45054         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45055         with altivec.
45057 2012-04-16  Marek Polacek  <polacek@redhat.com>
45059         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45061 2012-04-16  Marek Polacek  <polacek@redhat.com>
45063         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45064         operands of fdivp instruction.
45066 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45068         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45069         * elf/tst-auditmod3b.c: Likewise.
45070         * elf/tst-auditmod4b.c: Likewise.
45071         * elf/tst-auditmod5b.c: Likewise.
45072         * elf/tst-auditmod6b.c: Likewise.
45073         * elf/tst-auditmod6c.c: Likewise.
45074         * elf/tst-auditmod7b.c: Likewise.
45075         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45076         * sysdeps/x86_64/preconfigure.in: Likewise.
45077         * sysdeps/x86_64/preconfigure: Regenerated.
45079 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45081         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45082         __ILP32__.
45084 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45087         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45089 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45091         [BZ #13973]
45092         * locale/iso-639.def: Fix gl language name. Spotted by
45093         Yaron Shahrabani.
45095 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45097         [BZ #2074]
45098         * libio/libio.h (__io_write_fn): Update comment.
45100 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45102         [BZ #2074]
45103         * stdio.texi (Hook Functions): The user provided writer function
45104         is not allowed to return -1.
45106 2012-04-11  David S. Miller  <davem@davemloft.net>
45108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45110 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45112         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45113         Add a leading slash to rtkaio.
45115 2012-04-11  Jim Meyering  <meyering@redhat.com>
45117         [BZ #11959]
45118         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45119         It is not necessarily an error to ignore fwrite's return
45120         value.  One can reliably use ferror to test for errors after
45121         the fact.
45123 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45125         * bits/types.h (__snseconds_t): New type.
45126         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45128         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45129         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45130         (__SNSECONDS_T_TYPE): Likewise.
45131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45132         (__SNSECONDS_T_TYPE): Likewise.
45133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45134         (__SNSECONDS_T_TYPE): Likewise.
45136 2012-04-10  Andreas Jaeger  <aj@suse.de>
45138         [BZ #2636]
45139         * manual/time.texi (Processor Time): Return type of times is
45140         elapsed real time since an arbitrary point in the past.
45141         (CPU Time): Move CLK_TCK from here...
45142         (Processor Time): ...to here.  Correct description.
45143         * manual/conf.texi (Constants for Sysconf): Correct description of
45144         _SC_CLK_TCK.
45146 2012-04-10  David S. Miller  <davem@davemloft.net>
45148         [BZ #13967]
45149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45150         where the is a gap between DT_REL(A) and DT_JMPREL.
45152 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45154         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45155         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45156         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45158 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45160         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45161         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45162         (dl_main): Handle --inhibit-cache.
45163         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45164         _dl_inhibit_cache.
45165         * elf/dl-load.c (_dl_map_object): Use it.
45166         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45168 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45170         [BZ #13872]
45171         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45172         (__ieee754_powl): Saturate large exponents rather than testing for
45173         overflow of y*log2(x).
45174         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45175         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45176         exceptions.
45178         [BZ #11521]
45179         * math/s_ctan.c: Include <float.h>.
45180         (__ctan): Avoid internal overflow or cancellation in calculating
45181         denominator.
45182         * math/s_ctanf.c: Likewise.
45183         * math/s_ctanl.c: Likewise.
45184         * math/s_ctanh.c: Likewise.
45185         * math/s_ctanhf.c: Likewise.
45186         * math/s_ctanhl.c: Likewise.
45187         * math/libm-test.inc (ctan_test): Add more tests.
45188         (ctanh_test): Likewise.
45189         * sysdeps/i386/fpu/libm-test-ulps: Update.
45190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45192 2012-04-09  Andreas Jaeger  <aj@suse.de>
45194         [BZ #6894]
45195         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45196         is an optional BSD extension.
45198         [BZ #10254]
45199         * manual/stdio.texi (Opening Streams): Document additional fopen
45200         parameters.
45202 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45204         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45205         %eax without telling the compiler.
45207 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45209         [BZ # 13963]
45210         * manual/install.texi: Use sourceware.org.
45212 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45214         [BZ #13873]
45215         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45216         (__ieee754_pow): Generate overflow and underflow using huge*huge
45217         and tiny*tiny rather than just returning constant infinity or zero
45218         for large exponents.
45219         * math/libm-test.inc (pow_test): Require overflow exceptions for
45220         applicable cases of large exponents.
45222         [BZ #706]
45223         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45224         (__ieee754_pow): Use iterative multiplication algorithm only for
45225         integer exponents with absolute value below 1024.  Check for odd
45226         integer exponents when using algorithm for real exponents.
45227         * math/libm-test.inc (pow_test): Add more tests.
45228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45230 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45232         [BZ #13705]
45233         * math/libm-test.inc (exp_test): Do not allow overflow exception
45234         on underflow test.
45236 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45238         [BZ #13705]
45239         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45240         instead of __kernel_standard_f.
45242 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45244         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45245         * sysdeps/x86_64/memset_chk.S: Likewise.
45247 2012-04-08  Andreas Jaeger  <aj@suse.de>
45249         [BZ #10153]
45250         * manual/startup.texi (Environment Access): Describe return value
45251         for putenv and setenv.
45253         [BZ #6895]
45254         * manual/filesys.texi (Directory Entries): Add description for
45255         DT_LNK.
45257         [BZ #6890]
45258         * manual/filesys.texi (Directory Entries): Clarify that it's file
45259         system not operating system in the description of DT_UNKNOWN.
45261         [BZ #6578]
45262         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45264 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45266         [BZ #6649]
45267         * manual/llio.texi (Opening and Closing Files): Add cross
45268         reference to explain mode argument.
45270 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45272         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45273         * sysdeps/x86_64/memset_chk.S: Likewise.
45275 2012-04-07  David S. Miller  <davem@davemloft.net>
45277         * elf/elf.h (R_SPARC_WDISP10): Define.
45278         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45279         R_SPARC_SIZE32.
45280         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45281         R_SPARC_SIZE64 and R_SPARC_H34.
45283 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45285         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45286         conditions and remove no longer applicable assertion.
45288 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45290         * bits/byteswap.h: Include <features.h>.
45291         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45292         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45294 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45296         * bits/byteswap.h (__bswap_16): Removed.
45297         Include <bits/byteswap-16.h> to get __bswap_16.
45298         * sysdeps/i386/bits/byteswap.h: Likewise.
45299         * sysdeps/s390/bits/byteswap.h: Likewise.
45300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45301         * bits/byteswap-16.h: New file.
45302         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45303         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45304         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45305         * string/Makefile (headers): Add bits/byteswap-16.h.
45307 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45309         [BZ #13895]
45310         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45311         extra indirection.
45312         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45313         * nss/tst-nss-static.c: New.
45315 2012-04-06  Robert Millan  <rmh@gnu.org>
45317         [BZ #6486]
45318         * manual/llio.texi (File Position Primitive): lseek
45319         refers to WHENCE when it really means OFFSET.
45321 2012-04-06  Andreas Jaeger  <aj@suse.de>
45323         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45324         strncmp declarations.
45326         * abilist/libc.abilist: Add __poll and __ppoll.
45328 2012-04-05  David S. Miller  <davem@davemloft.net>
45330         * scripts/check-local-headers.sh: Accept a host triplet in the
45331         path matched by the exclude regexp.
45333         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45334         definition.
45335         * sysdeps/powerpc/powerpc32/dl-machine.h
45336         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45337         * sysdeps/s390/s390-32/dl-machine.h
45338         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45339         * sysdeps/sparc/sparc32/dl-machine.h
45340         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45341         * sysdeps/sparc/sparc64/dl-machine.h
45342         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45344         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45345         lazy binding.
45346         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45347         undefined symbol errors.
45349         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45350         DT_NEEDED entries.
45352 2012-04-05  Michael Matz  <matz@suse.de>
45354         [BZ #13592]
45355         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45357 2012-04-05  Andreas Jaeger  <aj@suse.de>
45359         [BZ #13908]
45360         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45361         comment.
45363 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45365         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45366         which ROUND is no valid rounding mode.
45368 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45370         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45371         read again.
45372         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45374 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45376         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45377         an exception using FPU order intentionally.
45379 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45381         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45382         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45383         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45384         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45386 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45388         [BZ #12340]
45389         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45390         EINVAL when BUFLEN is too smal.
45392 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45394         [BZ #13553]
45395         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45396         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45398 2012-04-03  Andreas Jaeger  <aj@suse.de>
45400         [BZ #13938]
45401         * manual/setjmp.texi (System V contexts): Fix sentence.
45403         [BZ #13926]
45404         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45405         New macro for this case.
45406         [!__GNUC__] (__bswap_64): New inline function for this case.
45407         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45408         * bits/byteswap.h: Likewise.
45409         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45410         ull, guard with __GLIBC_HAVE_LONG_LONG.
45412         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45413         __GLIBC_HAVE_LONG_LONG.
45415         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45416         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45418 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45420         [BZ #13691]
45421         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45422         inptr and inend, rather than using last_ch.
45424 2012-04-02  David S. Miller  <davem@davemloft.net>
45426         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45427         * stdio-common/printf-parse.h (read_int): Change return type to
45428         'int', return -1 on INT_MAX overflow.
45429         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45430         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45431         overflows INT_MAX.  Check for overflow of in-format-string precision
45432         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45433         SIZE_MAX not INT_MAX for integer overflow test.
45434         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45435         skip the construct in the format string but do not record anything.
45436         * stdio-common/bug22.c: Adjust to test both width/prevision
45437         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45438         explicitly for proper errno values.
45440 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45442         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45443         CHAR_MAX.
45444         * string/test-strcmp.c [! WIDE]: Likewise.
45445         * time/tst-mktime2.c: Likewise for INT_MAX.
45446         * string/test-string.h: #include <sys/param.h> for MIN.
45448         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45449         * sysdeps/i386/init-first.c (init): Likewise.
45450         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45451         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45452         * sysdeps/sh/init-first.c (init): Likewise.
45454 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45456         * po/ru.po: Update from translation team.
45457         * po/vi.po: Likewise.
45459 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45461         * resolv/nss_dns/dns-host.c: Merge copyright years.
45463 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45465         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45466         Optimize memcpy with prefetch if
45467         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45468         src, dst pointers have unequal 16 byte alignments.
45470 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45472         [BZ #13928]
45473         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45474         from a CNAME entry and return the minimum ttl for the query.
45475         (gaih_getanswer_slice): Likewise.
45477 2012-03-30  Jeff Law  <law@redhat.com>
45479         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45480         due to long keys.
45481         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45482         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45484         * resolv/nss_dns/dns-host.c: Update copyright year.
45486 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45488         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45489         requests to save a system call.  Fix check that all bytes are sent.
45491         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45492         comments for sendmmsg.
45494 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45496         [BZ #13691]
45497         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45498         with only 1 character between 0x0041 and 0x01b0.
45499         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45500         * wcsmbs/tst-mbsnrtowcs.c: New file.
45502 2012-03-29  David S. Miller  <davem@davemloft.net>
45504         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45505         small copies by hand.
45507 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45509         [BZ #13761]
45510         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45511         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45512         group memberships.
45514 2012-03-28  David S. Miller  <davem@davemloft.net>
45516         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45517         that branches into memcpy.
45518         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45519         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45521         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45523         bits.
45524         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45525         implementation too.
45526         * sysdeps/sparc/mempcpy.S: New file.
45528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45529         the IFUNC routine in the libc case.
45530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45532         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45533         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45534         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45535         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45536         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45537         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45538         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45539         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45541         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45542         loop to 256 bytes instead of 64 bytes and fix test signedness.
45544         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45545         * sysdeps/sparc/sparc32/Makefile: rather than here...
45546         * sysdeps/sparc/sparc64/Makefile: and here.
45548 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45550         * malloc/mallocbug.c: Avoid warnings about unused variables.
45552 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45554         [BZ #13760]
45555         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45556         in the right place. Discard and retry query if response is
45557         larger than input buffer size.
45559 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45561         [BZ #369]
45562         [BZ #2678]
45563         [BZ #3866]
45564         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45565         x for large integer exponent.
45566         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45567         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45568         sign of result as needed afterwards.
45569         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45570         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45571         result for underflowing pow the same as for overflow.
45572         (__kernel_standard_l): Handle powl overflow and underflow here
45573         rather than calling __kernel_standard.
45574         * math/libm-test.inc (pow_test): Add more tests.
45576         [BZ #3868]
45577         [BZ #13879]
45578         [BZ #13910]
45579         [BZ #13911]
45580         [BZ #13912]
45581         [BZ #13913]
45582         [BZ #13915]
45583         [BZ #13916]
45584         [BZ #13917]
45585         [BZ #13918]
45586         [BZ #13919]
45587         [BZ #13920]
45588         [BZ #13921]
45589         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45590         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45591         (__kernel_standard_l): New function.
45592         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45593         __kernel_standard.
45594         * math/w_acosl.c (__acosl): Likewise.
45595         * math/w_asinl.c (__asinl): Likewise.
45596         * math/w_atan2l.c (__atan2l): Likewise.
45597         * math/w_atanhl.c (__atanhl): Likewise.
45598         * math/w_coshl.c (__coshl): Likewise.
45599         * math/w_exp10l.c (__exp10l): Likewise.
45600         * math/w_exp2l.c (__exp2l): Likewise.
45601         * math/w_fmodl.c (__fmodl): Likewise.
45602         * math/w_hypotl.c (__hypotl): Likewise.
45603         * math/w_j0l.c (__j0l, __y0l): Likewise.
45604         * math/w_j1l.c (__j1l, __y1l): Likewise.
45605         * math/w_jnl.c (__jnl, __ynl): Likewise.
45606         * math/w_lgammal.c (__lgammal): Likewise.
45607         * math/w_log10l.c (__log10l): Likewise.
45608         * math/w_log2l.c (__log2l): Likewise.
45609         * math/w_logl.c (__logl): Likewise.
45610         * math/w_powl.c (__powl): Likewise.
45611         * math/w_remainderl.c (__remainderl): Likewise.
45612         * math/w_scalbl.c (sysv_scalbl): Likewise.
45613         * math/w_sinhl.c (__sinhl): Likewise.
45614         * math/w_sqrtl.c (__sqrtl): Likewise.
45615         * math/w_tgammal.c (__tgammal): Likewise.
45616         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45617         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45618         * math/libm-test.inc (acos_test): Add more tests.
45619         (acosh_test): Likewise.
45620         (asin_test): Likewise.
45621         (atanh_test): Likewise.
45622         (exp_test): Likewise.
45623         (exp10_test): Likewise.
45624         (exp2_test): Likewise.
45625         (expm1_test): Likewise.
45626         (lgamma_test): Likewise.
45627         (log_test): Likewise.
45628         (log10_test): Likewise.
45629         (log1p_test): Likewise.
45630         (log2_test): Likewise.
45631         (pow_test): Do not allow some spurious overflow exceptions.
45632         (sqrt_test): Add more tests.
45633         (tgamma_test): Likewise.
45634         (y0_test): Likewise.
45635         (y1_test): Likewise.
45636         (yn_test): Likewise.
45638 2012-03-27  Anton Blanchard  <anton@samba.org>
45640         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45641         MAP_HUGETLB.
45642         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45644         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45646 2012-03-27  David S. Miller  <davem@davemloft.net>
45648         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45650         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45651         have-as-vis3 check.
45653 2012-03-27  Andreas Jaeger  <aj@suse.de>
45655         * sysdeps/x86_64/elf/configure.in: Moved to ...
45656         * sysdeps/x86_64/configure.in: ... here.
45657         * sysdeps/x86_64/elf/start.S: Moved to ...
45658         * sysdeps/x86_64/start.S: ... here.
45659         * sysdeps/x86_64/elf/configure: Delete.
45661         * sysdeps/x86_64/configure.in: Merge contents from
45662         sysdeps/i386/configure.in (without i686 check).
45664         * sysdeps/i386/elf/Versions: Merge into ...
45665         * sysdeps/i386/Versions: ... this.
45666         * sysdeps/i386/elf/Versions: Delete file.
45667         * sysdeps/i386/elf/start.S: Moved to ...
45668         * sysdeps/i386/start.S: ...here.
45669         * sysdeps/i386/elf/configure.in: Merge into...
45670         * sysdeps/i386/configure.in: ...here.
45671         * sysdeps/i386/elf/configure.in: Delete file.
45672         * sysdeps/i386/elf/configure: Delete file.
45674         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45675         * debug/backtracesyms.c: ... here.
45676         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45677         * debug/backtracesymsfd.c: ... here.
45678         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45679         * sysdeps/generic/ifunc-sel.h: ... here.
45681         * sysdeps/unix/i386/start.c: Delete file.
45682         * sysdeps/unix/sparc/start.c: Delete file.
45683         * sysdeps/unix/start.c: Delete file.
45685         * sysdeps/sh/elf/configure.in: Moved to ...
45686         * sysdeps/sh/configure.in: ... here.
45687         * sysdeps/sh/elf/start.S: Moved to ...
45688         * sysdeps/sh/start.S: ... here.
45689         * sysdeps/sh/elf/configure: Delete file.
45691         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45692         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45693         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45694         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45695         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45696         * sysdeps/powerpc/powerpc64/start.S: here.
45697         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45698         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45699         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45700         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45701         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45703         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45704         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45705         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45706         * sysdeps/powerpc/powerpc32/start.S: ... here.
45707         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45708         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45709         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45711         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45712         * sysdeps/powerpc/ifunc-sel.h: ... here.
45713         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45714         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45716         * sysdeps/sparc/elf/configure.in: Moved to ...
45717         * sysdeps/sparc/configure.in: ... here.
45718         * sysdeps/sparc/elf/configure: Delete file.
45719         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45720         * sysdeps/sparc/sparc32/start.S: ... here.
45721         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45722         * sysdeps/sparc/sparc64/start.S: ... here.
45723         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45724         * sysdeps/sparc/sparc32/Makefile: ... this.
45725         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45726         * sysdeps/sparc/sparc64/Makefile: ... this.
45728         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45729         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45730         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45731         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45732         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45733         * sysdeps/s390/s390-32/setjmp.S: ... here.
45734         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45735         * sysdeps/s390/s390-32/configure.in: ... here.
45736         * sysdeps/s390/s390-32/elf/configure: Delete file.
45737         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45738         * sysdeps/s390/s390-32/start.S: ... here.
45740         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45741         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45742         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45743         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45744         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45745         * sysdeps/s390/s390-64/setjmp.S: ... here.
45746         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45747         * sysdeps/s390/s390-64/configure.in: ... here
45748         * sysdeps/s390/s390-64/elf/configure: Delete file.
45749         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45750         * sysdeps/s390/s390-64/start.S: ... here.
45751         * sysdeps/s390/s390-64/elf/configure: Delete.
45753         * configure.in: Remove support for elf directories in sysdeps.
45755         * configure: Regenerated.
45756         * sysdeps/i386/configure: Regenerated.
45757         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45758         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45759         * sysdeps/s390/s390-32/configure: Regenerated.
45760         * sysdeps/s390/s390-64/configure: Regenerated.
45761         * sysdeps/sh/configure: Regenerated.
45762         * sysdeps/sparc/configure: Regenerated.
45763         * sysdeps/x86_64/configure: Regenerated.
45765 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45769         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45770         denormal result into account.
45772 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45774         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45775         Reported by Allan McRae <allan@archlinux.org>.
45777 2012-03-23  Jeff Law  <law@redhat.com>
45779         * nss/getnssent.c (__nss_getent): Fix typo.
45781 2012-03-23  David S. Miller  <davem@davemloft.net>
45783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45785 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45787         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45788         to pad to uint64_t for each field.
45789         (dl_tls_index): Replace unsigned long with uint64_t.
45791 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45792         Paul Pluzhnikov  <ppluzhnikov@google.com>
45794         [BZ #6528]
45795         * grp/Makefile (otherlibs): Don't set it.
45796         * inet/Makefile (otherlibs): Likewise.
45797         * login/Makefile (otherlibs): Likewise.
45798         * nscd/Makefile (otherlibs): Likewise.
45799         * posix/Makefile (otherlibs): Likewise.
45800         * pwd/Makefile (otherlibs): Likewise.
45801         * rt/Makefile (otherlibs): Likewise.
45802         * sunrpc/Makefile (otherlibs): Likewise.
45803         * nss/Makefile (otherlibs): Likewise.
45804         Add libnss_files to routines and static-only-routines.
45805         ($(objpfx)getent): Remove rule.
45806         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45807         static-only-routines.
45809 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45811         [BZ #13892]
45812         * math/s_cexp.c: Include <float.h>.
45813         (__cexp): Handle exp result overflowing not necessarily
45814         overflowing both real and imaginary parts of result.
45815         * math/s_cexpf.c: Likewise.
45816         * math/s_cexpl.c: Likewise.
45817         * math/libm-test.inc (cexp_test): Add more tests.
45818         * sysdeps/i386/fpu/libm-test-ulps: Update.
45819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45821 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45823         * include/link.h (ELFW): New macro.
45824         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45825         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45827 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45829         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45830         with uint64_t.
45832 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45834         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45835         declaration.
45836         (struct La_x32_retval): Likewise.
45838 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45840         * sysdeps/x86_64/preconfigure.in: New file.
45841         * sysdeps/x86_64/preconfigure: New generated file.
45843 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45845         [BZ #13824]
45846         * math/e_exp2l.c: Include <float.h>.
45847         (__ieee754_exp2l): Handle overflow and underflow cases
45848         separately.  Only pass fractional part of argument to
45849         __ieee754_expl.
45850         * math/libm-test.inc (exp2_test): Add more tests.
45852         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45853         negating x to take absolute value.
45854         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45855         Likewise.
45856         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45857         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45858         Likewise.
45859         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45860         computing low part if x was negated.
45861         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45863 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45865         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45866         la_x32_gnu_pltexit.
45867         (pltexit): Cast int_retval to ptrdiff_t.
45868         * elf/tst-auditmod3b.c: Likewise.
45869         * elf/tst-auditmod4b.c: Likewise.
45870         * elf/tst-auditmod5b.c: Likewise.
45871         * elf/tst-auditmod6b.c: Likewise.
45872         * elf/tst-auditmod6c.c: Likewise.
45873         * elf/tst-auditmod7b.c: Likewise.
45875         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45876         and x32_gnu_pltexit.
45878         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45879         __ELF_NATIVE_CLASS.
45880         (La_x32_regs): New macro.
45881         (La_x32_retval): Likewise.
45882         (la_x32_gnu_pltenter): New function prototype.
45883         (la_x32_gnu_pltexit): Likewise.
45885 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45888         exponent.
45890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45892         * configure.in (libc_cv_cc_nofma): Check for option to disable
45893         generation of FMA instructions.
45894         * configure: Regenerate.
45895         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45896         * sysdeps/ieee754/dbl-64/Makefile: New file.
45897         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45898         Remove brandred-fma4.
45899         (CFLAGS-brandred-fma4.c): Remove.
45900         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45902         define.
45903         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45904         define.
45906 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45908         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45909         LLONG_MAX != LONG_MAX.
45910         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45911         (_fitoa_word): Likewise.
45912         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45913         LLONG_MAX != LONG_MAX.
45914         * stdio-common/_itowa.h: Include <_itoa.h>.
45915         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45916         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45917         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45918         only if not defined.
45919         (_ITOA_WORD_TYPE): Likewise.
45920         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45921         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45923 2012-03-21  David S. Miller  <davem@davemloft.net>
45925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45927 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45929         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45930         of x86_64 when setting libc_cv_slibdir, libdir and
45931         libc_cv_localedir.
45932         * sysdeps/unix/sysv/linux/configure: Regenerated.
45934 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45936         * manual/lang.texi (Old Varargs): Remove section.
45937         (How Variadic): Update menu.
45938         (va_start): Do not mention varargs.h.
45940 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45941             Joseph Myers  <joseph@codesourcery.com>
45943         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45944         link test.
45945         * configure: Regenerated.
45947 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45949         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45950         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45951         conformtest.pl
45953 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45955         * NOTES: Remove.
45956         * Makefile (files-for-dist): Remove NOTES.
45957         (NOTES): Remove rule.
45958         * README: Don't refer to NOTES.
45959         * manual/creature.texi: Don't include macros.texi.
45960         * manual/intro.texi (creature.texi): Remove comment referring to
45961         NOTES.
45963         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45964         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45965         * configure: Regenerated.
45966         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45967         LIBC_TRY_CC_OPTION.
45968         (libc_cv_as_i686): Likewise.
45969         (libc_cv_cc_avx): Likewise.
45970         (libc_cv_cc_sse2avx): Likewise.
45971         (libc_cv_cc_fma4): Likewise.
45972         (libc_cv_cc_novzeroupper): Likewise.
45973         * sysdeps/i386/configure: Regenerated.
45975         [BZ #13883]
45976         * sysdeps/i386/fpu/s_cexp.S: Remove.
45977         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45978         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45979         * math/libm-test.inc (cexp_test): Add more tests.
45980         * sysdeps/i386/fpu/libm-test-ulps: Update.
45981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45983 2012-03-21  Allan McRae  <allan@archlinux.org>
45985         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45987 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45989         [BZ #13871]
45990         * math/w_exp2.c: Do not include <float.h>.
45991         (o_threshold, u_threshold): Remove.
45992         (__exp2): Calculate result before checking finiteness and calling
45993         __kernel_standard.
45994         * math/w_exp2f.c: Likewise.
45995         * math/w_exp2l.c: Likewise.
45996         * math/libm-test.inc (exp2_test): Require overflow exception for
45997         1e6 input.
45999         [BZ #3866]
46000         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46001         range of signed 64-bit integers before using fistpll.  Remove
46002         checks for whether integers fit in mantissa bits.
46003         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46004         the range of signed 32-bit integers before using fistpl.  Remove
46005         checks for whether integers fit in mantissa bits.
46006         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46007         (__ieee754_powl): Test for y outside the range of signed 64-bit
46008         integers before using fistpll.  Reduce 64-bit values to 63-bit
46009         ones as needed.
46010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46011         divide-by-zero is raised for zero to large negative powers.
46012         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46013         (__ieee754_powl): Test for y outside the range of signed 64-bit
46014         integers before using fistpll.  Reduce 64-bit values to 63-bit
46015         ones as needed.
46016         * math/libm-test.inc (pow_test): Add more tests.
46018 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46020         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46021         <stdio-common/_itoa.h>.
46022         * debug/segfault.c: Likewise.
46023         * elf/dl-cache.c: Likewise.
46024         * elf/dl-minimal.c: Likewise.
46025         * elf/dl-misc.c: Likewise.
46026         * elf/dl-sysdep.c: Likewise.
46027         * elf/dl-version.c: Likewise.
46028         * elf/rtld.c: Likewise.
46029         * hurd/hurdsock.c: Likewise.
46030         * hurd/lookup-retry.c: Likewise.
46031         * malloc/malloc.c: Likewise.
46032         * malloc/mtrace.c: Likewise.
46033         * nscd/nscd_getgr_r.c: Likewise.
46034         * nscd/nscd_getpw_r.c: Likewise.
46035         * nscd/nscd_getserv_r.c: Likewise.
46036         * posix/getopt_init.c: Likewise.
46037         * posix/wordexp.c: Likewise.
46038         * stdio-common/_itoa.c: Likewise.
46039         * stdio-common/printf_fphex.c: Likewise.
46040         * stdio-common/vfprintf.c: Likewise.
46041         * string/_strerror.c: Likewise.
46042         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46043         * sysdeps/i386/i686/hp-timing.h: Likewise.
46044         * sysdeps/mach/_strerror.c: Likewise.
46045         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46046         * sysdeps/mach/hurd/sethostid.c: Likewise.
46047         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46048         * sysdeps/mach/xpg-strerror.c: Likewise.
46049         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46051         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46052         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46053         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46054         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46055         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46056         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46057         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46058         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46059         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46060         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46061         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46062         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46063         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46064         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46065         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46066         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46067         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46068         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46069         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46071         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46073         * stdio-common/_itoa.h: Moved to ...
46074         * sysdeps/generic/_itoa.h: Here.
46076         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46078         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46079         instead of "_itoa.h" and "_itowa.h".
46080         * stdio-common/vfprintf.: Likewise.
46082 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46084         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46085         <bits/wordsize.h>.
46086         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46087         (__signbit): Likwise.
46088         (llrintf): Likwise.
46089         (llrint): Likwise.
46091 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46093         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46094         __WORDSIZE != 64.
46096 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46098         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46099         OVERFLOW_EXCEPTION_OK.
46100         * math/libm-test.inc ("Philosophy"): Update comment about
46101         exception testing.
46102         (OVERFLOW_EXCEPTION): Define.
46103         (OVERFLOW_EXCEPTION_OK): Likewise.
46104         (INVALID_EXCEPTION_OK): Renumber.
46105         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46106         (IGNORE_ZERO_INF_SIGN): Likewise.
46107         (test_exceptions): Handle FE_OVERFLOW.
46108         (exp10_test): Expect overflow exceptions.
46109         (exp2_test): Likewise.
46110         (expm1_test): Likewise.
46111         (nextafter_test): Likewise.
46112         (pow_test): Likewise.
46113         (scalbn_test): Likewise.
46114         (scalbln_test): Likewise.
46116 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46118         * sysdeps/x86_64/bits/atomic.h
46119         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46120         64bit integer.
46121         (atomic_exchange_acq): Likewise.
46122         (__arch_exchange_and_add_body): Likewise.
46123         (__arch_add_body): Likewise.
46124         (atomic_add_negative): Likewise.
46125         (atomic_add_zero): Likewise.
46127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46129         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46130         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46134         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46135         Check __x86_64__ instead of __WORDSIZE.
46137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46139         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46141 2012-03-19  David S. Miller  <davem@davemloft.net>
46143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46145         * sysdeps/sparc/fpu/fenv_private.h: New file.
46146         * sysdeps/sparc/fpu/math_private.h: Use it.
46147         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46148         Remove.
46149         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46150         (libc_feholdexcept_setroundl): Remove.
46151         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46152         Remove.
46153         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46154         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46156 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46158         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46159         int64_t instead of long int.
46160         (INSERT_WORDS64): Likwise.
46162 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46164         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46165         _Unwind_GetCFA return to _Unwind_Ptr first.
46167 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46169         [BZ #13629]
46170         * math/s_clog.c: Include <float.h>.
46171         (__clog): Scale large or subnormal inputs.
46172         * math/s_clogf.c: Likewise.
46173         * math/s_clogl.c: Likewise.
46174         * math/s_clog10.c: Include <float.h>.
46175         (M_LOG10_2): Define.
46176         (__clog10): Scale large or subnormal inputs.
46177         * math/s_clog10f.c: Likewise.
46178         * math/s_clog10l.c: Likewise.
46179         * math/libm-test.inc (clog_test): Add more tests.
46180         (clog10_test): Likewise.
46181         * sysdeps/i386/fpu/libm-test-ulps: Update.
46182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46184         [BZ #11451]
46185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46186         x and y.
46187         * math/libm-test.inc (atan2_test): Add another test.
46189         * Makerules (common-objdir-compile): Remove.
46190         * sysdeps/unix/Makefile (config-generated): Do not add
46191         $(unix-generated) to variable.
46192         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46193         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46194         Remove rule.
46195         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46196         Likewise.
46197         [generic bits/local_lim.h] (before-compile): Do not append to
46198         variable.
46199         [generic bits/local_lim.h] (common-generated): Likewise.
46200         [generic sys/param.h] (before-compile): Do not append to variable.
46201         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46202         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46203         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46204         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46205         include.
46206         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46207         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46208         [generic sys/param.h] ($(addprefix
46209         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46210         [generic sys/param.h] (common-generated): Do not append to
46211         variable.
46212         [generic sys/param.h] (sysdep_headers): Likewise.
46213         [generic bits/errno.h] (before-compile): Do not append to
46214         variable.
46215         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46216         rule.
46217         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46218         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46219         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46220         [generic bits/errno.h] (common-generated): Do not append to
46221         variable.
46222         [generic bits/ioctls.h] (before-compile): Do not append to
46223         variable.
46224         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46225         rule.
46226         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46227         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46228         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46229         rule.
46230         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46231         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46232         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46233         [generic bits/ioctls.h] (common-generated): Do not append to
46234         variable.
46235         [generic sys/syscall.h] (syscall.h): Remove variable.
46236         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46237         rule.
46238         [generic sys/syscall.h] (before-compile): Do not append to
46239         variable.
46240         [generic sys/syscall.h] (common-generated): Likewise.
46241         * sysdeps/unix/errnos-tmpl.c: Remove file.
46242         * sysdeps/unix/errnos.awk: Likewise.
46243         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46244         * sysdeps/unix/ioctls.awk: Likewise.
46245         * sysdeps/unix/mk-local_lim.c: Likewise.
46246         * sysdeps/unix/snarf-ioctls: Likewise.
46248 2012-03-19  Richard Henderson  <rth@twiddle.net>
46250         * sysdeps/i386/fpu/fenv_private.h: New file.
46251         * sysdeps/i386/fpu/math_private.h: Use it.
46252         (math_opt_barrier, math_force_eval): Remove.
46253         (libc_feholdexcept_setround_53bit): Remove.
46254         (libc_feupdateenv_53bit): Remove.
46255         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46256         (math_opt_barrier, math_force_eval): Remove.
46257         (libc_feholdexcept): Remove.
46258         (libc_feholdexcept_setround): Remove.
46259         (libc_fetestexcept, libc_fesetenv): Remove.
46260         (libc_feupdateenv_test): Remove.
46261         (libc_feupdateenv, libc_feholdsetround): Remove.
46262         (libc_feresetround): Remove.
46264         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46265         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46267         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46268         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46269         (libc_feupdateenv_testl): New.
46270         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46271         (libc_feupdateenv_testf): New.
46272         (libc_feupdateenv): Use libc_feupdateenv_test.
46273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46274         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46276         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46277         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46278         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46279         (libc_feresetround_noex): New.
46280         (libc_feresetround_noexf): New.
46281         (libc_feresetround_noexl): New.
46282         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46283         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46284         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46285         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46286         SET_RESTORE_ROUND.
46287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46288         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46289         (__cos): Likewise.
46290         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46291         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46292         SET_RESTORE_ROUND_NOEX.
46293         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46294         SET_RESTORE_ROUND_NOEXF.
46295         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46296         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46297         (libc_feholdsetroundf): New.
46298         (libc_feresetround, libc_feresetroundf): New.
46300         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46301         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46302         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46304         * sysdeps/generic/math_private.h: Include <fenv.h>.
46305         (default_libc_feholdexcept): New.
46306         (default_libc_feholdexcept_setround): New.
46307         (default_libc_fesetenv, default_libc_feupdateenv): New.
46308         (libc_feholdexcept): Only define if undefined.
46309         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46310         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46311         (libc_feholdexcept_setroundl): Likewise.
46312         (libc_feholdexcept_setround_53bit): Likewise.
46313         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46314         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46315         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46316         (libc_feupdateenv_53bit): Likewise.
46317         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46318         (libc_feholdexcept): Convert from macro to inline function.
46319         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46320         (libc_fesetenv, libc_feupdateenv): Likewise.
46322         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46323         not previously defined.
46324         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46325         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46326         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46327         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46328         * sysdeps/ieee754/flt-32/math_private.h: New file.
46329         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46330         math_private.h below SET_FLOAT_WORD.
46331         (__isnan, __isinf_ns, __finite): Remove.
46332         (__isnanf, __isinf_nsf, __finitef): Remove.
46334 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46338 2012-03-17  David S. Miller  <davem@davemloft.net>
46340         [BZ #6471]
46341         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46342         for 2.16.
46344 2012-03-16  David S. Miller  <davem@davemloft.net>
46346         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46347         warnings.
46349         [BZ #6471]
46350         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46351         properly.
46352         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46353         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46354         sysdep_routines when subdir is sysvipc.
46355         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46356         __getshmlba helper.
46358         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46360 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46362         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46363         [__LP64__].
46365 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46367         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46368         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46369         (__lround): Renamed to ...
46370         (__llround): This.  Replace long int with long long int.
46371         Define lround functions as aliases of llround functions.
46372         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46374 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46376         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46377         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46378         adresses to uintptr_t.  Replace "long int" and "unsigned long
46379         int" with "greg_t" on va_arg.
46381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46383         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46384         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46386         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46387         Move e_machine check before EI_CLASS check.  Handle x32
46388         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46389         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46390         SKIP_EM_IA_64 and include
46391         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46393         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46394         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46395         (add_system_dir): New macro.
46397         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46398         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46400 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46402         [BZ #2551]
46403         [BZ #2552]
46404         [BZ #2553]
46405         [BZ #2554]
46406         [BZ #2562]
46407         [BZ #2563]
46408         [BZ #2565]
46409         [BZ #2566]
46410         [BZ #2576]
46411         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46412         (y0): Likewise.
46413         * math/w_j0f.c (j0f): Likewise.
46414         (y0f): Likewise.
46415         * math/w_j0l.c (__j0l): Likewise.
46416         (__y0l): Likewise.
46417         * math/w_j1.c (j1): Likewise.
46418         (y1): Likewise.
46419         * math/w_j1f.c (j1f): Likewise.
46420         (y1f): Likewise.
46421         * math/w_j1l.c (__j1l): Likewise.
46422         (__y1l): Likewise.
46423         * math/w_jn.c (jn): Likewise.
46424         (yn): Likewise.
46425         * math/w_jnf.c (jnf): Likewise.
46426         (ynf): Likewise.
46427         * math/w_jnl.c (__jnl): Likewise.
46428         (__ynl): Likewise.
46429         * math/libm-test.inc (j0_test): Add more tests.
46430         (j1_test): Likewise.
46431         (jn_test): Likewise.  Add trailing semicolon to existing test.
46432         (y0_test): Likewise.
46433         (y1_test): Likewise.
46434         * sysdeps/i386/fpu/libm-test-ulps: Update.
46435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46437         [BZ #13851]
46438         [BZ #13854]
46439         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46440         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46441         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46442         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46443         (__tanl): Set errno for infinite argument.
46444         * sysdeps/i386/fpu/mptan.c: Remove.
46445         * sysdeps/i386/fpu/s_tan.S: Likewise.
46446         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46447         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46448         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46449         * math/libm-test.inc (tan_test): Add more tests and enable more
46450         tests for double and long double.
46451         * sysdeps/i386/fpu/libm-test-ulps: Update.
46452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46454 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46456         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46457         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46459 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46461         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46462         * configure.in: Use it for both main tree and add-ons.
46463         * configure: Regenerated.
46465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46467         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46469 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46471         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46472         in comment.
46474         [BZ #13851]
46475         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46476         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46477         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46478         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46479         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46480         infinite argument.
46481         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46483         != 0 for prec == 2.
46484         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46485         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46486         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46487         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46488         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46489         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46490         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46491         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46492         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46493         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46494         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46495         * math/libm-test.inc (cos_test): Add more tests and enable more
46496         tests for long double.
46497         (sin_test): Likewise.
46498         (sincos_test): Likewise.
46499         * sysdeps/i386/fpu/libm-test-ulps: Update.
46500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46502 2012-03-16  David S. Miller  <davem@davemloft.net>
46504         * sysdeps/sparc/fpu/math_private.h: New file.
46506 2012-03-15  David S. Miller  <davem@davemloft.net>
46508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46509         file.
46510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46512         file.
46513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46518         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46519         sysdep routines.
46520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46522         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46523         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46525         * sysdeps/sparc/sparc-ifunc.h: New file.
46526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46527         sparc-ifunc.h
46528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46530         Likewise.
46531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46532         Likewise.
46533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46537         Likewise.
46538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46543         Likewise.
46544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46545         Likewise.
46546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46566         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46568         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46571 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46573         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46574         scaling.
46575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46577 2012-03-15  Andreas Jaeger  <aj@suse.de>
46579         [BZ #13852]
46580         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46581         ieee754/flt-32 implementation for sin, cos and sincos.
46582         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46583         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46584         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46585         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46586         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46587         ieee754/flt-32 implementation for tan.
46589         * math/libm-test.inc (cos_test): Enable some large input tests for
46590         float as well
46591         (sin_test): Likewise.
46592         (sincos_test): Likewise.
46593         (tan_test): Add tests for large input.
46595         * sysdeps/i386/fpu/libm-test-ulps: Update.
46597 2012-03-15  Andreas Jaeger  <aj@suse.de>
46599         [BZ #13658]
46600         * math/libm-test.inc (cos_test): Add more test cases.
46601         (sin_test): Likewise.
46602         (sincos_test): Likewise.
46604 2012-03-15  Andreas Jaeger  <aj@suse.de>
46606         [BZ #13837]
46607         * math/libm-test.inc (cos_test): Add a test case for large input
46608         value.
46609         (sin_test): Likewise.
46610         (sincos_test): Likewise.
46612 2012-03-15  Andreas Jaeger  <aj@suse.de>
46613             Joseph Myers  <joseph@codesourcery.com>
46615         [BZ #13658]
46616         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46617         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46618         * sysdeps/i386/fpu/branred.c: Likewise.
46619         * sysdeps/i386/fpu/dosincos.c: Likewise.
46620         * sysdeps/i386/fpu/mpa.c: Likewise.
46621         * sysdeps/i386/fpu/s_cos.S: Likewise.
46622         * sysdeps/i386/fpu/s_sin.S: Likewise.
46623         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46624         * sysdeps/i386/fpu/sincos32.c: Likewise.
46626         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46627         Define.
46628         (libc_feupdateenv_53bit): Define.
46629         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46630         Define.
46631         (libc_feupdateenv_53bit): Define.
46633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46634         53 bit (without extend i386 double precision).
46636         * math/libm-test.inc (sincos_test): Add tests for large input.
46637         (sin): Likewise.
46638         (cos): Likewise.
46640         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46642 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46646 2012-03-15  David S. Miller  <davem@davemloft.net>
46648         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46649         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46650         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46651         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46664         file.
46665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46667         file.
46668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46670         file.
46671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46673         file.
46674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46675         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46676         fmin/fmax sysdep routines.
46677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46679 2012-03-14  David S. Miller  <davem@davemloft.net>
46681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46685         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46686         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46687         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46688         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46701         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46702         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46703         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46704         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46705         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46706         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46707         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46708         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46710         routines.
46711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46712         file.
46713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46715         file.
46716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46718         file.
46719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46721         file.
46722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46724         file.
46725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46727         file.
46728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46729         file.
46730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46731         file.
46732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46733         file.
46734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46735         New file.
46736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46737         file.
46738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46739         file.
46740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46742         file.
46743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46745         file.
46746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46748         file.
46749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46751         VIS3 routines.
46753         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46754         New file.
46756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46758         * sysdeps/sparc/configure.in: New file.
46759         * sysdeps/sparc/configure: Generate.
46760         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46761         * configure: Regenerate.
46762         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46763         * config.make.in (have-as-vis3): New.
46764         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46765         available use -Av9d instead of -Av9a.
46766         * sysdeps/sparc/sparc64/Makefile: Likewise.
46767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46769         New file.
46770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46771         file.
46772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46773         New file.
46774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46775         file.
46776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46777         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46778         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46779         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46780         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46782         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46783         fzeros/fnegs to load 0x80000000 into a float register instead of
46784         using the stack.
46785         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46787 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46790         bits/syscall.h.
46791         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46792         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46793         ($(inst_includedir)/bits/syscall.h): Remove rule.
46794         ($(objpfx)bits/syscall.d): Include instead of
46795         $(objpfx)syscall-list.d.
46796         (generated): Change syscall-list.h and syscall-list.d to
46797         bits/syscall.h and bits/syscall.d.
46799 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46801         [BZ #13846]
46802         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46804 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46806         [BZ #13841]
46807         * math/s_csqrt.c: Include <float.h>.
46808         (__csqrt): Scale large or subnormal inputs.
46809         * math/s_csqrtf.c: Likewise.
46810         * math/s_csqrtl.c: Likewise.
46811         * math/libm-test.inc (csqrt_test): Add more tests.
46812         * sysdeps/i386/fpu/libm-test-ulps: Update.
46813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46815         [BZ #13840]
46816         * math/libm-test.inc (hypot_test): Add more tests.
46818 2012-03-13  David S. Miller  <davem@davemloft.net>
46820         [BZ #13840]
46821         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46822         double-precision for the calculation instead of scaling.
46824 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46826         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46827         manipulate bits before adding and subtracting TWO52[sx].
46828         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46829         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46830         Likewise.
46831         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46833 2012-03-13  David S. Miller  <davem@davemloft.net>
46835         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46836         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46838         rtld-global-offsets.h
46839         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46841         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46842         large parameters.
46844         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46846         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46847         'err' in the ifdef scope in which it is actually used.
46849         * nss/nss_db/db-init.c: Include string.h
46851 2012-03-12  David S. Miller  <davem@davemloft.net>
46853         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46854         masking out of the most significant byte of random value used.
46855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46856         Fix coding style in previous change.
46858         * sysdeps/unix/sysv/linux/kernel-features.h
46859         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46860         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46861         expression.
46862         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46863         later.
46865 2012-03-11  David S. Miller  <davem@davemloft.net>
46867         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46868         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46869         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46870         for 'resultvar' otherwise things get truncated on 64-bit.
46872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46873         Fix masking out of the most significant byte of random value used.
46875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46877 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46881 2012-03-09  David S. Miller  <davem@davemloft.net>
46883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46884         variables with appropriate CPP guards.
46885         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46886         from the frame pointer, not the stack pointer.  Correct layout
46887         comments.  Fix test on resulting framesize and the management of
46888         the outregs buffer for pltexit.  Preserve floating point return
46889         values across _dl_call_pltexit call.
46890         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46891         framesize and the management of the outregs buffer for pltexit.
46892         Preserve floating point return values across _dl_call_pltexit
46893         call.
46894         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46895         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46896         (la_sparc64_gnu_pltexit): New functions.
46897         (print_exit): Fix format string for return register value.
46899 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46901         * sunrpc/Makefile (others): Add rpcgen.
46902         ($(objpfx)rpcgen): Remove special build rule and dependency on
46903         libc.
46904         * sunrpc/rpcgen.c: New file.
46906 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46908         [BZ #13673]
46909         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46910         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46911         * sysdeps/i386/crti.S: Likewise.
46912         * sysdeps/i386/crtn.S: Likewise.
46913         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46914         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46915         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46916         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46917         * sysdeps/sh/crti.S: Likewise.
46918         * sysdeps/sh/crtn.S: Likewise.
46919         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46921         [BZ #13673]
46922         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46923         with URL.
46924         * locale/programs/locfile-kw.gperf: Likewise.
46925         * locale/programs/charmap-kw.h: Regenerated.
46926         * locale/programs/locfile-kw.h: Likewise.
46928         [BZ #13673]
46929         * intl/plural.y: Replace FSF snail mail address with URL.
46930         * intl/plural.c: Regenerated.
46932 2012-03-09  Richard Henderson  <rth@twiddle.net>
46934         * include/math_private.h: Remove file.
46935         * math/math_private.h: Move file ...
46936         * sysdeps/generic/math_private.h: ... here.
46938         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46939         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46940         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46942         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46943         and <math_private.h>.
46944         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46945         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46946         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46947         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46948         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46949         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46950         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46952         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46953         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46954         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46955         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46956         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46957         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46958         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46959         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46961         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46962         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46963         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46964         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46965         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46966         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46968         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46969         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46970         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46973         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46974         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46976         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46977         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46978         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46979         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46980         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46981         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46982         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46983         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46984         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46985         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46986         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46987         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46988         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46989         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46990         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46991         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46992         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46993         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46994         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46995         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46996         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46997         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46998         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46999         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47000         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47001         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47002         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47003         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47004         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47005         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47006         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47007         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47008         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47009         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47010         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47011         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47012         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47013         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47014         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47015         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47016         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47017         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47018         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47025         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47026         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47027         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47028         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47032         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47033         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47034         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47035         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47036         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47037         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47038         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47039         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47040         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47041         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47042         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47043         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47044         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47045         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47046         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47047         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47048         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47049         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47050         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47051         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47052         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47053         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47054         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47055         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47056         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47057         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47058         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47059         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47060         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47061         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47062         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47063         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47064         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47065         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47066         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47067         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47068         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47069         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47070         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47071         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47072         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47073         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47074         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47075         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47076         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47077         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47078         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47079         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47080         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47081         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47082         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47083         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47084         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47085         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47086         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47087         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47088         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47089         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47090         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47091         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47092         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47093         * sysdeps/ieee754/k_standard.c: Likewise.
47094         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47095         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47096         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47097         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47098         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47099         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47100         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47101         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47102         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47103         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47104         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47105         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47106         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47107         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47108         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47109         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47110         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47111         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47112         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47113         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47114         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47115         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47116         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47117         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47118         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47119         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47120         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47121         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47122         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47123         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47124         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47125         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47126         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47127         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47128         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47129         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47130         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47136         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47184         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47185         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47186         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47187         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47188         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47189         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47193         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47194         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47195         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47197         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47198         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47199         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47201         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47202         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47204         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47205         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47206         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47208         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47209         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47210         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47213         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47214         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47215         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47216         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47220         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47221         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47224         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47226         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47227         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47228         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47232         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47234         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47235         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47236         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47237         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47238         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47239         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47240         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47241         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47242         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47243         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47244         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47245         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47246         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47247         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47248         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47249         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47250         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47251         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47252         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47253         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47254         * sysdeps/ieee754/s_lib_version.c: Likewise.
47255         * sysdeps/ieee754/s_matherr.c: Likewise.
47256         * sysdeps/ieee754/s_signgam.c: Likewise.
47257         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47258         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47259         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47260         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47261         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47262         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47263         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47264         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47265         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47266         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47267         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47268         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47269         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47270         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47271         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47272         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47273         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47274         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47275         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47277         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47279 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47281         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47282         * sunrpc/rpc_main.c: Likewise.
47283         * sunrpc/rpc_svcout.c: Likewise.
47285 2012-03-09  David S. Miller  <davem@davemloft.net>
47287         * include/math_private.h: New file.
47289 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47291         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47292         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47293         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47294         from <bits/socket_type.h>.
47295         (enum __socket_type): Don't define here.
47296         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47298         bits/socket_type.h.
47300         [BZ #13566]
47301         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47302         checking __USE_GNU.
47304         * Makerules ($(inst_includedir)/%.h): New rule.
47305         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47306         (install-others): Remove variable setting.
47307         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47309 2012-03-08  Richard Henderson  <rth@twiddle.net>
47311         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47312         from macro to inline function; merge with the
47313         !__LIBC_INTERNAL_MATH_INLINES version.
47314         (__ieee754_sqrtf): Likewise.
47316         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47317         to inline function.
47318         (__rintf, __floor, __floorf): Likewise.
47320         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47321         macro to inline function.
47322         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47324         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47325         not <math/math_private.h>.
47327 2012-03-08  David S. Miller  <davem@davemloft.net>
47329         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47330         copyright year.
47331         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47333 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47335         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47336         normalization.
47337         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47338         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47340 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47342         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47343         be defined individually, they must be defined as a block.  Define
47344         S for printing a string instead of hidint the different by using a
47345         macro for adding the 'l'.
47346         * stdio-common/tst-fphex-wide.c: Adjust.
47348 2012-03-07  Marek Polacek  <polacek@redhat.com>
47350         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47352 2012-03-08  Marek Polacek  <polacek@redhat.com>
47354         [BZ #13806]
47355         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47356         * stdio-common/tst-fphex.c: Define a few macros to make the
47357         test reusable.  Use them.
47358         * stdio-common/tst-fphex-wide.c: New file.
47360 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47362         [BZ #6911]
47363         * manual/macros.texi (gnusystems): New macro.
47364         (nongnusystems): Likewise.
47365         (gnulinuxhurdsystems): Likewise.
47366         (gnuhurdsystems): Likewise..
47367         (gnulinuxsystems): Likewise.
47368         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47369         variants of the GNU system, not "GNU system".
47370         * manual/conf.texi: Likewise.
47371         * manual/errno.texi: Likewise.  Update example of errno macro
47372         expansion.
47373         * manual/filesys.texi: Likewise.
47374         (getumask): Document as specific to GNU/Hurd.
47375         * manual/install.texi: Likewise.  Reword some references to
47376         GNU/Linux.
47377         * manual/intro.texi: Likewise.
47378         * manual/io.texi: Likewise.
47379         (File Name Portability): Detail which constraints are inapplicable
47380         to all GNU systems and which are only inapplicable to GNU/Hurd.
47381         * manual/job.texi: Likewise.
47382         * manual/llio.texi: Likewise.
47383         (O_NOCTTY): Document as present on GNU/Linux.
47384         * manual/maint.texi: Likewise.
47385         * manual/memory.texi: Likewise.
47386         * manual/pattern.texi: Likewise.
47387         * manual/pipe.texi: Likewise.
47388         * manual/process.texi: Likewise.
47389         * manual/resource.texi: Likewise.
47390         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47391         child on GNU/Hurd.
47392         * manual/setjmp.texi: Likewise.
47393         * manual/signal.texi: Likewise.
47394         * manual/startup.texi: Likewise.
47395         * manual/stdio.texi: Likewise.
47396         * manual/terminal.texi: Likewise.
47397         (ONLCR): Document as POSIX.
47398         (OXTABS): Document availability on GNU/Linux as XTABS.
47399         (ONOEOT): Document availability separately from other bits.
47400         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47401         * manual/time.texi: Likewise.
47402         * manual/users.texi: Likewise.
47403         * INSTALL: Regenerated.
47404         * sysdeps/gnu/errlist.c: Regenerated.
47406         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47407         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47408         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47409         puts.
47410         * configure: Regenerated.
47412 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47414         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47415         default includes instead of AC_HEADER_CHECK.
47416         * sysdeps/i386/configure: Regenerated.
47418         [BZ #10716]
47419         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47420         * math/s_cacoshf.c (__cacoshf): Likewise.
47421         * math/s_cacoshl.c (__cacoshl): Likewise.
47422         * math/s_casinh.c (__casinh): Set signs of result from argument.
47423         * math/s_casinhf.c (__casinhf): Likewise.
47424         * math/s_casinhl.c (__casinhl): Likewise.
47425         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47426         (casinh_test): Add more tests.
47427         * sysdeps/i386/fpu/libm-test-ulps: Update.
47428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47430 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47432         * po/zh_TW.po: Update from translation team.
47434         * login/Makefile (distribute): Remove variable.
47435         * catgets/Makefile: Likewise.
47436         * mach/Makefile: Likewise.
47437         * malloc/Makefile: Likewise.
47438         * misc/Makefile: Likewise.
47439         * iconv/Makefile: Likewise.
47440         * nscd/Makefile: Likewise.
47441         * hurd/Makefile: Likewise.
47442         * manual/Makefile: Likewise.
47443         * locale/Makefile: Likewise.
47444         * intl/Makefile: Likewise.
47445         * conform/Makefile: Likewise.
47446         * nss/Makefile: Likewise.
47447         * time/Makefile: Likewise.
47448         * soft-fp/Makefile: Likewise.
47449         * dirent/Makefile: Likewise.
47450         * gmon/Makefile: Likewise.
47451         * po/Makefile: Likewise.
47452         * rt/Makefile: Likewise.
47453         * socket/Makefile: Likewise.
47454         * math/Makefile: Likewise.
47455         * signal/Makefile: Likewise.
47456         * debug/Makefile: Likewise.
47457         * elf/Makefile: Likewise.
47458         * timezone/Makefile: Likewise.
47459         * stdlib/Makefile: Likewise.
47460         * iconvdata/Makefile: Likewise.
47461         * sunrpc/Makefile: Likewise.
47462         * io/Makefile: Likewise.
47463         * argp/Makefile: Likewise.
47464         * inet/Makefile: Likewise.
47465         * hesiod/Makefile: Likewise.
47466         * grp/Makefile: Likewise.
47467         * csu/Makefile: Likewise.
47468         * wctype/Makefile: Likewise.
47469         * crypt/Makefile: Likewise.
47470         * libio/Makefile: Likewise.
47471         * string/Makefile: Likewise.
47472         * nis/Makefile: Likewise.
47473         * resolv/Makefile: Likewise.
47474         * stdio-common/Makefile: Likewise.
47475         * wcsmbs/Makefile: Likewise.
47476         * dlfcn/Makefile: Likewise.
47477         * posix/Makefile: Likewise.
47479         [BZ #6959]
47480         * timezone/Makefile: Don't install timezone files, just the programs
47481         and scripts.
47483 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47485         * nss/databases.def: Add missing gshadow entry.
47487         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47489 2012-03-06  Marek Polacek  <polacek@redhat.com>
47491         [BZ #13726]
47492         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47493         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47494         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47495         * stdio-common/tst-long-dbl-fphex.c: New file.
47497 2012-03-06  David S. Miller  <davem@davemloft.net>
47499         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47500         (set_obp_int): New function.
47501         (get_obp_int): New function.
47502         (__get_clockfreq_via_dev_openprom): Likewise.
47503         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47504         Avoid unused variable warnings on 'val' and use builtin_expect.
47505         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47506         __builtin_expect.
47507         (INLINE_CLONE_SYSCALL): Likewise.
47509 2012-03-05  David S. Miller  <davem@davemloft.net>
47511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47513 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47517         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47518         only for |x| >= 40.
47519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47521 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47523         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47524         Replace gettimeofday with __vdso_gettimeofday.
47526         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47527         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47528         __vdso_clock_gettime and __vdso_getcpu.
47530         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47531         time with __vdso_time.
47533 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47535         * manual/lang.texi (size_t): Note types to which size_t may be
47536         equivalent with the GNU C Library, but do not describe when
47537         differences between them are significant.
47539 2012-03-05  Andreas Jaeger  <aj@suse.de>
47541         * sysdeps/i386/fpu/libm-test-ulps: Update.
47543 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47545         [BZ #3976]
47546         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47547         (__ieee754_pow): Save and restore rounding mode and use
47548         round-to-nearest for main computations.
47549         * math/libm-test.inc (pow_test_tonearest): New function.
47550         (pow_test_towardzero): Likewise.
47551         (pow_test_downward): Likewise.
47552         (pow_test_upward): Likewise.
47553         (main): Call the new functions.
47554         * sysdeps/i386/fpu/libm-test-ulps: Update.
47555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47557         [BZ #3976]
47558         * math/libm-test.inc (cosh_test_tonearest): New function.
47559         (cosh_test_towardzero): Likewise.
47560         (cosh_test_downward): Likewise.
47561         (cosh_test_upward): Likewise.
47562         (sinh_test_tonearest): Likewise.
47563         (sinh_test_towardzero): Likewise.
47564         (sinh_test_downward): Likewise.
47565         (sinh_test_upward): Likewise.
47566         (main): Call the new functions.
47567         * sysdeps/i386/fpu/libm-test-ulps: Update.
47568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47570 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47572         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47573         default stack guard is set in last bytes.
47574         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47576 2012-03-05  Kees Cook  <keescook@chromium.org>
47578         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47580         [BZ #13656]
47581         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47582         possibly allocate from heap instead of stack.
47583         * stdio-common/bug-vfprintf-nargs.c: New file.
47584         * stdio-common/Makefile (tests): Add nargs overflow test.
47586 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47590 2012-03-03  Marek Polacek  <polacek@redhat.com>
47592         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47593         * math/math_private.h: Likewise.
47594         * stdlib/tst-strtod.c: Likewise.
47595         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47596         * sysdeps/x86_64/bits/atomic.h: Likewise.
47598 2012-03-02  David S. Miller  <davem@davemloft.net>
47600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47604         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47605         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47606         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47607         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47609 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47611         [BZ #13792]
47612         * manual/examples/README: New file, says the example source files
47613         can be used under GPL>=2.
47614         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47615         line containing just "*/".
47616         * manual/examples/add.c: Add copyright header (GPL>=2).
47617         * manual/examples/argp-ex1.c: Likewise.
47618         * manual/examples/argp-ex2.c: Likewise.
47619         * manual/examples/argp-ex3.c: Likewise.
47620         * manual/examples/argp-ex4.c: Likewise.
47621         * manual/examples/atexit.c: Likewise.
47622         * manual/examples/db.c: Likewise.
47623         * manual/examples/dir.c: Likewise.
47624         * manual/examples/dir2.c: Likewise.
47625         * manual/examples/execinfo.c: Likewise.
47626         * manual/examples/filecli.c: Likewise.
47627         * manual/examples/filesrv.c: Likewise.
47628         * manual/examples/fmtmsgexpl.c: Likewise.
47629         * manual/examples/genpass.c: Likewise.
47630         * manual/examples/inetcli.c: Likewise.
47631         * manual/examples/inetsrv.c: Likewise.
47632         * manual/examples/isockad.c: Likewise.
47633         * manual/examples/longopt.c: Likewise.
47634         * manual/examples/memopen.c: Likewise.
47635         * manual/examples/memstrm.c: Likewise.
47636         * manual/examples/mkfsock.c: Likewise.
47637         * manual/examples/mkisock.c: Likewise.
47638         * manual/examples/mygetpass.c: Likewise.
47639         * manual/examples/pipe.c: Likewise.
47640         * manual/examples/popen.c: Likewise.
47641         * manual/examples/rprintf.c: Likewise.
47642         * manual/examples/search.c: Likewise.
47643         * manual/examples/select.c: Likewise.
47644         * manual/examples/setjmp.c: Likewise.
47645         * manual/examples/sigh1.c: Likewise.
47646         * manual/examples/sigusr.c: Likewise.
47647         * manual/examples/stpcpy.c: Likewise.
47648         * manual/examples/strdupa.c: Likewise.
47649         * manual/examples/strftim.c: Likewise.
47650         * manual/examples/strncat.c: Likewise.
47651         * manual/examples/subopt.c: Likewise.
47652         * manual/examples/swapcontext.c: Likewise.
47653         * manual/examples/termios.c: Likewise.
47654         * manual/examples/testopt.c: Likewise.
47655         * manual/examples/testpass.c: Likewise.
47656         * manual/examples/timeval_subtract.c: Likewise.
47658         [BZ #13792]
47659         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47660         function to ...
47661         * manual/timeval_subtract.c.texi: ... here, new file.
47663 2012-03-02  David S. Miller  <davem@davemloft.net>
47665         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47667 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47669         [BZ #3976]
47670         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47671         (__sin): Save and restore rounding mode and use round-to-nearest
47672         for all computations.
47673         (__cos): Save and restore rounding mode and use round-to-nearest
47674         for all computations.
47675         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47676         <fenv.h>.
47677         (tan): Save and restore rounding mode and use round-to-nearest for
47678         all computations.
47679         * math/libm-test.inc (cos_test_tonearest): New function.
47680         (cos_test_towardzero): Likewise.
47681         (cos_test_downward): Likewise.
47682         (cos_test_upward): Likewise.
47683         (sin_test_tonearest): Likewise.
47684         (sin_test_towardzero): Likewise.
47685         (sin_test_downward): Likewise.
47686         (sin_test_upward): Likewise.
47687         (tan_test_tonearest): Likewise.
47688         (tan_test_towardzero): Likewise.
47689         (tan_test_downward): Likewise.
47690         (tan_test_upward): Likewise.
47691         (main): Call the new functions.
47692         * sysdeps/i386/fpu/libm-test-ulps: Update.
47693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47695         [BZ #10135]
47696         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47697         small n, then large n, before computing and testing k+n.
47698         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47699         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47700         Likewise.
47701         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47702         Likewise.
47703         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47704         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47705         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47706         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47707         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47708         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47709         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47710         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47711         * math/libm-test.inc (scalbn_test): Add more tests.
47712         (scalbln_test): Likewise.
47714         * manual/filesys.texi (mode_t): Describe constraints on size and
47715         signedness, not exact equivalence to a particular type.
47716         (ino_t): Likewise.
47717         (ino64_t): Likewise.
47718         (dev_t): Likewise.
47719         (nlink_t): Likewise.
47720         (blkcnt_t): Likewise.
47721         (blkcnt64_t): Likewise.
47722         * manual/llio.texi (off_t): Likewise.
47724         [BZ #3976]
47725         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47726         (__ieee754_exp): Save and restore rounding mode and use
47727         round-to-nearest for all computations.
47728         * math/libm-test.inc (exp_test_tonearest): New function.
47729         (exp_test_towardzero): Likewise.
47730         (exp_test_downward): Likewise.
47731         (exp_test_upward): Likewise.
47732         (main): Call the new functions.
47733         * sysdeps/i386/fpu/libm-test-ulps: Update.
47734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47736 2012-03-01  Chris Demetriou  <cgd@google.com>
47738         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47739         have predictable order.
47741 2012-03-01  David S. Miller  <davem@davemloft.net>
47743         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47745         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47746         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47747         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47748         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47750         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47751         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47752         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47754         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47755         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47756         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47757         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47758         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47762         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47763         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47764         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47766         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47767         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47768         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47769         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47770         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47771         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47772         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47773         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47774         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47775         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47776         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47777         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47778         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47779         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47780         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47782         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47783         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47784         * sysdeps/sparc/elf/configure: Regenerated.
47786 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47788         * configure.in (AS, LD): Require binutils 2.20 or later.
47789         * configure: Regenerated.
47790         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47791         as required minimum version.
47792         * INSTALL: Regenerated.
47794         [BZ #2541]
47795         [BZ #4108]
47796         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47797         before squaring exponent.
47798         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47799         bottom long double and 27 bits of top long double before squaring
47800         exponent.
47801         * math/libm-test.inc (erfc_test): Add more tests.
47802         * sysdeps/i386/fpu/libm-test-ulps: Update.
47803         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47806 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47808         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47809         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47810         containing bit-fields.
47811         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47812         * soft-fp/single.h (_FP_UNION_S): Likewise.
47813         * soft-fp/double.h (_FP_UNION_D): Likewise.
47815 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47817         [BZ #13786]
47818         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47819         not include ../strcmp.S.
47820         [USE_AS_STRNCASECMP_L]: Likewise.
47821         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47822         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47823         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47824         (__strncasecmp_l_ia32): Define as alias to
47825         __strncasecmp_l_nonascii.
47827         [BZ #5794]
47828         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47829         * sysdeps/i386/fpu/libm-test-ulps: Update.
47830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47832         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47835 2012-02-29  Jeff Law  <law@redhat.com>
47837         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47838         out of bounds read.
47840 2012-02-29  Marek Polacek  <polacek@redhat.com>
47842         [BZ #13706]
47843         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47844         * elf/Makefile: Add rules to run tst-unused-dep.out.
47846 2012-02-28  David S. Miller  <davem@davemloft.net>
47848         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47849         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47850         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47851         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47852         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47853         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47855 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47857         * math/libm-test.inc (llround_test): Move one test from
47858         lround_test.  Use TEST_f_L in moved test.
47859         (lround_test): Move misplaced test to llround_test.  Add testcase
47860         from bug 2561.
47862 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47864         * sysdeps/x86_64/fpu/e_expf.S: New file.
47865         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47867 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47869         [BZ #13637]
47870         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47871         of remain_len that may cause incomplete multi-byte character and
47872         false match.
47873         * posix/bug-regex33.c: New file.
47874         * posix/Makefile (tests): Add bug-regex33.
47876 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47878         * manual/macros.texi: New file.
47879         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47880         * manual/libc.texinfo: Include macros.texi.
47881         * manual/creatute.texi: Likewise.
47882         * manual/install.texi: Likewise.
47883         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47884         @glibcadj{} in references to the GNU C Library.
47885         * manual/charset.texi: Likewise.
47886         * manual/conf.texi: Likewise.
47887         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47888         when not using those macros.
47889         * manual/creature.texi: Likewise.
47890         * manual/crypt.texi: Likewise.
47891         * manual/errno.texi: Likewise.
47892         * manual/filesys.texi: Likewise.
47893         * manual/header.texi: Likewise.
47894         * manual/install.texi: Likewise.
47895         * manual/intro.texi: Likewise.
47896         * manual/io.texi: Likewise.
47897         * manual/job.texi: Likewise.
47898         * manual/lang.texi: Likewise.
47899         * manual/libc.texiinfo: Likewise.
47900         * manual/llio.texi: Likewise.
47901         * manual/locale.texi: Likewise.
47902         * manual/maint.texi: Likewise.
47903         * manual/math.texi: Likewise.
47904         * manual/memory.texi: Likewise.
47905         * manual/message.texi: Likewise.
47906         * manual/nss.texi: Likewise.
47907         * manual/pattern.texi: Likewise.
47908         * manual/process.texi: Likewise.
47909         * manual/resource.texi: Likewise.
47910         * manual/search.texi: Likewise.
47911         * manual/setjmp.texi: Likewise.
47912         * manual/signal.texi: Likewise.
47913         * manual/socket.texi: Likewise.
47914         * manual/startup.texi: Likewise.
47915         * manual/stdio.texi: Likewise.
47916         * manual/string.texi: Likewise.
47917         * manual/sysinfo.texi: Likewise.
47918         * manual/syslog.texi: Likewise.
47919         * manual/terminal.texi: Likewise.
47920         * manual/time.texi: Likewise.
47921         * manual/users.texi: Likewise.
47922         * INSTALL: Regenerated.
47923         * NOTES: Regenerated.
47924         * sysdeps/gnu/errlist.c: Regenerated.
47926 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47928         * include/dirent.h: Include <dirstream.h> before
47929         <dirent/dirent.h>.
47931 2012-02-28  David S. Miller  <davem@davemloft.net>
47933         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47934         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47935         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47936         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47938 2012-02-27  David S. Miller  <davem@davemloft.net>
47940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47942         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47943         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47946         frame pointer instead of stack pointer relative arg slot.
47947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47948         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47949         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47951 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47953         [BZ #3992]
47954         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47956 2012-02-27  David S. Miller  <davem@davemloft.net>
47958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47962         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47963         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47964         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47965         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47967 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47969         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47970         later.  Allow versions 5-9.
47971         * configure: Regenerated.
47972         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47973         required minimum version and 4.6 as recommended version.  Do not
47974         mention bugs in GCC 2.7 and 2.8.
47975         * INSTALL: Regenerated.
47977 2012-02-27  David S. Miller  <davem@davemloft.net>
47979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47983         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47984         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47985         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47986         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47988         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47989         manipulate bits before adding and subtracting TWO112[sx].
47990         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47992 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47994         [BZ #13775]
47995         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47996         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47997         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47998         being in POSIX, because they are in 1003.1-2008.
48000         * rt/tst-aio.c: Include <fcntl.h>.
48001         * rt/tst-aio7.c: Likewise.
48002         * rt/tst-aio64.c: Likewise.
48004         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48006 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48008         * manual/install.texi (--with-headers): Describe headers as
48009         interface headers, not private headers.
48010         (Specific advice for GNU/Linux systems): Describe use of headers
48011         from "make headers_install", not private headers from older
48012         kernels.
48013         * INSTALL: Regenerated.
48014         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48015         Change to 2.6.19.
48016         * sysdeps/unix/sysv/linux/configure: Regenerated.
48018         * manual/llio.texi (fclean): Remove documentation.
48020         * manual/Makefile (libc-texi-generated): New variable.  Include
48021         version.texi.
48022         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48023         $(libc-texi-generated), not duplicated list of files.
48024         (version.texi, stamp-version): New rules.
48025         (realclean): Remove $(libc-texi-generated), not individual files
48026         from that list.  Do not remove dir-add.texinfo.
48027         * manual/libc.texinfo: Comment out uses of edition numbers and
48028         references to printed manual.  Remove last-updated dates.
48029         (EDITION): Comment out.
48030         (ISBN): Likewise.
48031         (VERSION, UPDATED): Remove.
48032         (version.texi): Include.
48034 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48036         * sysdeps/posix/spawni.c: Include <signal.h>.
48037         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48038         * sysdeps/pthread/aio_fsync.c: Likewise.
48040 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48042         * conform/Makefile (tests): Run only when not cross-compiling and
48043         when fast-check is not defined.
48045         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48046         * conform/data/limits.h-data: Fixes for POSIX2008.
48047         * conform/run-conformtest.sh: Run all tests.
48048         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48049         headers.
48050         * include/bits/dlfcn.h: Likewise.
48051         * include/langinfo.h: Likewise.
48052         * include/monetary.h: Likewise.
48053         * include/sys/poll.h: Likewise.
48055         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48056         for __USE_GNU.
48057         * posix/spawn.h: Define __need_sigset_t.
48058         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48059         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48060         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48061         to get sigevent_t only.
48062         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48063         only for __USE_GNU.
48064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48065         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48066         process_vm_writev only for __USE_GNU.
48067         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48069         * conform/Makefile: For now ignore errors from run-conformtest.
48070         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48071         POSIX to avoid namespace pollution.  Don't prepend headers.
48072         * conform/data/aio.h-data: Fixes for POSIX testing.
48073         * conform/data/fcntl.h-data: Likewise.
48074         * conform/data/glob.h-data: Likewise.
48075         * conform/data/grp.h-data: Likewise.
48076         * conform/data/pthread.h-data: Likewise.
48077         * conform/data/pwd.h-data: Likewise.
48078         * conform/data/signal.h-data: Likewise.
48079         * conform/data/spawn.h-data: Likewise.
48080         * conform/data/stdio.h-data: Likewise.
48081         * conform/data/stdlib.h-data: Likewise.
48082         * conform/data/stropts.h-data: Likewise.
48083         * conform/data/sys/mman.h-data: Likewise.
48084         * conform/data/sys/stat.h-data: Likewise.
48085         * conform/data/sys/types.h-data: Likewise.
48086         * conform/data/sys/wait.h-data: Likewise.
48087         * conform/data/time.h-data: Likewise.
48088         * conform/data/unistd.h-data: Likewise.
48089         * conform/data/utime.h-data: Likewise.
48091         * io/sys/stat.h: fchmod was always in POSIX.
48092         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48093         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48094         * rt/aio.h: Define __need_timespec before including <time.h>.
48095         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48096         struct.  Add forward declaration of pthread_attr_t and use it in
48097         sigevent.
48098         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48100         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48101         always remove CLK_TCK definition.
48103 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48105         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48107 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48109         * conform/run-conformtest.sh: New file.
48110         * conform/Makefile: Run run-conformtest for tests.
48111         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48112         support.
48114         * conform/data/uchar.h-data: New file.
48115         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48116         * conform/data/arpa/inet.h-data: Likewise.
48117         * conform/data/assert.h-data: Likewise.
48118         * conform/data/complex.h-data: Likewise.
48119         * conform/data/cpio.h-data: Likewise.
48120         * conform/data/ctype.h-data: Likewise.
48121         * conform/data/dirent.h-data: Likewise.
48122         * conform/data/dlfcn.h-data: Likewise.
48123         * conform/data/errno.h-data: Likewise.
48124         * conform/data/fcntl.h-data: Likewise.
48125         * conform/data/float.h-data: Likewise.
48126         * conform/data/fmtmsg.h-data: Likewise.
48127         * conform/data/fnmatch.h-data: Likewise.
48128         * conform/data/ftw.h-data: Likewise.
48129         * conform/data/glob.h-data: Likewise.
48130         * conform/data/grp.h-data: Likewise.
48131         * conform/data/iconv.h-data: Likewise.
48132         * conform/data/inttypes.h-data: Likewise.
48133         * conform/data/langinfo.h-data: Likewise.
48134         * conform/data/libgen.h-data: Likewise.
48135         * conform/data/limits.h-data: Likewise.
48136         * conform/data/locale.h-data: Likewise.
48137         * conform/data/math.h-data: Likewise.
48138         * conform/data/monetary.h-data: Likewise.
48139         * conform/data/mqueue.h-data: Likewise.
48140         * conform/data/ndbm.h-data: Likewise.
48141         * conform/data/net/if.h-data: Likewise.
48142         * conform/data/netdb.h-data: Likewise.
48143         * conform/data/netinet/in.h-data: Likewise.
48144         * conform/data/nl_types.h-data: Likewise.
48145         * conform/data/poll.h-data: Likewise.
48146         * conform/data/pthread.h-data: Likewise.
48147         * conform/data/pwd.h-data: Likewise.
48148         * conform/data/regex.h-data: Likewise.
48149         * conform/data/sched.h-data: Likewise.
48150         * conform/data/search.h-data: Likewise.
48151         * conform/data/semaphore.h-data: Likewise.
48152         * conform/data/setjmp.h-data: Likewise.
48153         * conform/data/signal.h-data: Likewise.
48154         * conform/data/spawn.h-data: Likewise.
48155         * conform/data/stdarg.h-data: Likewise.
48156         * conform/data/stdio.h-data: Likewise.
48157         * conform/data/stdlib.h-data: Likewise.
48158         * conform/data/string.h-data: Likewise.
48159         * conform/data/strings.h-data: Likewise.
48160         * conform/data/stropts.h-data: Likewise.
48161         * conform/data/sys/ipc.h-data: Likewise.
48162         * conform/data/sys/mman.h-data: Likewise.
48163         * conform/data/sys/msg.h-data: Likewise.
48164         * conform/data/sys/resource.h-data: Likewise.
48165         * conform/data/sys/select.h-data: Likewise.
48166         * conform/data/sys/sem.h-data: Likewise.
48167         * conform/data/sys/shm.h-data: Likewise.
48168         * conform/data/sys/socket.h-data: Likewise.
48169         * conform/data/sys/stat.h-data: Likewise.
48170         * conform/data/sys/statvfs.h-data: Likewise.
48171         * conform/data/sys/time.h-data: Likewise.
48172         * conform/data/sys/timeb.h-data: Likewise.
48173         * conform/data/sys/times.h-data: Likewise.
48174         * conform/data/sys/types.h-data: Likewise.
48175         * conform/data/sys/uio.h-data: Likewise.
48176         * conform/data/sys/un.h-data: Likewise.
48177         * conform/data/sys/utsname.h-data: Likewise.
48178         * conform/data/sys/wait.h-data: Likewise.
48179         * conform/data/syslog.h-data: Likewise.
48180         * conform/data/tar.h-data: Likewise.
48181         * conform/data/termios.h-data: Likewise.
48182         * conform/data/utime.h-data: Likewise.
48183         * conform/data/utmpx.h-data: Likewise.
48184         * conform/data/varargs.h-data: Likewise.
48185         * conform/data/wchar.h-data: Likewise.
48186         * conform/data/wctype.h-data: Likewise.
48187         * conform/data/wordexp.h-data: Likewise.
48189         * include/stropts.h: New file.
48190         * include/uchar.h: New file.
48191         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48192         * include/assert.h: Likewise.
48193         * include/ctype.h: Likewise.
48194         * include/dirent.h: Likewise.
48195         * include/dlfcn.h: Likewise.
48196         * include/fcntl.h: Likewise.
48197         * include/fnmatch.h: Likewise.
48198         * include/glob.h: Likewise.
48199         * include/grp.h: Likewise.
48200         * include/libio.h: Likewise.
48201         * include/locale.h: Likewise.
48202         * include/math.h: Likewise.
48203         * include/net/if.h: Likewise.
48204         * include/netdb.h: Likewise.
48205         * include/netinet/in.h: Likewise.
48206         * include/pthread.h: Likewise.
48207         * include/pwd.h: Likewise.
48208         * include/regex.h: Likewise.
48209         * include/sched.h: Likewise.
48210         * include/search.h: Likewise.
48211         * include/setjmp.h: Likewise.
48212         * include/signal.h: Likewise.
48213         * include/stdio.h: Likewise.
48214         * include/stdlib.h: Likewise.
48215         * include/string.h: Likewise.
48216         * include/sys/cdefs.h: Likewise.
48217         * include/sys/mman.h: Likewise.
48218         * include/sys/msg.h: Likewise.
48219         * include/sys/resource.h: Likewise.
48220         * include/sys/select.h: Likewise.
48221         * include/sys/socket.h: Likewise.
48222         * include/sys/stat.h: Likewise.
48223         * include/sys/statvfs.h: Likewise.
48224         * include/sys/time.h: Likewise.
48225         * include/sys/times.h: Likewise.
48226         * include/sys/uio.h: Likewise.
48227         * include/sys/utsname.h: Likewise.
48228         * include/sys/wait.h: Likewise.
48229         * include/termios.h: Likewise.
48230         * include/time.h: Likewise.
48231         * include/ulimit.h: Likewise.
48232         * include/unistd.h: Likewise.
48233         * include/utime.h: Likewise.
48234         * include/wchar.h: Likewise.
48235         * include/wctype.h: Likewise.
48236         * include/wordexp.h: Likewise.
48238         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48240         * time/time.h: TIME_UTC must be a macro.
48241         Make timespec_get available for ISO C11 only as well.
48243 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48245         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48246         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48248 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48250         * configure.in: Use -o not -a in test for unsupported multi-arch.
48252 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48254         * manual/texinfo.tex: Update to version 2012-01-19.16.
48256 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48258         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48260 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48262         [BZ #13738]
48263         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48264         * manual/fdl-1.3.texi: New file.
48265         * manual/fdl-1.1.texi: File removed.
48267         [BZ #13738]
48268         * manual/libc.texinfo (FDL_VERSION): New @set.
48269         Use it for mention of FDL in cover text.
48270         (Documentation License): Use it in @include file name.
48272 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48273             Roland McGrath  <roland@hack.frob.com>
48275         [BZ #5461]
48276         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48277         (not LONG_LONG_MAX and LONG_LONG_MIN.
48278         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48279         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48280         name.
48281         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48283 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48285         [BZ #2547]
48286         [BZ #11365]
48287         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48288         manipulate bits before adding and subtracting TWO23[sx].
48289         * math/libm-test.inc (nearbyint_test): Add more tests.
48291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48293         [BZ #2548]
48294         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48295         bits before adding and subtracting TWO23[sx].
48296         * math/libm-test.inc (rint_test): Add more tests.
48297         (rint_test_tonearest): Likewise.
48298         (rint_test_towardzero): Likewise.
48299         (rint_test_downward): Likewise.
48300         (rint_test_upward: Likewise.
48302 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48304         [BZ #10110]
48305         * include/stdc-predef.h: New file.  Extracted from features.h.
48306         * include/features.h: Include stdc-predef.h.
48307         * Makefile (headers): Add stdc-predef.h.
48308         * CONFORMANCE (Compiler limitations): Update.
48310 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48312         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48314 2012-02-21  David S. Miller  <davem@davemloft.net>
48316         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48317         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48319 2012-02-20  David S. Miller  <davem@davemloft.net>
48321         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48322         using a normal save/restore sequence, rather than allocating a
48323         dummy stack frame just to store a frame pointer and restore.
48324         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48326 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48328         * manual/install.texi: Fix stray word in line-wrapped comment.
48330 2012-02-20  David S. Miller  <davem@davemloft.net>
48332         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48333         both binutils and gcc support GOTDATA.
48335         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48336         "rd %pc" in the PIC register setup sequences.
48338         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48339         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48340         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48341         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48342         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48344         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48345         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48346         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48347         (SYSCALL_ERROR_HANDLER): Likewise.
48348         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48349         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48350         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48351         (SYSCALL_ERROR_HANDLER): Likewise.
48353         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48354         (HAVE_GCC_GOTDATA): New.
48355         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48356         relocation support in both binutils and gcc.
48357         * sysdeps/sparc/elf/configure: Regenerate.
48359         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48360         * sysdeps/sparc/sparc32/elf/configure: Delete.
48361         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48362         * sysdeps/sparc/sparc64/elf/configure: Delete.
48363         * sysdeps/sparc/elf/configure.in: New file.
48364         * sysdeps/sparc/elf/configure: Generate.
48366         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48367         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48368         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48369         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48370         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48372 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48374         * manual/install.texi: Do not mention specific glibc version
48375         numbers.
48376         * manual/libc.texinfo (VERSION, UPDATED): Update.
48377         (@copying): Use @copyright{} and range of years.
48379 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48381         [BZ #13695]
48382         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48383         [crti.S not in sysdirs] (generated): Do not append.
48384         [crti.S not in sysdirs] (omit-deps): Likewise.
48385         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48386         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48387         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48388         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48389         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48390         Likewise.
48391         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48392         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48393         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48394         * csu/defs.awk: Remove file.
48395         * sysdeps/generic/initfini.c: Likewise.
48396         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48397         variable.
48398         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48399         Likewise.
48401 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48403         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48404         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48405         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48406         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48407         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48408         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48409         <bits/epoll.h>.
48410         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48411         (__EPOLL_PACKED): Define to empty if not defined by
48412         <bits/epoll.h>.
48413         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48415         bits/epoll.h.
48417 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48419         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48420         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48421         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48422         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48423         <bits/timerfd.h>.
48424         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48426         bits/timerfd.h.
48428 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48430         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48431         in C locale.
48432         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48433         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48434         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48437 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48439         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48440         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48442 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48444         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48445         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48446         defined.
48447         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48448         Likewise.
48449         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48450         entry for 2.16.
48452 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48454         * math/w_acos.c: Use non-signaling floating-point comparisons.
48455         * math/w_acosf.c: Likewise.
48456         * math/w_acosh.c: Likewise.
48457         * math/w_acoshf.c: Likewise.
48458         * math/w_acoshl.c: Likewise.
48459         * math/w_acosl.c: Likewise.
48460         * math/w_asin.c: Likewise.
48461         * math/w_asinf.c: Likewise.
48462         * math/w_asinl.c: Likewise.
48463         * math/w_atanh.c: Likewise.
48464         * math/w_atanhf.c: Likewise.
48465         * math/w_atanhl.c: Likewise.
48466         * math/w_exp2.c: Likewise.
48467         * math/w_exp2f.c: Likewise.
48468         * math/w_exp2l.c: Likewise.
48469         * math/w_j0.c: Likewise.
48470         * math/w_j0f.c: Likewise.
48471         * math/w_j0l.c: Likewise.
48472         * math/w_j1.c: Likewise.
48473         * math/w_j1f.c: Likewise.
48474         * math/w_j1l.c: Likewise.
48475         * math/w_jn.c: Likewise.
48476         * math/w_jnf.c: Likewise.
48477         * math/w_log.c: Likewise.
48478         * math/w_log10.c: Likewise.
48479         * math/w_log10f.c: Likewise.
48480         * math/w_log10l.c: Likewise.
48481         * math/w_log2.c: Likewise.
48482         * math/w_log2f.c: Likewise.
48483         * math/w_log2l.c: Likewise.
48484         * math/w_logf.c: Likewise.
48485         * math/w_logl.c: Likewise.
48486         * math/w_sqrt.c: Likewise.
48487         * math/w_sqrtf.c: Likewise.
48488         * math/w_sqrtl.c: Likewise.
48489         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48490         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48491         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48492         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48493         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48495 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48497         [BZ #9739]
48498         * manual/string.texi (strnlen): Use correct parameter name in
48499         equivalent expression.
48501 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48503         [BZ #11174]
48504         * manual/users.texi (seteuid): Consistently use neweuid for
48505         argument name.
48507 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48509         [BZ #13704]
48510         * manual/nss.texi (Services in the NSS configuration): Correct
48511         list of services in example configuration file.
48513 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48515         [BZ #11322]
48516         * manual/arith.texi: Remove statements about negative zero
48517         behaving identically to zero.
48519 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48521         [BZ #5993]
48522         * manual/install.texi: Do not document upgrading from libc5.
48524 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48526         [BZ #4596]
48527         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48529 2012-02-18  David S. Miller  <davem@davemloft.net>
48531         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48532         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48533         %o7 across the call.
48534         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48535         instead.
48536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48537         SETUP_PIC_REG_LEAF.
48538         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48539         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48540         * sysdeps/sparc/crtn.S: Likewise.
48542 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48544         * aout/Makefile: Remove.
48546 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48548         [BZ #13058]
48549         * manual/examples/argp-ex1.c (main): Format definition in GNU
48550         style.
48551         * manual/examples/argp-ex2.c (main): Likewise.
48552         * manual/examples/argp-ex3.c (main): Likewise.
48553         * manual/examples/argp-ex4.c (main): Likewise.
48554         * manual/examples/longopt.c (main): Use new-style prototype
48555         definition.
48556         * manual/examples/strncat.c (main): Specify return type and use
48557         (void) for arguments.
48558         * manual/examples/subopt.c (main): Use char **argv argument.
48560 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48562         [BZ #5077]
48563         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48564         rounding modes.
48566 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48568         [BZ #6907]
48569         * manual/string.texi (strchr): Change when strchrnul is
48570         recommended.
48572 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48574         [BZ #174]
48575         * manual/locale.texi (setlocale): Document LOCPATH.
48577 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48579         [BZ #10210]
48580         * manual/process.texi (execle): Move @dots{} before last argument.
48582 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48584         [BZ #12047]
48585         * manual/charset.texi (Generic Charset Conversion): Fix typo
48586         (LC_TYPE -> LC_CTYPE).
48588 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48590         [BZ #5805]
48591         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48592         (scalbnf): Likewise.
48593         (scalbnl): Likewise.
48594         (scalbln): Likewise.
48595         (scalblnf): Likewise.
48596         (scalblnl): Likewise.
48597         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48598         (vwarnx): Likewise.
48599         (verr): Likewise.
48600         (verrx): Likewise.
48601         * manual/filesys.texi (telldir): Use braces around return type.
48602         * manual/llio.texi (mmap): Add space after comma.
48603         (mmap64): Likewise.
48604         * manual/math.texi (jn): Use @var{} on parameter names.
48605         (jnf): Likewise.
48606         (jnl): Likewise.
48607         (yn): Likewise.
48608         (ynf): Likewise.
48609         (ynl): Likewise.
48610         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48611         line.
48612         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48613         "...".
48614         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48615         (sched_get_priority_max): Likewise.
48616         * manual/signal.texi (sigvec): Add space after comma.
48617         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48618         names.
48619         (if_indextoname): Likewise.
48620         (if_freenameindex): Likewise.
48621         (sendto): Use ',' instead of '.' in prototype.
48622         * manual/startup.texi (syscall): Use @dots{} instead of literal
48623         "...".
48624         * manual/stdio.texi (__fpending): Separate initial words of
48625         paragraph from @deftypefun line.
48626         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48627         "...".
48628         (vsyslog): Use @var{} on parameter names.
48629         * manual/terminal.texi (stty): Use @var{} on parameter names.
48630         * manual/users.texi (getutmp): Use @var{} on parameter names.
48631         (getutmpx): Likewise.
48633 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48635         [BZ #6884]
48636         * manual/stdio.texi (fopen): Fix typos in description of
48637         ",ccs=STRING".
48639 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48641         [BZ #4026]
48642         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48643         get clock_id definition.
48645 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48647         [BZ #4822]
48648         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48649         (madvise): Cast every argument to void on its own.
48651 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48653         [BZ #9902]
48654         * manual/startup.texi (Exit Status): Fix typo.
48656 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48658         [BZ #10140]
48659         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48660         * manual/examples/argp-ex2.c: Likewise.
48661         * manual/examples/argp-ex3.c: Likewise.
48663 2012-02-16  Richard Henderson  <rth@redhat.com>
48665         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48666         * sysdeps/s390/s390-32/initfini.c: Remove.
48667         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48668         * sysdeps/s390/s390-64/initfini.c: Remove.
48670 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48672         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48673         compiler output for sysdeps/generic/initfini.c.
48674         * sysdeps/sh/elf/initfini.c: Remove file.
48676 2012-02-16  David S. Miller  <davem@davemloft.net>
48678         [BZ #11494]
48679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48681         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48682         * sysdeps/sparc/crti.S: New file.
48683         * sysdeps/sparc/crtn.S: New file.
48684         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48685         * sysdeps/sparc/sparc64/Makefile: Likewise.
48687 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48689         [BZ #3335]
48690         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48692 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48694         [BZ #4822]
48695         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48697         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48698         (write, read, close): Likewise.
48699         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48701 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48703         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48704         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48705         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48706         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48707         <bits/signalfd.h>.
48708         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48710         bits/signalfd.h.
48712 2012-02-14  Marek Polacek  <polacek@redhat.com>
48714         * sysdeps/x86_64/crti.S: New file.
48715         * sysdeps/x86_64/crtn.S: New file.
48716         * sysdeps/x86_64/elf/initfini.c: Remove file.
48718 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48720         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48721         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48722         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48723         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48724         <bits/inotify.h>.
48725         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48727         bits/inotify.h.
48729 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48731         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48732         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48733         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48734         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48735         <bits/eventfd.h>.
48736         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48738         bits/eventfd.h.
48740 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48742         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48743         __feraiseexcept instead of feraiseexcept.
48745         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48746         nanosleep invocations.
48747         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48748         strings, and add error checking for a nanosleep invocations.
48750 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48752         Replace FSF snail mail address with URLs, as per GNU coding standards.
48753         Most of the snail mail addresses were wrong anyway, and omitting
48754         them makes the source code easier to maintain.  Almost all of the
48755         changes are to license notices and to locale LC_IDENTIFICATION
48756         addresses, except for this one:
48757         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48758         not its snail mail address.
48760 2012-02-09  Richard Henderson  <rth@twiddle.net>
48762         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48763         of kernel-features.h.
48765         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48767 2012-02-08  Marek Polacek  <polacek@redhat.com>
48769         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48770         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48771         * sysdeps/gnu/_G_config.h: Likewise.
48772         * sysdeps/generic/_G_config.h: Likewise.
48774 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48776         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48777         tests.
48778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48780         * sysdeps/powerpc/powerpc32/crti.S: New file.
48781         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48782         * sysdeps/powerpc/powerpc64/crti.S: New file.
48783         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48785         * Makeconfig (have-initfini): Don't set.
48786         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48787         * configure.in (nopic_initfini): Don't substitute.
48788         * config.h.in (HAVE_INITFINI): Don't #undef.
48789         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48790         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48792 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48794         Support crti.S and crtn.S provided directly by architectures.
48795         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48796         [crti.S in sysdirs] (omit-deps): Likewise.
48797         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48798         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48799         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48800         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48801         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48802         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48803         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48804         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48805         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48806         compiler output for sysdeps/generic/initfini.c.
48807         * sysdeps/i386/elf/Makefile: Remove file.
48808         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48810 2012-02-07  Marek Polacek  <polacek@redhat.com>
48812         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48813         * sysdeps/gnu/_G_config.h: Likewise.
48814         * sysdeps/mach/hurd/_G_config.h: Likewise.
48816 2012-02-07  Marek Polacek  <polacek@redhat.com>
48818         * math/Makefile (tests): Add tst-CMPLX2.
48819         * math/tst-CMPLX2.c: New file.
48821 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48823         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48825         * math/libm-test.inc (jn_test): Add missing L suffix.
48827 2012-02-06  Marek Polacek  <polacek@redhat.com>
48829         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48830         * sysdeps/i386/fpu/e_powf.S: Likewise.
48831         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48832         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48833         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48834         * sysdeps/i386/fpu/e_pow.S: Likewise.
48835         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48836         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48837         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48838         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48839         * sysdeps/i386/fpu/e_log2.S: Likewise.
48840         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48841         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48842         * sysdeps/i386/fpu/e_powl.S: Likewise.
48843         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48844         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48845         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48846         * sysdeps/i386/fpu/e_logl.S: Likewise.
48847         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48848         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48849         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48850         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48851         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48852         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48853         * sysdeps/i386/fpu/e_log.S: Likewise.
48854         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48855         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48856         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48857         * sysdeps/i386/fpu/e_logf.S: Likewise.
48858         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48859         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48860         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48861         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48862         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48863         * sysdeps/i386/fpu/e_log10.S: Likewise.
48864         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48865         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48866         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48867         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48868         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48869         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48870         * sysdeps/i386/asm-syntax.h: Likewise.
48871         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48872         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48873         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48874         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48875         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48876         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48877         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48878         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48879         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48880         * sysdeps/powerpc/sysdep.h: Likewise.
48881         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48882         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48884 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48886         [BZ #411]
48887         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48889 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48891         * sysdeps/i386/sysdep.h: Include <features.h>.
48892         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48893         version.
48895 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48897         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48898         Define.
48899         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48900         LOAD_PIC_REG_STR.
48902 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48904         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48905         (SETUP_PIC_REG): Use GET_PC_THUNK.
48906         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48907         macro.
48909 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48911         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48912         for non-PIC compilation.
48913         (SETUP_PIC_REG): Add .p2align directive.
48914         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48915         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48916         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48917         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48918         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48919         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48920         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48921         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48922         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48923         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48924         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48925         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48926         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48927         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48928         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48929         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48930         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48931         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48932         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48933         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48934         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48935         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48936         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48937         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48938         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48940         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48941         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48942         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48943         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48944         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48945         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48946         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48947         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48948         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48949         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48950         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48951         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48952         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48953         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48954         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48956 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48958         * math/tst-CMPLX.c: Include <stdio.h>.
48960 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48962         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48963         float.
48964         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48965         * sysdeps/sparc/bits/mathdef.h: Likewise.
48967 2012-01-31  Marek Polacek  <polacek@redhat.com>
48969         * libio/libio.h: Don't define _PARAMS.
48970         * locale/programs/config.h: Don't define PARAMS.
48971         * stdlib/strtol_l.c: Likewise.
48972         (__strtol_l): Remove PARAMS from the prototype.
48974 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48976         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48977         names.  Just use the correct names.  Remove unnecessary wrapper
48978         functions.
48979         * malloc/arena.c: Likewise.
48980         * malloc/hooks.c: Likewise.
48982         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48983         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48984         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48986 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48988         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48989         into tail calls.
48990         (update_get_addr): New function.
48991         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48992         GET_ADDR_MODULE parameter.
48994 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48996         * crypt/cert.c: Remove __STDC__ conditionals.
48997         * crypt/crypt-entry.c: Likewise.
48998         * crypt/crypt_util.c: Likewise.
48999         * libio/filedoalloc.c: Likewise.
49000         * libio/fileops.c: Likewise.
49001         * libio/genops.c: Likewise.
49002         * libio/iofclose.c: Likewise.
49003         * libio/iofdopen.c: Likewise.
49004         * libio/iofopen.c: Likewise.
49005         * libio/iofopen64.c: Likewise.
49006         * libio/iogetdelim.c: Likewise.
49007         * libio/iopopen.c: Likewise.
49008         * libio/obprintf.c: Likewise.
49009         * libio/oldfileops.c: Likewise.
49010         * libio/oldiofclose.c: Likewise.
49011         * libio/oldiofdopen.c: Likewise.
49012         * libio/oldiofopen.c: Likewise.
49013         * libio/oldiopopen.c: Likewise.
49014         * libio/wfiledoalloc.c: Likewise.
49015         * libio/wgenops.c: Likewise.
49016         * locale/programs/xmalloc.c: Likewise.
49017         * misc/syslog.c: Likewise.
49018         * stdio-common/xbug.c: Likewise.
49019         * string/memchr.c: Likewise.
49020         * string/memcmp.c: Likewise.
49021         * string/memrchr.c: Likewise.
49022         * string/rawmemchr.c: Likewise.
49023         * sysdeps/posix/getcwd.c: Likewise.
49024         * time/strftime_l.c: Likewise.
49026 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49028         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49029         * config.make.in (config-cflags-sse2avx): Define.
49030         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49031         Fix typo.
49033 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49035         * scripts/config.guess: Update from upstream config git repository.
49036         * scripts/config.sub: Likewise.
49038 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49040         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49041         (EM_NUM): Update.
49042         (R_TILEPRO_*, R_TILEGX_*): New macros.
49044         * scripts/firstversions.awk: Fix bug in version range handling.
49046         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49048         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49050         * include/sys/epoll.h: New file.
49051         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49052         libc_hidden_def.
49054 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49056         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49057         Avoid unnecessary __WORDSIZE == 64 test.
49058         (fmaxf): Use VEX format if possible.
49059         (fmax): Likewise.
49060         (fminf): Likewise.
49061         (fmin): Likewise.
49063         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49064         * math/math_private.h: Remove libc_fegetround* and
49065         libc_fesetround*.
49066         * sysdeps/i386/configure.in: Check for -msse2avx.
49067         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49068         also if SSE2AVX is defined.
49069         Remove libc_fegetround* and libc_fesetround*.
49070         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49071         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49073         of HAS_YMM_USABLE.
49074         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49075         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49076         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49077         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49078         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49080         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49082 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49084         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49085         size is not set.
49086         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49088 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49090         [BZ #13618]
49091         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49092         relocation.
49093         * Makeconfig (libm): Define.
49094         * elf/Makefile: Add rules to build and run tst-relsort1.
49095         * elf/tst-relsort1.c: New file.
49096         * elf/tst-relsort1mod1.c: New file.
49097         * elf/tst-relsort1mod2.c: New file.
49099 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49101         * math/s_ldexp.c: Remove __STDC__ conditionals.
49102         * math/s_ldexpf.c: Likewise.
49103         * math/s_ldexpl.c: Likewise.
49104         * math/s_nextafter.c: Likewise.
49105         * math/s_nexttowardf.c: Likewise.
49106         * math/s_significand.c: Likewise.
49107         * math/s_significandf.c: Likewise.
49108         * math/s_significandl.c: Likewise.
49109         * math/w_jnl.c: Likewise.
49110         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49111         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49112         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49113         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49114         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49115         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49116         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49117         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49118         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49119         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49120         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49121         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49122         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49123         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49124         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49125         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49126         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49127         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49128         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49129         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49130         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49132         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49133         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49134         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49135         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49136         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49137         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49138         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49139         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49140         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49141         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49142         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49143         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49144         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49145         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49146         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49147         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49148         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49149         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49150         * sysdeps/ieee754/k_standard.c: Likewise.
49151         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49152         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49153         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49154         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49155         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49156         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49158         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49159         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49160         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49161         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49162         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49163         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49164         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49165         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49166         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49167         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49168         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49169         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49170         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49171         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49172         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49173         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49174         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49175         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49176         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49177         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49178         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49179         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49180         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49181         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49182         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49183         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49184         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49185         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49186         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49187         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49188         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49189         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49190         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49191         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49193         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49194         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49196         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49198         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49199         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49200         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49201         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49202         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49204         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49205         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49206         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49207         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49208         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49209         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49212         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49213         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49214         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49215         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49217         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49218         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49220         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49221         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49225         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49226         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49227         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49228         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49230         * sysdeps/ieee754/s_matherr.c: Likewise.
49231         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49232         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49233         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49234         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49236 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49238         * crypt/md5.h: Remove __STDC__ conditionals.
49239         * libio/libioP.h: Likewise.
49240         * locale/programs/config.h: Likewise.
49241         * sysdeps/generic/sysdep.h: Likewise.
49242         * sysdeps/i386/asm-syntax.h: Likewise.
49243         * sysdeps/s390/asm-syntax.h: Likewise.
49244         * sysdeps/unix/sysdep.h: Likewise.
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49248 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49250         * libio/libio.h: Remove __STDC__ conditionals.
49251         * malloc/obstack.h: Likewise.
49252         * math/complex.h: Likewise.
49253         * math/math.h: Likewise.
49254         * sysdeps/generic/_G_config.h: Likewise.
49255         * sysdeps/gnu/_G_config.h: Likewise.
49256         * sysdeps/mach/hurd/_G_config.h: Likewise.
49257         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49258         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49259         * sysdeps/sparc/bits/mathdef.h: Likewise.
49261 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49263         [BZ #13583]
49264         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49265         Clean up HAS_* macros.
49266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49267         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49268         possible.
49269         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49270         HAS_AVX.
49271         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49272         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49273         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49274         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49275         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49277 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49279         * elf/tst-unique3.cc (gets): Remove declaration.
49280         * elf/tst-unique3lib.cc (gets): Likewise.
49281         * elf/tst-unique3lib2.cc (gets): Likewise.
49282         * elf/tst-unique4.cc (gets): Likewise.
49284 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49286         * include/stdio.h: Add C++ protection.  Add gets declarations and
49287         definitions.
49288         * debug/tst-chk1.c: Don't declare gets here.
49289         * stdio-common/tst-gets.c: Likewise.
49291 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49293         * posix/glob: Remove directory.
49295 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49297         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49299 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49301         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49302         of the non-standard EPFNOSUPPORT.
49304 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49306         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49307         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49308         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49310 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49312         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49314 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49316         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49317         transient errors.
49318         * nscd/grpcache.c (cache_addgr): Likewise.
49319         * nscd/hstcache.c (cache_addhst): Likewise.
49320         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49321         * nscd/pwdcache.c (cache_addpw): Likewise.
49322         * nscd/servicescache.c (cache_addserv): Likewise.
49324 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49326         * malloc/malloc.c: Various cleanups.
49327         * malloc/hooks.c: Likewise.
49329         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49330         * stdlib/bug-fmtmsg1.c: New file.
49332         * stdlib/fmtmsg.c (init): Add missing unlock.
49333         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49335 2012-01-12  Marek Polacek  <polacek@redhat.com>
49337         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49338         and _GNU_SOURCE.
49340 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49342         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49343         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49344         macro to ensure uniqueness of label name.
49345         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49346         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49348 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49350         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49352         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49353         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49354         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49355         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49357 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49359         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49361         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49362         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49363         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49365         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49367         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49368         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49369         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49370         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49372         * math/bits/math-finite.h: Add ldexp support.
49374 2012-01-10  Marek Polacek  <polacek@redhat.com>
49376         * locale/programs/localedef.h (show_archive_content): Add noreturn
49377         attribute.
49379 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49381         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49383 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49385         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49387         * io/Makefile (headers): Add bits/poll2.h.
49389 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49392         typo #include statement.
49394 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49396         * include/sys/cdefs.h: Define __attribute_alloc_size.
49397         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49398         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49399         * elf/pldd.c: Likewise.
49400         * iconv/iconv_charmap.c: Likewise.
49401         * iconv/iconvconfig.c: Likewise.
49402         * iconv/strtab.c: Likewise.
49403         * locale/programs/locale.c: Likewise.
49404         * locale/programs/localedef.h: Likewise.
49405         * locale/programs/simple-hash.c: Likewise.
49406         * nscd/nscd.h: Likewise.
49407         * nss/makedb.c: Likewise.
49408         * sysdeps/generic/ldconfig.h: Likewise.
49409         * locale/programs/localedef.c: Remove xmalloc prototype.
49410         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49412 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49414         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49415         appropriate.
49417 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49419         * math/Makefile (tests): Add tst-CMPLX.
49420         * math/tst-CMPLX.c: New file.
49422         * math/complex.h (CMPLXL): Fix typo.
49424         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49425         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49426         GLIBC_2.16.
49427         * debug/tst-chk1.c: Add poll and ppoll tests.
49428         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49429         * include/sys/poll.h: Add hidden proto for ppoll.
49430         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49431         * sysdeps/mach/hurd/ppoll.c: Likewise.
49432         * io/ppoll.c: Likewise.
49433         * debug/poll_chk.c: New file.
49434         * debug/ppoll_chk.c: New file.
49435         * include/bits/poll2.h: New file.
49436         * io/bits/poll2.h: New file.
49438         [BZ #1350]
49439         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49441         * configure.in: static is always set to yes.  Remove.
49442         * config.make.in: Don't set build-static.
49443         * Makeconfig: Remove use of build-static.
49444         * dlfcn/Makefile: Likewise.
49445         * elf/Makefile: Likewise.
49446         * math/Makefile: Likewise.
49447         * misc/Makefile: Likewise.
49448         * nptl/Makefile: Likewise.
49449         * sysdeps/mach/hurd/Makefile: Likewise.
49451         * configure.in: PWD_P is not used anymore.
49452         * config.make.in: Remove PWD_P entry.
49454         * configure.in: Remove last remnants of RANLIB.
49455         No need to check for signed size_t anymore.
49456         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49457         and IA-64.
49458         Remove __builtin_expect test because we require at least gcc 3.4.
49459         * aclocal.m4: Likewise.
49461         * wcsmbs/mbrtoc16.c: Implement using towc function.
49462         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49463         * wcsmbs/wcsmbsload.c: Likewise.
49464         * iconv/gconv_simple.c: Likewise.
49465         * iconv/gconv_int.h: Likewise.
49466         * iconv/gconv_builtin.h: Likewise.
49467         * iconv/iconv_prog.c: Remove CHAR16 handling.
49469         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49471         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49473         * configure.in: Remove --with-elf and --enable-bounded options.
49474         Dont set base_machine for ia64.  More non-ELF conditions removed.
49475         Remove testing and setting of leading underscore information.
49476         * config.make.in (build-bounded): Set to no.
49477         * config.h.in: Remove NO_UNDERSCORES entry.
49478         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49479         them.
49480         * csu/start.c: Remove !NO_UNDERSCORE code.
49481         * locale/localeinfo.h: Likewise.
49482         * sysdeps/generic/machine-gmon.h: Likewise.
49483         * sysdeps/generic/sysdep.h: Likewise.
49484         * sysdeps/i386/sysdep.h: Likewise.
49485         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49486         * sysdeps/mach/sysdep.h: Likewise.
49487         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49488         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49489         * sysdeps/sh/sysdep.h: Likewise.
49490         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49491         * sysdeps/unix/i386/sysdep.S: Likewise.
49492         * sysdeps/unix/sparc/start.c: Likewise.
49493         * sysdeps/unix/sparc/sysdep.S: Likewise.
49494         * sysdeps/unix/sparc/sysdep.h: Likewise.
49495         * sysdeps/unix/start.c: Likewise.
49496         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49497         * sysdeps/x86_64/sysdep.h: Likewise.
49499 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49501         [BZ #13553]
49502         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49503         for non-gcc.
49504         * argp/argp-fmtstream.h: Use const instead __const.
49505         * argp/argp.h: Likewise.
49506         * assert/assert.h: Likewise.
49507         * bits/fenv.h: Likewise.
49508         * bits/sched.h: Likewise.
49509         * bits/sigset.h: Likewise.
49510         * bits/sigthread.h: Likewise.
49511         * catgets/nl_types.h: Likewise.
49512         * conform/data/pthread.h-data: Likewise.
49513         * crypt/crypt-private.h: Likewise.
49514         * crypt/crypt.h: Likewise.
49515         * crypt/crypt_util.c: Likewise.
49516         * ctype/ctype.h: Likewise.
49517         * debug/execinfo.h: Likewise.
49518         * debug/mbsnrtowcs_chk.c: Likewise.
49519         * debug/mbsrtowcs_chk.c: Likewise.
49520         * debug/wcsnrtombs_chk.c: Likewise.
49521         * debug/wcsrtombs_chk.c: Likewise.
49522         * debug/wcstombs_chk.c: Likewise.
49523         * dirent/dirent.h: Likewise.
49524         * dlfcn/dlfcn.h: Likewise.
49525         * elf/neededtest4.c: Likewise.
49526         * grp/grp.h: Likewise.
49527         * gshadow/gshadow.h: Likewise.
49528         * iconv/gconv.h: Likewise.
49529         * iconv/gconv_int.h: Likewise.
49530         * iconv/gconv_simple.c: Likewise.
49531         * iconv/iconv.h: Likewise.
49532         * iconv/loop.c: Likewise.
49533         * iconv/skeleton.c: Likewise.
49534         * include/aio.h: Likewise.
49535         * include/aliases.h: Likewise.
49536         * include/argz.h: Likewise.
49537         * include/arpa/inet.h: Likewise.
49538         * include/assert.h: Likewise.
49539         * include/dirent.h: Likewise.
49540         * include/dlfcn.h: Likewise.
49541         * include/execinfo.h: Likewise.
49542         * include/fcntl.h: Likewise.
49543         * include/fenv.h: Likewise.
49544         * include/glob.h: Likewise.
49545         * include/grp.h: Likewise.
49546         * include/libintl.h: Likewise.
49547         * include/mntent.h: Likewise.
49548         * include/netdb.h: Likewise.
49549         * include/pwd.h: Likewise.
49550         * include/rpc/netdb.h: Likewise.
49551         * include/sched.h: Likewise.
49552         * include/search.h: Likewise.
49553         * include/shadow.h: Likewise.
49554         * include/signal.h: Likewise.
49555         * include/stdio.h: Likewise.
49556         * include/stdlib.h: Likewise.
49557         * include/string.h: Likewise.
49558         * include/sys/socket.h: Likewise.
49559         * include/sys/stat.h: Likewise.
49560         * include/sys/statfs.h: Likewise.
49561         * include/sys/statvfs.h: Likewise.
49562         * include/sys/syslog.h: Likewise.
49563         * include/sys/time.h: Likewise.
49564         * include/sys/uio.h: Likewise.
49565         * include/time.h: Likewise.
49566         * include/unistd.h: Likewise.
49567         * include/utmp.h: Likewise.
49568         * include/wchar.h: Likewise.
49569         * include/wctype.h: Likewise.
49570         * inet/aliases.h: Likewise.
49571         * inet/arpa/inet.h: Likewise.
49572         * inet/netinet/ether.h: Likewise.
49573         * inet/netinet/in.h: Likewise.
49574         * intl/libintl.h: Likewise.
49575         * io/bits/fcntl2.h: Likewise.
49576         * io/fcntl.h: Likewise.
49577         * io/ftw.h: Likewise.
49578         * io/sys/poll.h: Likewise.
49579         * io/sys/stat.h: Likewise.
49580         * io/sys/statfs.h: Likewise.
49581         * io/sys/statvfs.h: Likewise.
49582         * io/utime.h: Likewise.
49583         * libio/bits/stdio.h: Likewise.
49584         * libio/bits/stdio2.h: Likewise.
49585         * libio/libio.h: Likewise.
49586         * libio/libioP.h: Likewise.
49587         * libio/stdio.h: Likewise.
49588         * locale/lc-ctype.c: Likewise.
49589         * locale/locale.h: Likewise.
49590         * login/utmp.h: Likewise.
49591         * malloc/arena.c: Likewise.
49592         * malloc/malloc.c: Likewise.
49593         * malloc/malloc.h: Likewise.
49594         * malloc/mcheck.c: Likewise.
49595         * malloc/mtrace.c: Likewise.
49596         * math/bits/mathcalls.h: Likewise.
49597         * math/fenv.h: Likewise.
49598         * math/math_private.h: Likewise.
49599         * misc/bits/error.h: Likewise.
49600         * misc/bits/syslog.h: Likewise.
49601         * misc/err.h: Likewise.
49602         * misc/error.h: Likewise.
49603         * misc/fstab.h: Likewise.
49604         * misc/mntent.h: Likewise.
49605         * misc/regexp.h: Likewise.
49606         * misc/search.h: Likewise.
49607         * misc/sgtty.h: Likewise.
49608         * misc/sys/mman.h: Likewise.
49609         * misc/sys/syslog.h: Likewise.
49610         * misc/sys/uio.h: Likewise.
49611         * misc/sys/xattr.h: Likewise.
49612         * misc/ttyent.h: Likewise.
49613         * nis/rpcsvc/ypclnt.h: Likewise.
49614         * nss/nss.h: Likewise.
49615         * posix/bits/unistd.h: Likewise.
49616         * posix/fnmatch.h: Likewise.
49617         * posix/glob.h: Likewise.
49618         * posix/sched.h: Likewise.
49619         * posix/spawn.h: Likewise.
49620         * posix/sys/wait.h: Likewise.
49621         * posix/unistd.h: Likewise.
49622         * posix/wordexp.h: Likewise.
49623         * pwd/pwd.h: Likewise.
49624         * resolv/netdb.h: Likewise.
49625         * resource/sys/resource.h: Likewise.
49626         * rt/aio.h: Likewise.
49627         * rt/bits/mqueue2.h: Likewise.
49628         * rt/mqueue.h: Likewise.
49629         * shadow/shadow.h: Likewise.
49630         * signal/signal.h: Likewise.
49631         * socket/send.c: Likewise.
49632         * socket/sendto.c: Likewise.
49633         * socket/sys/socket.h: Likewise.
49634         * stdio-common/printf.h: Likewise.
49635         * stdlib/bits/stdlib.h: Likewise.
49636         * stdlib/fmtmsg.h: Likewise.
49637         * stdlib/monetary.h: Likewise.
49638         * stdlib/stdlib.h: Likewise.
49639         * stdlib/ucontext.h: Likewise.
49640         * streams/stropts.h: Likewise.
49641         * string/argz.h: Likewise.
49642         * string/bits/string2.h: Likewise.
49643         * string/string.h: Likewise.
49644         * string/strings.h: Likewise.
49645         * sunrpc/rpc/auth.h: Likewise.
49646         * sunrpc/rpc/auth_des.h: Likewise.
49647         * sunrpc/rpc/clnt.h: Likewise.
49648         * sunrpc/rpc/netdb.h: Likewise.
49649         * sunrpc/rpc/pmap_clnt.h: Likewise.
49650         * sunrpc/rpc/xdr.h: Likewise.
49651         * sysdeps/generic/inttypes.h: Likewise.
49652         * sysdeps/generic/net/if.h: Likewise.
49653         * sysdeps/generic/sys/swap.h: Likewise.
49654         * sysdeps/gnu/net/if.h: Likewise.
49655         * sysdeps/gnu/utmpx.h: Likewise.
49656         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49657         * sysdeps/i386/i486/bits/string.h: Likewise.
49658         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49659         * sysdeps/s390/bits/string.h: Likewise.
49660         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49661         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49662         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49663         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49664         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49665         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49666         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49667         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49668         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49669         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49670         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49671         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49672         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49673         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49674         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49675         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49676         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49677         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49678         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49679         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49680         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49681         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49682         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49683         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49684         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49685         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49686         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49687         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49688         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49689         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49690         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49691         * sysvipc/sys/ipc.h: Likewise.
49692         * sysvipc/sys/msg.h: Likewise.
49693         * sysvipc/sys/sem.h: Likewise.
49694         * sysvipc/sys/shm.h: Likewise.
49695         * termios/termios.h: Likewise.
49696         * time/sys/time.h: Likewise.
49697         * time/time.h: Likewise.
49698         * wcsmbs/bits/wchar2.h: Likewise.
49699         * wcsmbs/uchar.h: Likewise.
49700         * wcsmbs/wchar.h: Likewise.
49701         * wctype/wctype.h: Likewise.
49703         [BZ #13551]
49704         * Makeconfig: Remove all but ELF support including AIX support.
49705         * Makerules: Likewise.
49706         * config.h.in: Likewise.
49707         * config.make.in: Likewise.
49708         * configure: Likewise.
49709         * configure.in: Likewise.
49710         * csu/Makefile: Likewise.
49711         * csu/version.c: Likewise.
49712         * debug/Makefile: Likewise.
49713         * dlfcn/Makefile: Likewise.
49714         * elf/Makefile: Likewise.
49715         * extra-lib.mk: Likewise.
49716         * iconv/Makefile: Likewise.
49717         * include/libc-symbols.h: Likewise.
49718         * include/shlib-compat.h: Likewise.
49719         * resolv/Makefile: Likewise.
49720         * resolv/res_libc.c: Likewise.
49721         * rt/Makefile: Likewise.
49722         * sysdeps/i386/asm-syntax.h: Likewise.
49723         * sysdeps/i386/sysdep.h: Likewise.
49724         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49725         * sysdeps/mach/sysdep.h: Likewise.
49726         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49727         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49728         * sysdeps/s390/asm-syntax.h: Likewise.
49729         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49730         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49731         * sysdeps/sh/sysdep.h: Likewise.
49732         * sysdeps/unix/sparc/sysdep.h: Likewise.
49733         * sysdeps/wordsize-32/divdi3.c: Likewise.
49734         * sysdeps/x86_64/sysdep.h: Likewise.
49736         * argp/Versions: Remove _argp_unlock_xxx.
49738         [BZ #13559]
49739         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49740         * abilist/libBrokenLocale.abilist: Likewise.
49741         * abilist/libanl.abilist: Likewise.
49742         * abilist/libc.abilist: Likewise.
49743         * abilist/libcrypt.abilist: Likewise.
49744         * abilist/libdl.abilist: Likewise.
49745         * abilist/libm.abilist: Likewise.
49746         * abilist/libnsl.abilist: Likewise.
49747         * abilist/libpthread.abilist: Likewise.
49748         * abilist/libresolv.abilist: Likewise.
49749         * abilist/librt.abilist: Likewise.
49750         * abilist/libthread_db.abilist: Likewise.
49751         * abilist/libutil.abilist: Likewise.
49752         * abilist/libnss_db.abilist: New file.
49754         * scripts/abilist.awk: Add support for indirect functions.
49756         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49758         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49760         * shlib-versions: Remove entries for ports architectures.
49762         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49763         files in ports.
49764         * elf/stackguard-macros.h: Remove support for IA-64.
49765         * elf/tst-auditmod1.c: Likewise.
49766         * sysdeps/generic/ldsodefs.h: Likewise.
49768         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49769         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49770         configure files.
49772         [BZ #13552]
49773         * configure.in: Remove --enable-omitfp support.
49774         * FAQ.in: Adjust.
49775         * config.make.in: Likewise.
49776         * Makeconfig: Likewise.
49777         * manual/install.texi: Likewise.
49779         In case anyone cares, the IA-64 architecture could move to ports.
49780         * sysdeps/ia64/*: Removed.
49781         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49782         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49784         [BZ #13555]
49785         * configure.in: Remove entries for unsupported architectures.
49787         [BZ #13533]
49788         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49789         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49790         routines.
49791         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49792         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49793         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49794         fall back to using wcrtomb.
49795         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49796         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49797         renaming.
49798         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49799         * wcsmbs/tst-c16c32-1.c: New file.
49801         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49802         local variable.
49804         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49806         * elf/tst-unique3.cc: Add explicit declaration of gets.
49807         * elf/tst-unique3lib.cc: Likewise.
49808         * elf/tst-unique3lib2.cc: Likewise.
49809         * elf/tst-unique4.cc: Likewise.
49811         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49813 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49815         [BZ #13566]
49816         * assert/assert.h (static_assert): Don't define for C++.
49817         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49818         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49820 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49822         * iconv/loop.c (single loop): Fix assertion in storing of
49823         remaining bytes.
49825         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49827 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49829         * posix/getconf.c: Update copyright year.
49830         * nss/getent.c: Likewise.
49831         * nss/makedb.c: Likewise.
49832         * iconv/iconvconfig.c: Likewise.
49833         * iconv/iconv_prog.c: Likewise.
49834         * elf/ldconfig.c: Likewise.
49835         * elf/pldd.c: Likewise.
49836         * elf/sotruss.ksh: Likewise.
49837         * catgets/gencat.c: Likewise.
49838         * csu/version.c: Likewise.
49839         * elf/ldd.bash.in: Likewise.
49840         * elf/sprof.c (print_version): Likewise.
49841         * locale/programs/locale.c: Likewise.
49842         * locale/programs/localedef.c: Likewise.
49843         * login/programs/pt_chown.c: Likewise.
49844         * nscd/nscd.c (print_version): Likewise.
49845         * debug/xtrace.sh: Likewise.
49846         * malloc/memusage.sh: Likewise.
49847         * malloc/mtrace.pl: Likewise.
49848         * debug/catchsegv.sh: Likewise.
49850 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49852         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49853         pure attribute.
49855 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49857         [BZ #13533]
49858         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49859         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49860         transformations.
49861         * iconv/gconv_int.h: Likewise.
49862         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49863         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49864         from libc for GLIBC_2.16.
49865         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49866         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49867         * wcsmbs/uchar.h: Really define mbstate_t.
49868         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49869         * wcsmbs/c16rtomb.c: New file.
49870         * wcsmbs/mbrtoc16.c: New file.
49871         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49872         for C/POSIX locale.
49873         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49874         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49876         * wcsmbs/wchar.h: Add missing __restrict.
49878 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49880         [BZ #13532]
49881         * time/Makefile (routines): Add timespec_get.
49882         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49883         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49884         timespec for ISO C11.
49885         * time/timespec_get.c: New file.
49886         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49887         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49889         [BZ #13531]
49890         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49891         * stdlib/stdlib.h: Declare aligned_alloc.
49892         * Versions.def: Add GLIBC_2.16 for libc.
49893         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49895         [BZ 13527]
49896         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49897         ISO C11.
49899         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49900         code.
49902         [BZ #13528]
49903         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49905         [BZ #13529]
49906         * assert/assert.h (static_assert): Define.
49908         * version.h: Update for 2.16 development version.
49910         [BZ #13526]
49911         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49912         _ISOC11_SOURCE.
49914         * version.h (RELEASE): Bump for 2.15 release.
49915         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49917         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49918         Patch by Marek Polacek <mpolacek@redhat.com>.
49920         * bits/byteswap.h: Protect long long constants with __extension__.
49921         * sysdeps/i386/bits/byteswap.h: Likewise.
49922         * sysdeps/ia64/bits/byteswap.h: Likewise.
49923         * sysdeps/s390/bits/byteswap.h: Likewise.
49924         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49926 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49928         [BZ #13540]
49929         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49930         destination buffer.
49931         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49933 2011-12-23  Marek Polacek  <polacek@redhat.com>
49935         * elf/dl-addr.c (determine_info): Add inline keyword.
49936         * elf/tst-auditmod4b.c (check_avx): Likewise.
49937         * elf/tst-auditmod6b.c (check_avx): Likewise.
49938         * elf/tst-auditmod6c.c (check_avx): Likewise.
49939         * elf/tst-auditmod7b.c (check_avx): Likewise.
49941 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49943         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49944         !__SSE_MATH__.
49946 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49948         [BZ #13540]
49949         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49950         processing for last bytes.
49952 2011-08-06  Bruno Haible  <bruno@clisp.org>
49954         [BZ #13061]
49955         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49956         U+0385, not to U+1FEE.
49958         [BZ #13062]
49959         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49960         entry for U+00A5 U+0301.
49962 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49964         [BZ #13166]
49965         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49966         buffer for the output is too small.
49968         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49969         optimization.
49971         [BZ #13185]
49972         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49973         SSE flags if possible.
49975 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49977         [BZ #13540]
49978         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49979         processing for last bytes.
49981 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49983         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49984         (syscall-list-default-options, syscall-list-default-condition)
49985         (syscall-list-includes): Define.
49986         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49987         list of ABIs and options and #if conditions for each ABI.  Do not
49988         handle common syscalls between ABIs specially.
49989         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49990         Remove.
49991         (syscall-list-variants, syscall-list-32bit-options)
49992         (syscall-list-32bit-condition, syscall-list-64bit-options)
49993         (syscall-list-64bit-condition): Define.
49994         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49995         (syscall-list-variants, syscall-list-32bit-options)
49996         (syscall-list-32bit-condition, syscall-list-64bit-options)
49997         (syscall-list-64bit-condition): Define.
49998         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49999         Remove.
50000         (syscall-list-variants, syscall-list-32bit-options)
50001         (syscall-list-32bit-condition, syscall-list-64bit-options)
50002         (syscall-list-64bit-condition): Define.
50003         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50004         Remove.
50005         (syscall-list-variants, syscall-list-32bit-options)
50006         (syscall-list-32bit-condition, syscall-list-64bit-options)
50007         (syscall-list-64bit-condition): Define.
50009 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50011         * locale/iso-639.def: Add brx entry.
50013         [BZ #13328]
50014         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50015         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50017         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50018         __feraiseexcept_renamed.
50020 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50022         [BZ #13538]
50023         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50024         EPOLLET with unsigned values.
50025         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50026         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50028         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50029         to large cancellation.
50030         * math/s_cacoshf.c: Likewise.
50031         * math/s_cacoshl.c: Likewise.
50033 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50035         [BZ #13305]
50036         [BZ #12786]
50037         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50038         * math/s_cacoshf.c: Likewise.
50039         * math/s_cacoshl.c: Likewise.
50041 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50043         [BZ #13439]
50044         * iconv/gconv.h: Define __GCONV_SWAP.
50045         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50046         * iconvdata/utf-16.c: Likewise.
50047         * iconvdata/utf-32.c: Likewise.
50049 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50051         [BZ #13524]
50052         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50053         numerator after shifting it by one limb.
50055 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50057         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50058         under [__USE_EXTERN_INLINES].
50060 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50062         [BZ #13446]
50063         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50065 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50067         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50068         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50069         optimized code.
50070         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50071         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50072         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50073         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50074         for strncasecmp/strncasecmp_l compilation.
50075         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50076         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50078 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50080         [BZ #13484]
50081         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50082         of __asm__.
50084 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50086         [BZ #13506]
50087         * time/tzfile.c (__tzfile_read): Check values from file header.
50089 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50091         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50092         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50093         * powerpc/powerpc32/dl-start.S: Likewise.
50094         * powerpc/powerpc32/elf/start.S: Likewise.
50095         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50096         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50097         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50098         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50099         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50100         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50101         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50102         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50103         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50104         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50105         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50106         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50107         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50108         * powerpc/powerpc32/memset.S: Likewise.
50109         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50110         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50111         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50112         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50113         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50114         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50115         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50116         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50117         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50118         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50119         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50120         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50121         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50123 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50125         * math/libm-test.inc: Added more nearbyint tests.
50126         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50127         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50128         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50131 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50133         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50134         FD_CLOEXEC.
50136 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50138         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50139         Add wcscpy-ssse3 wcscpy-c.
50140         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50141         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50142         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50143         * sysdeps/x86_64/wcschr.S: New file.
50144         * sysdeps/x86_64/wcsrchr.S: New file.
50145         * string/test-strcmp.c: Remove checking of wcscmp function for
50146         wrong alignments.
50147         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50148         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50149         wcsrchr-sse2 wcsrchr-c.
50150         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50151         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50152         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50153         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50154         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50155         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50156         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50157         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50158         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50159         * wcsmbc/wcschr.c (WCSCHR): New macro.
50161 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50163         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50164         * wcsmbs/test-wcsrchr.c: New file.
50165         * string/test-strrchr.c: Add wcsrchr support.
50166         (WIDE): New macro.
50167         * wcsmbs/test-wcscpy.c: New file.
50168         * string/test-strcpy.c: Add wcscpy support.
50169         (WIDE): New macro.
50171 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50173         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50174         the inner loop.
50176 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50178         [BZ #13472]
50179         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50181 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50183         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50184         Minor optimizations.
50186         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50187         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50188         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50190 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50192         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50193         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50194         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50195         for gcc to avoid warnings.
50196         * inet/Makefile (tests): Add tst-checks.
50197         * inet/tst-checks.c: New file.
50199         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50200         warning.
50202         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50203         __wmemcmp_sse2.
50205         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50206         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50208         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50210 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50212         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50213         problem.
50215         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50217 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50219         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50220         conditional on GCC version.
50221         (__arch_compare_and_exchange_val_8_acq)
50222         (__arch_compare_and_exchange_val_16_acq)
50223         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50224         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50225         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50227 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50229         * sysdeps/sh/backtrace.c: New file.
50231 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50233         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50234         parenthesis.
50236 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50238         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50239         falling back to utime.
50241 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50243         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50244         expectations for float.
50246 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50248         * locale/weight.h (findidx): Add parameter len.
50249         * locale/weightwc.h (findidx): Likewise.
50250         * posix/fnmatch_loop.c (FCT): Adjust caller.
50251         * posix/regcomp.c (build_equiv_class): Likewise.
50252         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50253         * posix/regexec.c (check_node_accept_bytes): Likewise.
50254         * string/strcoll_l.c (STRCOLL): Likewise.
50255         * string/strxfrm_l.c (STRXFRM): Likewise.
50257 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50259         * Makefile.in: Remove CVSOPT handling.
50260         * configure.in: Remove use of AC_REVISION.
50261         * iconvdata/Makefile (distribute): No need to filter out CVS.
50262         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50263         handling.
50265 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50268         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50269         [USE_AS_STRNCASECMP_L]: Likewise.
50270         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50271         NO_TLS_DIRECT_SEG_REFS.
50272         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50273         Fix argument offsets for non-PIC.
50274         [USE_AS_STRNCASECMP_L]: Likewise.
50275         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50276         NO_TLS_DIRECT_SEG_REFS.
50278 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50280         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50281         O_CLOEXEC.
50282         * locale/loadlocale.c (_nl_load_locale): Likewise.
50284 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50286         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50287         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50288         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50289         (SYSCALL_GETTIME): Set errno on error.
50291         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50292         count references to noai6ai_cached.
50294 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50296         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50298         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50299         FD_CLOEXEC for /proc/self/maps.
50301         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50302         FD_CLOEXEC for /proc/meminfo.
50304         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50305         gai.conf.
50307         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50308         FD_CLOEXEC for given file.
50310         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50312         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50313         FD_CLOEXEC for /etc/hosts.
50314         (_gethtent): Likewise.
50316         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50318         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50319         cancellation and set FD_CLOEXEC for /etc/netgroup.
50321         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50322         reading /etc/publickey.
50324         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50325         allow cancellation when reading /etc/group.
50327         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50328         cancellation.
50329         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50331         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50332         when using data file.
50334         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50336         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50337         (write_nis_obj): Use "c" and "e" in fopen.
50339         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50341         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50343         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50345         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50347         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50348         locale.alias.
50350         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50352         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50354         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50356         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50357         file parsing and set FD_CLOEXEC.
50359 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50361         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50363 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50365         * malloc/arena.c (arena_get2): Don't call reused_arena when
50366         _int_new_arena failed.
50368 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50370         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50371         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50372         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50373         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50374         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50375         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50376         to compile strcasecmp and strncasecmp.
50377         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50378         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50382 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50384         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50385         locale-defines.sym to gen-as-const-headers.
50386         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50387         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50389         to compile strcasecmp and strncasecmp.
50390         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50391         strcasecmp_l and strncasecmp_l.
50392         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50393         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50394         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50395         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50396         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50397         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50398         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50399         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50400         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50401         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50402         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50404 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50406         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50407         result of SYSDEP_GETTIME_CPU to retval.
50408         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50409         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50411         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50412         variable.
50414         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50415         mantissa words.
50416         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50418         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50419         from unused variable.
50421         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50422         DWARF definitions.
50423         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50424         for assembling.
50426         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50427         over namespaces.
50429         * sunrpc/rpc_prot.c (rejected): Fix case value.
50431         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50432         unsigned long long int to avoid warnings in shift.
50434         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50435         of use of trans.
50436         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50437         variable tmp.
50439         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50440         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50441         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50443         * nis/nis_table.c (nis_list): Use variable of correct type for
50444         result of __follow_path call.
50446 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50448         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50449         of math functions ceil, trunc, floor, round, and sqrt, when
50450         avaliable on the platform.
50451         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50452         name clash.
50453         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50454         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50455         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50457 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50459         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50460         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50462 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50464         * include/unistd.h: Fix __readlink return type.
50465         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50467 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50469         * stdlib/ucontext.h: Undo last change for makecontext.
50471 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50473         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50475         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50476         * setjmp/setjmp.h: Mark functions as non-leaf.
50477         * setjmp/bits/setjmp2.h: Likewise.
50478         * stdlib/ucontext.h: Likewise.
50480 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50482         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50483         (reused_arena): Don't check arena limit.
50484         (arena_get2): Atomically check arena limit.
50486 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50488         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50489         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50492         instructions.
50494 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50496         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50497         handler when locking.
50499         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50500         Fix size of allocated buffer.
50502 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50504         [BZ #10103]
50505         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50506         declarations for long double functions.
50507         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50509         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50511 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50513         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50514         installed.
50516         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50517         is disabled.
50519 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50521         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50523 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50525         * include/alloca.h (stackinfo_alloca_round): Define.
50526         (extend_alloca): Use it.
50527         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50528         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50529         here.
50531         * scripts/check-local-headers.sh: Ignore libaudit.h.
50533         * nscd/Makefile (extra-objs): Make recursively expanded.
50535 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50537         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50540         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50541         * posix/tst-rfc3484-2.c: Likewise.
50542         * posix/tst-rfc3484-3.c: Likewise.
50544         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50545         process_vm_writev.
50546         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50547         process_vm_writev.
50548         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50549         process_vm_writev from libc using GLIBC_2.15 version.
50551         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50553 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50555         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50556         stack usage.
50558 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50560         [BZ #13367]
50561         * nss/getent.c (initgroups_keys): Show error message in case no group
50562         names are given.
50564         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50565         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50566         __bump_nl_timestamp.
50567         * nscd/connections (nscd_init): When host database is served open
50568         netlink socket and request notification about configuration changes.
50569         (main_loop_poll): Track netlink file descriptor and bump timestamp
50570         in case data becomes available.
50571         (main_loop_epoll): Likewise.
50572         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50573         (database_pers_head): Add extra_data fileds.
50574         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50575         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50576         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50577         Adjust caller.
50578         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50579         in6ai data, call __free_in6ai.
50580         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50581         Add -DHAVE_NETLINK.
50582         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50583         interface information.  Reuse previous data if netlink timestamp
50584         is not changed.
50585         (__bump_nl_timestamp): New function.
50586         (__free_in6ai): New function.
50588 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50590         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50591         close_not_cancel_no_status here.
50592         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50594 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50596         [BZ #13276]
50597         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50598         return value.
50600         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50601         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50602         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50604 2011-07-03  Andreas Jaeger  <aj@suse.de>
50606         [BZ #10709]
50607         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50608         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50609         * math/libm-test.inc (sin_test): Add test case.
50611 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50613         [BZ #13337]
50614         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50615         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50617         * elf/chroot_canon.c (chroot_canon): Cleanups.
50619         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50621         [BZ #13335]
50622         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50623         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50625         * string/test-strchr.c: Make usable for strchrnul testing.
50626         * string/test-strchrnul.c: New file.
50627         * string/Makefile (strop-tests): Add strchrnul.
50629         * po/it.po: Update from translation team.
50630         * po/es.po: Likewise.
50632 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50634         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50635         the three constants needed as parameters.  Drop the others.
50636         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50637         __m128i_strloadu_tolower.
50638         Create and initialize variable zero and use it in all the places
50639         where _mm_setzero_si128 was used.
50641         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50642         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50643         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50644         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50645         anymore.
50646         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50647         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50648         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50649         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50650         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50651         __mpranred, __mptan.
50652         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50653         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50654         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50655         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50656         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50657         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50658         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50659         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50660         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50662 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50664         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50665         redefine if SHARED.
50666         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50669         wide char related routines to wcsmbs subdir.
50671 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50673         [BZ #13344]
50674         * misc/sys/cdefs.h (__THROWNL): Define.
50675         * posix/unistd.h: Use __THREADNL instead of __THREAD
50676         for memory synchronization functions.
50678 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50680         [BZ #13349]
50681         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50682         doesn't exist.
50683         * manual/stdio.texi (Obstack Streams): Node removed.
50685 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50687         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50688         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50689         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50691         * math/math_private.h (math_force_eval): Allow non-addressable
50692         arguments.
50693         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50695 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50697         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50698         file is not needed.
50700         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50701         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50702         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50703         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50704         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50705         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50706         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50707         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50708         Add AVX variants.
50709         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50710         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50711         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50712         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50713         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50714         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50715         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50716         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50717         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50718         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50719         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50720         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50721         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50722         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50723         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50724         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50725         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50726         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50727         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50729         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50730         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50732         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50733         place.  Use VEX encoding when compiling for AVX.
50735 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50737         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50738         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50740         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50742 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50744         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50745         useless if() expression.
50746         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50749         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50754         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50755         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50756         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50757         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50758         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50759         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50760         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50761         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50762         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50763         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50764         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50766         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50768 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50770         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50771         condition.
50772         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50774 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50776         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50777         .text section.  Avoid duplicate constants.
50778         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50780         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50782         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50786         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50787         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50788         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50789         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50790         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50793         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50794         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50795         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50798         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50799         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50800         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50801         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50802         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50803         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50804         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50805         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50806         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50807         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50808         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50809         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50810         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50811         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50812         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50813         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50814         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50815         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50816         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50817         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50818         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50819         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50820         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50821         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50822         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50824 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50826         * sysdeps/x86_64/dla.h: Move to ...
50827         * sysdeps/x86_64/fpu/dla.h: ...here.
50828         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50829         situations.  Use __builtin_fma only for gcc 4.6 and up.
50831         * config.make.in: Add have-mfma4 entry.
50832         * configure.in: Substitute libc_cv_cc_fma4.
50833         * math/Makefile (dbl-only-routines): Add sincostab.
50834         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50835         Use __sincostab not sincos.
50836         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50837         name is a macro.
50838         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50841         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50842         using __copysign.
50843         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50844         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50845         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50846         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50847         and __inv.
50848         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50849         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50850         __copysign.
50851         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50852         define aliases when function name is a macro.
50853         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50854         sysdeps/ieee754/dbl-64/sincos.tbl.
50855         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50856         fma4-enabled routines.
50857         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50858         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50859         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50860         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50861         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50862         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50863         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50864         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50865         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50866         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50867         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50868         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50869         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50870         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50871         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50872         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50873         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50874         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50875         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50876         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50877         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50878         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50879         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50880         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50881         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50882         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50883         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50884         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50885         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50886         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50888         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50889         rename.
50890         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50891         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50896         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50899 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50901         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50903 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50905         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50907         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50908         prediction.
50909         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50911         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50912         Remove unused variable magic_bits.
50913         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50915         * string/strnlen.c: Define and use STRNLEN macro.
50916         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50917         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50918         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50919         * wcsmbs/wcslen.c: Define and use WCSLEN.
50920         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50921         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50922         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50923         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50924         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50925         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50926         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50928 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50931         strnlen-sse2-no-bsf.
50932         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50934         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50935         Add strnlen support.
50936         (USE_AS_STRNLEN): New macro.
50937         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50938         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50939         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50940         * sysdeps/x86_64/wcslen.S: New file.
50942 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50944         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50945         XMM-moves are used for copying on small sizes.
50947 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50949         * wcsmbs/Makefile (strop-tests): Add wcschr.
50950         * wcsmbs/test-wcschr.c: New file.
50951         * string/test-strchr.c: Update.
50952         Add wcschr support.
50953         (WIDE): New macro.
50955 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50957         * wcsmbs/Makefile (strop-tests): Add wcslen.
50958         * wcsmbs/test-wcslen.c: New file.
50959         * string/test-strlen.c: Update.
50960         Add wcslen support.
50961         (WIDE): New macro.
50963 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50965         * po/it.po: Update from translation team.
50967 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50969         * sysdeps/x86_64/wcscmp.S: Update.
50970         Fix wrong comparison semantics.
50971         wcscmp shall use signed comparison not unsigned.
50972         Don't use substraction to avoid overflow bug.
50973         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50974         * wcsmbc/wcscmp.c: Likewise.
50975         * string/test-strcmp.c: Likewise.
50976         Add new tests to check cases with negative values.
50978 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50980         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50981         * sysdeps/x86_64/dla.h: ...here.  New file.
50982         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50987         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50989         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50990         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50992 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50995         __ynl_finite aliases.
50997 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51001         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51002         define DLA_FMA.
51003         [DLA_FMA] (EMULV): Use DLA_FMA.
51004         [DLA_FMA] (MUL12): Use EMULV.
51005         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51006         that are not needed.
51007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51009         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51010         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51012         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51013         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51015 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51017         * math/s_nan.c: Undef __nan.
51018         * math/s_nanf.c: Undef __nanf.
51019         * math/s_nanl.c: Undef __nanl.
51020         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51021         "math_private.h".
51023 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51025         * math/s_catan.c: Add branch predictions.
51026         * math/s_catanf.c: Likewise.
51027         * math/s_catanh.c: Likewise.
51028         * math/s_catanhf.c: Likewise.
51029         * math/s_catanhl.c: Likewise.
51030         * math/s_catanl.c: Likewise.
51031         * math/s_cexp.c: Likewise.
51032         * math/s_cexpf.c: Likewise.
51033         * math/s_cexpl.c: Likewise.
51034         * math/s_clog.c: Likewise.
51035         * math/s_clog10.c: Likewise.
51036         * math/s_clog10f.c: Likewise.
51037         * math/s_clog10l.c: Likewise.
51038         * math/s_clogf.c: Likewise.
51039         * math/s_clogl.c: Likewise.
51040         * math/s_csqrt.c: Likewise.
51041         * math/s_csqrtf.c: Likewise.
51042         * math/s_csqrtl.c: Likewise.
51043         * math/s_ctanf.c: Likewise.
51044         * math/s_ctanh.c: Likewise.
51045         * math/s_ctanhf.c: Likewise.
51046         * math/s_ctanhl.c: Likewise.
51047         * math/s_ctanl.c: Likewise.
51049         * math/math_private.h: Define __nan, __nanf, __nanl.
51050         * math/s_cacosh.c: Include <math_private.h>.
51051         * math/s_cacoshl.c: Likewise.
51052         * math/s_casinh.c: Likewise.
51053         * math/s_casinhf.c: Likewise.
51054         * math/s_casinhl.c: Likewise.
51055         * math/s_ccos.c: Rely entire on ccosh.
51056         * math/s_ccosf.c: Rely entire on ccoshf.
51057         * math/s_ccosl.c: Rely entirely on ccoshl.
51058         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51059         Remove tests for FE_INVALID.
51060         * math/s_ccoshf.c: Likewise.
51061         * math/s_ccoshl.c: Likewise.
51062         * math/s_csin.c: Likewise.
51063         * math/s_csinf.c: Likewise.
51064         * math/s_csinh.c Likewise.
51065         * math/s_csinhf.c: Likewise.
51066         * math/s_csinhl.c: Likewise.
51067         * math/s_csinl.c: Likewise.
51068         * math/s_ctan.c: Likewise.
51069         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51070         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51071         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51073 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51076         compilation problems.
51078         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51079         __builtin_expect.
51081 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51083         * sysdeps/i386/configure.in: Test for -mfma4 option.
51084         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51085         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51086         COMMON_CPUID_INDEX_80000001.
51087         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51088         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51089         use it if FMA3 is not supported.
51090         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51092         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51093         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51095 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51097         [BZ #12892]
51098         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51099         it would create a cycle with a link time dependency.
51101 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51103         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51104         instruction.
51105         * string/Makefile (strop-tests): Add rawmemchr.
51106         * string/test-rawmemchr.c: New file.
51108         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51109         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51110         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51111         when compiling str{,n}casecmp and when AVX is available.  Hook up
51112         new optimized code in initializers.
51114 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51116         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51117         __feraiseexcept instead of feraiseexcept.
51119 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51121         * math/math_private.h: Define defaults for libc_fetestexcept and
51122         libc_feupdateenv.
51123         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51124         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51125         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51126         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51127         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51128         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51129         libc_fetestexcept and libc_feupdateenv.
51131         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51132         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51133         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51134         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51135         libc_feholdexcept_setround.
51137         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51138         Add s_nearbyint-c and s_nearbyintf-c.
51139         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51140         nearbyintf inlines.
51141         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51142         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51143         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51144         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51146         * math/math_private.h: Define defaults for libc_fegetround,
51147         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51148         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51149         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51150         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51151         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51152         standard functions.
51153         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51154         Remove comments and hacks for old compiler versions.
51155         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51156         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51157         libc_feholdexceptl.
51159 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51161         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51162         (__feraiseexcept_renamed): Add __NTH.
51163         (feraiseexcept): Add __NTH.  Rename local variables to fix
51164         namespace violations.
51166 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51168         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51170         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51172         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51173         recently added interfaces.
51174         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51176         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51177         about macro parameter expansion.
51179         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51180         __NO_MATH_INLINES is defined.  Cleanups.
51182         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51183         and __floorf is target has SSE4.1.
51184         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51185         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51186         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51187         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51189         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51190         name.
51191         (floorf): Likewise.
51193         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51195 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51197         * misc/sys/cdefs.h: Fix last change.
51199         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51200         database lookup.
51202 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51204         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51206         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51207         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51208         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51209         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51211         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51212         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51213         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51214         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51215         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51216         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51217         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51218         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51219         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51220         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51221         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51222         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51223         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51224         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51225         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51226         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51227         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51229         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51230         ceil, ceilf, floor, floorf.
51232         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51233         Perform IRELATIVE relocations last.
51235         * elf/do-rel.h: Add another parameter nrelative, replacing the
51236         local variable with the same name.  Change name of the function
51237         to end in Rel or Rela (uppercase).
51238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51239         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51240         elf_dynamic_do_##reloc function.
51242 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51244         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51245         is sufficient, at least on modern CPUs.
51247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51249         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51250         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51252         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51253         __expl_finite.
51254         * math/bits/math-finite.h: Add entries for exp.
51255         * math/e_expl.c: Add __*_finite alias.
51256         * sysdeps/i386/fpu/e_exp.S: Likewise.
51257         * sysdeps/i386/fpu/e_expf.S: Likewise.
51258         * sysdeps/i386/fpu/e_expl.c: Likewise.
51259         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51260         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51261         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51263         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51264         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51265         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51267         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51268         is sufficient, at least on modern CPUs.
51270         * ctype/ctype-info.c (__ctype_init): Define.
51271         * include/ctype.h (__ctype_init): Declare.
51272         (__ctype_b_loc): The variable is always initialized.
51273         (__ctype_toupper_loc): Likewise.
51274         (__ctype_tolower_loc): Likewise.
51275         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51276         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51278 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51280         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51282         * configure.in: Also look in $cxxmachine/include for C++ system
51283         headers.
51285 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51287         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51288         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51289         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51290         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51291         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51292         (USE_AS_WMEMCMP): New macro.
51293         Fixing indents.
51294         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51295         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51296         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51297         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51299         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51300         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51301         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51302         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51303         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51304         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51305         (USE_AS_WMEMCMP): New macro.
51306         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51307         * sysdeps/string/test-memcmp.c: Update.
51308         Fix simple_wmemcmp.
51309         Add new tests.
51310         * wcsmbs/wmemcmp.c: Update.
51311         (WMEMCMP): New macro.
51312         Fix overflow bug.
51314 2011-10-12  Andreas Jaeger  <aj@suse.de>
51316         [BZ #13268]
51317         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51319 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51321         * libio/iofwide.c (do_length): Avoid warning.
51323         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51325 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51327         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51329         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51330         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51331         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51332         * sysdeps/i386/i686/fpu/e_log.S: New file.
51333         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51334         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51336         * ctype/ctype.h: Add support for inlined isXXX functions when
51337         compiling C++ code.
51339 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51341         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51343         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51345 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51347         [BZ #13291]
51348         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51350 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51352         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51353         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51354         feraiseexcept.
51356         * sysdeps/x86_64/memrchr.S: Check for zero size.
51358         * string/stratcliff.c: Add memrchr tests.
51360 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51362         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51363         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51364         rawmemchr-sse2 rawmemchr-sse2-bsf.
51365         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51366         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51367         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51368         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51369         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51370         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51371         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51372         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51373         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51374         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51375         * string/memrchr.c (MEMRCHR): New macro.
51377 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51379         Add integration with gcc's -ffinite-math-only and optimize wrapper
51380         functions in libm.
51381         * Versions.def: Define GLIBC_2.15 version for libm.
51382         * math/Makefile (headers): Add bits/math-finite.h.
51383         * math/bits/math-finite.h: New file.
51384         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51385         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51386         * math/e_acoshl.c: Add __*_finite alias.
51387         * math/e_acosl.c: Likewise.
51388         * math/e_asinl.c: Likewise.
51389         * math/e_atan2l.c: Likewise.
51390         * math/e_atanhl.c: Likewise.
51391         * math/e_coshl.c: Likewise.
51392         * math/e_exp10.c: Likewise.
51393         * math/e_exp10f.c: Likewise.
51394         * math/e_exp10l.c: Likewise.
51395         * math/e_exp2l.c: Likewise.
51396         * math/e_fmodl.c: Likewise.
51397         * math/e_gammal_r.c: Likewise.
51398         * math/e_hypotl.c: Likewise.
51399         * math/e_j0l.c: Likewise.
51400         * math/e_j1l.c: Likewise.
51401         * math/e_jnl.c: Likewise.
51402         * math/e_lgammal_r.c: Likewise.
51403         * math/e_log10l.c: Likewise.
51404         * math/e_log2l.c: Likewise.
51405         * math/e_logl.c: Likewise.
51406         * math/e_powl.c: Likewise.
51407         * math/e_sinhl.c: Likewise.
51408         * math/e_sqrtl.c: Likewise.
51409         * math/e_scalb.c: Completely rewritten and optimized.
51410         * math/e_scalbf.c: Likewise.
51411         * math/e_scalbl.c: Likewise.
51412         * math/w_acos.c: Likewise.
51413         * math/w_acosf.c: Likewise.
51414         * math/w_acosl.c: Likewise.
51415         * math/w_acosh.c: Likewise.
51416         * math/w_acoshf.c: Likewise.
51417         * math/w_acoshl.c: Likewise.
51418         * math/w_asin.c: Likewise.
51419         * math/w_asinf.c: Likewise.
51420         * math/w_asinl.c: Likewise.
51421         * math/w_atan2.c: Likewise.
51422         * math/w_atan2f.c: Likewise.
51423         * math/w_atan2l.c: Likewise.
51424         * math/w_atanh.c: Likewise.
51425         * math/w_atanhf.c: Likewise.
51426         * math/w_atanhl.c: Likewise.
51427         * math/w_exp10.c: Likewise.
51428         * math/w_exp10f.c: Likewise.
51429         * math/w_exp10l.c: Likewise.
51430         * math/w_fmod.c: Likewise.
51431         * math/w_fmodf.c: Likewise.
51432         * math/w_fmodl.c: Likewise.
51433         * math/w_j0.c: Likewise.
51434         * math/w_j0f.c: Likewise.
51435         * math/w_j0l.c: Likewise.
51436         * math/w_j1.c: Likewise.
51437         * math/w_j1f.c: Likewise.
51438         * math/w_j1l.c: Likewise.
51439         * math/w_jn.c: Likewise.
51440         * math/w_jnf.c: Likewise.
51441         * math/w_log.c: Likewise.
51442         * math/w_logf.c: Likewise.
51443         * math/w_logl.c: Likewise.
51444         * math/w_log10.c: Likewise.
51445         * math/w_log10f.c: Likewise.
51446         * math/w_log10l.c: Likewise.
51447         * math/w_log2.c: Likewise.
51448         * math/w_log2f.c: Likewise.
51449         * math/w_log2l.c: Likewise.
51450         * math/w_pow.c: Likewise.
51451         * math/w_powf.c: Likewise.
51452         * math/w_powl.c: Likewise.
51453         * math/w_remainder.c: Likewise.
51454         * math/w_remainderf.c: Likewise.
51455         * math/w_remainderl.c: Likewise.
51456         * math/w_scalb.c: Likewise.
51457         * math/w_scalbf.c: Likewise.
51458         * math/w_scalbl.c: Likewise.
51459         * math/w_sqrt.c: Likewise.
51460         * math/w_sqrtf.c: Likewise.
51461         * math/w_sqrtl.c: Likewise.
51462         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51463         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51464         used.
51465         * math/math_private.h: Declare __kernel_standard_f.
51466         * math/w_cosh.c: Remove cruft and optimize a bit.
51467         * math/w_coshf.c: Likewise.
51468         * math/w_coshl.c: Likewise.
51469         * math/w_exp2.c: Likewise.
51470         * math/w_exp2f.c: Likewise.
51471         * math/w_exp2l.c: Likewise.
51472         * math/w_hypot.c: Likewise.
51473         * math/w_hypotf.c: Likewise.
51474         * math/w_hypotl.c: Likewise.
51475         * math/w_lgamma.c: Likewise.
51476         * math/w_lgamma_r.c: Likewise.
51477         * math/w_lgammaf.c: Likewise.
51478         * math/w_lgammaf_r.c: Likewise.
51479         * math/w_lgammal.c: Likewise.
51480         * math/w_lgammal_r.c: Likewise.
51481         * math/w_sinh.c: Likewise.
51482         * math/w_sinhf.c: Likewise.
51483         * math/w_sinhl.c: Likewise.
51484         * math/w_tgamma.c: Likewise.
51485         * math/w_tgammaf.c: Likewise.
51486         * math/w_tgammal.c: Likewise.
51487         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51488         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51489         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51490         Minor optimizations.  Pretty printing.  Remove cruft.
51491         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51492         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51493         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51494         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51495         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51496         * sysdeps/i386/fpu/e_asin.S: Likewise.
51497         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51498         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51499         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51500         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51501         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51502         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51503         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51504         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51505         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51506         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51507         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51508         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51509         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51510         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51511         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51512         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51513         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51514         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51515         * sysdeps/i386/fpu/e_log.S: Likewise.
51516         * sysdeps/i386/fpu/e_log10.S: Likewise.
51517         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51518         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51519         * sysdeps/i386/fpu/e_log2.S: Likewise.
51520         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51521         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51522         * sysdeps/i386/fpu/e_logf.S: Likewise.
51523         * sysdeps/i386/fpu/e_logl.S: Likewise.
51524         * sysdeps/i386/fpu/e_pow.S: Likewise.
51525         * sysdeps/i386/fpu/e_powf.S: Likewise.
51526         * sysdeps/i386/fpu/e_powl.S: Likewise.
51527         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51528         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51529         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51530         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51531         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51532         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51533         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51534         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51535         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51536         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51539         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51540         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51541         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51542         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51543         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51544         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51545         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51546         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51550         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51552         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51553         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51554         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51556         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51557         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51558         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51559         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51560         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51561         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51562         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51563         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51564         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51565         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51566         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51567         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51568         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51569         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51570         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51571         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51572         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51573         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51574         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51575         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51576         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51577         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51578         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51579         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51580         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51582         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51583         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51584         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51585         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51586         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51587         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51588         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51589         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51591         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51592         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51593         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51594         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51595         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51596         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51597         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51598         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51599         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51600         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51601         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51602         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51603         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51604         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51605         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51606         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51607         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51608         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51609         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51610         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51613         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51614         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51615         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51616         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51617         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51618         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51619         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51620         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51621         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51622         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51623         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51624         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51625         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51626         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51627         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51628         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51629         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51630         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51631         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51632         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51633         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51634         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51635         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51636         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51637         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51638         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51639         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51640         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51641         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51642         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51643         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51644         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51645         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51646         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51647         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51648         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51649         (__isnanf): Likewise.
51650         (__isinf_ns): Likewise.
51651         (__isinf_nsf): Likewise.
51652         (__finite): Likewise.
51653         (__finitef): Likewise.
51654         (__ieee754_sqrt): Define as macro.
51655         (__ieee754_sqrtf): Define as macro.
51656         (__ieee754_sqrtl): Define as macro.
51657         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51658         inlined copy.
51659         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51660         __FINITE_MATH_ONLY__ consistent.
51661         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51663 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51665         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51666         of rawmemchr.
51668         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51670 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51672         * po/ja.po: Update from translation team.
51674 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51676         * locale/programs/locarchive.c (prepare_address_space): New function.
51677         (create_archive, enlarge_archive, open_archive): Use it.
51679         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51680         inside [SHARED], where it is used.
51682         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51684         * nss/getent.c (netgroup_keys): Remove unused variable.
51685         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51687 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51689         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51690         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51691         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51692         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51693         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51694         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51695         * math/Makefile (libm-calls): Add s_isinf_ns.
51696         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51697         * math/multc3.c: Likewise.
51698         * math/s_casin.c: Likewise.
51699         * math/s_casinf.c: Likewise.
51700         * math/s_casinl.c: Likewise.
51701         * math/s_ccos.c: Likewise.
51702         * math/s_ccosf.c: Likewise.
51703         * math/s_ccosl.c: Likewise.
51704         * math/s_ctan.c: Likewise.
51705         * math/s_ctanf.c: Likewise.
51706         * math/s_ctanh.c: Likewise.
51707         * math/s_ctanhf.c: Likewise.
51708         * math/s_ctanhl.c: Likewise.
51709         * math/s_ctanl.c: Likewise.
51710         * math/w_fmod.c: Likewise.
51711         * math/w_fmodf.c: Likewise.
51712         * math/w_fmodl.c: Likewise.
51713         * math/w_remainder.c: Likewise.
51714         * math/w_remainderf.c: Likewise.
51715         * math/w_remainderl.c: Likewise.
51716         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51717         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51718         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51720         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51721         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51722         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51723         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51725         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51726         of the number.
51727         * stdio-common/printf_fphex.c: Likewise.
51728         * stdio-common/printf_size.c: Likewise.
51730         * math/e_exp10.c: Include math_private.h using <...> not "...".
51731         * math/e_exp10f.c: Likewise.
51732         * math/e_exp10l.c: Likewise.
51733         * math/e_exp2l.c: Likewise.
51734         * math/e_j0l.c: Likewise.
51735         * math/e_j1l.c: Likewise.
51736         * math/e_jnl.c: Likewise.
51737         * math/e_lgammal_r.c: Likewise.
51738         * math/e_rem_pio2l.c: Likewise.
51739         * math/e_scalb.c: Likewise.
51740         * math/e_scalbf.c: Likewise.
51741         * math/e_scalbl.c: Likewise.
51742         * math/k_cosl.c: Likewise.
51743         * math/k_sinl.c: Likewise.
51744         * math/k_tanl.c: Likewise.
51745         * math/s_cacoshf.c: Likewise.
51746         * math/s_catan.c: Likewise.
51747         * math/s_catanf.c: Likewise.
51748         * math/s_catanh.c: Likewise.
51749         * math/s_catanhf.c: Likewise.
51750         * math/s_catanhl.c: Likewise.
51751         * math/s_catanl.c: Likewise.
51752         * math/s_ccosh.c: Likewise.
51753         * math/s_ccoshf.c: Likewise.
51754         * math/s_ccoshl.c: Likewise.
51755         * math/s_cexp.c: Likewise.
51756         * math/s_cexpf.c: Likewise.
51757         * math/s_cexpl.c: Likewise.
51758         * math/s_clog.c: Likewise.
51759         * math/s_clog10.c: Likewise.
51760         * math/s_clog10f.c: Likewise.
51761         * math/s_clog10l.c: Likewise.
51762         * math/s_clogf.c: Likewise.
51763         * math/s_clogl.c: Likewise.
51764         * math/s_csin.c: Likewise.
51765         * math/s_csinf.c: Likewise.
51766         * math/s_csinh.c: Likewise.
51767         * math/s_csinhf.c: Likewise.
51768         * math/s_csinhl.c: Likewise.
51769         * math/s_csinl.c: Likewise.
51770         * math/s_csqrt.c: Likewise.
51771         * math/s_csqrtf.c: Likewise.
51772         * math/s_csqrtl.c: Likewise.
51773         * math/s_ctan.c: Likewise.
51774         * math/s_ctanf.c: Likewise.
51775         * math/s_ctanh.c: Likewise.
51776         * math/s_ctanhf.c: Likewise.
51777         * math/s_ctanhl.c: Likewise.
51778         * math/s_ctanl.c: Likewise.
51779         * math/s_ldexp.c: Likewise.
51780         * math/s_ldexpf.c: Likewise.
51781         * math/s_ldexpl.c: Likewise.
51782         * math/s_significand.c: Likewise.
51783         * math/s_significandf.c: Likewise.
51784         * math/s_significandl.c: Likewise.
51785         * math/w_acos.c: Likewise.
51786         * math/w_acosf.c: Likewise.
51787         * math/w_acosh.c: Likewise.
51788         * math/w_acoshf.c: Likewise.
51789         * math/w_acoshl.c: Likewise.
51790         * math/w_acosl.c: Likewise.
51791         * math/w_asin.c: Likewise.
51792         * math/w_asinf.c: Likewise.
51793         * math/w_asinl.c: Likewise.
51794         * math/w_atan2.c: Likewise.
51795         * math/w_atan2f.c: Likewise.
51796         * math/w_atan2l.c: Likewise.
51797         * math/w_atanh.c: Likewise.
51798         * math/w_atanhf.c: Likewise.
51799         * math/w_atanhl.c: Likewise.
51800         * math/w_cosh.c: Likewise.
51801         * math/w_coshf.c: Likewise.
51802         * math/w_coshl.c: Likewise.
51803         * math/w_dremf.c: Likewise.
51804         * math/w_exp10.c: Likewise.
51805         * math/w_exp10f.c: Likewise.
51806         * math/w_exp10l.c: Likewise.
51807         * math/w_exp2.c: Likewise.
51808         * math/w_exp2f.c: Likewise.
51809         * math/w_fmod.c: Likewise.
51810         * math/w_fmodf.c: Likewise.
51811         * math/w_fmodl.c: Likewise.
51812         * math/w_hypot.c: Likewise.
51813         * math/w_hypotf.c: Likewise.
51814         * math/w_hypotl.c: Likewise.
51815         * math/w_j0.c: Likewise.
51816         * math/w_j0f.c: Likewise.
51817         * math/w_j0l.c: Likewise.
51818         * math/w_j1.c: Likewise.
51819         * math/w_j1f.c: Likewise.
51820         * math/w_j1l.c: Likewise.
51821         * math/w_jn.c: Likewise.
51822         * math/w_jnf.c: Likewise.
51823         * math/w_jnl.c: Likewise.
51824         * math/w_lgamma.c: Likewise.
51825         * math/w_lgamma_r.c: Likewise.
51826         * math/w_lgammaf.c: Likewise.
51827         * math/w_lgammaf_r.c: Likewise.
51828         * math/w_lgammal.c: Likewise.
51829         * math/w_lgammal_r.c: Likewise.
51830         * math/w_log.c: Likewise.
51831         * math/w_log10.c: Likewise.
51832         * math/w_log10f.c: Likewise.
51833         * math/w_log10l.c: Likewise.
51834         * math/w_log2.c: Likewise.
51835         * math/w_log2f.c: Likewise.
51836         * math/w_log2l.c: Likewise.
51837         * math/w_logf.c: Likewise.
51838         * math/w_logl.c: Likewise.
51839         * math/w_pow.c: Likewise.
51840         * math/w_powf.c: Likewise.
51841         * math/w_powl.c: Likewise.
51842         * math/w_remainder.c: Likewise.
51843         * math/w_remainderf.c: Likewise.
51844         * math/w_remainderl.c: Likewise.
51845         * math/w_scalb.c: Likewise.
51846         * math/w_scalbf.c: Likewise.
51847         * math/w_scalbl.c: Likewise.
51848         * math/w_sinh.c: Likewise.
51849         * math/w_sinhf.c: Likewise.
51850         * math/w_sinhl.c: Likewise.
51851         * math/w_sqrt.c: Likewise.
51852         * math/w_sqrtf.c: Likewise.
51853         * math/w_sqrtl.c: Likewise.
51854         * math/w_tgamma.c: Likewise.
51855         * math/w_tgammaf.c: Likewise.
51856         * math/w_tgammal.c: Likewise.
51858         * po/ja.po: Update from translation team.
51860 2011-09-29  Andreas Jaeger  <aj@suse.de>
51862         [BZ #13179]
51863         * sunrpc/netname.c (netname2host): Fix logic.
51865         [BZ #6779]
51866         [BZ #6783]
51867         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51868         correctly.
51869         * math/w_remainder.c (__remainder): Likewise.
51870         * math/w_remainderf.c (__remainderf): Likewise.
51871         * math/libm-test.inc (remainder_test): Add test cases.
51873 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51875         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51876         sdiv_qrnnd.
51878 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51880         * string/test-memcmp.c: Avoid unncessary #defines.
51881         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51883 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51885         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51886         Use new sse2 version for core i3 - i7 as it's faster
51887         than sse42 version.
51888         (bit_Prefer_PMINUB_for_stringop): New.
51889         * sysdeps/x86_64/rawmemchr.S: Update.
51890         Replace with faster SSE2 version.
51891         * sysdeps/x86_64/memrchr.S: New file.
51892         * sysdeps/x86_64/memchr.S: Update.
51893         Replace with faster SSE2 version.
51895 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51897         * elf/dl-load.c (lose): Add cast to avoid warning.
51899 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51901         * po/ca.po: Update from translation team.
51903         * inet/getnetgrent_r.c: Hook up nscd.
51904         * nscd/Makefile (routines): Add nscd_netgroup.
51905         (nscd-modules): Add netgroupcache.
51906         (CFLAGS-netgroupcache.c): Define.
51907         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51908         (cache_search): Add const to second parameter.
51909         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51910         INNETGR.
51911         (dbs): Add netgrdb entry.
51912         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51913         (verify_persistent_db): Handle netgrdb.
51914         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51915         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51916         GETFDNETGR.
51917         (netgroup_response_header): Define.
51918         (innetgroup_response_header): Define.
51919         (datahead): Add netgroup_response_header and innetgroup_response_header
51920         elements.
51921         * nscd/nscd.conf: Add entries for netgroup cache.
51922         * nscd/nscd.h (dbtype): Add netgrdb.
51923         (_PATH_NSCD_NETGROUP_DB): Define.
51924         (netgroup_iov_disabled): Declare.
51925         (xmalloc, xcalloc, xrealloc): Move declarations here.
51926         (cache_search): Adjust prototype.
51927         Add netgroup-related prototypes.
51928         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51929         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51930         (__nscd_innetgr): Declare.
51931         * nscd/selinux.c (perms): Use access_vector_t as element type and
51932         add netgroup-related initializers.
51933         * nscd/netgroupcache.c: New file.
51934         * nscd/nscd_netgroup.c: New file.
51935         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51936         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51937         For four parameters use innetgr.
51938         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51939         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51940         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51941         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51943         * nscd/connections.c (register_traced_file): Don't register file
51944         for disabled databases.
51946 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51948         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51950         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51951         from tree and freeing node.
51953 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51955         * nss/nsswitch.c (__nss_database_lookup): Handle
51956         nss_parse_service_list out of memory case.
51958 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51960         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51961         out of memory case.
51963 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51965         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51966         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51967         pass it down.
51968         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51969         elf_machine_rela, elf_machine_lazy_rel.
51970         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51971         (ELF_DYNAMIC_DO_REL): Likewise.
51972         (ELF_DYNAMIC_DO_RELA): Likewise.
51973         (ELF_DYNAMIC_RELOCATE): Likewise.
51974         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51975         to ELF_DYNAMIC_DO_REL.
51976         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51977         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51978         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51979         elf_machine_rela.
51980         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51981         skip_ifunc, don't call ifunc function if non-zero.
51982         (elf_machine_rela): Likewise.
51983         (elf_machine_lazy_rel): Likewise.
51984         (elf_machine_lazy_rela): Likewise.
51985         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51986         (elf_machine_lazy_rel): Likewise.
51987         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51988         Likewise.
51989         (elf_machine_lazy_rel): Likewise.
51990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51991         Likewise.
51992         (elf_machine_lazy_rel): Likewise.
51993         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51994         (elf_machine_lazy_rel): Likewise.
51995         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51996         (elf_machine_lazy_rel): Likewise.
51997         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51998         (elf_machine_lazy_rel): Likewise.
51999         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52000         (elf_machine_lazy_rel): Likewise.
52001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52002         (elf_machine_lazy_rel): Likewise.
52003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52004         (elf_machine_lazy_rel): Likewise.
52006 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52008         * nss/nss_files/files-init.c (_nss_files_init): Use static
52009         initialization for all the *_traced_file variables.
52011 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52013         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52015 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52017         [BZ #13226]
52018         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52020 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52022         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52023         Reread the line before reparsing it.
52025 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52027         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52029 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52030             Maxim Kuvyrkov  <maxim@codesourcery.com>
52031             Joseph Myers  <joseph@codesourcery.com>
52033         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52034         if needed for __stack_chk_guard.
52036 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52038         * sysdeps/posix/spawni.c (script_execute): Always define it.
52039         It will be optimized away if unused.
52040         (maybe_script_execute): New function.
52041         (__spawni): Call it.
52043         * Makerules: Don't include tls.make.
52044         (config-tls): Always set to thread.
52045         * tls.make.c: File removed.
52047 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52049         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52050         * config.make.in (CPPFLAGS-config): New substituted variable.
52052 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52054         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52056         [BZ #13192]
52057         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52058         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52060 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52062         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52063         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52064         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52065         (CALL_FAIL): Likewise.
52066         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52067         (CALL_FAIL): Macro removed.
52068         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52070 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52072         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52073         for __FINITE_MATH_ONLY__ == 1.
52075 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52077         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52078         __ieee754_sqrt instead of sqrt.
52079         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52080         __ieee754_sqrtf instead of sqrtf.
52081         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52082         __floorf instead of floorf.
52083         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52084         __floorf, __truncf instead of floorf, truncf.
52086 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52088         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52090         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52091         __extern_always_inline.
52092         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52093         32-bit.
52095 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52097         * elf/rtld.c (dl_main): Also relocate in dependency order when
52098         doing symbol dependency testing.
52100 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52102         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52103         Always define `refsym'.
52105 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52107         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52108         (__FD_ELT): Renamed from __FDELT.
52109         * misc/bits/select2.h (__FD_ELT): Likewise.
52110         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52111         __FD_MASK instead of __FDELT, __FDMASK.
52112         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52113         Likewise.
52114         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52115         Likewise.
52117         * elf/Makefile (gen-ldd): Fix pattern.
52119         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52120         (init_tls): Likewise.
52122 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52124         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52126 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52128         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52129         `struct cmsghdr *' instead of `void *'.
52130         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52131         Likewise.
52133 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52135         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52136         if non-absolute.
52137         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52138         ldd_rewrite_script.
52140 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52142         * configure.in: Remove --with-tls option.
52143         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52144         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52145         out in case it is missing.
52146         * sysdeps/ia64/elf/configure.in: Likewise.
52147         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52148         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52149         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52150         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52151         * sysdeps/sh/elf/configure.in: Likewise.
52152         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52153         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52154         * sysdeps/x86_64/elf/configure.in: Likewise.
52155         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52156         * sysdeps/mach/hurd/tls.h: Likewise.
52158         [BZ #13067]
52159         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52161         [BZ #13090]
52162         * configure.in: Fix use of AC_INIT.
52164         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52166 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52168         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52169         __set_errno.
52170         * malloc/hooks.c: Likewise.
52172         [BZ #11929]
52173         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52174         variables statically.
52175         (narenas): Initialize.
52176         (list_lock): Initialize.
52177         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52178         initializtion of main_arena and list_lock.  Small cleanups.
52179         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52180         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52181         Add initializers to main_arena and mp_.
52182         (malloc_state): Remove pagesize member.  Change all users to use
52183         GLRO(dl_pagesize).
52185         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52186         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52187         is always initialized.
52189         * malloc/malloc.c: Removed unused configurations and dead code.
52190         * malloc/arena.c: Likewise.
52191         * malloc/hooks.c: Likewise.
52192         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52194         * include/tls.h: Removed.  USE___THREAD must always be defined.
52195         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52196         * elf/dl-libc.c: Likewise.
52197         * elf/dl-tsd.c: Likewise.
52198         * include/errno.h: Likewise.
52199         * include/netdb.h: Likewise.
52200         * include/resolv.h: Likewise.
52201         * inet/herrno-loc.c: Likewise.
52202         * inet/herrno.c: Likewise.
52203         * malloc/arena.c: Likewise.
52204         * malloc/hooks.c: Likewise.
52205         * malloc/malloc.c: Likewise.
52206         * resolv/res-state.c: Likewise.
52207         * resolv/res_libc.c: Likewise.
52208         * sysdeps/i386/dl-machine.h: Likewise.
52209         * sysdeps/ia64/dl-machine.h: Likewise.
52210         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52211         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52212         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52213         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52214         * sysdeps/sh/dl-machine.h: Likewise.
52215         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52216         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52217         * sysdeps/unix/i386/sysdep.S: Likewise.
52218         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52219         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52221         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52223         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52224         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52226         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52228         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52229         * sysdeps/x86_64/dl-machine.h: Likewise.
52230         * tls.make.c: Likewise.
52232         * configure.in: Remove --with-__thread option.  Make tests for
52233         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52234         tls_model attribute fail if no support is available.  Remove
52235         USE_IN_LIBIO.
52236         * Makeconfig: Adjust for dropped configure option.  All features are
52237         now mandatory.
52238         * Makerules: Likewise.
52239         * Versions.def: Likewise.
52240         * argp/argp-fmtstream.c: Likewise.
52241         * argp/argp-fmtstream.h: Likewise.
52242         * argp/argp-help.c: Likewise.
52243         * assert/assert.c: Likewise.
52244         * config.h.in: Likewise.
52245         * config.make.in: Likewise.
52246         * configure: Likewise.
52247         * configure.in: Likewise.
52248         * csu/Versions: Likewise.
52249         * csu/init.c: Likewise.
52250         * elf/tst-audit2.c: Likewise.
52251         * elf/tst-tls10.c: Likewise.
52252         * elf/tst-tls10.h: Likewise.
52253         * elf/tst-tls11.c: Likewise.
52254         * elf/tst-tls12.c: Likewise.
52255         * elf/tst-tls14.c: Likewise.
52256         * elf/tst-tlsmod11.c: Likewise.
52257         * elf/tst-tlsmod12.c: Likewise.
52258         * elf/tst-tlsmod13.c: Likewise.
52259         * elf/tst-tlsmod13a.c: Likewise.
52260         * elf/tst-tlsmod14a.c: Likewise.
52261         * elf/tst-tlsmod15b.c: Likewise.
52262         * elf/tst-tlsmod16a.c: Likewise.
52263         * elf/tst-tlsmod16b.c: Likewise.
52264         * elf/tst-tlsmod7.c: Likewise.
52265         * elf/tst-tlsmod8.c: Likewise.
52266         * elf/tst-tlsmod9.c: Likewise.
52267         * gmon/gmon.c: Likewise.
52268         * grp/fgetgrent_r.c: Likewise.
52269         * grp/putgrent.c: Likewise.
52270         * hurd/fopenport.c: Likewise.
52271         * include/libc-symbols.h: Likewise.
52272         * include/tls.h: Likewise.
52273         * intl/gettextP.h: Likewise.
52274         * intl/loadinfo.h: Likewise.
52275         * locale/global-locale.c: Likewise.
52276         * locale/localeinfo.h: Likewise.
52277         * mach/devstream.c: Likewise.
52278         * malloc/arena.c: Likewise.
52279         * malloc/set-freeres.c: Likewise.
52280         * misc/err.c: Likewise.
52281         * misc/getttyent.c: Likewise.
52282         * misc/mntent_r.c: Likewise.
52283         * posix/getopt.c: Likewise.
52284         * posix/wordexp.c: Likewise.
52285         * pwd/fgetpwent_r.c: Likewise.
52286         * resolv/Versions: Likewise.
52287         * resolv/res_hconf.c: Likewise.
52288         * shadow/fgetspent_r.c: Likewise.
52289         * shadow/putspent.c: Likewise.
52290         * stdio-common/printf_fphex.c: Likewise.
52291         * stdio-common/tmpfile.c: Likewise.
52292         * stdlib/abort.c: Likewise.
52293         * stdlib/fmtmsg.c: Likewise.
52294         * sunrpc/auth_unix.c: Likewise.
52295         * sunrpc/clnt_perr.c: Likewise.
52296         * sunrpc/clnt_tcp.c: Likewise.
52297         * sunrpc/clnt_udp.c: Likewise.
52298         * sunrpc/clnt_unix.c: Likewise.
52299         * sunrpc/openchild.c: Likewise.
52300         * sunrpc/svc_simple.c: Likewise.
52301         * sunrpc/svc_tcp.c: Likewise.
52302         * sunrpc/svc_udp.c: Likewise.
52303         * sunrpc/svc_unix.c: Likewise.
52304         * sunrpc/xdr.c: Likewise.
52305         * sunrpc/xdr_array.c: Likewise.
52306         * sunrpc/xdr_rec.c: Likewise.
52307         * sunrpc/xdr_ref.c: Likewise.
52308         * sunrpc/xdr_stdio.c: Likewise.
52310 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52312         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52314 2011-07-03  Andreas Jaeger  <aj@suse.de>
52316         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52317         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52318         regenerate with gen-libm-tests.pl.
52320 2010-05-12  Petr Baudis  <pasky@suse.cz>
52322         [BZ #11589]
52323         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52324         around j0() zero points by switching to j1().
52325         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52328         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52330 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52332         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52333         instead of 0.
52334         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52335         instead of 0.
52336         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52337         Patch in part by Pavel Roskin <proski@gnu.org>.
52339         [BZ #13138]
52340         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52341         realloc.
52342         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52343         Free memory block if necessary.
52345         [BZ #12847]
52346         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52347         be NULL.  Don't lock in this case.
52349 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52351         * elf/elf.h (ELFOSABI_GNU): New macro.
52352         (ELFOSABI_LINUX): Define to that.
52354 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52356         * string/strncat.c (strncat): Undef the symbol in case it has been
52357         defined in bits/string.h.
52359 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52361         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52363         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52364         link map.
52366 2011-08-17  Andreas Jaeger  <aj@suse.de>
52368         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52370 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52371             Ian Lance Taylor  <iant@google.com>
52373         * math/libm-test.inc (lround_test): New testcase.
52374         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52376 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52378         * Makefile: Remove support for automatic cvs check-ins.
52379         * Makerules: Likewise.
52380         * config.make.in: Likewise.
52381         * configure.in: Likewise.
52382         * intl/Makefile: Likewise.
52383         * locale/Makefile: Likewise.
52384         * po/Makefile: Likewise.
52385         * posix/Makefile: Likewise.
52386         * sysdeps/gnu/Makefile: Likewise.
52387         * sysdeps/mach/hurd/Makefile: Likewise.
52388         * sysdeps/sparc/sparc32/Makefile: Likewise.
52390         [BZ #13118]
52391         * posix/Makefile (bug-regex32-ENV): Define.
52392         Patch by John Stanley <jpsinthemix@verizon.net>.
52394         * misc/Makefile (headers): Add bits/select2.h.
52395         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52396         * misc/bits/select2.h: New file.
52397         * include/bits/select2.h: New file.
52398         * debug/Makefile (routines): Add fdelt_chk.
52399         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52400         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52401         FD_ISSET.
52402         * debug/fdelt_chk.c: New file.
52404         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52405         * wcsmbs/test-wmemcmp.c: Likewise.
52406         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52407         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52409 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52411         * string/Makefile (strop-tests): Add memcmp.
52412         * string/test-wmemcmp.c: New file.
52413         * string/test-memcmp.c: Add wmemcmp support.
52415 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52417         [BZ #13153]
52418         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52419         2011-07-19 change.
52421         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52422         garbage value in a __mach_port_mod_refs call in the cases of the
52423         task-self and thread-self ports.
52425 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52427         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52429 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52431         * elf/dl-load.c (lose): Check for non-null L.
52433 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52435         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52437         * elf/dl-libc.c (dlerror_run): Pass back error code from
52438         dl_catch_error.
52440         [BZ #13123]
52441         * elf/dl-load.c (lose): Free l_origin if it is valid.
52443         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52444         names.
52445         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52446         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52447         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52448         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52449         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52450         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52452 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52454         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52455         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52456         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52457         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52458         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52459         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52460         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52461         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52462         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52463         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52465 2011-08-15  Alan Modra  <amodra@gmail.com>
52467         [BZ #13092]
52468         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52469         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52470         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52471         ppc_mcount to static-only-routines.
52472         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52473         __mcount_internal.
52474         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52475         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52477 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52479         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52480         for finite and infinity parameters.
52482 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52484         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52485         and add nop instructions for throughput optimization.
52486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52488 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52490         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52491         aligned copy for power7 with vector-scalar instructions.
52492         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52494 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52496         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52497         AVX check.
52499 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52501         [BZ #13144]
52502         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52503         last change.
52505 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52507         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52508         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52509         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52510         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52511         clock_gettime.
52513 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52515         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52516         Forgot to demangle the pointer.
52518         * sysdeps/i386/sysdep.h: Define atom_text_section.
52519         * sysdeps/x86_64/sysdep.h: Likewise.
52520         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52521         section with atom_text_section.
52522         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52523         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52524         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52525         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52526         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52528         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52529         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52530         already be defined.  Change to take two parameters and don't assign
52531         result to variable.  Adjust all users.
52532         Define INTERNAL_GETTIME if not already defined.
52533         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52534         call.
52535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52536         HAVE_CLOCK_GETTIME_VSYSCALL.
52537         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52539         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52540         gettimeofday vsyscall, just use time.
52542 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52544         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52545         <errno.h>.
52547 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52549         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52550         syscall on x86-64.
52551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52552         syscall.
52553         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52554         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52555         syscall if possible.
52557 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52559         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52560         e_ident.  Don't pass to find_mapsXX.
52561         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52563 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52566         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52567         * sysdeps/x86_64/multiarch/strchr.S: Update.
52568         Check bit_slow_BSF bit.
52569         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52570         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52571         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52573 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52575         [BZ #13134]
52576         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52577         before glibc 2.15.
52578         (tryshell): Define.
52579         (__spawni): Change last parameter to be flag.  Test
52580         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52581         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52582         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52583         * posix/spawni.c: Likewise.
52584         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52585         * posix/spawnp.c: Likewise.  Change normal version to use
52586         SPAWN_XFLAGS_USE_PATH.
52587         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52588         SPAWN_XFLAGS_TRY_SHELL.
52590         [BZ #13150]
52591         * posix/glob.h: Remove gcc 1.x support.
52593         [BZ #13068]
52594         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52596 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52599         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52600         strrchr-sse2-bsf
52601         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52602         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52603         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52604         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52605         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52608 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52610         * sysdeps/x86_64/wcscmp.S: New file.
52612         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52613         wcscmp-c wcscmp-sse2
52614         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52615         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52616         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52617         * wcsmbs/wcscmp.c: Allow renaming.
52619 2011-09-05  David S. Miller  <davem@davemloft.net>
52621         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52622         stack slot, rather than the struct return pointer slot.
52623         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52624         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52626         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52628 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52630         * po/ja.po: Update from translation team.
52632         [BZ #13144]
52633         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52634         kernel in 64-bit binaries.
52636 2011-09-01  David S. Miller  <davem@davemloft.net>
52638         * elf/elf.h (HWCAP_SPARC_*): Move to..
52639         * sysdeps/sparc/sysdep.h: this new file and add new values.
52640         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52641         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52642         _DL_HWCAP_COUNT to 24.
52643         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52644         entries.
52645         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52646         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52647         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52649         instead of magic constants.
52650         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52652 2011-08-31  David S. Miller  <davem@davemloft.net>
52654         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52656         Reimplement to do errno handling inline.
52657         (SYSCALL_ERROR_HANDLER): New macro.
52658         (__SYSCALL_STRING): Do not do errno handling in asm.
52659         (__CLONE_SYSCALL_STRING): Delete.
52660         (__INTERNAL_SYSCALL_STRING): Delete.
52661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52662         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52663         (PSEUDO): Reimplement to do errno handling inline.
52664         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52665         (SYSCALL_ERROR_HANDLER): New macro.
52666         (__SYSCALL_STRING): Do not do errno handling in asm.
52667         (__CLONE_SYSCALL_STRING): Delete.
52668         (__INTERNAL_SYSCALL_STRING): Delete.
52669         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52670         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52671         i386.
52672         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52673         (inline_syscall*): Add 'err' argument.
52674         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52675         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52676         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52677         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52679         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52680         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52682 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52684         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52686 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52688         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52689         directive.
52691 2011-08-24  David S. Miller  <davem@davemloft.net>
52693         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52695 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52697         * elf/Makefile: Add rules to build and run unload8 test.
52698         * elf/unload8.c: New file.
52699         * elf/unload8mod1.c: New file.
52700         * elf/unload8mod1x.c: New file.
52701         * elf/unload8mod2.c: New file.
52702         * elf/unload8mod3.c: New file.
52704         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52705         it wasn't used.
52707 2011-08-23  David S. Miller  <davem@davemloft.net>
52709         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52710         subtract stack bias.
52711         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52712         %sp not %fp in calculations.
52713         (_JMPBUF_UNWINDS_ADJ): Likewise.
52715         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52716         (aio_suspend): Call it to force an exception region around the
52717         AIO_MISC_WAIT() invocation.
52719 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52721         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52722         backslash.
52724 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52726         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52727         protection macro.
52728         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52729         and <dl-machine.h>.
52730         (Elf64_FuncDesc): Remove.
52732 2011-08-22  David S. Miller  <davem@davemloft.net>
52734         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52735         sigaltstack check, add missing cfi directives.
52736         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52737         missing cfi directives, and sigaltstack handling.
52739 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52741         [BZ #11724]
52742         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52743         object is seen twice.
52744         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52746         * elf/Makefile (distribute): Add tst-initorder2.c.
52747         (tests): Add tst-initorder2.
52748         (modules-names): Add tst-initorder2a tst-initorder2b
52749         tst-initorder2c tst-initorder2d.  Add rules to build them.
52750         ($(objpfx)tst-initorder2.out): New rule.
52751         * elf/tst-initorder2.c: New file.
52752         * elf/tst-initorder2.exp: New file.
52754 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52756         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52758         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52759         dependencies back to end of function.
52761         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52762         $(elfobjdir)/ld.so.
52764 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52767         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52768         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52769         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52770         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52771         of __vdso_gettimeofday.
52772         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52773         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52774         attribute_hidden.
52775         (_libc_vdso_platform_setup): Remove initialization of
52776         __vdso_gettimeofday and __vdso_time.
52778 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52780         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52781         and fgetc_unlocked.
52782         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52783         getc_unlocked.
52785         * elf/dl-open.c (add_to_global): Report additions to the global scope
52786         for LD_DEBUG=scopes.
52787         (dl_open_worker): Also print scope of newly loaded dependencies.
52788         (_dl_show_scope): Indicate if there is no scope.
52790         [BZ #13114]
52791         * stdio-common/Makefile (tests): Add bug24.
52792         * stdio-common/bug24.c: New file.
52794 2011-08-19  Andreas Jaeger  <aj@suse.de>
52796         [BZ #13114]
52797         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52798         non-existant file when using close-on-exec mode.
52800 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52803         the very first instruction.
52805         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52806         the CFI state in the end.
52807         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52808         inclusion of dl-trampoline.h.
52809         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52811 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52813         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52814         expectations for long double.
52816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52817         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52819 2011-08-14  David S. Miller  <davem@davemloft.net>
52821         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52822         artificual limit depends upon the system page size.
52824 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52826         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52827         * resolv/Makefile: Define CFLAGS-libresolv.
52829 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52831         * nss/makedb.c (compute_tables): Make variables used in nested
52832         function static.
52834 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52836         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52837         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52838         if buffer was too small.
52840         * elf/pldd.c (main): Attach to all threads in the process.
52841         Rewrite /proc handling to use *at functions.
52843 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52845         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52846         specifies first scope to show.
52847         (dl_open_worker): Update callers.  Move printing scope of new
52848         object to before the relocation.
52849         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52850         * sysdeps/generic/ldsodefs.h: Update declaration.
52852         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52853         string for the scope number.
52855 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52857         * nscd/servicescache.c (cache_addserv): Make sure written is always
52858         initialized.
52860 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52862         * sysdeps/i386/i486/bits/atomic.h
52863         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52864         statement expression, so as to suppress "set but not used" warning.
52865         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52867         * string/strncat.c (STRNCAT): Use prototype definition.
52869         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52870         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52871         -Iprograms here.
52872         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52873         (localedef-modules): Add localedef.
52874         (locale-modules): Add locale.
52876         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52877         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52878         to avoid a warning.
52880 2011-08-14  David S. Miller  <davem@davemloft.net>
52882         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52883         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52885 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52887         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52888         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52889         * elf/rtld.c (dl_main): Set l_name of vDSO.
52890         Call _dl_show_scope when DL_DEBUG_SCOPES.
52891         (process_dl_debug): Recognize scopes flag and also set it for all.
52892         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52893         Declare _dl_show_scope.
52895         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52896         (do_dlopen): Pass caller_dlopen to dl_open.
52897         (__libc_dlopen_mode): Initialize caller_dlopen.
52899         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52900         of libc.  Make tolower call locale-independent.  Optimize a bit by
52901         using isdigit instead of isalnum.
52902         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52904 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52906         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52907         was a dependency or dynamically loaded.
52909 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52911         * intl/l10nflist.c: Allow architecture-specific pop function.
52912         * sysdeps/x86_64/l10nflist.c: New file.
52914         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52915         classification.
52917 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52919         * include/dirent.h: Add libc_hidden_proto for scandirat and
52920         scandirat64.  Don't declare __scandirat64.
52921         * dirent/scandirat.c: Add libc_hidden_def.
52922         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52923         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52925 2011-08-10  David S. Miller  <davem@davemloft.net>
52927         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52928         enum.
52929         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52930         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52931         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52933 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52935         * Versions.def [libc]: Add GLIBC_2.15.
52936         * dirent/Makefile (routines): Add scandirat and scandirat64.
52937         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52938         GLIBC_2.15.
52939         * dirent/dirent.h: Declare scandirat and scandirat64.
52940         * dirent/scandirat.c: New file.
52941         * dirent/scandirat64.c: New file.
52942         * sysdeps/wordsize-64/scandirat.c: New file.
52943         * sysdeps/wordsize-64/scandirat64.c: New file.
52944         * dirent/opendir.c: Define opendirat.
52945         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52946         using scandirat.
52947         * dirent/scandir64.c: Adjust for scandir.c change.
52948         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52949         __scandirat64, and __scandir_cancel_handler.
52950         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52951         additional parameter and use openat instead of open (outside of ld.so).
52952         Add new __opendir as wrapper around __opendirat.
52953         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52954         here without requiring old scandirat implementation.
52956 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52958         * dirent/scandir.c (cancel_handler): Renamed to
52959         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52960         defined.  Adjust users.
52961         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52962         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52964 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52966         * string/test-string.h (IMPL): Use __STRING to expand name and then
52967         stringify it.
52969         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52970         of cleanups.
52972 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52974         * string/Makefile: Update.
52975         (strop-tests): Append strncat.
52976         * string/test-wcscmp.c: New file.
52977         New comprehensive test for wcscmp.
52978         * string/test-strcmp.c: Update.
52979         (WIDE): New define.
52981 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52983         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52984         line.
52986 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52989         encoding to ACE if AI_IDN.
52991 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52993         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52994         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52996 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52998         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52999         Fix overflow bug in strncat.
53000         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53002         * string/test-strncat.c: Update.
53003         Add new tests for checking overflow bugs.
53005 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53008         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53009         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53010         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53011         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53012         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53013         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53014         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53015         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53017         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53018         (USE_AS_STRCAT): Define.
53019         Add strcat and strncat support.
53020         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53022 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53024         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53025         __n bigger than INT_MAX+1.
53026         (__strncmp_g): Likewise.
53028 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53030         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53031         * libio/stido.h: Likewise.
53033         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53034         (AF_NFC): Define.
53035         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53036         (AF_NFC): Define.
53038         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53039         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53040         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53041         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53042         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53044         [BZ #13021]
53045         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53046         installed.
53048         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53049         typo.
53050         (_dl_x86_64_save_sse): Likewise.
53052 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53055         OSXSAVE.
53056         (_dl_x86_64_save_sse): Likewise.
53058         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53060         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53062 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53065         change.
53066         (_dl_x86_64_save_sse): Use correct AVX check.
53068 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53071         bug in strncpy/strncat.
53072         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53074 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53076         * string/tester.c (test_strcat): Add tests for different alignments
53077         of source and destination.
53078         (test_strncat): Likewise.
53080 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53082         [BZ #12852]
53083         * posix/glob.c (glob): Check passed in values before using them in
53084         expressions to avoid some overflows.
53085         (glob_in_dir): Likewise.
53087         [BZ #13007]
53088         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53089         check for AVX enablement so that we don't crash with old kernels and
53090         new hardware.
53091         * elf/tst-audit4.c: Add same checks here.
53092         * elf/tst-audit6.c: Likewise.
53094         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53096 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53098         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53100 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53102         * po/cs.po: Update from translation team.
53103         * po/bg.po: Likewise.
53105 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53107         * misc/sys/cdefs.h: Add support for const attribute.
53108         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53109         to gnu_dev_{major,minor,makedev} functions.
53111 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53113         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53115 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53117         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53118         strlen results.
53120 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53123         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53124         register in order to avoid conflicts with the soft frame pointer
53125         being held in r11 when necessary.
53126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53127         (INTERNAL_VSYSCALL_NCS): Likewise.
53129 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53131         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53132         * elf/dl-fini.c (_dl_fini): Adjust caller.
53133         * elf/dl-close.c (_dl_close_worker): Likewise.
53134         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53136 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53138         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53139         "aux_cache->nlibs < 0".
53141         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53142         in the reload-count case.
53144 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53147         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53148         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53149         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53150         * sysdeps/x86_64/multiarch/strcat.S: New file.
53151         * sysdeps/x86_64/multiarch/strncat.S: New file.
53152         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53153         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53154         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53155         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53156         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53157         (USE_AS_STRCAT): Define.
53158         Add strcat and strncat support.
53159         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53160         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53161         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53162         * string/strncat.c: Update.
53163         (USE_AS_STRNCAT): Define.
53164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53165         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53166         and i7.
53167         * sysdeps/x86_64/multiarch/init-arch.h
53168         (bit_Prefer_PMINUB_for_stringop): New.
53169         (index_Prefer_PMINUB_for_stringop): Likewise.
53170         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53171         bit_Prefer_PMINUB_for_stringop.
53173 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53175         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53176         buffer64.
53177         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53178         of casting of buffer.
53179         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53180         buffer32 and buffer64.
53181         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53182         writes instead of casting of buffer.
53183         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53184         buffer32.
53185         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53186         casting of buffer.
53188 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53190         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53192 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53194         * nscd/nscd.c (termination_handler): Don't do anything for a database
53195         if it has not yet been initialized.
53197 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53199         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53201 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53203         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53205 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53207         * po/nl.po: Update from translation team.
53208         * po/sv.po: Likewise.
53210 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53212         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53213         now disallowed by GCC.
53215         * configure.in (use-default-link): Default to yes if a test -shared
53216         link meets our qualifications.
53217         * configure: Regenerated.
53219         * config.make.in (output-format): New variable.
53220         * configure.in: Check for ld --print-output-format support.
53221         * configure: Regenerated.
53222         * Makerules ($(common-objpfx)format.lds)
53223         [$(output-format) != unknown]: Just use $(output-format),
53224         instead of the linker-script munging.
53226 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53228         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53229         of $(common-objpfx)shlib.lds.
53230         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53232         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53233         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53235         * configure.in (-z relro check): Adjust test code to add a large
53236         writable data section after it.
53237         * configure: Regenerated.
53239 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53241         * configure.in (-z relro check): Fix test code to make the variable
53242         truly const.
53243         * configure: Regenerated.
53245 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53247         * nscd/nscd.h (struct traced_file): Define.
53248         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53249         elements.  Add traced_files.
53250         (inotify_fd): Declare.
53251         (register_traced_file): Declare.
53252         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53253         (inotify_fd): Export.
53254         (resolv_conf_descr): Remove.
53255         (nscd_init): Move inotify descriptor creation to main.
53256         Don't register files for notification here.
53257         (register_traced_file): New function.
53258         (invalidate_cache): Don't use reset_res to determine whether to call
53259         res_init, go through the list of registered files.
53260         (main_loop_poll): The inotify descriptors are now stored in the
53261         structures for the traced files.
53262         (main_loop_epoll): Likewise
53263         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53264         to __nss_disable_nscd.
53265         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53266         for a database anymore.  Check the records for all the registered
53267         files instead.
53268         * nss/Makefile (libnss_files-routines): Add files-init.
53269         (libnss_db-routines): Add db-init.
53270         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53271         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53272         * nss/nss_db/db-init.c: New file.
53273         * nss/nss_files/files-init.c: New file.
53274         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53275         __nss_lookup_function.
53276         (__nss_lookup_function): Call nss_load_library.
53277         (nss_load_all_libraries): New function.
53278         (__nss_disable_nscd): Take parameter with callback function for files
53279         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53280         used for the cached services.
53281         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53282         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53283         options for features to all the files in nscd.
53285         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53287 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53289         * csu/elf-init.c (__libc_csu_init): Comment typo.
53291 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53293         * po/pl.po: Update from translation team.
53294         * po/ja.po: Likewise.
53295         * po/ru.po: Likewise.
53296         * po/ko.po: Likewise.
53297         * po/fr.po: Likewise.
53299 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53301         * configure.in (.ctors/.dtors header and trailer check):
53302         Use an empirical test on a built program.
53303         * configure: Regenerated.
53305         * configure.in (-z relro check): Use an empirical test on a built DSO.
53306         Detect, but do not require, on ia64.
53307         * configure: Regenerated.
53309         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53310         Update tests that use readelf to use $READELF instead.
53311         * configure: Regenerated.
53313 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53315         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53316         if the result is not used.
53318 2011-07-05  Andreas Jaeger  <aj@suse.de>
53320         [BZ#9696]
53321         * stdlib/tst-strtod.c: Add testcase.
53323 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53325         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53326         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53327         The latter has a higher limit.  Take additional parameter to pass to
53328         the new function.
53329         (__pathconf): Pass file to __statfs_link_max.
53330         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53331         __statfs_link_max.
53332         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53333         __statfs_link_max.
53335         [BZ #12868]
53336         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53337         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53338         Handle Lustre.
53339         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53340         (__statfs_filesize_max): Likewise.
53341         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53343 2011-07-05  Andreas Jaeger  <aj@suse.de>
53345         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53347 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53349         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53350         `status' variable.
53351         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53352         Likewise.
53354 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53356         * Makefile (strop-tests): Add strncat.
53357         * string/test-strncat.c: New file.
53359 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53361         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53363 2011-06-21  Andreas Jaeger  <aj@suse.de>
53365         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53366         Copy rule from iconvdata/Makefile.
53368 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53370         [BZ #12922]
53371         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53372         but no long options are defined, just return 'W'.
53374 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53376         [BZ #9696]
53377         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53379 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53381         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53382         netgroups to read.
53383         (innetgr): Likewise.
53385 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53387         * config.make.in (install_root): Default to $(DESTDIR).
53389 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53391         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53393 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53395         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53397         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53398         containing directory rather than embedding absolute directory names.
53400         * scripts/check-local-headers.sh: Rewritten using awk.
53401         Match by word, not by line.  Print error messages for matches.
53402         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53404         * Makerules [shlib-lds-flags empty]:
53405         ($(common-objpfx)libc_pic.opts): New target.
53406         ($(common-objpfx)libc_pic.os.clean): New target.
53407         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53409         * config.make.in (OBJCOPY): New variable.
53410         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53411         * configure: Regenerated.
53413         * config.make.in (use-default-link): New variable.
53414         * configure.in (use_default_link): Grok --with-default-link to set it.
53415         * configure: Regenerated.
53416         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53417         (shlib-lds, shlib-lds-flags): Define to empty.
53419         * Makerules (shlib-lds): New variable.
53420         (shlib-lds-flags): New variable.
53421         (build-shlib, build-moduile, build-module-asneeded): Use it.
53422         ($(common-objpfx)libc.so): Use $(shlib-lds).
53423         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53424         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53426         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53427         DT_FLAGS/DT_FLAGS_1 with zero flags.
53429         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53430         linker script munging.
53432 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53434         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53435         as 128-bit value.
53436         * crypt/sha512.c (sha512_process_block): Perform total addition using
53437         128-bit if possible.
53438         (__sha512_finish_ctx): Likewise.
53439         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53440         as 64-bit value.
53441         * crypt/sha256.c (SWAP64): Define.
53442         (sha256_process_block): Perform total addition using 64-bit if
53443         possible.
53444         (__sha256_finish_ctx): Likewise.
53446 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53448         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53449         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53450         * nscd/hstcache.c (cache_addhst): Likewise.
53451         * nscd/grpcache.c (cache_addgr): Likewise.
53452         * nscd/aicache.c (addhstaiX): Likewise
53453         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53455 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53457         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53458         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53459         * nscd/hstcache.c (cache_addhst): Likewise.
53460         * nscd/grpcache.c (cache_addgr): Likewise.
53461         * nscd/aicache.c (addhstaiX): Likewise
53463 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53465         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53466         domain only when needed.
53468 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53471         is always restored.
53473 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53475         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53476         are re-adding the entry.
53477         * nscd/servicescache.c (cache_addserv): Likewise.
53479 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53481         * sysdeps/generic/dl-irel.h: fix protection against multiple
53482         inclusions.
53483         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53485 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53487         [BZ #12935]
53488         * malloc/memusage.sh: Fix quoting in message.
53489         * debug/xtrace.sh: Likewise.
53491         * configure.in: Remove support for --experimental-malloc option, make
53492         it the default.
53493         * config.make.in: Likewise.
53494         * malloc/Makefile: Likewise.
53496 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53498         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53499         two-byte characters.
53501 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53503         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53504         AC_CACHE_CHECK invocation.
53505         * configure: Regenerated.
53507         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53509 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53511         [BZ #12350]
53512         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53513         bit from old_res_options.
53515         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53517         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53518         value type for setfct.
53520 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53522         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53523         __gettimeofday instead of gettimeofday.
53525 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53527         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53529 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53531         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53533         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53534         info.
53536 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53539         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53540         strcpy-sse2-unaligned strncpy-sse2-unaligned
53541         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53542         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53543         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53544         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53545         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53546         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53547         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53548         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53549         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53550         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53551         (STRCPY): Support SSE2 and SSSE3 versions.
53553 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53555         [BZ #12874]
53556         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53557         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53558         kernels which artificially limit size of requests.
53560 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53563         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53564         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53565         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53566         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53567         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53568         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53569         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53570         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53571         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53572         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53573         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53574         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53575         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53576         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53578         Enable unaligned load optimization for Intel Core i3, i5 and i7
53579         processors.
53580         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53581         Define.
53582         (index_Fast_Unaligned_Load): Define.
53583         (HAS_FAST_UNALIGNED_LOAD): Define.
53585 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53587         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53589 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53591         [BZ #12907]
53592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53593         until it is clear that the information is realy needed.
53594         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53596 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53600 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53602         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53603         /sys/devices/system/cpu/online if it is usable.
53605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53606         reading the information from the /proc filesystem to once a second.
53608 2011-06-21  Andreas Jaeger  <aj@suse.de>
53610         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53611         NULL after inclusion of kernel headers.
53613 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53615         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53616         calls to internal_setent.
53618         [BZ #12885]
53619         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53620         addresses using gethostbyname4_r ignore IPv4 addresses.
53622         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53623         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53625         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53627 2011-06-20  David S. Miller  <davem@davemloft.net>
53629         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53630         inclusions.
53631         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53633         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53634         (elf_irel): Use it.
53635         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53636         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53637         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53638         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53639         * sysdeps/x86_64/dl-irel.h: Likewise.
53641         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53642         * elf/dl-sym.c: Likewise.
53644 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53646         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53647         need to dereference resplen2.
53649 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53651         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53653 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53655         * Makeconfig: Define vardbdir and inst_vardbdir.
53656         * nss/Makefile: Add rules to install db-Makefile.
53658         * nss/nss_db/db-XXX.c: Cleanup.
53660         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53661         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53662         GLIBC_PRIVATE.
53663         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53664         * nss/makedb.c: Implement -g option to specify that value strings
53665         are generated and should not be added to table iterated over for
53666         get*ent calls.
53667         * nss/nss_db/db-initgroups.c: New file.
53669         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53670         interface.
53672         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53673         (internal_getgrouplist): Adjust to name change.
53674         Update use_initgroups_entry if this is not the first call.
53675         * nss/databases.def: Add initgroups entry.
53677         * nss/makedb.c (compute_tables): Check result of multiple hash table
53678         sizes to minimize maximum chain length.
53680 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53682         * Versions.def: Add entry for libnss_db.
53683         * shlib-versions: Likewise.
53684         * nss/Makefile: Add rules to build libnss_db.
53685         * nss/Versions: Add libnss_db information.  Organize libnss_files
53686         entries better.
53687         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53688         makedb progra.  Some minor improvements to generate smaller files.
53689         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53690         here from...
53691         * nss/makedb.c: ...here.
53692         Improve database format to be smaller and require less memory at
53693         runtime.
53694         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53695         db anymore.
53696         * nss/nss_db/db-netgrp.c: Likewise.
53697         * nss/nss_db/db-open.c: Likewise.
53698         * nss/nss_files/flies-XXX.x: Adjust comments.
53699         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53700         * nss/nss_files/files-grp.c: Likewise.
53701         * nss/nss_files/files-hosts.c: Likewise.
53702         * nss/nss_files/files-network.c: Likewise.
53703         * nss/nss_files/files-proto.c: Likewise.
53704         * nss/nss_files/files-pwd.c: Likewise.
53705         * nss/nss_files/files-rpc.c: Likewise.
53706         * nss/nss_files/files-service.c: Likewise.
53707         * nss/nss_files/files-sgrp.c: Likewise.
53708         * nss/nss_files/files-spwd.c: Likewise.
53709         * nss/nss_db/db-alias.c: Removed.
53710         * nss/nss_db/dummy-db.h: Removed.
53712 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53714         * nss/makedb.c: Rewritten to not use database library.
53715         * nss/Makefile: Update to build new makedb program.
53717 2011-06-14  Andreas Jaeger  <aj@suse.de>
53719         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53720         memset declaration.
53722 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53725         tmpbuf.
53727 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53729         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53730         * elf/Makefile ($(objpfx)ld.so): Likewise.
53732         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53733         Don't list ld.so twice in dependencies.
53735         * posix/bug-regex31.c: Include <stdlib.h>.
53737         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53739         * nis/nss_compat/compat-spwd.c
53740         (getspent_next_nss_netgr): Remove unused variable.
53741         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53743         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53744         nonmembers" output to use the right array.
53746         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53748         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53750         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53751         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53752         * catgets/gencat.c (read_input_file): Likewise.
53753         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53755         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53756         variable definition inside #if's controlling its use.
53758         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53760         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53762         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53764         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53765         unreachable code.
53767         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53769         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53770         * configure: Regenerated.
53772         * Makerules: Revert last change.
53773         * elf/Makefile: Likewise.
53775 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53777         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53778         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53779         (reloc-link): Likewise.
53781 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53783         * elf/Makefile: Add rules to build pldd.
53784         * elf/pldd.c: New file.
53785         * elf/pldd-xx.c: New file.
53787 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53789         * version.h: Update for 2.15 development version.
53791 2011-06-07  David S. Miller  <davem@davemloft.net>
53793         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53794         ifuncs.
53795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53796         elf_machine_lazy_rel): Likewise.
53797         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53798         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53799         elf_machine_lazy_rel): Likewise.
53800         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53801         dl_hwcap via passed in argument.
53802         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53803         Likewise.
53805 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53807         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53809 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53811         [BZ #12849]
53812         * manual/fdl-1.1.texi: New file, verbatim from:
53813         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53814         * manual/lgpl-2.1.texi: New file, verbatim from:
53815         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53816         * manual/Makefile (licenses): New variable, list those new file names.
53817         (texis): Use it.
53818         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53820         * manual/fdl.texi: File removed.
53821         * manual/lesser.texi: File removed.
53822         * manual/libc.texinfo (Copying, Documentation License):
53823         Use new @include file names, put @appendix directive before @include.
53825 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53827         [BZ #12841]
53828         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53829         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53830         (mq_open): Add __NTH.
53832 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53835         Assume Intel Core i3/i5/i7 processor if AVX is available.
53837 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53839         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53840         typo.
53842 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53844         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53845         memory.  Use alloca_account.  Fix memory leak when retrying.
53847 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53849         * version.h (RELEASE): Bump for 2.14 release.
53850         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53852         * config.make.in (RANLIB): Remove entry.
53854 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53856         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53857         (libc.pot): Work around missing support for .ksh extension in xgettext.
53859         [BZ #12684]
53860         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53861         if both request failed.
53862         (send_dg): In case of server errors clear resplen or *resplen2.
53864         [BZ #12454]
53865         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53866         when there are multiple maps.
53867         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53868         (_dl_fini): Remove test here.
53870         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53872 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53874         [BZ #12350]
53875         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53876         bit from old_res_options.
53877         (gaih_inet): Likewise.
53879         [BZ #11099]
53880         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53881         as signed.
53883         * resolv/res_init.c (res_setoptions): Make the code more compact.
53885         [BZ #11558]
53886         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53887         set RES_USEVC.
53889         [BZ #11634]
53890         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53892         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53894         [BZ #11781]
53895         * malloc/malloc.h: Declare malloc hook variables as volatile.
53897         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53898         in last patch.
53900         [BZ #11799]
53901         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53902         raise in the comment.
53903         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53904         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53905         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53907 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53909         [BZ #12811]
53910         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53911         grow the buffers more if it already has to be sufficient.
53912         (build_wcs_upper_buffer): Likewise.
53913         * posix/regexec.c (check_matching): Likewise.
53914         (clean_state_log_if_needed): Likewise.
53915         (extend_buffers): Don't enlarge buffers beyond size of the input
53916         buffer.
53917         Patches mostly by Emil Wojak <emil@wojak.eu>.
53918         * posix/bug-regex32.c: New file.
53919         * posix/Makefile (tests): Add bug-regex32.
53921         * locale/findlocale.c (_nl_find_locale): Return right away if
53922         _nl_explode_name failed.
53923         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53925         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53927         * debug/xtrace.sh: Unify messages.
53928         * malloc/memusage.sh: Likewise.
53930         [BZ #12813]
53931         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53932         time symbol from vDSO.  Substitute with vsyscall if not available.
53933         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53934         __vdso_time.
53936         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53937         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53938         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53939         Add sendmmsg and internal_sendmmsg.
53940         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53941         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53942         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53944         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53945         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53946         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53948 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53950         [BZ #12813]
53951         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53952         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53953         available.
53954         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53955         __vdso_getcpu.
53957         [BZ #12814]
53958         * iconvdata/Makefile (tests): Add bug-iconv9.
53959         * iconvdata/bug-iconv9.c: New file.
53961 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53963         [BZ #12814]
53964         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53966 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53969         (struct user_regs_struct): Change intcs field back to cs.
53971 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53973         * po/ja.po: Update from translation team.
53975 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53977         [BZ #12795]
53978         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53979         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53981 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53983         * stdlib/longlong.h: Update from GCC.
53985 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53987         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53988         parameter name.
53989         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53990         Add parameter name.
53991         (__sysconf): Pass it down.
53993 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53995         [BZ #12671]
53996         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53997         some situations.
53998         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53999         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54000         add in in __libc_use_alloca calls.  Adjust callers.
54001         (glob): Use malloc in some situations.
54003         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54004         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54005         pltexit.
54007 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54009         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54010         and CLOCK_BOOTTIME_ALARM.
54012         [BZ #12782]
54013         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54014         is returned.
54016         * string/_strerror.c (__strerror_r): Print negative errors as signed
54017         numbers.
54019         [BZ #12777]
54020         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54021         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54022         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54024         * configure.in: Fix typo in redirection and correct removal of test
54025         files in two cases.
54027         [BZ #12788]
54028         * locale/setlocale.c (new_composite_name): Fix test to check for
54029         identical name of all categories.
54031         [BZ #12792]
54032         * libio/filedoalloc.c (local_isatty): New function.
54033         (_IO_file_doallocate): Use local_isatty.
54034         * stdio-common/perror.c (perror): In case a new stream is used
54035         forward the stream error.
54036         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54037         error flag.
54039 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54041         [BZ #11869]
54042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54043         alloca.
54044         * include/alloca.h (extend_alloca_account): Define.
54046         [BZ #11857]
54047         * posix/regex.h: Fix comments with documentation of user-accessible
54048         fields after compilation and describe correct free'ing of pattern
54049         after re_compile_pattern.
54050         Patch by Reuben Thomas <rrt@sc3d.org>.
54052 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54054         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54055         and -mno-altivec to prevent the compiler from using Altivec and/or
54056         VSX instructions when the corresponding registers are not available.
54058 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54060         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54062 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54064         * libio/freopen.c (freopen): Use __dup2, not dup2.
54065         * libio/freopen64.c (freopen64): Likewise.
54067 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54069         [BZ #12775]
54070         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54071         * math/Makefile (tests): Add test-powl.
54072         (CFLAGS-test-powl.c): Define.
54073         * math/test-powl.c: New file.
54075 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54077         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54079 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54081         [BZ #11837]
54082         * iconvdata/gb18030.c: Update to GB18020-2005.
54084 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54086         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54087         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54088         Patch by Aharon Robbins <arnold@skeeve.com>.
54090         [BZ #11892]
54091         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54092         on the stack.
54094         [BZ #11895]
54095         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54096         through underflows.
54098         [BZ #12766]
54099         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54100         point to strings before performing equality test for error_one_per_line
54101         mode.
54103         [BZ #11697]
54104         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54106         [BZ #11820]
54107         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54108         (struct user_fpregs_struct): Avoid __uint*_t types.
54110         [BZ #6420]
54111         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54112         symbol info.  Use it instead of calling _dl_addr locally.
54113         (lock_and_info): New function.
54114         (tr_freehook): Call lock_and_info and pass symbol info as additional
54115         parameter to tr_where.
54116         (tr_mallochook): Likewise.
54117         (tr_reallochook): Likewise.
54118         (tr_memalignhook): Likewise.
54120         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54121         used and couldn't be at all thread-safe.
54123 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54125         * libio/freopen.c (freopen): Don't close old file descriptor
54126         before the new one is opened.  Instead dup the new file descriptor
54127         to the old one after the new stream is created.
54128         * libio/freopen64.c (freopen64): Likewise.
54129         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54130         * libio/fileops.c (_IO_new_file_close_it): Handle new
54131         _IO_FLAGS2_NOCLOSE flag.
54132         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54133         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54134         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54135         _IO_FLAGS2_NOCLOSE flag.
54136         * include/unistd.h: Add hidden_proto for dup3.
54137         Define __have_dup3.
54138         * io/dup3.c: Define hidden symbol.
54139         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54141         [BZ #7101]
54142         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54143         when an incomplete long option is used.
54144         * posix/tst-getopt_long1.c: New file.
54145         * posix/Makefile (tests): Add tst-getopt_long1.
54147         [BZ #10138]
54148         * scripts/config.guess: Update from autoconf-2.68.
54149         * scripts/config.sub: Likewise.
54151         [BZ #10157]
54152         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54153         tests into ...
54154         (has_cpuclock): ...this.  New function.
54155         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54156         macro here based on has_cpuclock code.
54158         [BZ #10149]
54159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54160         First byte (not low byte) is now always NUL.
54161         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54164         Use non-cancelable interfaces.
54166         [BZ #9809]
54167         * locale/iso-639.def: Add entry for Sorani.
54169         [BZ #11901]
54170         * include/stdlib.h: Move include protection to the right place.
54171         Define abort_msg_s.  Declare __abort_msg with it.
54172         * stdlib/abort.c (__abort_msg): Adjust type.
54173         * assert/assert.c (__assert_fail_base): New function.  Majority
54174         of code from __assert_fail.  Allocate memory for __abort_msg with
54175         mmap.
54176         (__assert_fail): Now call __assert_fail_base.
54177         * assert/assert-perr.c: Remove bulk of implementation.  Use
54178         __assert_fail_base.
54179         * include/assert.hL Declare __assert_fail_base.
54180         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54181         mmap.
54182         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54184 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54186         [BZ #11952]
54187         [BZ #12453]
54188         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54189         until all modules are registered in the DTV.
54190         * elf/Makefile: Add rules to build and run tst-tls19.
54191         * elf/tst-tls19.c: New file.
54192         * elf/tst-tls19mod1.c: New file.
54193         * elf/tst-tls19mod2.c: New file.
54194         * elf/tst-tls19mod3.c: New file.
54195         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54197         [BZ #12083]
54198         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54199         correctly.
54201         [BZ #12601]
54202         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54203         two-byte sequence errors.
54204         * iconvdata/Makefile (tests): Add bug-iconv8.
54205         * iconvdata/bug-iconv8.c: New file.
54207         [BZ #12626]
54208         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54209         buf2 definition.
54211         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54213         [BZ #12432]
54214         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54215         (dummy_getcfa): New function.
54216         (init): Get _Unwind_GetCFA address, use dummy if not found.
54217         (backtrace_helper): In recursion check, also check whether CFA changes.
54218         (__backtrace): Completely initialize arg.
54220         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54221         storing incomplete byte sequence in state object.  Avoid testing for
54222         guaranteed too small input if we know there is enough data available.
54224 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54226         * Makeconfig (+link-pie): Indent.
54227         * Rules (binaries-pie): Define if $(have-fpie) and
54228         $(build-shared).
54229         (binaries-shared): Also filter out $(binaries-pie).
54230         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54231         * nscd/Makefile (others-pie): Add nscd.
54232         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54233         ($(objpfx)nscd): Remove command override.
54234         * login/Makefile (others-pie): Add pt_chown.
54235         ($(objpfx)pt_chown): Remove command override.
54236         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54237         remove command overrides.
54239 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54241         * libio/tst_putwc.c: Fix error messages.
54243         [BZ #12724]
54244         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54245         currently writing and seek to current position when not.
54246         * libio/Makefile (tests): Add bug-fclose1.
54247         * libio/bug-fclose1.c: New file.
54249 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54251         [BZ #12511]
54252         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54253         don't set DF_1_NODELETE here.
54254         (do_lookup_x): When entering new entry test for copy relocation
54255         and if necessary set DF_1_NODELETE flag.
54256         * elf/tst-unique4.cc: New file.
54257         * elf/tst-unique4.h: New file.
54258         * elf/tst-unique4lib.cc: New file.
54259         * elf/Makefile: Add rules to build and run tst-unique4.
54260         Patch by Piotr Bury <pbury@goahead.com>.
54262 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54264         [BZ #12052]
54265         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54267         [BZ #12625]
54268         * misc/mntent_r.c (addmntent): Flush the stream after the output
54270         [BZ #12393]
54271         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54272         (is_trusted_path_normalize): Skip initial colon.  Append slash
54273         to empty buffer.  Duplicate is_trusted_path code but allow
54274         constructed patch to be prefix.
54275         (is_dst): Allow $ORIGIN followed by /.
54276         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54277         Correct testing of result of is_trusted_path_normalize
54278         (decompose_rpath): Fix warning.
54280 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54282         [BZ #11257]
54283         * grp/initgroups.c (internal_getgrouplist): When we found the service
54284         list through the initgroups entry in nsswitch.conf do not always
54285         continue on a successful lookup.  Don't always use the
54286         __nss_group_database value if it is set.
54287         * nss/nsswitch.conf (initgroups): Change action for successful db
54288         lookup to continue for compatibility.
54290 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54292         [BZ #11532]
54293         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54294         and CP774 modules.
54295         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54296         and CP774 modules.
54297         * iconvdata/tst-tables.sh: Likewise.
54298         * iconvdata/cp770.c: New file.
54299         * iconvdata/cp771.c: New file.
54300         * iconvdata/cp772.c: New file.
54301         * iconvdata/cp773.c: New file.
54302         * iconvdata/cp774.c: New file.
54303         * iconvdata/testdata/CP770: New file.
54304         * iconvdata/testdata/CP770..UTF8: New file.
54305         * iconvdata/testdata/CP771: New file.
54306         * iconvdata/testdata/CP771..UTF8: New file.
54307         * iconvdata/testdata/CP772: New file.
54308         * iconvdata/testdata/CP772..UTF8: New file.
54309         * iconvdata/testdata/CP773: New file.
54310         * iconvdata/testdata/CP773..UTF8: New file.
54311         * iconvdata/testdata/CP774: New file.
54312         * iconvdata/testdata/CP774..UTF8: New file.
54314         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54315         END CHARMAP line.
54316         * iconvdata/gen-8bit-gap.sh: Likewise.
54317         * iconvdata/gen-8bit.sh: Likewise.
54319         * locale/iso-639.def: Add ary entry.
54321         [BZ #11258]
54322         * locale/C-translit.h.in: Add U20A1 transliteration.
54324         [BZ #12178]
54325         * locale/iso-639.def: Add wae entry.
54326         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54328         [BZ #12545]
54329         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54330         for n.
54332         [BZ #12711]
54333         * locale/C-translit.h.in: Add entry for U20B9.
54334         Patch by pravin.d.s@gmail.com.
54336 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54338         [BZ #12713]
54339         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54340         ENAMETOOLONG use generic getcwd.
54341         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54342         in rtld.  Use *stat64.
54343         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54344         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54345         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54346         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54347         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54348         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54349         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54350         __fstatat64 macros.
54351         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54352         * dirent/rewinddir.c: Add libc_hidden_def.
54353         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54354         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54356         * include/dirent.h (__alloc_dir): Add flags parameter.
54357         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54358         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54359         __alloc_dir.
54360         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54361         from fdopendir if O_CLOEXEC is already set.
54363 2011-03-15  Alan Modra  <amodra@gmail.com>
54365         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54366         l_tls_firstbyte_offset non-zero.  Save padding offset in
54367         l_tls_firstbyte_offset for later use.
54368         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54369         freeing static tls block.
54371 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54373         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54374         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54375         being defined by the kernel headers.
54377 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54379         [BZ #12734]
54380         * resolv/resolv.h: Define RES_NOTLDQUERY.
54381         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54382         no-tld-query and set RES_NOTLDQUERY.
54383         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54384         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54385         modern BIND to search name as TLD unless forbidden.
54387 2011-05-07  Petr Baudis  <pasky@suse.cz>
54388             Ulrich Drepper  <drepper@gmail.com>
54390         [BZ #12393]
54391         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54392         (is_trusted_path): ...to here.
54393         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54394         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54395         using is_trusted_path_normalize() in setuid scripts.
54397 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54399         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54400         __BEGIN/__END_DECLS.
54402 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54404         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54405         NSS_STATUS_NOTFOUND if no record was found.
54407 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54409         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54410         (headers-not-in-tirpc): Remove rpc/netdb.h
54411         * resolv/netdb.h: Revert last change.
54413 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54415         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54416         circular dependency between libgcc.a and libc.a.
54418 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54420         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54421         * nis/Makefile: Don't install rpcsvc/*.
54422         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54423         instead of <rpc/types.h>.
54424         (MAXHOSTNAMELEN): Define.
54426 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54428         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54430 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54432         [BZ #12714]
54433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54434         gethostbyname4_r when IPv6 results are possible.
54436 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54438         [BZ #12723]
54439         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54440         _PC_PIPE_BUF handling.
54442 2011-04-30  Bruno Haible  <bruno@clisp.org>
54444         [BZ #12717]
54445         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54446         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54447         to 'int'.
54448         * inet/getnameinfo.c (getnameinfo): Likewise.
54450 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54452         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54453         to groups setting in database lookup.
54454         * nss/nsswitch.conf: Add initgroups entry.
54456 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54458         [BZ #12685]
54459         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54460         mode string.
54461         Patch by Eric Blake <eblake@redhat.com>.
54463 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54465         * sunrpc/Makefile (need-export-routines): Add svc_run.
54466         (routines): Remove svc_run.
54467         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54468         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54469         * sunrpc/svc_run.c (svc_run): Likewise.
54470         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54472 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54474         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54475         problem in reallocation in last patch.
54477 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54479         * sunrpc/Makefile: Move inclusion of Rules.
54481 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54483         * nss/nss_files/files-initgroups.c: New file.
54484         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54485         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54486         _nss_files_initgroups_dyn.
54488 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54490         * elf/elf.h (R_ARM_IRELATIVE): Define.
54492 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54494         * po/ru.po: Update from translation team.
54496 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54498         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54499         dependencies.
54501 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54503         [BZ #12653]
54504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54505         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54506         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54508         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54510 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54512         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54513         differing bytes.
54514         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54515         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54516         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54518 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54520         [BZ #12420]
54521         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54522         storing it.
54523         * stdlib/bug-getcontext.c: New file.
54524         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54526 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54528         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54529         instructions into .machine "z9-109".
54530         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54531         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54533 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54535         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54536         between environment variables and auxiliary vector.
54538 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54540         * Makefile: Add rules to build linkobj/libc.so.
54541         * include/libc-symbols.h: Define libc_hidden_nolink.
54542         * include/rpc/auth.h: Mark functions which are to be hidden.
54543         * include/rpc/auth_des.h: Likewise.
54544         * include/rpc/auth_unix.h: Likewise.
54545         * include/rpc/clnt.h: Likewise.
54546         * include/rpc/des_crypt.h: Likewise.
54547         * include/rpc/key_prot.h: Likewise.
54548         * include/rpc/pmap_clnt.h: Likewise.
54549         * include/rpc/pmap_prot.h: Likewise.
54550         * include/rpc/pmap_rmt.h: Likewise.
54551         * include/rpc/rpc_msg.h: Likewise.
54552         * include/rpc/svc.h: Likewise.
54553         * include/rpc/svc_auth.h: Likewise.
54554         * include/rpc/xdr.h: Likewise.
54555         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54556         * nss/Makefile: Likewise.
54557         * sunrpc/Makefile: Don't install headers.  Build library with normal
54558         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54559         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54560         for the compat linking library.  Remove use of INTDEF/INTUSE.
54561         * sunrpc/auth_none.c: Likewise.
54562         * sunrpc/auth_unix.c: Likewise.
54563         * sunrpc/authdes_prot.c: Likewise.
54564         * sunrpc/authuxprot.c: Likewise.
54565         * sunrpc/clnt_gen.c: Likewise.
54566         * sunrpc/clnt_perr.c: Likewise.
54567         * sunrpc/clnt_raw.c: Likewise.
54568         * sunrpc/clnt_simp.c: Likewise.
54569         * sunrpc/clnt_tcp.c: Likewise.
54570         * sunrpc/clnt_udp.c: Likewise.
54571         * sunrpc/clnt_unix.c: Likewise.
54572         * sunrpc/des_crypt.c: Likewise.
54573         * sunrpc/des_soft.c: Likewise.
54574         * sunrpc/get_myaddr.c: Likewise.
54575         * sunrpc/key_call.c: Likewise.
54576         * sunrpc/key_prot.c: Likewise.
54577         * sunrpc/netname.c: Likewise.
54578         * sunrpc/pm_getmaps.c: Likewise.
54579         * sunrpc/pm_getport.c: Likewise.
54580         * sunrpc/pmap_clnt.c: Likewise.
54581         * sunrpc/pmap_prot.c: Likewise.
54582         * sunrpc/pmap_prot2.c: Likewise.
54583         * sunrpc/pmap_rmt.c: Likewise.
54584         * sunrpc/publickey.c: Likewise.
54585         * sunrpc/rpc_cmsg.c: Likewise.
54586         * sunrpc/rpc_common.c: Likewise.
54587         * sunrpc/rpc_dtable.c: Likewise.
54588         * sunrpc/rpc_prot.c: Likewise.
54589         * sunrpc/rpc_thread.c: Likewise.
54590         * sunrpc/rtime.c: Likewise.
54591         * sunrpc/svc.c: Likewise.
54592         * sunrpc/svc_auth.c: Likewise.
54593         * sunrpc/svc_authux.c: Likewise.
54594         * sunrpc/svc_raw.c: Likewise.
54595         * sunrpc/svc_run.c: Likewise.
54596         * sunrpc/svc_simple.c: Likewise.
54597         * sunrpc/svc_tcp.c: Likewise.
54598         * sunrpc/svc_udp.c: Likewise.
54599         * sunrpc/svc_unix.c: Likewise.
54600         * sunrpc/svcauth_des.c: Likewise.
54601         * sunrpc/xcrypt.c: Likewise.
54602         * sunrpc/xdr.c: Likewise.
54603         * sunrpc/xdr_array.c: Likewise.
54604         * sunrpc/xdr_float.c: Likewise.
54605         * sunrpc/xdr_intXX_t.c: Likewise.
54606         * sunrpc/xdr_mem.c: Likewise.
54607         * sunrpc/xdr_rec.c: Likewise.
54608         * sunrpc/xdr_ref.c: Likewise.
54609         * sunrpc/xdr_sizeof.c: Likewise.
54610         * sunrpc/xdr_stdio.c: Likewise.
54612 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54614         [BZ #12650]
54615         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54616         * sysdeps/ia64/dl-tls.h: Likewise.
54617         * sysdeps/powerpc/dl-tls.h: Likewise.
54618         * sysdeps/s390/dl-tls.h: Likewise.
54619         * sysdeps/sh/dl-tls.h: Likewise.
54620         * sysdeps/sparc/dl-tls.h: Likewise.
54621         * sysdeps/x86_64/dl-tls.h: Likewise.
54622         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54624 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54626         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54627         rpath element also skip the following colon.
54628         (expand_dynamic_string_token): Add is_path parameter and pass
54629         down to DL_DST_REQUIRED and _dl_dst_substitute.
54630         (decompose_rpath): Call expand_dynamic_string_token with
54631         non-zero is_path.  Ignore empty rpaths.
54632         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54633         with zero is_path.
54635 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54638         Make cancelable.
54640 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54642         [BZ #12655]
54643         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54644         Patch by Filipe David Manana <fdmanana@apache.org>.
54646 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54649         Maintain aligned stack.
54650         (CHECK_RSP): Remove unused macro.
54652 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54654         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54655         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54657 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54659         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54661         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54663 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54665         [BZ #12518]
54666         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54667         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54668         * sysdeps/x86_64/memmove.c: New file.
54669         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54670         (memcpy): Renamed to ...
54671         (__new_memcpy): This.
54672         (memcpy): Provide GLIBC_2_14 memcpy.
54673         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54674         (memcpy): Provide GLIBC_2_2_5 memcpy.
54676 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54678         [BZ #12631]
54679         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54681 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54683         * misc/syncfs.c: New file.
54684         * misc/Makefile (routines): Add syncfs.
54685         * posix/unistd.h: Declare syncfs.
54686         * sysdeps/unix/syscalls.list: Add syncfs.
54688 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54690         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54691         open_by_handle_at.
54692         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54693         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54695         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54697         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54698         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54700 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54702         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54703         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54704         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54705         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54706         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54708         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54710         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54711         sync_file_range.c with -fexceptions.
54712         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54713         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54714         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54715         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54716         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54717         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54718         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54719         sync_file_range as cancellation point
54720         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54721         now a wrapper around __call_sync_file_range with cancellation handling.
54722         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54723         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54724         function name to __call_sync_file_range.
54725         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54726         Add call_sync_file_range.
54728 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54731         bits/timex.h.
54733 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54735         * iconv/iconv.h: Fix typo in comment.
54736         * io/fcntl.h: Likewise.
54737         * libio/stdio.h: Likewise.
54738         * posix/spawn.h: Likewise.
54739         * posix/unistd.h: Likewise.
54740         * stdlib/stdlib.h: Likewise.
54741         * time/time.h: Likewise.
54742         * wcsmbs/wchar.h: Likewise.
54744         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54745         open_by_handle): Add.
54746         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54747         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54748         Augment a few comments.
54749         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54750         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54751         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54753         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54754         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54755         open_by_handle.
54757         * io/fcntl.h (AT_EMPTY_PATH): Define.
54759 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54761         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54762         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54763         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54764         to...
54765         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54766         * Versions.def: Add GLIBC_2.14.
54767         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54768         Export.
54770 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54772         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54773         round counter.
54774         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54776 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54778         [BZ #12597]
54779         * string/test-strncmp.c (do_page_test): New function.
54780         (check2): Likewise.
54781         (test_main): Call check2.
54782         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54784 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54786         [BZ #12587]
54787         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54788         Handle cache information in CPU leaf 4.
54789         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54791 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54793         [BZ #12583]
54794         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54795         character representation.
54796         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54798 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54800         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54801         END(__isnan) to END(__isnanf) to match function entry point/label
54802         EALIGN(__isnanf,...).
54804 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54806         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54808 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54810         [BZ #12510]
54811         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54812         copy from the symbol referenced in the relocation to initialize the
54813         used variable.
54814         Patch by Piotr Bury <pbury@goahead.com>.
54815         * elf/Makefile: Add rules to build and tst-unique3.
54816         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54817         * elf/tst-unique3.cc: New file.
54818         * elf/tst-unique3.h: New file.
54819         * elf/tst-unique3lib.cc: New file.
54820         * elf/tst-unique3lib2.cc: New file.
54822         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54824 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54826         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54827         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54828         to _start.
54830 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54832         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54833         to-be-loaded object along a path to loader is ld.so.
54835 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54836             Ulrich Drepper  <drepper@gmail.com>
54838         * sysdeps/x86_64/memset.S: After aligning destination, code
54839         branches to different locations depending on the value of
54840         misalignment, when multiarch is enabled. Fix this.
54842 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54844         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54845         Set _x86_64_preferred_memory_instruction for AMD processsors.
54846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54847         Set bit_Prefer_SSE_for_memop for AMD processors.
54849 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54851         * libio/fmemopen.c (fmemopen): Optimize a bit.
54853 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54855         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54857 2011-03-03  Roland McGrath  <roland@redhat.com>
54859         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54861 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54863         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54864         __bzero_ultra1 instead of __memset_ultra1.
54866 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54867             Ulrich Drepper  <drepper@gmail.com>
54869         [BZ #12509]
54870         * include/link.h (struct link_map): Add l_orig_initfini.
54871         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54872         returning unsuccessfully.
54873         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54874         close of a file loaded at startup, restore the original l_initfini
54875         list.
54876         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54877         list, store the pointer.
54878         * elf/Makefile ($(objpfx)noload-mem): New rule.
54879         (noload-ENV): Define.
54880         (tests): Add $(objpfx)noload-mem.
54881         * elf/noload.c: Include <memcheck.h>.
54882         (main): Call mtrace.  Close all opened handles.
54884 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54886         [BZ #12454]
54887         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54888         dependencies are missing.
54890 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54892         Fix __if_freereq crash: Unlike the generic version which uses free,
54893         Hurd needs munmap.
54894         * sysdeps/mach/hurd/ifreq.h: New file.
54896 2011-01-27  Petr Baudis  <pasky@suse.cz>
54897             Ulrich Drepper  <drepper@gmail.com>
54899         [BZ 12445]#
54900         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54901         to extend_alloca().
54902         * stdio-common/bug23.c: New file.
54903         * stdio-common/Makefile (tests): Add bug23.
54905 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54906             Ulrich Drepper  <drepper@gmail.com>
54908         [BZ #12489]
54909         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54910         before performing relro protection.  At old place add assertion
54911         to make sure nothing changed.
54913 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54914             Glauber de Oliveira Costa  <glommer@gmail.com>
54916         * elf/elf.h: Add new ARM TLS relocs.
54918 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54921         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54922         cast from r3.
54923         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54924         'tests' variable.
54925         * sysdeps/wordsize-64/tst-writev.c: New file.
54927 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54929         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54930         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54931         insns in _dl_start to prevent a TOC reference before relocs are
54932         resolved.
54934 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54936         [BZ #12469]
54937         * Makeconfig: Remove RANLIB definition.
54938         * Makerules: Don't use RANLIB.
54939         * aclocal.m4: Remove ranlib test.
54940         * configure.in: No need to check for ranlib.
54941         * elf/rtld-Rules: Don't use RANLIB.
54943 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54945         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54946         protection macro.
54947         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54948         inclusion protection macro.
54950         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54951         SIGRTMIN and SIGRTMAX and print information in that case only when
54952         SIGRTMIN is defined.
54954 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54956         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54957         arginfo fn returning -1.
54959         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54960         and thousands string is zero terminated.
54962 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54964         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54965         sysdeps/unix/sysv/linux/bits/socket.h.
54967 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54969         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54970         (__CPU_COUNT): Remove old macros.
54971         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54972         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54973         (__CPU_ALLOC, __CPU_FREE): Add macros.
54974         (__sched_cpualloc, __sched_cpufree): Add declarations.
54976 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54978         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54979         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54980         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54981         (readdhstai): Return value of addhstaiX call.
54982         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54983         (addgrbyX): Return value returned by cache_addgr.
54984         (readdgrbyname): Return value returned by addgrbyX.
54985         (readdgrbygid): Likewise.
54986         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54987         (addpwbyX): Return value returned by cache_addpw.
54988         (readdpwbyname): Return value returned by addhstbyX.
54989         (readdpwbyuid): Likewise.
54990         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54991         (addservbyX): Return value returned by cache_addserv.
54992         (readdservbyname): Return value returned by addservbyX:
54993         (readdservbyport): Likewise.
54994         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54995         (addhstbyX): Return value returned by cache_addhst.
54996         (readdhstbyname): Return value returned by addhstbyX.
54997         (readdhstbyaddr): Likewise.
54998         (readdhstbynamev6): Likewise.
54999         (readdhstbyaddrv6): Likewise.
55000         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55001         (readdinitgroups): Return value returned by addinitgroupsX.
55002         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55003         (prune_cache): Keep track of timeout value of re-added entries.
55004         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55005         * nscd/nscd.h: Adjust prototypes of readd* functions.
55007 2011-02-04  Roland McGrath  <roland@redhat.com>
55009         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55010         (nis_stats): Likewise.
55011         * nis/nis_modify.c (nis_modify): Likewise.
55012         * nis/nis_remove.c (nis_remove): Likewise.
55013         * nis/nis_add.c (nis_add): Likewise.
55015         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55017         * posix/fnmatch_loop.c: Add some consts.
55019         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55021 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55023         [BZ #12460]
55024         * config.make.in (config-cflags-novzeroupper): Define.
55025         * configure.in: Substitute libc_cv_cc_novzeroupper.
55026         * elf/Makefile (AVX-CFLAGS): Define.
55027         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55028         (CFLAGS-tst-auditmod4a.c): Likewise.
55029         (CFLAGS-tst-auditmod4b.c): Likewise.
55030         (CFLAGS-tst-auditmod6b.c): Likewise.
55031         (CFLAGS-tst-auditmod6c.c): Likewise.
55032         (CFLAGS-tst-auditmod7b.c): Likewise.
55033         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55035 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55037         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55038         function to the callback.
55039         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55041 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55043         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55044         of errno.
55046 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55048         [BZ #11724]
55049         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55050         of constructors.
55051         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55052         of destructors.
55053         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55055         [BZ #11724]
55056         * elf/Makefile: Add rules to build and run new test.
55057         * elf/tst-initorder.c: New file.
55058         * elf/tst-initorder.exp: New file.
55059         * elf/tst-initordera1.c: New file.
55060         * elf/tst-initordera2.c: New file.
55061         * elf/tst-initordera3.c: New file.
55062         * elf/tst-initordera4.c: New file.
55063         * elf/tst-initorderb1.c: New file.
55064         * elf/tst-initorderb2.c: New file.
55065         * elf/tst-order-a1.c: New file.
55066         * elf/tst-order-a2.c: New file.
55067         * elf/tst-order-a3.c: New file.
55068         * elf/tst-order-a4.c: New file.
55069         * elf/tst-order-b1.c: New file.
55070         * elf/tst-order-b2.c: New file.
55071         * elf/tst-order-main.c: New file.
55072         New test case by George Gensure <werkt0@gmail.com>.
55074 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55077         decoding ACE if AI_CANONIDN.
55079 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55081         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55083 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55085         * version.h (RELEASE): Bump for 2.13 release.
55086         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55088         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55090         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55091         MADV_NOHUGEPAGE.
55092         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55093         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55094         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55095         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55097         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55099         * posix/getconf.c: Update copyright year.
55100         * catgets/gencat.c: Likewise.
55101         * csu/version.c: Likewise.
55102         * debug/catchsegv.sh: Likewise.
55103         * debug/xtrace.sh: Likewise.
55104         * elf/ldconfig.c: Likewise.
55105         * elf/ldd.bash.in: Likewise.
55106         * elf/sprof.c (print_version): Likewise.
55107         * iconv/iconv_prog.c: Likewise.
55108         * iconv/iconvconfig.c: Likewise.
55109         * locale/programs/locale.c: Likewise.
55110         * locale/programs/localedef.c: Likewise.
55111         * malloc/memusage.sh: Likewise.
55112         * malloc/mtrace.pl: Likewise.
55113         * nscd/nscd.c (print_version): Likewise.
55114         * nss/getent.c: Likewise.
55116         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55117         PF_CAIF, and PF_ALG.
55118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55120 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55122         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55123         (modules-names): Use them.
55124         (ifunc-test-modules, ifunc-pie-tests): Define.
55125         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55126         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55127         (test-extras): Likewise.
55128         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55129         $(compile-command.c).
55130         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55131         (all-built-dso): Define.
55132         (check-textrel.out, check-execstack.out): Depend on it.
55134         * configure.in: Don't override --enable-multi-arch.
55136 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55138         [BZ #6812]
55139         * nscd/hstcache.c (tryagain): Define.
55140         (cache_addhst): Return tryagain not notfound for temporary errors.
55141         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55142         failed.
55144 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55146         [BZ #10563]
55147         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55148         to make the syscall.
55149         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55151         [BZ #12378]
55152         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55153         and fall back to matching as normal character if the string ends before
55154         the matching ']' is found.  This is what POSIX requires.
55155         * posix/testfnm.c: Adjust test result.
55156         * posix/globtest.sh: Adjust test result.  Add new test.
55157         * posix/tst-fnmatch.input: Likewise.
55158         * posix/tst-fnmatch2.c: Add new test.
55160 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55162         * elf/Makefile (check-execstack): Revert last change.  Depend on
55163         check-execstack.h.
55164         (check-execstack.h): New target.
55165         (generated): Add check-execstack.h.
55166         * elf/check-execstack.c: Include "check-execstack.h".
55167         (main): Revert last change.
55168         (handle_file): Return zero if GNU_STACK is absent and
55169         DEFAULT_STACK_PERMS doesn't include PF_X.
55171 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55173         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55174         in child fails because the descriptor is already closed.
55175         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55176         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55177         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55179         [BZ #12397]
55180         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55181         syscall.
55183         [BZ #10484]
55184         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55185         temporary buffer used to handle multi lookups locally.
55186         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55188 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55190         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55191         loader is ld.so.
55193 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55195         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55196         alignment for SSE2.
55198 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55200         [BZ #12394]
55201         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55202         characters.  When rounding increased number of integer digits recompute
55203         number of groups.
55204         * stdio-common/tst-grouping.c: New file.
55205         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55207 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55209         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55210         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55212         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55213         void.
55214         * bits/select.h: Likewise.
55216 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55218         * po/ja.po: Update from translation team.
55220 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55222         [BZ #11155]
55223         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55224         implementation just like for lxstat, fxstatat, et al.
55226 2010-12-27  Jim Meyering  <meyering@redhat.com>
55228         [BZ #12348]
55229         * posix/regexec.c (build_trtable): Return failure indication upon
55230         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55232 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55234         [BZ #12201]
55235         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55236         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55237         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55238         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55240         [BZ #12207]
55241         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55243         [BZ #12204]
55244         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55245         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55247 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55249         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55250         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55251         script has SORT_BY_INIT_PRIORITY.
55252         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55253         NO_CTORS_DTORS_SECTIONS is defined.
55254         * elf/soinit.c: Likewise.
55255         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55256         NO_CTORS_DTORS_SECTIONS is defined.
55257         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55258         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55259         * sysdeps/sh/init-first.c: Likewise.
55260         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55262 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55264         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55265         always use the slow path.
55267 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55269         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55270         similar rule which adds the sysdep directories to the header search in
55271         order to pick up the correct platform stackinfo.h.
55272         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55273         perform test if it is, otherwise return successfully without testing.
55274         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55275         DEFAULT_STACK_PERMS define in stackinfo.h.
55276         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55277         defined in stackinfo.h.
55278         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55279         DEFAULT_STACK_PERMS defined in stackinfo.h.
55280         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55281         * sysdeps/ia64/stackinfo.h: Likewise.
55282         * sysdeps/s390/stackinfo.h: Likewise.
55283         * sysdeps/sh/stackinfo.h: Likewise.
55284         * sysdeps/sparc/stackinfo.h: Likewise.
55285         * sysdeps/x86_64/stackinfo.h: Likewise.
55286         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55287         PF_X for powerpc64.  Retain PF_X for powerpc32.
55289 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55291         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55292         accurately.
55293         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55294         GETDENTS_64BIT_ALIGNED.
55296 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55298         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55300 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55302         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55303         _GNU_SOURCE.
55305         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55306         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55307         Remove __restrict.
55308         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55309         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55311 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55313         [BZ #11655]
55314         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55315         are initialized.
55317 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55319         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55321 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55323         * po/it.po: Update from translation team.
55325 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55327         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55328         unused codes.
55330 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55332         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55334 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55336         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55337         specially.
55338         (gaih_getanswer_slice): Likewise.
55340 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55344 2010-05-31  Petr Baudis  <pasky@suse.cz>
55346         [BZ #11149]
55347         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55348         silently even in the chroot mode.
55350 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55352         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55353         last patch a bit.  Pretty printing
55355 2010-05-31  Petr Baudis <pasky@suse.cz>
55357         [BZ #10085]
55358         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55359         initialization of skip_initgroups_dyn.
55361 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55363         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55364         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55366 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55368         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55370 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55372         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55373         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55374         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55375         ($(objpfx)tst-fnmatch-mem): New rule.
55376         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55377         * posix/tst-fnmatch.c (main): Call mtrace.
55379 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55382         Support Intel processor model 6 and model 0x2c.
55384 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55386         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55387           signed comparison.
55389 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55391         [BZ #12205]
55392         * string/test-strncasecmp.c (check_result): New function.
55393         (do_one_test): Use it.
55394         (check1): New function.
55395         (test_main): Use it.
55396         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55397         Support strcasecmp and strncasecmp.
55399 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55401         [BZ #12194]
55402         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55403         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55405 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55407         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55408         IFUNC support.
55409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55410         memset-x86-64.
55411         * sysdeps/x86_64/multiarch/bzero.S: New file.
55412         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55413         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55414         * sysdeps/x86_64/multiarch/memset.S: New file.
55415         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55417         Set bit_Prefer_SSE_for_memop for Intel processors.
55418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55419         Define.
55420         (index_Prefer_SSE_for_memop): Define.
55421         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55423 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55425         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55426         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55428 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55430         [BZ #12191]
55431         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55432         (__x86_64_raw_data_cache_size_half): Likewise.
55433         (__x86_64_raw_shared_cache_size): Likewise.
55434         (__x86_64_raw_shared_cache_size_half): Likewise.
55436         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55437         (__x86_64_raw_data_cache_size_half): Likewise.
55438         (__x86_64_raw_shared_cache_size): Likewise.
55439         (__x86_64_raw_shared_cache_size_half): Likewise.
55440         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55441         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55442         and __x86_64_raw_shared_cache_size_half.  Round
55443         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55444         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55445         to multiple of 256 bytes.
55447 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55449         [BZ #12167]
55450         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55451         of inacessible symlinks.  Verify result of symlink before returning it.
55452         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55453         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55455 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55457         * math/math.h (isinf): Fix typo in comment.
55459 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55461         * po/da.po: Update from translation team.
55463 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55465         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55466         is added to the list.
55468 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55469             Ulrich Drepper  <drepper@gmail.com>
55471         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55472         the global list here.  Move code to...
55473         (_dl_add_to_namespace_list): ...here.  New function.
55474         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55475         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55476         * elf/dl-load.c (lose): Don't remove the element from the list.
55477         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55478         (_dl_map_object): Likewise.
55480 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55482         [BZ #12159]
55483         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55484         into all bytes of SSE register.
55485         Patch by Richard Li <richardpku@gmail.com>.
55487 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55489         [BZ #12140]
55490         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55491         perturbing.
55493 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55495         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55496         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55497         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55498         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55500         submachine.
55501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55503 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55505         * include/dlfcn.h (__RTLD_SECURE): Define.
55506         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55507         mode & __RTLD_SECURE instead.
55508         (open_path): Rename preloaded parameter to secure.
55509         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55510         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55511         * elf/dl-deps.c (openaux): Likewise.
55512         * elf/rtld.c (struct map_args): Remove is_preloaded.
55513         (map_doit): Don't use it.
55514         (dl_main): Likewise.
55515         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55516         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55518 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55520         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55521         (sysd-rules-targets): Remove duplicates.
55522         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55523         rtld-%.$o dependency.
55525 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55527         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55528         _dl_map_object do it.
55530 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55532         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55533         fast fma builtins, define the macros in the C99 standard.
55534         (FP_FAST_FMAF): Likewise.
55535         (FP_FAST_FMAL): Likewise.
55536         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55538         * bits/mathdef.h: Update copyright year.
55539         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55541 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55543         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55544         builtins, define the macros in the C99 standard.
55545         (FP_FAST_FMAF): Likewise.
55546         (FP_FAST_FMAL): Likewise.
55547         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55548         multiply/add.
55549         (FP_FAST_FMAF): Likewise.
55551 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55553         [BZ #3268]
55554         * math/libm-test.inc (fma_test): Some new testcases.
55555         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55557         y and infinite z.  Do multiplication by C already in long double.
55558         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55560         y and infinite z.  Do bitwise or of inexact bit into u.d.
55561         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55562         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55563         * sysdeps/i386/fpu/s_fma.S: Removed.
55564         * sysdeps/i386/fpu/s_fmal.S: Removed.
55566 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55568         [BZ #3268]
55569         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55570         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55571         computation is not scheduled after fetestexcept.  Fix value
55572         of minimum denormal long double.
55574 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55576         [BZ #3268]
55577         * math/libm-test.inc (fma_test): Add some more tests.
55578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55579         correctly.
55581 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55583         * scripts/data/localplt-s390-linux-gnu.data: New file.
55584         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55586 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55588         [BZ #3268]
55589         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55590         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55591         instead of dbl-64.
55592         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55593         inlines.
55594         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55596         if one of x and y is very large and the other is subnormal.
55597         * sysdeps/s390/fpu/s_fmaf.c: New file.
55598         * sysdeps/s390/fpu/s_fma.c: New file.
55599         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55600         * sysdeps/powerpc/fpu/s_fma.S: New file.
55601         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55602         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55603         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55605 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55607         [BZ #3268]
55608         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55609         fma tests.
55610         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55611         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55612         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55613         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55614         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55615         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55616         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55618 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55620         [BZ #12078]
55621         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55622         * posix/bug-regex31.input: Add test case.
55624 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55626         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55627         * posix/bug-regex31.input: New file.
55629         [BZ #12078]
55630         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55631         (parse_sub_exp): Fix last change, use postorder.
55633         * posix/bug-regex31.c: New file.
55634         * posix/Makefile: Add rules to build and run bug-regex31.
55636         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55638         [BZ #12078]
55639         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55641         [BZ #12108]
55642         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55643         to have entries in sys_siglist.
55645         [BZ #12093]
55646         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55647         be NULL.
55649 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55651         [BZ #3268]
55652         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55653         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55654         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55655         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55656         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55657         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55658         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55659         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55660         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55661         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55662         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55663         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55664         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55665         * math/ftestexcept.c (fetestexcept): Likewise.
55666         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55667         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55668         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55669         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55670         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55671         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55672         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55674 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55676         [BZ #12107]
55677         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55678         newline.
55680 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55682         * string/bug-strstr1.c: New file.
55683         * string/Makefile: Add rules to build and run bug-strstr1.
55685 2010-10-05  Eric Blake  <eblake@redhat.com>
55687         [BZ #12092]
55688         * string/str-two-way.h (two_way_long_needle): Always clear memory
55689         when skipping input due to the shift table.
55691 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55693         [BZ #12005]
55694         * malloc/mcheck.c: Handle large requests.
55696         [BZ #12077]
55697         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55698         for strncmp and strncasecmp.
55699         * string/stratcliff.c: Add tests for strcmp and strncmp.
55700         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55702 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55704         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55705         __set_fpscr.
55707 2010-09-30  Andreas Jaeger  <aj@suse.de>
55709         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55710         (CGROUP_SUPER_MAGIC): Define.
55711         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55712         Handle btrfs and cgroup file systems.
55713         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55714         Likewise.
55716 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55718         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55719         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55721 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55723         [BZ #12067]
55724         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55725         trying to locate the ELF header.
55727 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55729         [BZ #11611]
55730         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55731         Mask out sign-bit copies when constructing f_fsid.
55733 2010-09-24  Petr Baudis <pasky@suse.cz>
55735         * debug/stack_chk_fail_local.c: Add missing licence exception.
55736         * debug/warning-nop.c: Likewise.
55738 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55740         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55741         implementing getdents64 using getdents syscall, set d_type if
55742         __ASSUME_GETDENTS32_D_TYPE.
55744 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55746         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55747         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55749 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55751         [BZ #12037]
55752         * posix/unistd.h: Undo change of feature selection for ftruncate from
55753         2010-01-11.
55755 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55757         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55758         detection.
55760 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55762         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55763         fanotify_mark.
55764         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55766 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55768         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55769         variables after CHECK_SP call.
55770         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55772 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55773             Ulrich Drepper  <drepper@redhat.com>
55775         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55776         re-relocationg ld.so.
55777         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55778         _dl_init_paths call.
55779         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55780         here anymore.
55782 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55784         * resolv/res_init.c (__res_vinit): Count the default server we added.
55786 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55787             Ulrich Drepper  <drepper@redhat.com>
55789         [BZ #11968]
55790         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55791         (____longjmp_chk): Use %ebx for saving value across system call.
55792         Add unwind info.
55794 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55796         * manual/Makefile: Don't mix pattern rules with normal rules.
55798 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55800         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55801         operation.
55802         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55803         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55804         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55805         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55807         Likewise.
55809 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55811         [BZ #11979]
55812         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55813         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55815 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55817         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55818         * sysdeps/x86_64/addmul_1.S: Likewise.
55819         * sysdeps/x86_64/lshift.S: Likewise.
55820         * sysdeps/x86_64/mul_1.S: Likewise.
55821         * sysdeps/x86_64/rshift.S: Likewise.
55822         * sysdeps/x86_64/sub_n.S: Likewise.
55823         * sysdeps/x86_64/submul_1.S: Likewise.
55825 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55827         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55828         Define __sched_param instead of SCHED_* and sched_param when
55829         <bits/sched.h> is included with __need_schedparam defined.
55830         * bits/sched.h [__need_schedparam]
55831         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55832         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55833         (__defined_schedparam): Define to 1.
55834         (__sched_param): New structure, identical to sched_param.
55835         (__need_schedparam): Undefine.
55837 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55839         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55840         (epoll_create1): Declare.
55842         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55844 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55846         [BZ #7066]
55847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55848         shifting retval into place.
55850 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55852         * nis/rpcsvc/nis.h: Update copyright notice.
55853         * nis/rpcsvc/nis.x: Likewise.
55854         * nis/rpcsvc/nis_callback.h: Likewise.
55855         * nis/rpcsvc/nis_callback.x: Likewise.
55856         * nis/rpcsvc/nis_object.x: Likewise.
55857         * nis/rpcsvc/nis_tags.h: Likewise.
55858         * nis/rpcsvc/yp.h: Likewise.
55859         * nis/rpcsvc/yp.x: Likewise.
55860         * nis/rpcsvc/ypupd.h: Likewise.
55861         * nis/yp_xdr.c: Likewise.
55862         * nis/ypupdate_xdr.c: Likewise.
55864         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55865         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55866         (pmap_getport): Use __libc_rpc_getport.
55867         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55868         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55869         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55871 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55874         fanotify_mark.
55876 2010-08-27  Roland McGrath  <roland@redhat.com>
55878         * sysdeps/i386/i686/multiarch/Makefile
55879         (CFLAGS-varshift.c): New variable.
55881 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55883         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55884         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55886         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55888         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55890 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55892         * sysdeps/x86_64/strlen.S: Unroll the loop.
55893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55894         strlen-sse2 strlen-sse2-bsf.
55895         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55896         __strlen_no_bsf if bit_Slow_BSF is set.
55897         (__strlen_sse42): Removed.
55898         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55899         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55901 2010-08-25  Roland McGrath  <roland@redhat.com>
55903         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55904         * sysdeps/x86_64/multiarch/varshift.c: New file.
55905         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55906         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55907         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55908         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55910 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55913         strlen-sse2 strlen-sse2-bsf.
55914         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55915         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55916         (__strlen_sse2): Removed.
55917         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55918         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55920         bit_Slow_BSF for Atom.
55921         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55922         (index_Slow_BSF): Define.
55923         (HAS_SLOW_BSF): Define.
55925 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55927         [BZ #10851]
55928         * resolv/res_init.c (__res_vinit): When no server address at all
55929         is given default to loopback.
55931 2010-08-24  Roland McGrath  <roland@redhat.com>
55933         * configure.in: Remove config-name.h generation.
55934         * configure: Regenerated.
55935         * config-name.in: File removed.
55936         * scripts/config-uname.sh: New file.
55937         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55938         ($(objdir)config-name.h): New target.
55940         * sunrpc/rpc_parse.h: Avoid nested comment.
55942 2010-08-24  Richard Henderson  <rth@redhat.com>
55943             Ulrich Drepper  <drepper@redhat.com>
55944             H.J. Lu  <hongjiu.lu@intel.com>
55946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55948         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55949         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55950         _mm_alignr_epi8 with _mm_loadu_si128.
55951         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55952         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55953         (__m128i_shift_right): Removed.
55954         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55955         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55956         * sysdeps/x86_64/multiarch/varshift.h: New file.
55957         * sysdeps/x86_64/multiarch/varshift.S: New file.
55959 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55961         * configure.in: Move assembler checks to before sysdep dir checking.
55963 2010-08-20  Petr Baudis  <pasky@suse.cz>
55965         * LICENSES: Sync the sunrpc license.
55967 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55969         * sunrpc/auth_des.c: Update copyright notice once again.
55970         * sunrpc/auth_none.c: Likewise.
55971         * sunrpc/auth_unix.c: Likewise.
55972         * sunrpc/authdes_prot.c: Likewise.
55973         * sunrpc/authuxprot.c: Likewise.
55974         * sunrpc/bindrsvprt.c: Likewise.
55975         * sunrpc/clnt_gen.c: Likewise.
55976         * sunrpc/clnt_perr.c: Likewise.
55977         * sunrpc/clnt_raw.c: Likewise.
55978         * sunrpc/clnt_simp.c: Likewise.
55979         * sunrpc/clnt_tcp.c: Likewise.
55980         * sunrpc/clnt_udp.c: Likewise.
55981         * sunrpc/clnt_unix.c: Likewise.
55982         * sunrpc/des_crypt.c: Likewise.
55983         * sunrpc/des_soft.c: Likewise.
55984         * sunrpc/get_myaddr.c: Likewise.
55985         * sunrpc/getrpcport.c: Likewise.
55986         * sunrpc/key_call.c: Likewise.
55987         * sunrpc/key_prot.c: Likewise.
55988         * sunrpc/openchild.c: Likewise.
55989         * sunrpc/pm_getmaps.c: Likewise.
55990         * sunrpc/pm_getport.c: Likewise.
55991         * sunrpc/pmap_clnt.c: Likewise.
55992         * sunrpc/pmap_prot.c: Likewise.
55993         * sunrpc/pmap_prot2.c: Likewise.
55994         * sunrpc/pmap_rmt.c: Likewise.
55995         * sunrpc/rpc/auth.h: Likewise.
55996         * sunrpc/rpc/auth_unix.h: Likewise.
55997         * sunrpc/rpc/clnt.h: Likewise.
55998         * sunrpc/rpc/des_crypt.h: Likewise.
55999         * sunrpc/rpc/key_prot.h: Likewise.
56000         * sunrpc/rpc/netdb.h: Likewise.
56001         * sunrpc/rpc/pmap_clnt.h: Likewise.
56002         * sunrpc/rpc/pmap_prot.h: Likewise.
56003         * sunrpc/rpc/pmap_rmt.h: Likewise.
56004         * sunrpc/rpc/rpc.h: Likewise.
56005         * sunrpc/rpc/rpc_des.h: Likewise.
56006         * sunrpc/rpc/rpc_msg.h: Likewise.
56007         * sunrpc/rpc/svc.h: Likewise.
56008         * sunrpc/rpc/svc_auth.h: Likewise.
56009         * sunrpc/rpc/types.h: Likewise.
56010         * sunrpc/rpc/xdr.h: Likewise.
56011         * sunrpc/rpc_clntout.c: Likewise.
56012         * sunrpc/rpc_cmsg.c: Likewise.
56013         * sunrpc/rpc_common.c: Likewise.
56014         * sunrpc/rpc_cout.c: Likewise.
56015         * sunrpc/rpc_dtable.c: Likewise.
56016         * sunrpc/rpc_hout.c: Likewise.
56017         * sunrpc/rpc_main.c: Likewise.
56018         * sunrpc/rpc_parse.c: Likewise.
56019         * sunrpc/rpc_parse.h: Likewise.
56020         * sunrpc/rpc_prot.c: Likewise.
56021         * sunrpc/rpc_sample.c: Likewise.
56022         * sunrpc/rpc_scan.c: Likewise.
56023         * sunrpc/rpc_scan.h: Likewise.
56024         * sunrpc/rpc_svcout.c: Likewise.
56025         * sunrpc/rpc_tblout.c: Likewise.
56026         * sunrpc/rpc_util.c: Likewise.
56027         * sunrpc/rpc_util.h: Likewise.
56028         * sunrpc/rpcinfo.c: Likewise.
56029         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56030         * sunrpc/rpcsvc/key_prot.x: Likewise.
56031         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56032         * sunrpc/rpcsvc/mount.x: Likewise.
56033         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56034         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56035         * sunrpc/rpcsvc/rex.x: Likewise.
56036         * sunrpc/rpcsvc/rstat.x: Likewise.
56037         * sunrpc/rpcsvc/rusers.x: Likewise.
56038         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56039         * sunrpc/rpcsvc/spray.x: Likewise.
56040         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56041         * sunrpc/rtime.c: Likewise.
56042         * sunrpc/svc.c: Likewise.
56043         * sunrpc/svc_auth.c: Likewise.
56044         * sunrpc/svc_authux.c: Likewise.
56045         * sunrpc/svc_raw.c: Likewise.
56046         * sunrpc/svc_run.c: Likewise.
56047         * sunrpc/svc_simple.c: Likewise.
56048         * sunrpc/svc_tcp.c: Likewise.
56049         * sunrpc/svc_udp.c: Likewise.
56050         * sunrpc/svc_unix.c: Likewise.
56051         * sunrpc/svcauth_des.c: Likewise.
56052         * sunrpc/xcrypt.c: Likewise.
56053         * sunrpc/xdr.c: Likewise.
56054         * sunrpc/xdr_array.c: Likewise.
56055         * sunrpc/xdr_float.c: Likewise.
56056         * sunrpc/xdr_mem.c: Likewise.
56057         * sunrpc/xdr_rec.c: Likewise.
56058         * sunrpc/xdr_ref.c: Likewise.
56059         * sunrpc/xdr_sizeof.c: Likewise.
56060         * sunrpc/xdr_stdio.c: Likewise.
56062         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56063         handling.
56065 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56067         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56069 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56071         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56072         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56073         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56074         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56075         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56076         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56077         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56078         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56079         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56080         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56081         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56082         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56083         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56084         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56086 2010-07-26  Anton Blanchard  <anton@samba.org>
56088         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56089         * malloc/arena.c (heap_trim): Likewise.
56091 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56093         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56094         here.  Not...
56095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56096         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56098 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56100         * sysdeps/i386/elf/Makefile: New file.
56102 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56104         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56105         from fanotify_init.
56106         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56109 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56111         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56112         of strncasecmp_l.
56113         * sysdeps/multiarch/strcmp.S: Likewise.
56115 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56117         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56118         strncase_l-nonascii.
56119         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56120         Add strncase_l-ssse3.
56121         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56122         * sysdeps/x86_64/strcmp.S: Likewise.
56123         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56124         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56125         * sysdeps/x86_64/strncase.S: New file.
56126         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56127         * sysdeps/x86_64/strncase_l.S: New file.
56128         * string/Makefile (strop-tests): Add strncasecmp.
56129         * string/test-strncasecmp.c: New file.
56131         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56132         warning.
56134         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56135         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56137 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56139         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56141 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56143         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56144         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56145         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56147 2010-05-01  Alan Modra  <amodra@gmail.com>
56149         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56150         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56151         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56152         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56153         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56154         tidying.  Don't tail-call __sigjmp_save for static lib.
56155         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56156         save location.
56157         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56158         (CALL_MCOUNT): Add eh info, and nop after bl.
56159         (TAIL_CALL_SYSCALL_ERROR): New macro.
56160         (PSEUDO_RET): Use it.
56161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56162         Correct save location of integer regs and cr.
56163         (_dl_profile_resolve): Correct cr save location.  Delete nops
56164         after bl when SHARED.  Reduce cfi size a little by better
56165         placement of cfi directives.
56166         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56167         make a stack frame.  Instead use parm save area as a temp.
56168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56169         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56171         Don't make a stack frame for parent, use parm save area.
56172         Increase child stack frame to 112 bytes.  Don't save unused reg,
56173         and adjust reg usage.  Set up cfi on error recovery and
56174         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56176         (__makecontext): Add dummy nop after jump to exit.
56177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56178         Use correct parm save area and cr save, reduce stack frame.
56179         Correct cfi for possible PSEUDO_RET frame setup.
56180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56181         Branch to local label emitted by PSEUDO_RET rather than
56182         __syscall_error.
56184 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56186         [BZ #11904]
56187         * locale/programs/locale.c (print_assignment): New function.
56188         (show_locale_vars): Use it.
56190 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56192         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56193         field.
56194         (struct statfs64): Likewise.
56195         (_STATFS_F_FLAGS): Define.
56196         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56197         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56198         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56199         (ST_VALID): Define locally.
56200         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56201         __statvfs_getflags, use the provided value.
56202         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56203         __ASSUME_STATFS_F_FLAGS.
56205         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56207         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56208         Add sys/fanotify.h.
56209         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56210         fanotify_mask for GLIBC_2.13.
56211         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56212         fanotify_init and fanotify_mark.
56213         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56214         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56216         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56217         Add prlimit.
56218         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56219         prlimit64 for GLIBC_2.13.
56220         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56221         prlimit64.
56222         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56223         syscall.
56224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56226         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56227         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56228         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56229         add prlimit alias.
56230         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56232         [BZ #11903]
56233         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56234         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56236         * nss/Makefile: Add rules to build and run tst-nss-test1.
56237         * shlib-versions: Add entry for libnss_test1.
56238         * nss/nss_test1.c: New file.
56239         * nss/tst-nss-test1.c: New file.
56241         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56242         (__nss_configure_lookup): Set appropriate entry in
56243         __nss_configure_lookup to true.
56244         * nss/nsswitch.h: Define enum with indeces of databases in
56245         databases and __nss_database_custom arrays.  Declare
56246         __nss_database_custom.
56247         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56248         to avoid using nscd when custom rules are installed.
56249         * nss/getXXbyYY_r.c: Likewise.
56250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56252         * nss/nss_files/files-parse.c: Whitespace fixes.
56254 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56256         [BZ #11883]
56257         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56258         * posix/fnmatch_loop.c: Likewise.
56260 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56262         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56263         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56264         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56265         * Versions.def [GLIBC_2.13]: Add.
56267 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56269         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56270         Also fail if tpwd after pwuid call is NULL.
56272 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56274         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56275         when converting to ms.
56277 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56279         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56280         EOPNOTSUPP errors with ENOTTY.
56281         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56282         EOPNOTSUPP errors with ENOTTY.
56284 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56286         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56287         Add strcasecmp_l-ssse3.
56288         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56289         strcasecmp.
56290         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56291         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56292         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56294 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56296         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56298         * string/Makefile (strop-tests): Add strcasecmp.
56299         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56300         strcasecmp_l-nonascii.
56301         (gen-as-const-headers): Add locale-defines.sym.
56302         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56303         * sysdeps/x86_64/strcasecmp.S: New file.
56304         * sysdeps/x86_64/strcasecmp_l.S: New file.
56305         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56306         * sysdeps/x86_64/locale-defines.sym: New file.
56307         * string/test-strcasecmp.c: New file.
56309         * string/test-strcasestr.c: Test both ends of the range of characters.
56310         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56312 2010-07-29  Roland McGrath  <roland@redhat.com>
56314         [BZ #11856]
56315         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56317 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56319         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56320         for ld.so.
56322 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56324         * manual/memory.texi (Malloc Tunable Parameters): Document
56325         M_PERTURB.
56327 2010-07-26  Roland McGrath  <roland@redhat.com>
56329         [BZ #11840]
56330         * configure.in (-fgnu89-inline check): Set and substitute
56331         gnu89_inline, not libc_cv_gnu89_inline.
56332         * configure: Regenerated.
56333         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56335 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56337         * string/test-strnlen.c: New file.
56338         * string/Makefile (strop-tests): Add strnlen.
56339         * string/tester.c (test_strnlen): Add a few more test cases.
56340         * string/tst-strlen.c: Better error reporting.
56342         * sysdeps/x86_64/strnlen.S: New file.
56344 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56346         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56347         lower-latency instructions.
56349 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56351         * string/test-strcasestr.c: New file.
56352         * string/test-strstr.c: New file.
56353         * string/Makefile (strop-tests): Add strstr and strcasestr.
56354         * string/str-two-way.h: Don't undefine MAX.
56355         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56357 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56360         strcasestr-nonascii.
56361         (CFLAGS-strcasestr-nonascii.c): Define.
56362         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56363         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56364         Remove unused attribute.
56366 2010-07-20  Roland McGrath  <roland@redhat.com>
56368         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56369         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56370         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56371         like LD_HWCAP_MASK can disable hwcaps.
56373 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56375         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56377 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56379         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56380         call in strcasestr.
56381         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56382         __strcasestr_sse42_nonascii.
56383         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56384         strcasestr-nonascii.c.
56385         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56387 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56389         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56390         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56391         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56392         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56394 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56396         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56397         fcntl.
56399 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56401         [BZ #11577]
56402         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56403         dl_signal_cerror.
56405 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56407         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56408         _PC_PIPE_BUF using F_GETPIPE_SZ.
56410 2010-07-05  Roland McGrath  <roland@redhat.com>
56412         * manual/arith.texi (Rounding Functions): Fix rint description
56413         implicit in round description.
56415 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56417         * elf/Makefile: Fix linking for a few tests to make recent linker
56418         happy.
56420 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56422         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56423         $(common-objpfx)libc_nonshared.a.
56425 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56427         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56428         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56429         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56430         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56431         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56432         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56433         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56434         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56449         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56450         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56451         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56452         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56453         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56454         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56455         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56456         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56457         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56458         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56459         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56460         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56476 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56478         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56479         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56480         * string/memmove.c (memmove): Renamed to ...
56481         (MEMMOVE): ...this.  Default to memmove.
56482         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56483         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56484         (END_CHK): Define.
56485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56486         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56487         mempcpy-ssse3-back memmove-ssse3-back.
56488         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56490         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56491         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56492         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56493         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56494         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56495         * sysdeps/x86_64/multiarch/memmove.c: New file.
56496         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56497         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56498         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56499         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56500         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56501         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56502         Define.
56503         (index_Fast_Copy_Backward): Define.
56504         (HAS_ARCH_FEATURE): Define.
56505         (HAS_FAST_REP_STRING): Define.
56506         (HAS_FAST_COPY_BACKWARD): Define.
56508 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56510         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56511         Restore proper fallback handling.
56513 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56515         [BZ #11701]
56516         * posix/group_member.c (__group_member): Correct checking loop.
56518         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56519         OOM in getpwuid_r correctly.  Return error number when the caller
56520         should return, otherwise -1.
56521         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56522         call returning > 0 value.
56523         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56525 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56527         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56528         libc_nonshared.a from targets in modules-names.
56530 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56532         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56533         requires it.
56535 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56537         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56538         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56539         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56540         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56542 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56544         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56546 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56548         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56549         and F_GETPIPE_SZ.
56550         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56551         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56554         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56555         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56557 2010-06-14  Roland McGrath  <roland@redhat.com>
56559         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56561 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56563         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56564         __REDIRECT followed by __THROW.
56565         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56566         * posix/getopt.h (getopt): Likewise.
56568 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56570         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56571         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56572         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56573         in AT_FLAGS.
56574         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56575         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56577 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56579         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56581 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56583         [BZ #11640]
56584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56585         Properly check family and model.
56587 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56589         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56591 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56593         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56595 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56597         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56598         symbol reference.
56600 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56602         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56603         symbol reference.
56605 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56607         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56608         and internal_recvmmsg.
56609         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56610         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56611         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56612         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56614         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56615         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56616         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56618 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56620         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56622 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56624         POWER7 optimizations.
56625         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56626         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56628 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56630         * version.h: Update for 2.13 development version.
56632 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56634         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56635         exceptions.  Return 0.
56637 2010-05-07  Roland McGrath  <roland@redhat.com>
56639         * elf/ldconfig.c (main): Add a const.
56641 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56643         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56644         (args_options): Add no-idn option.
56645         (ahosts_keys_int): Add idn_flags to ai_flags.
56646         (parse_option): Handle 'i' option to clear idn_flags.
56648         * malloc/malloc.c (_int_free): Possible race in the most recently
56649         added check.  Only act on the data if no current modification
56650         happened.
56652 See ChangeLog.17 for earlier changes.